[DISASTER RECOVERY][v3.6] Getting your Z1/ZU/Z/ZL back to life!

Did this thread save your bacon?


  • Total voters
    159

parasitical

Member
Apr 23, 2012
34
0
0
erbil
help please

hi friend , i really need some help here
my device have no system/kernel now .. i've been trying to flash a kernel via fastboot but it always tells ( failed - remote : command not allowed )
as for flashtool .. whenever i try to boot into download mode the led turns red then green in a second then disconnects it self by only booting to sony logo .. even tried to charge thinking it's only a charging problem .. but it won't even show the charging animation , do you know how to fastboot flash kernel successfully , ps : am not a noob , just haven't done this for a long time studying high-school .. means you can ask me anything about the process . am on LB BTW
really need your much awaited halp , or any other dev ..
and what is it required to fastboot or flashtool ? could be a wrong drivers issue ? , i alredy tried two drivers !

more about the problem .. i was flashing eXistenz 5 black and its superuser fix , which was done successfully then i had to flash a kernel via flashtool which didn't go well , i thought it's because i forgot to check usb-debbuging of dev-option so i had ( deleted data / cache to flash a new rom , tells the cwm recovery ) to flash the eXistenz 4 back , which had formated the whole system/data/cache and everything .. and ever since it won't fastboot or flashtools or even recover into recovery as the kernel should be deleted ! i think the device is gone heart-attack as dead

Edit : flashtool needs usb-debbuging on which in my case is not
am left with fastboot to flash a kernel and have a recovery , would someone please at least try to help ! ?
 
Last edited:

parasitical

Member
Apr 23, 2012
34
0
0
erbil
@parasitical flashtool will work just fine in flashmode without usb debugging on. The 2 are unrelated.

Flash a full ftf of a stock rom and your mobile will work just fine.

If you have a locked bootloader you must flash a stock kernel.sin from Sony otherwise your bootloader will refuse to boot, simply because it's locked...
thanks for your time ,

i've been flashing a boot-twrp-v2.img kernel which is for LB via fastboo , and a .tft kernel via flashtoo , do you mean flashing a .sin kernel , .tft stock rom would work .. if so , could you pleaase give me a link to a stuck kernel as i haven't found any , and a is there a tft rom for the ME ?
am really gratefull for your help !

---------- Post added at 01:53 PM ---------- Previous post was at 01:19 PM ----------

@parasitical flashtool will work just fine in flashmode without usb debugging on. The 2 are unrelated.

Flash a full ftf of a stock rom and your mobile will work just fine.

If you have a locked bootloader you must flash a stock kernel.sin from Sony otherwise your bootloader will refuse to boot, simply because it's locked...
thank you sooo much , you are the best
 

[NUT]

Senior Member
thanks for your time , http://im38.gulfup.com/XSClh.png
i've been flashing a boot-twrp-v2.img kernel which is for LB via fastboo , and a .tft kernel via flashtoo , do you mean flashing a .sin kernel , .tft stock rom would work .. if so , could you pleaase give me a link to a stuck kernel as i haven't found any , and a is there a tft rom for the ME ?
am really gratefull for your help !

---------- Post added at 01:53 PM ---------- Previous post was at 01:19 PM ----------



thank you sooo much , you are the best
You are welcome :)

Stock kernels can be custom as well, remember that Sony signs it's kernels and the S1 bootloader checks that signature. If it matches (pure stock) it will allow to boot on a locked bootloader. Modified stock kernels lose this signature, hence your need to unlock the bootloader to make S1 accept the kernel without that signature.
 

jobangill99

Member
Nov 3, 2012
30
2
0
i downgraded to .534 firmware on my z1 on locked bl and my imei reset to 0, then again i install the stock .290ftf via flashtool and my device won't powering on, only combination of vol up and power key working and it vibrates but flashtool does not recognize the device. tried all the methods.
help me???
 

[NUT]

Senior Member
i downgraded to .534 firmware on my z1 on locked bl and my imei reset to 0, then again i install the stock .290ftf via flashtool and my device won't powering on, only combination of vol up and power key working and it vibrates but flashtool does not recognize the device. tried all the methods.
help me???
Download one of my stripped ftf files from my rom thread. Maybe yours has been damaged.

Disconnect usb, turn off the device (which is what you are doing with vol-up+power) and then get flashtool ready to flash. Then while holding volume-down, connect usb.

Let me know if it worked :good:
 

toscapaul

Member
Nov 23, 2013
30
25
0
xperia ZL stuck in bootloop

ZL C6502

backed up TA partitions before doing anything following http://forum.xda-developers.com/showthread.php?t=2292598
unlocked bootloader with this http://forum.xda-developers.com/showthread.php?t=2153261


i can not figure so far if the phone has a hardware issue or is a software issue of something i did wrong or screwed up in the process of installing multiple roms/apps backups etc

had cm 10.1.3 running just fine for two months or so and after a couple more apps installed , settings changed and backups made via recovery it seems i am stuck in Bootstall


things i have tried with a couple of custom roms for odin/ZL (cm 10.2 ,11, omni, pac)

-flashing boot.img with cwm or twrp(extracted from each custom rom package) via fastboot command (device in fastboot mode/blue led):
fastboot flash boot xx.img then fastboot reboot
-inside cwm/twrp i will do a full wipe , format /data and /sdcard , wipe dalvik cache
-install the zip from external card
-from recovery do another factory reset
-reboot

from my understanding after these steps i should be able to boot into os (at least this worked in the past)
now am stuck in a loop with sony screen( or whatever image was used for each specific kernel ) :image displaying then rebooting in a loop

managed to boot yesterday to omni, and able to reboot a couple more times, then reinstalled cm 10.2, tried a couple more reboots, and then restored my backed up cm 10.2 full backup, managed to reboot the phone without issues for a couple of times then altered some settings in prefs of some apps ( email/viber/custom ringtones etc ) and did another full backup in cwm ... after restart am stuck at bootstall again and am back at square one ... following the same steps i did yesterday no longer boots the phone


i have tried flashing some stock roms via flashtool , kernel only or full ftf , flashing seems to be done properly, no error in flashtool but once i reboot the phone it will shake once and the screen will remain dark
Flashtool says
Current device : Unknown: Aug 28 2013/08:20:43 - EP731822BC - Unknown: Aug 28 2013/08:20:43 - Unknown: Aug 28 2013/08:20:43 - Unknown: Aug 28 2013/08:20:43
Loader : S1_Root_5ca3 - Version : APQ8064_30 / Boot version : S1_Boot_Lagan_1.1.1_1 / Bootloader status : ROOTED


i can connect to PC-usb in fastboot or flash mode and Flashtool 0.9.13.0 will say
INFO - Device connected in fastboot/flash mode
but will not acknowledge the model make or anything else

i have installed the drivers from c:\Flashtool\drivers\ ... the ZL driver is not displayed there but checked the Xperia Z, Flashmode and Fastboot drivers like i saw in some thread here in the ZL forum

device manager shows



with the phone in fastboot/flash mode if i do a Devices->Check Drivers in Flashtool i get
25/032/2014 19:32:38 - INFO - List of connected devices (Device Id) :
25/032/2014 19:32:38 - INFO - - USB\VID_0FCE&PID_0DDE\EP731822BC Driver installed : true
25/032/2014 19:32:38 - INFO - List of ADB devices :
25/032/2014 19:32:38 - INFO - - none
25/032/2014 19:32:38 - INFO - List of fastboot devices :
25/032/2014 19:32:38 - INFO - - none


if i install a recovery and connect the phone to PC while in recovery flashtool will say
25/054/2014 19:54:36 - ERROR - Drivers need to be installed for connected device.
and in dev manager the phone appears as C6503 with an exclamation mark ( as drivers not installed)

Does the phone need to be seen properly as Xperia ZL C6502 even in fastboot/flash mode in Flash Tool or dev manager?
SUS or Pc Companion do not recognize the phone SUS says "The phone contains modified software that cannot be update" even when i have flashed some stock rom

I am not an android guru, so pardon me if this sound stupid , but is there a way to check if the bootloader is working (im)properly? or might it be the case something else was altered along the way? something that can not be reset by the usual wipe / format / install of a custom rom?

...my first step was to back-up TA partition but to restore that i reckon i need the phone to get recognized by adb , most likely running the os (stock firmware) with usb debugging enabled?

I appologize for the long post , but thought to give as much info i considered useful ... i have been bashing my head for 3 days in a row now .. readin alot of stuff but seems to no avail

... might take into consideration the phone might have some hardware issues as well

Any help will pe appreciated.



Thanks,
Paul


LE: tried locking the bootloader with flashtool but SUS says i am up to date regardless of what fw version i have flashed initially ... tried these
Xperia ZL (C6502)_Generic IN (India) 1270-7911_R4B_10.3.1.A.2.67 .... i remember my phone came initially with A.2.67
C6502_10.4.B.0.569_INDIA 1270-7911 R2C

Original Flash Tool for Xperia does not recognize my phone ..Unknown: Aug 28 2013/08:
So either i still do not have the proper drivers installed or something else changed inside the phone .... funny thing is that a week ago or so i could do a adb logcat from the same PC and things were just fine with cm10.2
 
Last edited:

infected_

Recognized Developer
Jul 12, 2008
5,830
14,118
263
Portugal
infectedbuilds.net
i hard bricked a Z ...

symptoms same as other user:

1- No Leds (NO is NO!)
2- Phone doesnt vibrate ( not even hard keys combos, not anyones! )
3- Conecting to PC and PC doesn recognize Phone Sound alert for usb not dirvers
4- device manager shows my phone as "qhsusb_dload" with yellow alert for no drivers.
5- Flashtool doesnt see my phone on eny mode Fastboot or Flashtool
anyone now how can i revive my Z?

many thanks,

infected_
 

infected_

Recognized Developer
Jul 12, 2008
5,830
14,118
263
Portugal
infectedbuilds.net
Well... The chance of unbricking your Z is extremely slim, but the main question is how you bricked it in the first place?
bad built boot.img... :( it was meow kernel compiled by myself but a friend a mine altered the flash script. after flash it, the phone is completely dead, with the symptoms above.

an official sony repair shop can fix it, right? and they wont be able to tell if the bootloader was unlocked or not, because its corrupted..?
 

[NUT]

Senior Member
bad built boot.img... :( it was meow kernel compiled by myself but a friend a mine altered the flash script. after flash it, the phone is completely dead, with the symptoms above.

an official sony repair shop can fix it, right? and they wont be able to tell if the bootloader was unlocked or not, because its corrupted..?
Well... I won't be able to tell you that unless you share me a link to that bad package (IN A PM PLEASE!) to see what the flash script did ...
 

[NUT]

Senior Member
bad built boot.img... :( it was meow kernel compiled by myself but a friend a mine altered the flash script. after flash it, the phone is completely dead, with the symptoms above.

an official sony repair shop can fix it, right? and they wont be able to tell if the bootloader was unlocked or not, because its corrupted..?
Well... I won't be able to tell you that unless you share me a link to that bad package (IN A PM PLEASE!) to see what the flash script did ...
I've checked the packages you sent in a link to me by PM, here's my verdict:

You're screwed... but chances are Sony will only be able to detect user error with highly specialized hardware, which most service centers are not equipped with... so, you could roll the dice on that...

This is the reason why:

updaterscript.png

Observe the highlighted line and then look at the screenshot below:

partitions.jpg

Your kernel got written to a partition which belongs to the bootloader (p5) ... and that can not be rectified :(

I was working on a solution but to really test it (and work on it some more, it's not done!) I would need to brick my own XZ :laugh: ... or get someone to send me his/her bricked phone... and even then there is no warranty it will work out OK.

Anyway... the 'friend' who did this is probably a Samsung or HTC buff... but he clearly knows nothing about Sony devices, sorry but he made a mess of things :eek:
 
Last edited:
  • Like
Reactions: infected_

toscapaul

Member
Nov 23, 2013
30
25
0
.... ooook.... the strangest thing happened ... after being tired of trying things and out of options i have put the 10.3.1.A.2.67 fw back with flashtool the only thing was that phone vibrates, the red light appears and nothing ... and put the phone aside , i thought i have shut it down but probably since no image appears was on... as battery was to 80-90% in twrp before flashing stock ... if there is displayed accurately that is.. anyhow put the phone to charge today as it showed three red blinks when started and surprise the sony logo appears and the animation with battery charging .. let the phone charge till green light and am able to boot into os ... the pc shows the phone as Xperia Zl in flashtool sus or pc companion and everything seems to be working as nothing happened

... now the question .... once the battery is depleted is there any part of memory/flash that gets wiped out/reset ? my reason is that 2 days ago with the same software and settings phone was not starting being softbricked, did not touch the thing at all and once battery depleted and recharged it all works as it should ...

also was curious if there is any option to actually display some level of messages on display while booting , to my knowledge so far this should be something built in kernel but could not find anything appropriate , will do more research on adb logcat command ... that is the closest i could find

Anyhow, the big question is what changed that brought it back to life ... sure was no change from my part ...

will restore TA partition with Drm keys made before unlocking the bootloader just to be on the safe side in case it does happen again

LE:
Just for the sake of it .... i have done the following:
unlock bootloader
fastboot flash boot boot.img (from cm10.2 which was installed previously and had it running fine for 2 months)
wiped everything in cwm
installed cm10.2 rom

now am back to softbrick again

wiped everything again in twrp
flashtool flash stock rom
lock bootloader
flash stock rom again

the phone is still softbricked

before the last flash the battery was somewhere at 15% ... i will start the phone and it will vibrate but nothing appears on screen ... and leave it like this for a couple of hours ... until battery is completely drained aka not starting when i pres power button
plug the phone to wall socket and let it charge for a bit
i power it on and voila.... sony logo and battery charge animation

Now i am quite intrigued to find out what i am missing ... what is changing in the state of the phone that after battery depletion can boot properly?



Had more time to kill
went back and unlocked the bootloader, installed back cm10.2 and restored the back-up i had previously with all the apps installed
phone still would not boot so i let it open in cwm till fully discharged again ... connected it to wall socket and now am able to boot into cm10.2


will have to do more research/learn more about how bootloader / os startup works ... but for now does this behavior seem normal?
 
Last edited:

jobangill99

Member
Nov 3, 2012
30
2
0
Download one of my stripped ftf files from my rom thread. Maybe yours has been damaged.

Disconnect usb, turn off the device (which is what you are doing with vol-up+power) and then get flashtool ready to flash. Then while holding volume-down, connect usb.

Let me know if it worked :good:
I put my z1 into charge even it is not charged. After 3 hours battery led showing up and after it is recognized by flashtool then now it is working.
 
  • Like
Reactions: [NUT]

bananaclips

Member
Feb 15, 2014
7
1
0
Seriously... When your bootloader is LOCKED you CAN NOT flash a CUSTOM kernel!!

Flashing anything else then stock kernels and stock based ROM's on a BOOTLOADER LOCKED DEVICE will result in a SOFT-BRICK. So the answer to your problem is simple: unlock your bootloader or simply DON'T flash a CUSTOM kernel...
I've read this entire thread now to get an answer to my problem and there were quite a few people with the sony logo-bootstall problem, but as I haven't found a solution yet, I'd be glad for some help.

I had tried to flash CM 10.2. via CRM on a locked bootloader after rooting my .244 C6603 with Doomlord's method (http://forum.xda-developers.com/showthread.php?t=2386405). i was under the naive impression this wasn't a problem, as I'd seen talk about flashing CM with a locked bootloader via rommanager.

anyway, i had a soft brick, got to it via fastboot and got to the bootstall/flashmode stage by pressing "reboot device into system" in fastboot.

after trying the .sin .244 kernel out of the above thread via fastboot (not possible due to locked bootloader), i went on to try and flash the whole ftf (XperiaZ_C660X_KernelOnly_10.3.1.A.0.244_BE) in flashmode via the reboot-and-volume-down-method both ways, excluding and including kernel.

the flashtool log keeps saying that flashes are completed successfully. however, nothing changes about the bootstall problem.

SUS, using the same button pressing method, says that the latest software is already installed on my phone and that's it.

concluding, I have the sony logo repeating every couple of seconds, fastboot and flashmode both still possible. Is there anything else i could try? for example, unlocking the bootloader at this stage? or doing something with the system backups i had CWM/Philz Touch do on my micro sd card beforehand?

Any help would be appreciated. :fingers-crossed:
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone