PKG_ERR04 installation échouée

Unlikely. What kind of USB are you using?.

Can you perform a master reset?.
If it freezes and does not complete, then you have another issue: there’s a partition which is full, a known bug in 3.4.22251.

Take a look at this guide → APIM Sync Settings Not Saving, VER_ERR08 Errors, Cannot Perform Master Reset or Upgrades/Updates (Solved), it has all the information needed to diagnose the issue (which includes the use of the interrogator log and rwdata partition cleaner).

A quick and simple test without making any USB is just trying to perform a Master Reset… So try that and share with us the result.