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

[TOOL] Newflasher (xperia command line flasher)

Search This thread

DennisDD78

Senior Member
Apr 22, 2011
440
72
Vladivostok
So, if i understood right, to flash Xperia 1 III from Chinese to TW (for example) f/w unlocking bootloader is the only way to do it, at this moment ?
If it is, should i relock the bootloader after flashing ?
 
Jul 27, 2021
5
1
Hello, I have XZ1 compact and was running Pie 47.2.A.11.228.

Tried downgrading using the latest newflasher to the recommended versions in the renoroot thread.
I am using Linux and extracted the firmware to a folder, put newflasher inside, removed all *.ta files and persist.sin.
At first dumped the ta but then I flashed and since then it's been bootlooping, tried flashing the other version, same thing.

I didn't unpack partition.zip! Was that the problem? I've since then tried to flash with the partition files in "partition" folder but I still get the same problems.

I have attached the tadump before the first flash.
Here is the log while trying to flash version 47.1.A.8.49 with .ta files except simlock .ta and partition folder complete with files:

Code:
--------------------------------------------------------
            newflasher.x64 v48 by Munjeni @ 2017/2020         
--------------------------------------------------------

Determining available free space:

  Available space to caller    = 210606 MB
  Total space on current drive = 469325 MB
  Free space on drive          = 234469 MB
found device with vid:0x0fce pid:0xb00b.

Reboot mode at the end of flashing:
  typa 'a' for reboot to android, type 'f' for reboot to fastboot, type 's' for reboot to same mode, type 'p' for poweroff, and press ENTER.
a

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! But it is recommend to have dump in case hard brick!
n
Product: G8441
Version: 0.4-SONY-0.31
Bootloader version: 1306-5035_X_Boot_MSM8998_LA1.1_O_79
Baseband version: 1307-7511_47.2.A.11.228
Serialno: BH905DEH9E
Secure: yes
Loader version: XFL-MSM8998-N-45
Phone ID: 0000:35835408140184
Device ID: 37CFE750
Platform ID: 2005E0E1
Max download size: 104857600
Sector size: 4096
Rooting status: ROOTABLE
Ufs info: SKhynix,H28U62301AMR,D003
Emmc info: FAILEmmc-info not supported
Default security: ON
Keystore counter: 1
Security state: 162509AE6B4B54D487F2496DDC4D4B6C6747A73B
Sake root: D159
S1 root: S1_Root_e69c
Root key hash: C30DEC2471CEA311E6918657367B51068A39583BBF89FD68B379BCD5A709AB1B
Slot count: 0
Current slot: F
Battery level: 0 unsupported command

Device is put now in flash mode.

Repartitioning...
partition_delivery.xml not exist in partition folder or no partition folder.

Processing partition-image-LUN2_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN2_X-FLASH-ALL-C93B.sin
- Extracting signature partitionimage_2.cms
- Uploading signature ./partition/partitionimage_2.cms
      signature:0000053e
      OKAY.
- Extracting sparse chunk partitionimage_2.000
- Uploading sparse chunk ./partition/partitionimage_2.000
      download:00006000
      OKAY.
      Repartition:2
      OKAY.
- End of partition-image-LUN2_X-FLASH-ALL-C93B.sin

Processing partition-image-LUN0_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN0_X-FLASH-ALL-C93B.sin
- Extracting signature partitionimage_0.cms
- Uploading signature ./partition/partitionimage_0.cms
      signature:0000053e
      OKAY.
- Extracting sparse chunk partitionimage_0.000
- Uploading sparse chunk ./partition/partitionimage_0.000
      download:00006000
      OKAY.
      Repartition:0
      OKAY.
- End of partition-image-LUN0_X-FLASH-ALL-C93B.sin

Processing partition-image-LUN1_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN1_X-FLASH-ALL-C93B.sin
- Extracting signature partitionimage_1.cms
- Uploading signature ./partition/partitionimage_1.cms
      signature:0000053e
      OKAY.
- Extracting sparse chunk partitionimage_1.000
- Uploading sparse chunk ./partition/partitionimage_1.000
      download:00006000
      OKAY.
      Repartition:1
      OKAY.
- End of partition-image-LUN1_X-FLASH-ALL-C93B.sin

Processing .sin files...
Created ouput folder flash_session

Processing cache_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from cache_X-FLASH-ALL-C93B.sin
- Extracting signature cache.cms
- Uploading signature ./flash_session/cache.cms
      signature:00000533
      OKAY.
- Extracting sparse chunk cache.000
- Uploading sparse chunk ./flash_session/cache.000
      download:0080f094
      OKAY.
      erase:cache
      OKAY.
      flash:cache
      OKAY.
- End of cache_X-FLASH-ALL-C93B.sin

Processing adspso_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from adspso_X-FLASH-ALL-C93B.sin
- Extracting signature dsp.cms
- Uploading signature ./flash_session/dsp.cms
      signature:00000531
      OKAY.
- Extracting sparse chunk dsp.000
- Uploading sparse chunk ./flash_session/dsp.000
      download:01000000
      OKAY.
      erase:dsp
      OKAY.
      flash:dsp
      OKAY.
- End of adspso_X-FLASH-ALL-C93B.sin

Processing Qnovo_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from Qnovo_X-FLASH-ALL-C93B.sin
- Extracting signature Qnovo.cms
- Uploading signature ./flash_session/Qnovo.cms
      signature:00000533
      OKAY.
- Extracting sparse chunk Qnovo.000
- Uploading sparse chunk ./flash_session/Qnovo.000
      download:0046e034
      OKAY.
      erase:Qnovo
      OKAY.
      flash:Qnovo
      OKAY.
- End of Qnovo_X-FLASH-ALL-C93B.sin

Processing fotakernel_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
      ..........
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from fotakernel_X-FLASH-ALL-C93B.sin
- Extracting signature FOTAKernel.cms
- Uploading signature ./flash_session/FOTAKernel.cms
      signature:00000538
      OKAY.
- Extracting sparse chunk FOTAKernel.000
- Uploading sparse chunk ./flash_session/FOTAKernel.000
      download:018853ef
      OKAY.
      erase:FOTAKernel
      OKAY.
      flash:FOTAKernel
      OKAY.
- End of fotakernel_X-FLASH-ALL-C93B.sin

Processing system_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
      ............................................................
      ............................................................
      ............................................................
      ............................................................
      ............................................................
      ...............
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from system_X-FLASH-ALL-C93B.sin
- Extracting signature system.cms
- Uploading signature ./flash_session/system.cms
      signature:000009da
      OKAY.
- Extracting sparse chunk system.000
- Uploading sparse chunk ./flash_session/system.000
      download:063ff034
      OKAY.
      erase:system
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.001
- Uploading sparse chunk ./flash_session/system.001
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.002
- Uploading sparse chunk ./flash_session/system.002
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.003
- Uploading sparse chunk ./flash_session/system.003
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.004
- Uploading sparse chunk ./flash_session/system.004
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.005
- Uploading sparse chunk ./flash_session/system.005
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.006
- Uploading sparse chunk ./flash_session/system.006
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.007
- Uploading sparse chunk ./flash_session/system.007
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.008
- Uploading sparse chunk ./flash_session/system.008
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.009
- Uploading sparse chunk ./flash_session/system.009
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.010
- Uploading sparse chunk ./flash_session/system.010
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.011
- Uploading sparse chunk ./flash_session/system.011
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.012
- Uploading sparse chunk ./flash_session/system.012
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.013
- Uploading sparse chunk ./flash_session/system.013
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.014
- Uploading sparse chunk ./flash_session/system.014
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.015
- Uploading sparse chunk ./flash_session/system.015
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.016
- Uploading sparse chunk ./flash_session/system.016
      download:063ff0d0
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.017
- Uploading sparse chunk ./flash_session/system.017
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.018
- Uploading sparse chunk ./flash_session/system.018
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.019
- Uploading sparse chunk ./flash_session/system.019
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.020
- Uploading sparse chunk ./flash_session/system.020
      download:063ff0d0
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.021
- Uploading sparse chunk ./flash_session/system.021
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.022
- Uploading sparse chunk ./flash_session/system.022
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.023
- Uploading sparse chunk ./flash_session/system.023
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.024
- Uploading sparse chunk ./flash_session/system.024
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.025
- Uploading sparse chunk ./flash_session/system.025
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.026
- Uploading sparse chunk ./flash_session/system.026
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.027
- Uploading sparse chunk ./flash_session/system.027
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.028
- Uploading sparse chunk ./flash_session/system.028
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.029
- Uploading sparse chunk ./flash_session/system.029
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.030
- Uploading sparse chunk ./flash_session/system.030
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.031
- Uploading sparse chunk ./flash_session/system.031
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.032
- Uploading sparse chunk ./flash_session/system.032
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.033
- Uploading sparse chunk ./flash_session/system.033
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.034
- Uploading sparse chunk ./flash_session/system.034
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.035
- Uploading sparse chunk ./flash_session/system.035
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.036
- Uploading sparse chunk ./flash_session/system.036
      download:063ff100
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.037
- Uploading sparse chunk ./flash_session/system.037
      download:02673034
      OKAY.
      flash:system
      OKAY.
- End of system_X-FLASH-ALL-C93B.sin

Processing elabel-G8441-row-row_201709190503668.1_47.1.A.8.49_X-FLASH-LTALABEL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from elabel-G8441-row-row_201709190503668.1_47.1.A.8.49_X-FLASH-LTALABEL-C93B.sin
- Extracting signature LTALabel.cms
- Uploading signature ./flash_session/LTALabel.cms
      signature:0000055b
      OKAY.
- Extracting sparse chunk LTALabel.000
- Uploading sparse chunk ./flash_session/LTALabel.000
      download:01000000
      OKAY.
      erase:LTALabel
      OKAY.
      flash:LTALabel
      OKAY.
- End of elabel-G8441-row-row_201709190503668.1_47.1.A.8.49_X-FLASH-LTALABEL-C93B.sin

Processing ssd_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from ssd_X-FLASH-ALL-C93B.sin
- Extracting signature ssd.cms
- Uploading signature ./flash_session/ssd.cms
      signature:00000531
      OKAY.
- Extracting sparse chunk ssd.000
- Uploading sparse chunk ./flash_session/ssd.000
      download:00000001
      OKAY.
      erase:ssd
      OKAY.
      flash:ssd
      OKAY.
- End of ssd_X-FLASH-ALL-C93B.sin

Processing amss_fsg_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from amss_fsg_X-FLASH-ALL-C93B.sin
- Extracting signature fsg.cms
- Uploading signature ./flash_session/fsg.cms
      signature:00000531
      OKAY.
- Extracting sparse chunk fsg.000
- Uploading sparse chunk ./flash_session/fsg.000
      download:00036328
      OKAY.
      erase:fsg
      OKAY.
      flash:fsg
      OKAY.
- End of amss_fsg_X-FLASH-ALL-C93B.sin

Processing fsmetadata_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from fsmetadata_X-FLASH-ALL-C93B.sin
- Extracting signature fsmetadata.cms
- Uploading signature ./flash_session/fsmetadata.cms
      signature:00000538
      OKAY.
- Extracting sparse chunk fsmetadata.000
- Uploading sparse chunk ./flash_session/fsmetadata.000
      download:00000001
      OKAY.
      erase:fsmetadata
      OKAY.
      flash:fsmetadata
      OKAY.
- End of fsmetadata_X-FLASH-ALL-C93B.sin

Processing bootloader_X_BOOT_MSM8998_LA1_1_O_79_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
      ....
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from bootloader_X_BOOT_MSM8998_LA1_1_O_79_X-FLASH-ALL-C93B.sin
- Extracting signature bootloader.cms
- Uploading signature ./flash_session/bootloader.cms
      signature:00000538
      OKAY.
- Extracting sparse chunk bootloader.000
- Uploading sparse chunk ./flash_session/bootloader.000
      download:013b1000
      OKAY.
      erase:bootloader
      OKAY.
      flash:bootloader
      OKAY.
- End of bootloader_X_BOOT_MSM8998_LA1_1_O_79_X-FLASH-ALL-C93B.sin

Processing oem_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
      ..........
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from oem_X-FLASH-ALL-C93B.sin
- Extracting signature oem.cms
- Uploading signature ./flash_session/oem.cms
      signature:00000531
      OKAY.
- Extracting sparse chunk oem.000
- Uploading sparse chunk ./flash_session/oem.000
      download:022440c4
      OKAY.
      erase:oem
      OKAY.
      flash:oem
      OKAY.
- End of oem_X-FLASH-ALL-C93B.sin

Processing appslog_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from appslog_X-FLASH-ALL-C93B.sin
- Extracting signature appslog.cms
- Uploading signature ./flash_session/appslog.cms
      signature:00000535
      OKAY.
- Extracting sparse chunk appslog.000
- Uploading sparse chunk ./flash_session/appslog.000
      download:0044e034
      OKAY.
      erase:appslog
      OKAY.
      flash:appslog
      OKAY.
- End of appslog_X-FLASH-ALL-C93B.sin

Processing userdata_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
    
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from userdata_X-FLASH-ALL-C93B.sin
- Extracting signature userdata.cms
- Uploading signature ./flash_session/userdata.cms
      signature:00000556
      OKAY.
- Extracting sparse chunk userdata.000
- Uploading sparse chunk ./flash_session/userdata.000
      download:063ff094
      OKAY.
      erase:userdata
      OKAY.
      flash:userdata
      OKAY.
- Extracting sparse chunk userdata.001
- Uploading sparse chunk ./flash_session/userdata.001
      download:02399168
      OKAY.
      flash:userdata
      OKAY.
- End of userdata_X-FLASH-ALL-C93B.sin

Processing bootloader_X_Boot_MSM8998_LA1_1_O_79_X-FLASH-ALL-5ADA.sin
- setting up inflate...
- infflating, please wait...
      .....
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from bootloader_X_Boot_MSM8998_LA1_1_O_79_X-FLASH-ALL-5ADA.sin
- Extracting signature bootloader.cms
- Uploading signature ./flash_session/bootloader.cms
      signature:00000538
      Error, didn't got signature OKAY reply! Got reply: FAILFailed to verify cms

=========== BOOTLOADER LOG =============
INIT: Tue Feb 23 11:31:55 1971
[ERROR @ fastboot.c:2125]:
fastboot_get_variable: Could not find variable Emmc-info
[ERROR @ authenticate.c:595]:
Failed to get key. (-1007)
[ERROR @ fastboot.c:2125]:
fastboot_get_variable: Could not find variable Battery
[ERROR @ file.c:211]:
unlink failed, errno (2)
[ERROR @ storage.c:239]:
could not find dev
[ERROR @ rule_openssl.c:329]:
verify_cb:
[ERROR @ rule_openssl.c:330]:
  cert: 0x7599030300
[ERROR @ rule_openssl.c:331]:
  depth: 0
[ERROR @ rule_openssl.c:333]:
  error:20 (unable to get local issuer certificate)
[ERROR @ cms_verifier.c:196]:
CMS_verify failed.
[ERROR @ cms_verifier.c:198]:
Reason: error:2E099064:lib(46):func(153):reason(100)
[ERROR @ fastboot.c:3835]:
Failed to verify cms
INIT: Tue Feb 23 11:36:04 1971
amss_aù
=================================================

=========== FIRMWARES HISTORY LOG =============
NEW_VERSION: erased_user_data:true, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_77, cdf_version:1310-9560_R6B, fs_version:GENERIC_47.1.A.2.324, sw_version:1307-7511_47.1.A.2.324
NEW_VERSION: erased_user_data:true, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_79, cdf_version:1310-6856_R16B, fs_version:GENERIC_47.1.A.12.145, sw_version:1307-7511_47.1.A.12.145
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_79, cdf_version:1310-6856_R16B, fs_version:GENERIC_47.1.A.12.179, sw_version:1307-7511_47.1.A.12.179
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_79, cdf_version:1310-6856_R16B, fs_version:GENERIC_47.1.A.12.205, sw_version:1307-7511_47.1.A.12.205
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_82, cdf_version:1310-6856_R17B, fs_version:GENERIC_47.1.A.12.235, sw_version:1307-7511_47.1.A.12.235
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_82, cdf_version:1310-6856_R18B, fs_version:GENERIC_47.1.A.12.270, sw_version:1307-7511_47.1.A.12.270
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_82, cdf_version:1310-6856_R18B, fs_version:GENERIC_47.1.A.16.20, sw_version:1307-7511_47.1.A.16.20
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_106, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.4.45, sw_version:1307-7511_47.2.A.4.45
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_107, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.6.30, sw_version:1307-7511_47.2.A.6.30
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_107, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.8.24, sw_version:1307-7511_47.2.A.8.24
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.28, sw_version:1307-7511_47.2.A.10.28
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.45, sw_version:1307-7511_47.2.A.10.45
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.62, sw_version:1307-7511_47.2.A.10.62
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.80, sw_version:1307-7511_47.2.A.10.80
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_114, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.107, sw_version:1307-7511_47.2.A.10.107
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_114, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.11.228, sw_version:1307-7511_47.2.A.11.228

=================================================


Device is put now out of flash mode.
Sent command: Sync
Waiting sync to finish...
...............sync response[0x4]:

  00000000  4F 4B 41 59                                      OKAY

done
Sent command: continue.

Done.
Closing device.

Thank you

EDIT:
Problem was I needed to create a folder named "boot" inside of the firmware folder with all the boot associated files (Lilac_XBootConfig_MiscTA.ta, boot_delivery.xml, bootloader_X_BOOT_MSM8998_LA2_0_P_114_X-FLASH-ALL-5D31.sin, bootloader_X_BOOT_MSM8998_LA2_0_P_114_X-FLASH-ALL-C93B.sin, bootloader_X_Boot_MSM8998_LA2_0_P_114_X-FLASH-ALL-5ADA.sin), next to the .sin files and "partition" folder. This fixed the issue.
Also, while bootlooping I tried XperiaFirm with the same as the one I had before the bootloop, removing persist....sin and simlock.ta of course and it also fixed the bootloop.
 

Attachments

  • tadump.zip
    234 KB · Views: 13
Last edited:
  • Like
Reactions: munjeni

munjeni

Senior Member
Jun 2, 2011
9,413
22,007
So, if i understood right, to flash Xperia 1 III from Chinese to TW (for example) f/w unlocking bootloader is the only way to do it, at this moment ?
If it is, should i relock the bootloader after flashing ?
Newflasher is designed to flash firmware without need for unlocking bootloader! And it always worked. Whats going on mark 3 I have no idea! You should try. If you are on slot B you should try switch to slot A before flashing anything. If notthing help than sadly you need to unlock bootloader. Yes you should relock bootloader to reset rollback protection. Do in mind that when you unlock bootloader relocking do not help you back your device key which is unique and lost forever!
 
  • Like
Reactions: DennisDD78

munjeni

Senior Member
Jun 2, 2011
9,413
22,007
Hello, I have XZ1 compact and was running Pie 47.2.A.11.228.

Tried downgrading using the latest newflasher to the recommended versions in the renoroot thread.
I am using Linux and extracted the firmware to a folder, put newflasher inside, removed all *.ta files and persist.sin.
At first dumped the ta but then I flashed and since then it's been bootlooping, tried flashing the other version, same thing.

I didn't unpack partition.zip! Was that the problem? I've since then tried to flash with the partition files in "partition" folder but I still get the same problems.

I have attached the tadump before the first flash.
Here is the log while trying to flash version 47.1.A.8.49 with .ta files except simlock .ta and partition folder complete with files:

Code:
--------------------------------------------------------
            newflasher.x64 v48 by Munjeni @ 2017/2020        
--------------------------------------------------------

Determining available free space:

  Available space to caller    = 210606 MB
  Total space on current drive = 469325 MB
  Free space on drive          = 234469 MB
found device with vid:0x0fce pid:0xb00b.

Reboot mode at the end of flashing:
  typa 'a' for reboot to android, type 'f' for reboot to fastboot, type 's' for reboot to same mode, type 'p' for poweroff, and press ENTER.
a

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! But it is recommend to have dump in case hard brick!
n
Product: G8441
Version: 0.4-SONY-0.31
Bootloader version: 1306-5035_X_Boot_MSM8998_LA1.1_O_79
Baseband version: 1307-7511_47.2.A.11.228
Serialno: BH905DEH9E
Secure: yes
Loader version: XFL-MSM8998-N-45
Phone ID: 0000:35835408140184
Device ID: 37CFE750
Platform ID: 2005E0E1
Max download size: 104857600
Sector size: 4096
Rooting status: ROOTABLE
Ufs info: SKhynix,H28U62301AMR,D003
Emmc info: FAILEmmc-info not supported
Default security: ON
Keystore counter: 1
Security state: 162509AE6B4B54D487F2496DDC4D4B6C6747A73B
Sake root: D159
S1 root: S1_Root_e69c
Root key hash: C30DEC2471CEA311E6918657367B51068A39583BBF89FD68B379BCD5A709AB1B
Slot count: 0
Current slot: F
Battery level: 0 unsupported command

Device is put now in flash mode.

Repartitioning...
partition_delivery.xml not exist in partition folder or no partition folder.

Processing partition-image-LUN2_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN2_X-FLASH-ALL-C93B.sin
- Extracting signature partitionimage_2.cms
- Uploading signature ./partition/partitionimage_2.cms
      signature:0000053e
      OKAY.
- Extracting sparse chunk partitionimage_2.000
- Uploading sparse chunk ./partition/partitionimage_2.000
      download:00006000
      OKAY.
      Repartition:2
      OKAY.
- End of partition-image-LUN2_X-FLASH-ALL-C93B.sin

Processing partition-image-LUN0_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN0_X-FLASH-ALL-C93B.sin
- Extracting signature partitionimage_0.cms
- Uploading signature ./partition/partitionimage_0.cms
      signature:0000053e
      OKAY.
- Extracting sparse chunk partitionimage_0.000
- Uploading sparse chunk ./partition/partitionimage_0.000
      download:00006000
      OKAY.
      Repartition:0
      OKAY.
- End of partition-image-LUN0_X-FLASH-ALL-C93B.sin

Processing partition-image-LUN1_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN1_X-FLASH-ALL-C93B.sin
- Extracting signature partitionimage_1.cms
- Uploading signature ./partition/partitionimage_1.cms
      signature:0000053e
      OKAY.
- Extracting sparse chunk partitionimage_1.000
- Uploading sparse chunk ./partition/partitionimage_1.000
      download:00006000
      OKAY.
      Repartition:1
      OKAY.
- End of partition-image-LUN1_X-FLASH-ALL-C93B.sin

Processing .sin files...
Created ouput folder flash_session

Processing cache_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from cache_X-FLASH-ALL-C93B.sin
- Extracting signature cache.cms
- Uploading signature ./flash_session/cache.cms
      signature:00000533
      OKAY.
- Extracting sparse chunk cache.000
- Uploading sparse chunk ./flash_session/cache.000
      download:0080f094
      OKAY.
      erase:cache
      OKAY.
      flash:cache
      OKAY.
- End of cache_X-FLASH-ALL-C93B.sin

Processing adspso_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from adspso_X-FLASH-ALL-C93B.sin
- Extracting signature dsp.cms
- Uploading signature ./flash_session/dsp.cms
      signature:00000531
      OKAY.
- Extracting sparse chunk dsp.000
- Uploading sparse chunk ./flash_session/dsp.000
      download:01000000
      OKAY.
      erase:dsp
      OKAY.
      flash:dsp
      OKAY.
- End of adspso_X-FLASH-ALL-C93B.sin

Processing Qnovo_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from Qnovo_X-FLASH-ALL-C93B.sin
- Extracting signature Qnovo.cms
- Uploading signature ./flash_session/Qnovo.cms
      signature:00000533
      OKAY.
- Extracting sparse chunk Qnovo.000
- Uploading sparse chunk ./flash_session/Qnovo.000
      download:0046e034
      OKAY.
      erase:Qnovo
      OKAY.
      flash:Qnovo
      OKAY.
- End of Qnovo_X-FLASH-ALL-C93B.sin

Processing fotakernel_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
      ..........
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from fotakernel_X-FLASH-ALL-C93B.sin
- Extracting signature FOTAKernel.cms
- Uploading signature ./flash_session/FOTAKernel.cms
      signature:00000538
      OKAY.
- Extracting sparse chunk FOTAKernel.000
- Uploading sparse chunk ./flash_session/FOTAKernel.000
      download:018853ef
      OKAY.
      erase:FOTAKernel
      OKAY.
      flash:FOTAKernel
      OKAY.
- End of fotakernel_X-FLASH-ALL-C93B.sin

Processing system_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
      ............................................................
      ............................................................
      ............................................................
      ............................................................
      ............................................................
      ...............
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from system_X-FLASH-ALL-C93B.sin
- Extracting signature system.cms
- Uploading signature ./flash_session/system.cms
      signature:000009da
      OKAY.
- Extracting sparse chunk system.000
- Uploading sparse chunk ./flash_session/system.000
      download:063ff034
      OKAY.
      erase:system
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.001
- Uploading sparse chunk ./flash_session/system.001
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.002
- Uploading sparse chunk ./flash_session/system.002
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.003
- Uploading sparse chunk ./flash_session/system.003
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.004
- Uploading sparse chunk ./flash_session/system.004
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.005
- Uploading sparse chunk ./flash_session/system.005
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.006
- Uploading sparse chunk ./flash_session/system.006
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.007
- Uploading sparse chunk ./flash_session/system.007
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.008
- Uploading sparse chunk ./flash_session/system.008
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.009
- Uploading sparse chunk ./flash_session/system.009
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.010
- Uploading sparse chunk ./flash_session/system.010
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.011
- Uploading sparse chunk ./flash_session/system.011
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.012
- Uploading sparse chunk ./flash_session/system.012
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.013
- Uploading sparse chunk ./flash_session/system.013
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.014
- Uploading sparse chunk ./flash_session/system.014
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.015
- Uploading sparse chunk ./flash_session/system.015
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.016
- Uploading sparse chunk ./flash_session/system.016
      download:063ff0d0
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.017
- Uploading sparse chunk ./flash_session/system.017
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.018
- Uploading sparse chunk ./flash_session/system.018
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.019
- Uploading sparse chunk ./flash_session/system.019
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.020
- Uploading sparse chunk ./flash_session/system.020
      download:063ff0d0
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.021
- Uploading sparse chunk ./flash_session/system.021
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.022
- Uploading sparse chunk ./flash_session/system.022
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.023
- Uploading sparse chunk ./flash_session/system.023
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.024
- Uploading sparse chunk ./flash_session/system.024
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.025
- Uploading sparse chunk ./flash_session/system.025
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.026
- Uploading sparse chunk ./flash_session/system.026
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.027
- Uploading sparse chunk ./flash_session/system.027
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.028
- Uploading sparse chunk ./flash_session/system.028
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.029
- Uploading sparse chunk ./flash_session/system.029
      download:063ff088
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.030
- Uploading sparse chunk ./flash_session/system.030
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.031
- Uploading sparse chunk ./flash_session/system.031
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.032
- Uploading sparse chunk ./flash_session/system.032
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.033
- Uploading sparse chunk ./flash_session/system.033
      download:063ff040
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.034
- Uploading sparse chunk ./flash_session/system.034
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.035
- Uploading sparse chunk ./flash_session/system.035
      download:063ff070
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.036
- Uploading sparse chunk ./flash_session/system.036
      download:063ff100
      OKAY.
      flash:system
      OKAY.
- Extracting sparse chunk system.037
- Uploading sparse chunk ./flash_session/system.037
      download:02673034
      OKAY.
      flash:system
      OKAY.
- End of system_X-FLASH-ALL-C93B.sin

Processing elabel-G8441-row-row_201709190503668.1_47.1.A.8.49_X-FLASH-LTALABEL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from elabel-G8441-row-row_201709190503668.1_47.1.A.8.49_X-FLASH-LTALABEL-C93B.sin
- Extracting signature LTALabel.cms
- Uploading signature ./flash_session/LTALabel.cms
      signature:0000055b
      OKAY.
- Extracting sparse chunk LTALabel.000
- Uploading sparse chunk ./flash_session/LTALabel.000
      download:01000000
      OKAY.
      erase:LTALabel
      OKAY.
      flash:LTALabel
      OKAY.
- End of elabel-G8441-row-row_201709190503668.1_47.1.A.8.49_X-FLASH-LTALABEL-C93B.sin

Processing ssd_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from ssd_X-FLASH-ALL-C93B.sin
- Extracting signature ssd.cms
- Uploading signature ./flash_session/ssd.cms
      signature:00000531
      OKAY.
- Extracting sparse chunk ssd.000
- Uploading sparse chunk ./flash_session/ssd.000
      download:00000001
      OKAY.
      erase:ssd
      OKAY.
      flash:ssd
      OKAY.
- End of ssd_X-FLASH-ALL-C93B.sin

Processing amss_fsg_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from amss_fsg_X-FLASH-ALL-C93B.sin
- Extracting signature fsg.cms
- Uploading signature ./flash_session/fsg.cms
      signature:00000531
      OKAY.
- Extracting sparse chunk fsg.000
- Uploading sparse chunk ./flash_session/fsg.000
      download:00036328
      OKAY.
      erase:fsg
      OKAY.
      flash:fsg
      OKAY.
- End of amss_fsg_X-FLASH-ALL-C93B.sin

Processing fsmetadata_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from fsmetadata_X-FLASH-ALL-C93B.sin
- Extracting signature fsmetadata.cms
- Uploading signature ./flash_session/fsmetadata.cms
      signature:00000538
      OKAY.
- Extracting sparse chunk fsmetadata.000
- Uploading sparse chunk ./flash_session/fsmetadata.000
      download:00000001
      OKAY.
      erase:fsmetadata
      OKAY.
      flash:fsmetadata
      OKAY.
- End of fsmetadata_X-FLASH-ALL-C93B.sin

Processing bootloader_X_BOOT_MSM8998_LA1_1_O_79_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
      ....
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from bootloader_X_BOOT_MSM8998_LA1_1_O_79_X-FLASH-ALL-C93B.sin
- Extracting signature bootloader.cms
- Uploading signature ./flash_session/bootloader.cms
      signature:00000538
      OKAY.
- Extracting sparse chunk bootloader.000
- Uploading sparse chunk ./flash_session/bootloader.000
      download:013b1000
      OKAY.
      erase:bootloader
      OKAY.
      flash:bootloader
      OKAY.
- End of bootloader_X_BOOT_MSM8998_LA1_1_O_79_X-FLASH-ALL-C93B.sin

Processing oem_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
      ..........
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from oem_X-FLASH-ALL-C93B.sin
- Extracting signature oem.cms
- Uploading signature ./flash_session/oem.cms
      signature:00000531
      OKAY.
- Extracting sparse chunk oem.000
- Uploading sparse chunk ./flash_session/oem.000
      download:022440c4
      OKAY.
      erase:oem
      OKAY.
      flash:oem
      OKAY.
- End of oem_X-FLASH-ALL-C93B.sin

Processing appslog_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from appslog_X-FLASH-ALL-C93B.sin
- Extracting signature appslog.cms
- Uploading signature ./flash_session/appslog.cms
      signature:00000535
      OKAY.
- Extracting sparse chunk appslog.000
- Uploading sparse chunk ./flash_session/appslog.000
      download:0044e034
      OKAY.
      erase:appslog
      OKAY.
      flash:appslog
      OKAY.
- End of appslog_X-FLASH-ALL-C93B.sin

Processing userdata_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
   
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from userdata_X-FLASH-ALL-C93B.sin
- Extracting signature userdata.cms
- Uploading signature ./flash_session/userdata.cms
      signature:00000556
      OKAY.
- Extracting sparse chunk userdata.000
- Uploading sparse chunk ./flash_session/userdata.000
      download:063ff094
      OKAY.
      erase:userdata
      OKAY.
      flash:userdata
      OKAY.
- Extracting sparse chunk userdata.001
- Uploading sparse chunk ./flash_session/userdata.001
      download:02399168
      OKAY.
      flash:userdata
      OKAY.
- End of userdata_X-FLASH-ALL-C93B.sin

Processing bootloader_X_Boot_MSM8998_LA1_1_O_79_X-FLASH-ALL-5ADA.sin
- setting up inflate...
- infflating, please wait...
      .....
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from bootloader_X_Boot_MSM8998_LA1_1_O_79_X-FLASH-ALL-5ADA.sin
- Extracting signature bootloader.cms
- Uploading signature ./flash_session/bootloader.cms
      signature:00000538
      Error, didn't got signature OKAY reply! Got reply: FAILFailed to verify cms

=========== BOOTLOADER LOG =============
INIT: Tue Feb 23 11:31:55 1971
[ERROR @ fastboot.c:2125]:
fastboot_get_variable: Could not find variable Emmc-info
[ERROR @ authenticate.c:595]:
Failed to get key. (-1007)
[ERROR @ fastboot.c:2125]:
fastboot_get_variable: Could not find variable Battery
[ERROR @ file.c:211]:
unlink failed, errno (2)
[ERROR @ storage.c:239]:
could not find dev
[ERROR @ rule_openssl.c:329]:
verify_cb:
[ERROR @ rule_openssl.c:330]:
  cert: 0x7599030300
[ERROR @ rule_openssl.c:331]:
  depth: 0
[ERROR @ rule_openssl.c:333]:
  error:20 (unable to get local issuer certificate)
[ERROR @ cms_verifier.c:196]:
CMS_verify failed.
[ERROR @ cms_verifier.c:198]:
Reason: error:2E099064:lib(46):func(153):reason(100)
[ERROR @ fastboot.c:3835]:
Failed to verify cms
INIT: Tue Feb 23 11:36:04 1971
amss_aù
=================================================

=========== FIRMWARES HISTORY LOG =============
NEW_VERSION: erased_user_data:true, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_77, cdf_version:1310-9560_R6B, fs_version:GENERIC_47.1.A.2.324, sw_version:1307-7511_47.1.A.2.324
NEW_VERSION: erased_user_data:true, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_79, cdf_version:1310-6856_R16B, fs_version:GENERIC_47.1.A.12.145, sw_version:1307-7511_47.1.A.12.145
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_79, cdf_version:1310-6856_R16B, fs_version:GENERIC_47.1.A.12.179, sw_version:1307-7511_47.1.A.12.179
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_79, cdf_version:1310-6856_R16B, fs_version:GENERIC_47.1.A.12.205, sw_version:1307-7511_47.1.A.12.205
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_82, cdf_version:1310-6856_R17B, fs_version:GENERIC_47.1.A.12.235, sw_version:1307-7511_47.1.A.12.235
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_82, cdf_version:1310-6856_R18B, fs_version:GENERIC_47.1.A.12.270, sw_version:1307-7511_47.1.A.12.270
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_82, cdf_version:1310-6856_R18B, fs_version:GENERIC_47.1.A.16.20, sw_version:1307-7511_47.1.A.16.20
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_106, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.4.45, sw_version:1307-7511_47.2.A.4.45
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_107, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.6.30, sw_version:1307-7511_47.2.A.6.30
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_107, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.8.24, sw_version:1307-7511_47.2.A.8.24
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.28, sw_version:1307-7511_47.2.A.10.28
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.45, sw_version:1307-7511_47.2.A.10.45
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.62, sw_version:1307-7511_47.2.A.10.62
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.80, sw_version:1307-7511_47.2.A.10.80
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_114, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.107, sw_version:1307-7511_47.2.A.10.107
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_114, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.11.228, sw_version:1307-7511_47.2.A.11.228

=================================================


Device is put now out of flash mode.
Sent command: Sync
Waiting sync to finish...
...............sync response[0x4]:

  00000000  4F 4B 41 59                                      OKAY

done
Sent command: continue.

Done.
Closing device.

Thank you

EDIT:
Problem was I needed to create a folder named "boot" inside of the firmware folder with all the boot associated files (Lilac_XBootConfig_MiscTA.ta, boot_delivery.xml, bootloader_X_BOOT_MSM8998_LA2_0_P_114_X-FLASH-ALL-5D31.sin, bootloader_X_BOOT_MSM8998_LA2_0_P_114_X-FLASH-ALL-C93B.sin, bootloader_X_Boot_MSM8998_LA2_0_P_114_X-FLASH-ALL-5ADA.sin), next to the .sin files and "partition" folder. This fixed the issue.
Also, while bootlooping I tried XperiaFirm with the same as the one I had before the bootloop, removing persist....sin and simlock.ta of course and it also fixed the bootloop.
You no need to delete anything! Persist is by default after v48 ignored by default. Simlock is ignored by default since old versions of newflasher. Yes problem was inproper folders structure of the your fw, I'm glad you solved and gaved feedback
 
  • Like
Reactions: dogtagundergrounder

songxuke

Member
Jul 31, 2021
12
1
Sony Xperia 10 III
Code:
--------------------------------------------------------
            newflasher.exe v48 by Munjeni @ 2017/2020
--------------------------------------------------------

Determining available free space by GetDiskFreeSpaceEx:

  Available space to caller    = 489439 MB
  Total space on current drive = 953866 MB
  Free space on drive          = 489439 MB

Optional step! Type 'y' and press ENTER if you need GordonGate flash driver, or type 'n' to skip.
This creates GordonGate driver installer in the same dir with newflasher.exe!
n
Device path: \\?\usb#vid_0fce&pid_b00b#5&2f869293&0&6#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Class Description: SOMC Flash Device
Device Instance Id: USB\VID_0FCE&PID_B00B\5&2F869293&0&6


Reboot mode at the end of flashing:
  typa 'a' for reboot to android, type 'f' for reboot to fastboot, type 's' for reboot to same mode, type 'p' for poweroff, and press ENTER.
a

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! But it is recommend to have dump in case hard brick!
n
Product: XQ-BT41
Version: 0.4
Bootloader version: 1322-1665_X_Boot_SM6350_LA2.0_R_34
Baseband version: 62.0.C.0.229
Serialno: OKAY
Secure: yes
Loader version: 1322-1665_X_Boot_SM6350_LA2.0_R_34
Phone ID: 0000:00440254266572
Device ID: 363252BB
Platform ID: 0013F0E1
Max download size: 805306368
Sector size: 4096
Rooting status: NOT_ROOTABLE
Ufs info: SKhynix,H9HQ15AECMADAR,A102
Emmc info: FAILEmmc-info not supported
Default security: OFF
Keystore counter: 4
Security state: Jb5j2wGd15OmSvjGXzQ6nQsLGmFPWPo46SjBbm9chmA=
Sake root: 0000000000000000000000000000
S1 root:
Root key hash: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Slot count: 2
Current slot: a
Battery level: 0 unsupported command

 - Errornous DATA reply!
Replied with [0xD]:

  00000000  44 41 54 41 30 30 30 30 30 30 30 31 00           DATA00000001.

 - Error, no go_into_flash_mode DATA reply!
Sent command: continue.

Done.
Closing device.

I don't know how to solve this error. I used xperia 10 iii
I hope someone help me.
Thanks
 
Last edited:

jamshadinho

Senior Member
Jan 21, 2013
82
0
thrissur
Procedure is simple - after you change slot you need to reboot, after reboot you need to reflash rom otherwise your device will not boot because e.g. on stock rom sin image with sufix _other_ is always flashed to the diferent slot e.g. you are on slot a _other_ is always flashed to slot b and vice versa, so if you swith to diferent slot and you din't reflash the things your device will fail to boot, hope this help.
Hi, i am using xperia 5ii, I just made a mistake today. my active slot is b. i flashed SEA firmware(because i am not getting VOLTE in india). but after flash, boot loop happened, I solved it by using xperia companion. is it possible to change regional firmware of xperia 5ii to SEA? mine showing GLOBAL-C2.
 

munjeni

Senior Member
Jun 2, 2011
9,413
22,007
Hi, i am using xperia 5ii, I just made a mistake today. my active slot is b. i flashed SEA firmware(because i am not getting VOLTE in india). but after flash, boot loop happened, I solved it by using xperia companion. is it possible to change regional firmware of xperia 5ii to SEA? mine showing GLOBAL-C2.
Yes if rom is flasheable without errors. You need to unlock bootloader and relock to reset rollback protection index, command "relock" doing index reset to zero. Not reseting index cause "device corrupted". Procedure is, unlock bootloader, flash rom, relock bootloader, let us know.
 
Last edited:

munjeni

Senior Member
Jun 2, 2011
9,413
22,007
Code:
--------------------------------------------------------
            newflasher.exe v48 by Munjeni @ 2017/2020
--------------------------------------------------------

Determining available free space by GetDiskFreeSpaceEx:

  Available space to caller    = 489439 MB
  Total space on current drive = 953866 MB
  Free space on drive          = 489439 MB

Optional step! Type 'y' and press ENTER if you need GordonGate flash driver, or type 'n' to skip.
This creates GordonGate driver installer in the same dir with newflasher.exe!
n
Device path: \\?\usb#vid_0fce&pid_b00b#5&2f869293&0&6#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Class Description: SOMC Flash Device
Device Instance Id: USB\VID_0FCE&PID_B00B\5&2F869293&0&6


Reboot mode at the end of flashing:
  typa 'a' for reboot to android, type 'f' for reboot to fastboot, type 's' for reboot to same mode, type 'p' for poweroff, and press ENTER.
a

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! But it is recommend to have dump in case hard brick!
n
Product: XQ-BT41
Version: 0.4
Bootloader version: 1322-1665_X_Boot_SM6350_LA2.0_R_34
Baseband version: 62.0.C.0.229
Serialno: OKAY
Secure: yes
Loader version: 1322-1665_X_Boot_SM6350_LA2.0_R_34
Phone ID: 0000:00440254266572
Device ID: 363252BB
Platform ID: 0013F0E1
Max download size: 805306368
Sector size: 4096
Rooting status: NOT_ROOTABLE
Ufs info: SKhynix,H9HQ15AECMADAR,A102
Emmc info: FAILEmmc-info not supported
Default security: OFF
Keystore counter: 4
Security state: Jb5j2wGd15OmSvjGXzQ6nQsLGmFPWPo46SjBbm9chmA=
Sake root: 0000000000000000000000000000
S1 root:
Root key hash: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Slot count: 2
Current slot: a
Battery level: 0 unsupported command

- Errornous DATA reply!
Replied with [0xD]:

  00000000  44 41 54 41 30 30 30 30 30 30 30 31 00           DATA00000001.

- Error, no go_into_flash_mode DATA reply!
Sent command: continue.

Done.
Closing device.

I don't know how to solve this error. I used xperia 10 iii
I hope someone help me.
Thanks
XQ-BT41 ? This is new model? Your device have "default security OFF" which I see for the first time, it looks like development board? Please try newflasher version 49 and let me know if it work for you!
 
Last edited:
  • Like
Reactions: songxuke

songxuke

Member
Jul 31, 2021
12
1
Sony Xperia 10 III
XQ-BT41 ? This is new model? Your device have "default security OFF" which I see for the first time, it looks like development board? Please try newflasher version 49 and let me know if it work for you!
Thanks.
version 49 worked for me.
but I also have another problem. My phone is a development board.
it's not have Volte setting option, but my sim card has Volte
so sim card not worked in China.
I hope you can help me;
Thanks!
 
Last edited:
  • Like
Reactions: munjeni

jamshadinho

Senior Member
Jan 21, 2013
82
0
thrissur
Yes if rom is flasheable without errors. You need to unlock bootloader and relock to reset rollback protection index, command "relock" doing index reset to zero. Not reseting index cause "device corrupted". Procedure is, unlock bootloader, flash rom, relock bootloader, let us know.
Thanks for fast response, Why this issue not happened to my xperia 1ii? it's working fine with SEA firmware and volte working fine. I have few more doubts I only once unlocked bootloader before, I think it was xperia z2. is this cause to lose DRM keys? will that affect low light photography? HDR will work on netflix? Can it be repaired through xperia companion? I need to know this before try.
 

jamshadinho

Senior Member
Jan 21, 2013
82
0
thrissur
One more thing i noticed, it may be a bug i guess, Battery capacity changing after flash, last month before i flash checked battery health it was 3850mah, after flash i got device corrupted message then i fixed it by changed slot and flash. After flash i checked battery health it was showing 3660mah(I was shocked). yesterday also i checked battery before flash it was 3660mah. but after device corrupted message i used xperia companion to fix the issue. now it showing 3575mah. will this be a bug? i am checking battery health by entering "*#*#SERVICE#*#*".
 

wjk199511140034

New member
Aug 1, 2021
1
0
Hi,@munjeni good news,yesterday I used the old usb type-c to type-b cable instead of the original c to c cable,to flash the single dsp.sin,it worked ! So I flashed the full 58.1.A.1.178 firmware,no issues at all, the phone is running normally. Before I flashed,I checked the SOMC Flash Device driver I used before,same as you 3.2.0.0 06.12.2017 .I was wondering what caused the issue,the driver dosen't function well in Thunderbolt 3 usb-C ports or just the type-C cable dosen't match the flash program.But now I can confirm that the newflasher is fine to flash the android 11 in sony mark II device. Thank you very much for helping me sovle the problem.
I encountered the same problem with the c port cable, and it was solved by changing the cable. It may be a problem with the computer Thunderbolt interface. .



用c口线遇到了同样的问题,换线解决了,可能是电脑雷电接口有问题吧。。
 
Last edited by a moderator:

diva2711

New member
Aug 1, 2021
2
1
Dear sir, need help with this log,
I need to flash SOV37 AU to global Rom

=========== BOOTLOADER LOG =============
INIT: Wed Jan 24 00:28:07 1973
[ERROR @ fastboot.c:2255]:
fastboot_get_variable: Could not find variable Emmc-info
[ERROR @ authenticate.c:594]:
Failed to get key. (-1007)
INIT: Wed Jan 24 00:28:07 1973

=================================================

=========== FIRMWARES HISTORY LOG =============
NEW_VERSION: erased_user_data:true, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA1.0_O_57, cdf_version:1313-4752_R15A, fs_version:GENERIC_51.1.C.0.385, sw_version:1311-9107_51.1.C.0.385
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA1.0_O_61, cdf_version:1313-4752_R17A, fs_version:GENERIC_51.1.C.9.31, sw_version:1311-9107_51.1.C.9.31
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA2.0_P_118, cdf_version:1313-4752_R13B, fs_version:GENERIC_52.0.C.1.112, sw_version:1311-9107_52.0.C.1.112
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA2.0_P_118, cdf_version:1313-4752_R13B, fs_version:GENERIC_52.0.C.5.46, sw_version:1311-9107_52.0.C.5.46
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA2.0_P_118, cdf_version:1313-4752_R13B, fs_version:GENERIC_52.0.C.5.90, sw_version:1311-9107_52.0.C.5.90
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA2.0_P_118, cdf_version:1313-4752_R13B, fs_version:GENERIC_52.0.C.5.164, sw_version:1311-9107_52.0.C.5.164
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA2.0_P_118, cdf_version:1313-4752_R13B, fs_version:GENERIC_52.0.C.5.205, sw_version:1311-9107_52.0.C.5.205
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA2.0_P_118, cdf_version:1313-4752_R13B, fs_version:GENERIC_52.0.C.5.253, sw_version:1311-9107_52.0.C.5.253
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA2.0_P_118, cdf_version:1313-4752_R13B, fs_version:GENERIC_52.0.C.5.282, sw_version:1311-9107_52.0.C.5.282
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA2.0_P_118, cdf_version:1313-4752_R13B, fs_version:GENERIC_52.0.C.5.295, sw_version:1311-9107_52.0.C.5.295
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA2.0.1_Q_206, cdf_version:1313-4752_R14C, fs_version:GENERIC_52.1.C.0.157, sw_version:1311-9107_52.1.C.0.157
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA2.0.1_Q_206, cdf_version:1313-4752_R14C, fs_version:GENERIC_52.1.C.0.192, sw_version:1311-9107_52.1.C.0.192
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1310-7079_X_Boot_SDM845_LA2.0.1_Q_206, cdf_version:1313-4752_R14C, fs_version:GENERIC_52.1.C.0.220, sw_version:1311-9107_52.1.C.0.220

=================================================

Set slot 'a' active.

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

Done.
Closing device.
Press any key to continue . . .

Please, need your help
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Hi everyone, PLEASE HELP ME, I have Xperia 1 III(XQ-BC72) HK fw, I tried to flash TW fw for my phone, flashing done but my phone doesn't open reboot and reboot again. I tried to repair with Xperia Companion but device no charge enough fot repair. I want to charge it but when I plug it to charge reboot and reboot again. How can I charge it? How can I save my phone? @munjeni

    Please there are a lot of user like this https://forum.xda-developers.com/t/...w-to-charge-it-with-infinite-reboots.4314999/
    I see you solved it https://forum.xda-developers.com/t/...t-with-infinite-reboots.4314999/post-85648815 , it would be great if you share info to others with the same isue.
    2
    1. if you're on windows you just need newflasher.exe. Yes.
    2. do not delete anything
    3. ansvered ten times in this thread. Ansvered ten times in this thread.

    I see no reason keeping bootloader locked other than waranty care. If you have android 11 and you want to flash android 10 you will need to unlock bootloader and relock to reset rollback index to zero. In case you have android 10 and want android 11 you will no need to unlock bootloader. For the rest of thing don't be lazy to read some pages back.
    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
    1
    If you're in doubpt ask somebody in your device subforum, also read and read there before anything. I'm on xperia 10 and I can't help you in xperia 5 II since I can't test things on my xperia 10.
  • 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.