• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[TOOL] Newflasher (xperia command line flasher)

Search This thread

elpvn

Senior Member
Dec 8, 2012
83
25
Munich
Yes. At least I flashed successfully two Xperia 5.

Sent from my J9210 using Tapatalk

How to flash my Xperia 5, I turn-off my X5 and hold volume (-) button then connect orginal USB-C frome PC to X5, but it not enter to bootloader or flash mode :((

Btw, I have a dual sim X5 of Vietnam market, and want to updgrade to new firmware version from Taiwan market (dual sim too), is it possible?

Thanks for help,
 

S1gma

Senior Member
Jul 1, 2012
130
65
Btw, I have a dual sim X5 of Vietnam market, and want to updgrade to new firmware version from Taiwan market (dual sim too), is it possible?
Both times I was flashing J9210 (5 Dual), both times changing customization during process. As long as you flash FV for the same version (in my example - J9210), it's safe and possible.

How to flash my Xperia 5, I turn-off my X5 and hold volume (-) button then connect orginal USB-C frome PC to X5, but it not enter to bootloader or flash mode :((
Check if you have all drivers installed (flashtool propose to install one). Normally best way is to turn off your phone completely, than put one end of the cable into your computer, press and hold volume key and finally put other cable end into smartphone.

If it's not working, you should try another cable o USB port. Last time I was using USB2.0 ports with USB-A - USB-C cable from old Xperia.
 

S1gma

Senior Member
Jul 1, 2012
130
65
It shouldn't be the case if you didn't unlock bootloader. Check *#*#7378423#*#*, find there state of "security" and check if phone is still correctly provisioned. If yes, consider factory reset or reflashing. Maybe someone else will get better idea, but this is what came to my mind :)
 

DaVinci42

Member
Jan 9, 2017
8
3
Processing oem_other_X-FLASH-CUST-A2CD, Failed to verify cms

Code:
--------------------------------------------------------
            newflasher.exe v20 by Munjeni @ 2017/2019
--------------------------------------------------------

Determining available free space by GetDiskFreeSpaceEx:

  Available space to caller    = 60305 MB
  Total space on current drive = 102400 MB
  Free space on drive          = 60305 MB

Optional step! Type 'y' and press ENTER if you need GordonGate flash driver, or type 'n' to skip.
This creates GordonGate.7z archive in the same dir with newflasher.exe!
N
Device path: \\?\usb#vid_0fce&pid_b00b#5&3821233e&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Class Description: 通用串行总线控制器
Device Instance Id: USB\VID_0FCE&PID_B00B\5&3821233E&0&1


Optional step! Type 'y' and press ENTER if you want dump trim area, or type 'n' and press ENTER to skip.
Do in mind this doesn't dump drm key since sake authentifiction is need for that!
N

Optional step! Type 'y' and press ENTER if you need to flash bootloader,bluetooth,dsp,modem,rdimage to booth a,b slots, or type 'n' to skip.
By default it is NOT flashed to booth slots, do on your own risk!
N
Product: J9210
Version: 0.4
Bootloader version: 1315-2591_X_Boot_SM8150_LA2.0_Q_114
Baseband version: 1318-9849_55.1.A.3.49
Serialno: QV711J5K24
Secure: no
Loader version: XFL-SM8150-P-16
Phone ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Device ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Platform ID: 300A50E1
Max download size: 104857600
Sector size: 4096
Rooting status: ROOTED
Ufs info: SAMSUNG,KLUDG4U1EA-B0C1,0500
Emmc info: FAILEmmc-info not supported
Default security: ON
Keystore counter: 2
Security state: oDKCbTEsCrVnLDpC7EYggwb18sCWeUIjwGnfOdBhWtY=
Sake root: 2D4C8D13E459AAC3381AE995680E
S1 root:
Root key hash: 6C8D8435187C0ED7160856812F66743E5632EEF38B1AC8D695A91F00D35E792864812D4C8D13E459AAC3381AE995680E
Slot count: 2
Current slot: b

Device is put now in flash mode.

Repartitioning...
Found partition_delivery.xml in partition folder.
Determining LUN0 size...
UFS raw data[0xA9]:

  00000000  40 00 00 00 00 00 03 04 01 00 01 7F 00 01 04 00  @...............
  00000010  02 10 07 19 00 01 02 03 01 CE 10 10 02 00 1D 01  ................
  00000020  01 20 00 00 20 00 00 00 00 00 04 00 00 00 00 00  . .. ...........
  00000030  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  00000040  23 02 00 01 00 00 00 00 00 00 0C 00 00 00 00 01  #...............
  00000050  DC B0 00 00 00 00 01 03 00 00 00 00 01 DC B0 00  ................
  00000060  00 00 00 23 02 01 01 01 01 00 00 03 00 0C 00 00  ...#............
  00000070  00 00 00 00 04 00 00 00 00 01 03 00 00 00 00 00  ................
  00000080  00 04 00 00 00 00 23 02 02 01 02 01 00 00 03 00  ......#.........
  00000090  0C 00 00 00 00 00 00 04 00 00 00 00 01 03 00 00  ................
  000000A0  00 00 00 00 04 00 00 00 00                       .........

LUN0 size = 124960768

Processing partition-image-LUN0_124960768_X-FLASH-ALL-A2CD.sin
 - Extracting from partition-image-LUN0_124960768_X-FLASH-ALL-A2CD.sin
 - Extracting signature partitionimage_0.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\partition\partitionimage_0.cms
      signature:0000089c
      OKAY.
 - Extracting sparse chunk partitionimage_0.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\partition\partitionimage_0.000
      download:00006000
      OKAY.
      Repartition:0
      OKAY.
 - End of partition-image-LUN0_124960768_X-FLASH-ALL-A2CD.sin

Processing partition-image-LUN1_4096_X-FLASH-ALL-A2CD.sin
 - Extracting from partition-image-LUN1_4096_X-FLASH-ALL-A2CD.sin
 - Extracting signature partitionimage_1.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\partition\partitionimage_1.cms
      signature:0000089c
      OKAY.
 - Extracting sparse chunk partitionimage_1.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\partition\partitionimage_1.000
      download:00006000
      OKAY.
      Repartition:1
      OKAY.
 - End of partition-image-LUN1_4096_X-FLASH-ALL-A2CD.sin

Processing partition-image-LUN2_4096_X-FLASH-ALL-A2CD.sin
 - Extracting from partition-image-LUN2_4096_X-FLASH-ALL-A2CD.sin
 - Extracting signature partitionimage_2.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\partition\partitionimage_2.cms
      signature:0000089c
      OKAY.
 - Extracting sparse chunk partitionimage_2.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\partition\partitionimage_2.000
      download:00006000
      OKAY.
      Repartition:2
      OKAY.
 - End of partition-image-LUN2_4096_X-FLASH-ALL-A2CD.sin

Processing .sin files...
Created ouput folder flash_session

Processing appslog_X-FLASH-ALL-A2CD.sin
 - Extracting from appslog_X-FLASH-ALL-A2CD.sin
 - Extracting signature appslog.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\appslog.cms
      signature:00000893
      OKAY.
 - Extracting sparse chunk appslog.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\appslog.000
      download:000003b8
      OKAY.
      erase:appslog
      OKAY.
      flash:appslog
      OKAY.
 - End of appslog_X-FLASH-ALL-A2CD.sin

Processing bluetooth_X-FLASH-ALL-A2CD.sin
 - Extracting from bluetooth_X-FLASH-ALL-A2CD.sin
 - Extracting signature bluetooth.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\bluetooth.cms
      signature:00000895
      OKAY.
 - Extracting sparse chunk bluetooth.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\bluetooth.000
      download:000d7000
      OKAY.
      Partition: bluetooth have slot: yes
      erase:bluetooth_b
      OKAY.
      flash:bluetooth_b
      OKAY.
 - End of bluetooth_X-FLASH-ALL-A2CD.sin

Processing boot_X-FLASH-ALL-A2CD.sin
 - Extracting from boot_X-FLASH-ALL-A2CD.sin
 - Extracting signature boot.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\boot.cms
      signature:00000890
      OKAY.
 - Extracting sparse chunk boot.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\boot.000
      download:04000000
      OKAY.
      Partition: boot have slot: yes
      erase:boot_b
      OKAY.
      flash:boot_b
      OKAY.
 - End of boot_X-FLASH-ALL-A2CD.sin

Processing diag_X-FLASH-ALL-A2CD.sin
 - Extracting from diag_X-FLASH-ALL-A2CD.sin
 - Extracting signature diag.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\diag.cms
      signature:00000890
      OKAY.
 - Extracting sparse chunk diag.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\diag.000
      download:000005e7
      OKAY.
      erase:diag
      OKAY.
      flash:diag
      OKAY.
 - End of diag_X-FLASH-ALL-A2CD.sin

Processing dsp_X-FLASH-ALL-A2CD.sin
 - Extracting from dsp_X-FLASH-ALL-A2CD.sin
 - Extracting signature dsp.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\dsp.cms
      signature:0000088f
      OKAY.
 - Extracting sparse chunk dsp.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\dsp.000
      download:04000000
      OKAY.
      Partition: dsp have slot: yes
      erase:dsp_b
      OKAY.
      flash:dsp_b
      OKAY.
 - End of dsp_X-FLASH-ALL-A2CD.sin

Processing dtbo_X-FLASH-ALL-A2CD.sin
 - Extracting from dtbo_X-FLASH-ALL-A2CD.sin
 - Extracting signature dtbo.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\dtbo.cms
      signature:00000890
      OKAY.
 - Extracting sparse chunk dtbo.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\dtbo.000
      download:00800000
      OKAY.
      Partition: dtbo have slot: yes
      erase:dtbo_b
      OKAY.
      flash:dtbo_b
      OKAY.
 - End of dtbo_X-FLASH-ALL-A2CD.sin

Processing elabel-J9210-row-row_201909190203206.1_55.0.A.7.115_X-FLASH-LTALABEL-A2CD.sin
 - Extracting from elabel-J9210-row-row_201909190203206.1_55.0.A.7.115_X-FLASH-LTALABEL-A2CD.sin
 - Extracting signature LTALabel.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\LTALabel.cms
      signature:000008b9
      OKAY.
 - Extracting sparse chunk LTALabel.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\LTALabel.000
      download:01000000
      OKAY.
      erase:LTALabel
      OKAY.
      flash:LTALabel
      OKAY.
 - End of elabel-J9210-row-row_201909190203206.1_55.0.A.7.115_X-FLASH-LTALABEL-A2CD.sin

Processing fsg_X-FLASH-ALL-A2CD.sin
 - Extracting from fsg_X-FLASH-ALL-A2CD.sin
 - Extracting signature fsg.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\fsg.cms
      signature:0000088f
      OKAY.
 - Extracting sparse chunk fsg.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\fsg.000
      download:0009cca8
      OKAY.
      erase:fsg
      OKAY.
      flash:fsg
      OKAY.
 - End of fsg_X-FLASH-ALL-A2CD.sin

Processing misc_X-FLASH-ALL-A2CD.sin
 - Extracting from misc_X-FLASH-ALL-A2CD.sin
 - Extracting signature misc.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\misc.cms
      signature:00000890
      OKAY.
 - Extracting sparse chunk misc.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\misc.000
      download:00001000
      OKAY.
      erase:misc
      OKAY.
      flash:misc
      OKAY.
 - End of misc_X-FLASH-ALL-A2CD.sin

Processing modemst1_X-FLASH-ALL-A2CD.sin
 - Extracting from modemst1_X-FLASH-ALL-A2CD.sin
 - Extracting signature modemst1.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\modemst1.cms
      signature:00000894
      OKAY.
 - Extracting sparse chunk modemst1.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\modemst1.000
      download:00000400
      OKAY.
      erase:modemst1
      OKAY.
      flash:modemst1
      OKAY.
 - End of modemst1_X-FLASH-ALL-A2CD.sin

Processing modemst2_X-FLASH-ALL-A2CD.sin
 - Extracting from modemst2_X-FLASH-ALL-A2CD.sin
 - Extracting signature modemst2.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\modemst2.cms
      signature:00000894
      OKAY.
 - Extracting sparse chunk modemst2.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\modemst2.000
      download:00000400
      OKAY.
      erase:modemst2
      OKAY.
      flash:modemst2
      OKAY.
 - End of modemst2_X-FLASH-ALL-A2CD.sin

Processing modem_X-FLASH-ALL-A2CD.sin
 - Extracting from modem_X-FLASH-ALL-A2CD.sin
 - Extracting signature modem.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\modem.cms
      signature:000008b1
      OKAY.
 - Extracting sparse chunk modem.000
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\modem.000
      download:031b3402
      OKAY.
      Partition: modem have slot: yes
      erase:modem_b
      OKAY.
      flash:modem_b
      OKAY.
 - Extracting sparse chunk modem.001
 - Uploading sparse chunk C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\modem.001
      download:01c6809d
      OKAY.
      flash:modem
      OKAY.
 - End of modem_X-FLASH-ALL-A2CD.sin

Processing oem_other_X-FLASH-CUST-A2CD.sin
 - Extracting from oem_other_X-FLASH-CUST-A2CD.sin
 - Extracting signature oem.cms
 - Uploading signature C:\Users\XXXXXXXXX\Desktop\J9210_Customized TW_1320-3640_55.1.A.3.112_R5B\flash_session\oem.cms
      signature:000008b5
      Error, didn't got signature OKAY reply! Got reply: FAILFailed to verify cms

Set slot 'b' active.

Device is put now out of flash mode.
Sent command: Sync

55.1.A.3.49 and all versions before work as expected, this happens for 55.1.A.3.112

update:
few 55.1.A.3.112 firmware, eg Customized TW, are withdrawn by Sony, latest 55.1.A.112_Customized_UK works fine.
guess it's a firmware issue.
 
Last edited:

elpvn

Senior Member
Dec 8, 2012
83
25
Munich
I flash
I flash my XZ2P dual sim (H8166) from Android 8 to Android 10 latest firmware via Newflasher, forgot delete all .TA files and now all sensor (include ambient light sensor) are not working (ready tested in services test), anyone can help? :(( ((

--------------

Btw, when flash with Newflasher, can I choice Y or N in below step?

Optional step! Type 'y' and press ENTER if you need to flash bootloader,bluetooth,dsp,modem,rdimage to booth a,b slots, or type 'n' to skip.
By default it is NOT flashed to booth slots, do on your own risk!

Y or N? :|

Thanks!
 
Last edited:

mumal

Member
Jul 24, 2011
11
1
I flash
I flash my XZ2P dual sim (H8166) from Android 8 to Android 10 latest firmware via Newflasher, forgot delete all .TA files and now all sensor (include ambient light sensor) are not working (ready tested in services test), anyone can help? :(( ((

--------------

Btw, when flash with Newflasher, can I choice Y or N in below step?



Y or N? :|

Thanks!


iDEM ???
 
  • Like
Reactions: Thujian

MeltdownSpectre

Retired Forum Moderator
Jan 12, 2013
2,950
2,542
Sony Xperia 1
Samsung Galaxy Note 10+
[/CODE]55.1.A.3.49 and all versions before work as expected, this happens for 55.1.A.3.112

update:
few 55.1.A.3.112 firmware, eg Customized TW, are withdrawn by Sony, latest 55.1.A.112_Customized_UK works fine.
guess it's a firmware issue.

I had the same issue when flashing from 55.1.A.3.49 (Customized UK) to 55.1.A.3.107 (Customized EU). FW was pulled by Sony.

.107 was then released for Customized UK, and it works just fine on the J9110.
 

david3006

Member
Oct 13, 2012
13
1
Hi, I have a problem withy Xperia xz3. It flashed but when I start it up it says Android setup not working and then it does not find WiFi and crashes again and starts new and repeats.

Is there a way to fix this?
 

mt12345

Senior Member
Nov 26, 2013
241
5
London
I get
Code:
No usb device with vid:0x0fce pid:0xb00b
Drivers installed.
Flashtool says 'device connected in flash mode'.

EDIT:

SOLVED: Installed GordonGate driver via Device Manager
 
Last edited:

Samir96

Senior Member
Jul 4, 2014
121
24
Hello sir munjeni,

I can't thank you enough for the absolute masterpiece of yours, NEWFLASHER!

i would confirm that i can flash Docomo model XZ1 Compact flawlessly with your tool. Been headache for a week trying every flashtool version and a lot of .ftf build. But finally i came across your invention, and and omg i works at first try!

Thanks again sir, i will donate when i can
 

arslanon.e

Senior Member
Dec 19, 2017
93
34
Hello sir munjeni,

I can't thank you enough for the absolute masterpiece of yours, NEWFLASHER!

i would confirm that i can flash Docomo model XZ1 Compact flawlessly with your tool. Been headache for a week trying every flashtool version and a lot of .ftf build. But finally i came across your invention, and and omg i works at first try!

Thanks again sir, i will donate when i can
Docomo? How did you manage to unlock the bootloader on that device?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi,

    Just flashed my Xperia 1 III XQ-BC72 with latest v51, now the phone is brick, showing corrupted and can't boot into system. Tried repair from Companion but got error as well.

    Would be appreciated if you can look into that, log attached.


    PS: Manage to fix that by reflash and setting active slot A, hope that helps anyone with similar issue.
    1
    Is it ok to always forcing "set active slot a" command before flashing, or should I do it after first time flash was failed and getting a corrupt screen only?
    Its simple, if your device not boot on slot b you should switch to slot a and reflash, and vicewersa.
    1
    Is it possible to downgrade Sony Xperia 1ii with Android 11 to Android 10 without unlocking bootloader?
    Not because of rollback protection
  • 309
    Disclaimer:

    newflasher tool was made for testing and educational purposes, ME is not responsible for what you do on/with your device using newflasher, you must agree that you using newflasher on your own risk, I am not responsible if you brick your device or anything else!


    How to use:

    OPTIONAL STEP 1:
    - if you have missing flash driver just double click exe and confirm driver extraction, an exe will become available, run it and install driver.

    OPTIONAL STEP 2:
    - this step is optional, this step dump trim area, you can do this and keep those file somewhere on your pc in case you hard brick your device so give it to servicians to repair your phone.

    STEP 1:
    - Download right firmware for your device using XperiFirm tool, put newflasher.exe into firmware dir created by XperiFirm tool. Before you double click newflasher.exe do in mind something, newflasher tool is programed to flash everything found in the same dir!!! So tool flash all .ta files, all .sin files, boot delivery (whole boot folder), partition.zip, in short all files found in dir! If you no want to flash something just move file which you no want to flash OUT OF FOLDER! Partition.zip .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, double click newflasher.exe 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!

    SOME MORE THINGS:
    "You do not need to unlock bootloader or to root the phone if you want to flash a stock firmware from XperiFirm.
    There are no files in the stock firmware that need to be deleted. Prompts will ask you to skip some files.
    Feel free to press N to every prompt since:
    - TA dumping it's not related with DRM keys.
    - Flash persist_* files only if you know what you are doing, since you will lose your attest keys. Backup persist partition.
    If you need the firmware on both A and B slot use fastboot commands to choose the inactive partion and re-flash."

    Happy flashing!


    Supported platforms:

    - Newflasher is working on Windows, Linux, Android and Darwin, just chose right newflasher binary. With Android version you can flash phone by using another phone!


    Changelog:

    - version 1: Sorry a lot of work is done in pre pre alpha version and I can't count every changes, just folow development process about version 1, a lot of work is done before it started working. One esential change was done to tool improvement and it is described in one of the my posts related to moving function "erase:" to the section before function "flash:", it is realy improvement and more safer than in time when it was at the start of flashing routine.

    - version v2 (15.Aug.2017)
    Implemented free disk space safety check, it was missing and danger in case flashing process gets interupted because of the lack of the free disk space needed for sin extractions and temporary files. I have also include GordonGate flash driver prompt so in case somebody have missing flash drivers, simple need to double click exe and folow drivers archive extraction procedure, later need to install these drivers trought Windos device mannager. Also I have implemented an realy pre pre alpha version of the maybe non working trim (why maybe? Because I don't own xzp so can't test) area dump routine, in case it is working we can dump some esentials trim area units from device (probably not a full dump as like it was on every oldest xperia models - no permissions for dumping drm key unit)

    - version v3 (23.09.2017)
    Some more security checks, it's now a bit safer than v2

    - version v4 (21.10.2017)
    Updated trim area dumper, now it stores log to the trimarea.log but dump is now in .ta format and writen to the 01.ta and 02.ta

    - version v5 (22.10.2017)
    Updated trim area dumper, add progress meter, fix y-n prompt (thanks @pbarrette)

    - version v6 (22.10.2017)
    Updated trim area dumper

    - version v7 (23.10.2017)
    Updated trim area dumper, newflasher redesigned a bit, fix new partitioning for Oreo

    - version v8 (24.10.2017)
    Fix trim area dumper

    - version v9 & v10 (25.10.2017)
    Workaorunds on trim area dumper

    - version v11 (07.04.2018)
    Support for 2018 devices

    - version v12 (29.04.2018)
    Try fix doublefree bug/crash (most noticed on Linux 64 bit binary)

    - version v13 (01.05.2018)
    Fix doublefree bug/crash by removing dynamic allocation from function get_reply

    - version v14 & v15 (12.06.2019)
    Sony XPeria 1 support added.

    - version v16 (16.06.2019)
    LUN0 detection optimized.

    - version v17 (24.06.2019)
    LUN0 detection bug fixed.

    - version v18 (10.08.2019)
    Untested fix for https://forum.xda-developers.com/cr...wflasher-xperia-command-line-t3619426/page105
    Using builtin mkdir instead of calling it trought system call

    - version v19 (08.10.2019)
    Implemented prompt for flashing persist partition; print skipped .sin files

    - version v20 (13.12.2019)
    implemented prompt for flashing bootloader,bluetooth,dsp,modem,rdimage to booth a,b slots

    - version v21 (29.06.2020)
    implemented battery level status check before flashing, flashing bootloader,bluetooth,dsp,modem,rdimage to booth a,b slots is mandatory now and is flashed by default right now, more info, try fix previously reported isue on sync and powerdown command reported 2-3 years ago so I have disabled it and now enabled for test, implemented Macos support (curently need to be tested! If you have plan to test please flash only cache.sin DO NOT flash the rest because of safety for your device!)

    - version v22 (30.06.2020)
    trying to fix battery capacity retrieval

    - version v23 (04.07.2020)
    removed battery capacity retrieval (not going to work that way), fix trim area dump file name, new gordongate drivers

    - version v24 (04.07.2020)
    new feature - now you can run newflasher from script or console with your own command, e.g. newflasher getvar:Emmc-info , I didn't tested all the list of commands, if you do it share them with us!

    - version v25 (09.07.2020)
    New trim area dump tool, with this change trim area dump is created in 3 secconds. Do in mind this not dump protected units like drm key...etc! Some changes in scripting feature from v24

    - version v26 (10.07.2020)
    Added 4 diferent reboot modes, reboot to android, reboot to fastboot, reboot to bootloader, power off

    - version v27 (11.07.2020) (not yet released)
    Workaround in mac libusb

    - version v28 (12.07.2020)
    Workaround to sync response bug; Fully implemented support for Mac. I'm tested myself on mac 10.14 but confirmed working on mac 10.15 too

    - version v29 (12.07.2020)
    Mac proper libusb deinitialisation

    - version v30 (13.07.2020)
    Preparation for Debian packaging; I'm noticed that hex modified arm64 fake pie binary is not working so its now compiled with ndk and its true pie binary now

    - version v31 (14.07.2020)
    Fix cosmetic bug https://forum.xda-developers.com/showpost.php?p=83056693&postcount=1212 which might confuse somebody

    - version 32, not yet released

    - version 33 (30.07.2020)
    Allow bootloader unlocking with newflasher; Try fix sync response bug for win and darwin too

    - version 34 (08.08.2020)
    Added support for 32bit sized trim area units (as trim area api changed in xperia mark 2 line) (not yet released because of bug)

    - version 35 (08.08.2020)
    Updated support for 32bit sized trim area units (as trim area api changed in xperia mark 2 line); Move trim area dumps out of root folder so it not get acidentaly flashed, dumps is now inside folder tadump

    - version 36 (27.08.2020)
    Some improvements and and possible bug fixes

    - version 37 (09.12.2020)
    Added support for Xperia 5 II with emmc instead of ufs (not working)

    - version 38 (10.12.2020)
    Fixed impropper implementation from v37

    - version 39 (13.12.2020)
    Since mark 2 devices protocol is changed a bit and on some devices OKAY reply is not in separated usb poacket, instead it is merged with data packet, added support for it

    - version 40 (03.01.2021)
    Temporary solution for determining partition 0 sin file caused by two diferent emmc csd info we found recently on mark 2 devices

    - version 41 (03.01.2021)
    Removed temporary solution from version 41 so right lun0 sin file get flashed and seccond lun0 get skipped or booth skipped if lun0 sin file do not match device storage size

    - version 42 (11.03.2021)
    Fix bug in flashing booth slots when current slot is A, thanks to @chrisrg for discovering bug!

    - version 43 (12.06.2021)
    Support for Mark 3 devices

    - version 44 (19.06.2021)
    Fully Mark III device implementation

    - version 45 (20.06.2021)
    Implemented battery level check and prompt user to take a risk and continue flashing or stop flasing if battery level is less than 15 percent

    - version 46 (08.07.2021)
    Fix problem with filenames which contain "_other", it need to be always flashed to the diferent slot

    - version 47 (15.07.2021)
    Removed prompt for persist.sin flashing, now its by default skip. Implemented bootloader log retrieval at the end of flashing for better understanding when something goes wrong. Implemented firmware log history retrieval for those who want to know history of the flashed firmwares

    - version 48 (19.07.2021)
    Flash bootloader,bluetooth,dsp,modem,rdimage to booth slots only on a,b devices

    - version 49 (31.07.2021)
    Support for XQ-BT41

    - version 50 (12.08.2021)
    Workin progress on asynchronous usb to make it more like synchronous, added progress bar during send-receive usb packets and more logging. Increased usb timeout to 2 minute. Trying fix sync command at the end of flashing as reported here -> https://github.com/munjeni/newflasher/issues/42

    - version 51 (12.08.2021)
    Fix empry line printed while receiving usb packets, thanks @elukyan

    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 @Meloferz for testing on his xperia 1 mark II
    - thanks to github contributors, testers and reporters: vog, noelex, TheSaltedFish, solarxraft, pbarrette, MartinX3, kholk
    - thanks to Chirayu Desai for tracking addition to Debian and thanks to vog for initiating all that
    - thanks to @elukyan for testing and providing me usb sniff logs for mark 3 devices imlementation, thank you so much

    Common errors and how to solve:
    https://forum.xda-developers.com/t/tool-newflasher-xperia-command-line-flasher.3619426/post-72610228

    Source code:

    https://github.com/munjeni/newflasher
    20
    Please remember something, I made newflasher for all you, I didn't made it for me remember that, I dodn't ask for money for my work, all is for free, all is done in my spare time and for free, I have made everything just to make all you happy, remember that! I must say something more, some xda members, including some moerators, don't appreciate my effort, thats shame. I lost my recognised developer / recognised contributor title because ot that guys, I allways must remind all you that.

    Enjoy flashing! Cheers! ;)
    14
    V14 is out, added Xperia 1 support (curently untested!)

    If you flash partitions please give me newflasher log, need to know if I implemented things right!
    12
    New version is out!
    11
    New version is out! Changelog:
    - implemented flash driver, just double click exe and folow procedure (optional step)
    - trim area dump (optional step and maybe not a functional! Need confirmation.)

    Do not use any old newflasher, its soo old and definitelly not a better than latest one! Folow my instructions and put a trust on me, I am developer of the newflasher and nobody know that better than me, if you have a questions just ask here! I have removed my posts because virus tolal found a malware on all my exe files. Later I found what was going on. UPX (any version) contain the same malware, but since my exe was packed with upx all my exe contain the same malware, reason was UPX! Have no idea why virustotal see upx as a malware but I need now to recompile all my exe without using upx just because I no want to risk with it, don't know if that upx is false warining or not but definitelly better idea omiting upx.