[Xperia Z] Flash Failure while trying to flash a stock FTF

schastang

Senior Member
Nov 18, 2016
61
3
8
Hi!

I have a big problem with my phone. I tried to restore a TWRP backup but it failed to complete.
Error occured few seconds after restoring (can't tell what part of the backup was successfuly restored, TA, SYSTEM, KERNEL...).

Now I cannot flash any FTF file. My phone starts with SONY logo but doesn't go further. Screen goes black (backlight) during few seconds and then automatically reboots.

I tried to flash different FTF with different Flashtool but no luck, always got the same error in flashtool :

05/033/2017 19:33:06 - INFO - Flashtool Version 0.9.20.0 built on 04-10-2015 21:00:00
05/033/2017 19:33:06 - INFO - Executing search strategies to find proxy selector
05/033/2017 19:33:06 - INFO - No proxy found for IE. Trying next one
05/033/2017 19:33:06 - INFO - Strategy firefox failed trying next one : No Firefox installation found
05/033/2017 19:33:06 - INFO - No proxy found for java. Trying next one
05/033/2017 19:33:06 - INFO - Syncing devices from github
05/033/2017 19:33:06 - INFO - Opening devices repository.
05/033/2017 19:33:07 - INFO - Scanning devices folder for changes.
05/033/2017 19:33:15 - INFO - Pulling changes from github.
05/033/2017 19:33:16 - INFO - Quietly closing devices repository.
05/033/2017 19:33:16 - INFO - Devices sync finished.
05/033/2017 19:33:16 - INFO - Loading devices database
05/033/2017 19:33:16 - ERROR - root : this bundle is not valid
05/033/2017 19:33:16 - INFO - Loaded 98 devices
05/033/2017 19:33:16 - INFO - Starting phone detection
05/033/2017 19:33:20 - INFO - Device disconnected
05/044/2017 19:44:47 - INFO - Selected Bundle for Sony Xperia Z(C6603). FW release : 10.7.A.0.228. Customization : Customized FR
05/044/2017 19:44:47 - INFO - Preparing files for flashing
05/045/2017 19:45:54 - INFO - Please connect your device into flashmode.
05/046/2017 19:46:09 - INFO - Device connected in flash mode
05/046/2017 19:46:10 - INFO - Opening device for R/W
05/046/2017 19:46:10 - INFO - Reading device information
05/046/2017 19:46:10 - INFO - Phone ready for flashmode operations.
05/046/2017 19:46:10 - INFO - Opening TA partition 2
05/046/2017 19:46:10 - INFO - Start Flashing
05/046/2017 19:46:10 - INFO - Processing loader.sin
05/046/2017 19:46:10 - INFO - Checking header
05/046/2017 19:46:10 - INFO - Flashing data
05/046/2017 19:46:10 - INFO - Loader : S1_Root_5ca3 - Version : APQ8064_39 / Boot version : S1_Boot_Lagan_1.1_10 / Bootloader status : NOT_ROOTABLE
05/046/2017 19:46:10 - INFO - Max packet size set to 524288K
05/046/2017 19:46:10 - INFO - USB buffer size set to 524288K
05/046/2017 19:46:22 - INFO - Parsing boot delivery
05/046/2017 19:46:22 - INFO - No flash script found. Using 0.9.18 flash engine
05/046/2017 19:46:22 - INFO - Writing TA unit 00002774. Value : 01
05/046/2017 19:46:22 - INFO - Ending flash session
05/046/2017 19:46:22 - ERROR -
05/046/2017 19:46:22 - ERROR - Error flashing. Aborted
05/046/2017 19:46:22 - INFO - Flashing finished.
05/046/2017 19:46:22 - INFO - Please unplug and start your phone
05/046/2017 19:46:22 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings
05/046/2017 19:46:22 - INFO - Device connected in flash mode
05/046/2017 19:46:23 - INFO - Device disconnected
05/046/2017 19:46:27 - INFO - Device connected in flash mode
05/046/2017 19:46:30 - INFO - Device disconnected


Notice that debug mode is off (I guess) and my phone is locked (probably during the restore of my uncomplete backup)

Please advise me on how to make my phone start again (find a way to flash stock FTF or TWRP so I can restore another backup, ...)

Thanks a lot.

Seb
 

schastang

Senior Member
Nov 18, 2016
61
3
8
Hi!

I have a big problem with my phone. I tried to restore a TWRP backup but it failed to complete.
Error occured few seconds after restoring (can't tell what part of the backup was successfuly restored, TA, SYSTEM, KERNEL...).

Now I cannot flash any FTF file. My phone starts with SONY logo but doesn't go further. Screen goes black (backlight) during few seconds and then automatically reboots.

I tried to flash different FTF with different Flashtool but no luck, always got the same error in flashtool :

05/033/2017 19:33:06 - INFO - Flashtool Version 0.9.20.0 built on 04-10-2015 21:00:00
05/033/2017 19:33:06 - INFO - Executing search strategies to find proxy selector
05/033/2017 19:33:06 - INFO - No proxy found for IE. Trying next one
05/033/2017 19:33:06 - INFO - Strategy firefox failed trying next one : No Firefox installation found
05/033/2017 19:33:06 - INFO - No proxy found for java. Trying next one
05/033/2017 19:33:06 - INFO - Syncing devices from github
05/033/2017 19:33:06 - INFO - Opening devices repository.
05/033/2017 19:33:07 - INFO - Scanning devices folder for changes.
05/033/2017 19:33:15 - INFO - Pulling changes from github.
05/033/2017 19:33:16 - INFO - Quietly closing devices repository.
05/033/2017 19:33:16 - INFO - Devices sync finished.
05/033/2017 19:33:16 - INFO - Loading devices database
05/033/2017 19:33:16 - ERROR - root : this bundle is not valid
05/033/2017 19:33:16 - INFO - Loaded 98 devices
05/033/2017 19:33:16 - INFO - Starting phone detection
05/033/2017 19:33:20 - INFO - Device disconnected
05/044/2017 19:44:47 - INFO - Selected Bundle for Sony Xperia Z(C6603). FW release : 10.7.A.0.228. Customization : Customized FR
05/044/2017 19:44:47 - INFO - Preparing files for flashing
05/045/2017 19:45:54 - INFO - Please connect your device into flashmode.
05/046/2017 19:46:09 - INFO - Device connected in flash mode
05/046/2017 19:46:10 - INFO - Opening device for R/W
05/046/2017 19:46:10 - INFO - Reading device information
05/046/2017 19:46:10 - INFO - Phone ready for flashmode operations.
05/046/2017 19:46:10 - INFO - Opening TA partition 2
05/046/2017 19:46:10 - INFO - Start Flashing
05/046/2017 19:46:10 - INFO - Processing loader.sin
05/046/2017 19:46:10 - INFO - Checking header
05/046/2017 19:46:10 - INFO - Flashing data
05/046/2017 19:46:10 - INFO - Loader : S1_Root_5ca3 - Version : APQ8064_39 / Boot version : S1_Boot_Lagan_1.1_10 / Bootloader status : NOT_ROOTABLE
05/046/2017 19:46:10 - INFO - Max packet size set to 524288K
05/046/2017 19:46:10 - INFO - USB buffer size set to 524288K
05/046/2017 19:46:22 - INFO - Parsing boot delivery
05/046/2017 19:46:22 - INFO - No flash script found. Using 0.9.18 flash engine
05/046/2017 19:46:22 - INFO - Writing TA unit 00002774. Value : 01
05/046/2017 19:46:22 - INFO - Ending flash session
05/046/2017 19:46:22 - ERROR -
05/046/2017 19:46:22 - ERROR - Error flashing. Aborted
05/046/2017 19:46:22 - INFO - Flashing finished.
05/046/2017 19:46:22 - INFO - Please unplug and start your phone
05/046/2017 19:46:22 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings
05/046/2017 19:46:22 - INFO - Device connected in flash mode
05/046/2017 19:46:23 - INFO - Device disconnected
05/046/2017 19:46:27 - INFO - Device connected in flash mode
05/046/2017 19:46:30 - INFO - Device disconnected


Notice that debug mode is off (I guess) and my phone is locked (probably during the restore of my uncomplete backup)

Please advise me on how to make my phone start again (find a way to flash stock FTF or TWRP so I can restore another backup, ...)

Thanks a lot.

Seb
Hi!

After trying different flashtool versions, different adb and fastboot drivers, multiple ROMs, I have finally found the right combo (in my case) :
- installed drivers from flashtool 0.9.13 (but didn't use flashtool since it always failed to write ta, kernel or system partitions...)
- installed adb and fastboot 1.4.3
- used xflasher(https://forum.xda-developers.com/crossdevice-dev/sony/dev-xflasher-command-line-flasher-t2986634)
- flashed ROM 10.6.A.0.454 Generic UK (https://forum.xda-developers.com/xperia-z/general/stock-rom-xperia-z-c6603-10-6-0-454-t3127499) in this order (1 xflasher.bat per file) :
1 - boot delivery
2 - partition-image.sin
3 - amss_fs_1.sin
4 - amss_fs_2.sin
5 - amss_fs_3.sin
6 - cache.sin
7 - elabel-C6603-row_201310171741.1_10.6.A.0.454.sin
8 - rpm.sin
9 - system.sin
10 - userdata.sin
11 - kernel.sin

I didn't flash fotakernel.sin (not really important since I was able to boot, root the phone, install dual recovery and restore a full backup from TWRP, including FOTAKernel)
Then, my phone started to boot and went over the SONY logo screen

Thanks to all the contributors on XDA. I spent almost 3 days to browse this forum in order to find the right way to get my phone back to life.

Seb
 

dlkarakashev

New member
Apr 19, 2017
3
0
0
VID and PID

How did you get VID and PID of your phone? When I started xflasher.exe it created xflasher.bat and inside is written VID:0FCE and PID:ADDE, but when I try to put this manual on the console I get this: No usb device with vid:0x0fce pid:0xadde !
Help me find my VID and PID pls.
 

hf958

Senior Member
Aug 23, 2017
989
232
43
Plz plz plz
Help
Urgent very urgent help needed
I accidentally flashed xperia zu ROM via twrp on my xz c6603
Flashtool is not recognizing my device as c6603 so I'm unable to install any ftf
Instead flashtool is recognizing my device as c6802
Plz help