newflasher - Man Page

Flash firmware to Sony Xperia phones

Synopsis

cd firmware-dir && newflasher

Description

This experimental software allows you to flash firmwares acquired through XperiFirm to Sony Xperia phones including and newer than the XZ Premium.

Caution

Newflasher was made for testing and educational purposes.  The author is not responsible for what you do on/with your device using Newflasher.  You must agree that you are using Newflasher on your own risk.  The author is not responsible if you brick your device or anything else!

Usage

Optional step 1 (Windows only):

If you have missing flash driver just double click exe and confirm driver extraction, small executable will become available, double click it and install driver.

Optional step 2:

This step is optional but recommended: Dump the trim area.  Trim area contain per device unique units which keep device config, sim lock, sim lock hash, so in case of hard brick it is recommend to have backup! Without those backup getting out of hard brick without those backup is impossible. Do in mind if you hard brick your phone this doesn't mean you will be abble to get out of hard brick, an hardware tool will be need, even having hardware tool doesn't guarante success.

Step 1:

Download the right firmware for your device using XperiFirm tool and change into the firmware dir created by XperiFirm tool.  Before you run Newflasher, do keep in mind that the Newflasher tool is programed to flash everything found in the same dir!  So the tool flashes all .ta files, all .sin files, boot delivery (whole boot folder), partition.zip, in short all files found in the directory!  If you do no want to flash something, just move file which you do no want to flash OUT OF THE FOLDER!  Partition.zip and .sin files can be flashed only if you extract partition.zip into newly created folder called partition!

Step 2:

To start flashing phone put your phone into flash mode, run Newflasher and wait, wait, wait, until your device gets flashed, thats it.  Look into log to see if something goes wrong!  If all right you are done. If not post your log so I can look!  Happy flashing!

Feedback

Don't forget to report your opinion, sucess, reports, logs, and so on. Your suggestions are welcome!

https://forum.xda-developers.com/crossdevice-dev/sony/progress-newflasher-xperia-command-line-t3619426

https://github.com/newflasher/newflasher/issues

Author

Mujeni

Credits

Without @tanipat and his pc companion debug logs this tool will never be possible!  Thank you a lot for your time providing me logs!  (By the influence of others, he was disappointed me with last post, but I still appreciate his help and can't forget it.)

Without @thrash001 who helped testing our tool I never be continue building our tool since I don't have device for testing, thanks mate!

Didn't forgot @beenoliu, thanks mate for testing!

Thanks to @porphyry for testing linux version!

Thanks to @Snow_Basinger for providing sniff log from 2018 device and for testing on his 2018 device.

Thanks to @frantisheq for testing Newflasher on his 2018 device and for notify about doublefree bug.

Thanks to @serajr for providing me some logs which helped me to figure out some things related to 2018 devices.

Thanks to @noelex for helping in Xperia 1 implementation.

Thanks to GitHub member RedL0tus for testing on Mac.