munjeni / newflasher

Flash tool for new Sony flash tool protocol (Xperia XZ Premium and further)
336 stars 43 forks source link

Can't flash a second hand xperia 10 iii #53

Closed lance6716 closed 2 years ago

lance6716 commented 2 years ago

I just bought a second hand xperia 10 iii, I guess it's SO-52B with firmware XQ-BT52. It can't get latest OS update so I want to flash it to SO-52B firmware. Now I have downloaded firmware from Xperifirm, and newflasher meets this error

Processing partition-image-LUN0_124936192_X-FLASH-ALL-F007.sin
 - Extracting from partition-image-LUN0_124936192_X-FLASH-ALL-F007.sin
 - Extracting signature partitionimage_0.cms
 - Uploading signature C:\Users\me\Downloads\SO-52B\SO-52B_NTT DoCoMo JP_62.1.B.0.504\partition\partitionimage_0.cms
      signature:0000089c
      device from 2021 and up?
      download:0000089c
      OKAY.
      signature
      Error, signature OKAY reply, got reply: FAILFAILFailed to verify cms!

the whole terminal output is

--------------------------------------------------------
            newflasher.exe v52 by Munjeni @ 2017/2020
--------------------------------------------------------

Determining available free space by GetDiskFreeSpaceEx:

  Available space to caller    = 84543 MB
  Total space on current drive = 384708 MB
  Free space on drive          = 84543 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&26471407&0&7#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Class Description: SOMC Flash Device
Device Instance Id: USB\VID_0FCE&PID_B00B\5&26471407&0&7

Do you want to keep userdata? Type 'y' and press ENTER to confirm, or type 'n' to erase userdata.
n

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-BT52
Version: 0.4
Bootloader version: 1322-1665_X_Boot_SM6350_LA2.0_R_49
Baseband version: 62.0.A.3.109
Serialno: HQ60B33009
Secure: yes
Loader version: 1322-1665_X_Boot_SM6350_LA2.0_R_49
Phone ID: 0000:35060312003039,0000:35060312003040
Device ID: FC2B7590
Platform ID: 0013F0E1
Max download size: 805306368
Sector size: 4096
Rooting status: ROOTABLE
Ufs info: SKhynix,H9HQ15AECMADAR,A902
Emmc info: FAILEmmc-info not supported
Default security: ON
Keystore counter: 3
Security state: 6SwNttTgWIDo9GMaPP5anvPAahffQRIhGmFHMOKHLGU=
Sake root: 4A28F176A1DF191CF57828DA95BB
S1 root:
Root key hash: 71F0185D71A926B61852C62AE24E220ACF68F56DE9A180EF52035A74496CAE9EC48A4A28F176A1DF191CF57828DA95BB
Slot count: 2
Current slot: a
Battery level: 4188

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 05 21 01 02 03 04 01 AD 10 10 02 00 00 31  ...!...........1
  00000020  03 20 44 04 20 00 00 00 00 00 05 00 00 00 00 00  . D. ...........
  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 98 00 00 00 00 01 02 00 00 00 00 01 DC 98 00  ................
  00000060  00 00 00 23 02 01 01 01 01 00 00 03 00 0C 00 00  ...#............
  00000070  00 00 00 00 08 00 00 00 00 01 02 00 00 00 00 00  ................
  00000080  00 08 00 00 00 00 23 02 02 01 02 01 00 00 03 00  ......#.........
  00000090  0C 00 00 00 00 00 00 08 00 00 00 00 01 02 00 00  ................
  000000A0  00 00 00 00 08 00 00 00 00                       .........

LUN0 size = 124936192

Processing partition-image-LUN0_124936192_X-FLASH-ALL-F007.sin
 - Extracting from partition-image-LUN0_124936192_X-FLASH-ALL-F007.sin
 - Extracting signature partitionimage_0.cms
 - Uploading signature C:\Users\me\Downloads\SO-52B\SO-52B_NTT DoCoMo JP_62.1.B.0.504\partition\partitionimage_0.cms
      signature:0000089c
      device from 2021 and up?
      download:0000089c
      OKAY.
      signature
      Error, signature OKAY reply, got reply: FAILFAILFailed to verify cms!

=========== FIRMWARES HISTORY LOG =============
NEW_VERSION: erased_user_data:true, variant:userdebug, s1boot_version:1322-1665_X_Boot_SM6350_LA2.0_R_34, cdf_version:Unknown: May 31 2021/11:05:00, fs_version:Unknown: May 31 2021/11:05:00, sw_version:Unknown: May 31 2021/11:05:00
NEW_VERSION: erased_user_data:true, variant:user, s1boot_version:1322-1665_X_Boot_SM6350_LA2.0_R_49, cdf_version:Unknown: Jul 29 2021/14:04:58, fs_version:Unknown: Jul 29 2021/14:04:58, sw_version:62.0.A.3.109

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

Set slot 'a' active.

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

Done.
Closing device.
请按任意键继续. . .

What's the error here? 😵 Thanks

lance6716 commented 2 years ago

strange that I can flash XQ-BT52 firmware. Maybe the previous owner changed the cover of the phone 🤔 but Xperia companion says this is a SO-52B 🤔

munjeni commented 2 years ago

HI, your device is XQ-BT52 and not XQ-BT52B, so you need XQ-BT52 firmware! Error you getting is related to the signature of the rom which not match your device since its not designed for your device model.

lance6716 commented 2 years ago

HI, your device is XQ-BT52 and not XQ-BT52B, so you need XQ-BT52 firmware! Error you getting is related to the signature of the rom which not match your device since its not designed for your device model.

I didn't mention "XQ-BT52B", do you mean SO-52B?

Thanks now I know it's related to device model. But my phone does have a DOCOMO SO-52B back cover, maybe the previous owner changed it to have a better color 😂

munjeni commented 2 years ago

Probably yes. See your log:

Product: XQ-BT52

Its definitelly XQ-BT52