unlocked bootloader and bricked phone - Sony Xperia XZ1 Questions & Answers

Hi all,
I need some help I think. I searched everywhere and I kinda lost hope.
I unlocked my bootloader of my G8341 and a few months ago I got a working version of AOSP, but all of a sudden my phone didn't get past the Sony logo. My data is already lost, that's no harm, of course I made tons of backups
Tried to get back to stock rom with the latest Flashtool, but with no succes.. I think the combination of oem/vendor/boot is not right.
Of course I know that this could be a consequence but I would like to get my phone up and running.
Would like to get some pointers.. Any help would be appreciated!

Try instal Twrp and wipe all partions

hungvip2001 said:
Try instal Twrp and wipe all partions
Click to expand...
Click to collapse
Tried that already
Also tried to flash all partitions with flashtool with firmware downloaded with xperifirm and tried to directly flash aosp rom with fastboot.

Hi. Do you get an error related to the model in flashtool? If so, flash it via newflasher. There are guides online on how to prepare the firmware. I had this issue after carbon rom.

emyjojo said:
Hi. Do you get an error related to the model in flashtool? If so, flash it via newflasher. There are guides online on how to prepare the firmware. I had this issue after carbon rom.
Click to expand...
Click to collapse
Appreciate the help, but same old.. Flashing seems to go fine according to newsflasher (just tried it), no errors, but when booting the phone, I only see the sony logo.

Use Emma from Sony. Its the official tool
https://developer.sony.com/develop/open-devices/get-started/flash-tool/

nelrulz said:
Use Emma from Sony. Its the official tool
https://developer.sony.com/develop/open-devices/get-started/flash-tool/
Click to expand...
Click to collapse
Huge thanks! I tried everything, XperiFirm, Newflash, Xperia Companion, Flash Tool (not Sony's flash tool), and this is the only tool that unbricked my Xperia 1ii, thanks thanks thankss!

Related

[Q] Root Xperia with Lollipop?

Hi, I'm kind of a noob, so sorry if this is a dumb question.
I just installed the new Lollipop Fimware on my Z2, using Flashtool. Now I want to root the device, but reading through articles on XDA or XperiaBlog, they all said you need to use older firmware. So my question is, can you root the Z2 with Lollipop?
I'd be grateful for helpful answers.
ICripzHD said:
Hi, I'm kind of a noob, so sorry if this is a dumb question.
I just installed the new Lollipop Fimware on my Z2, using Flashtool. Now I want to root the device, but reading through articles on XDA or XperiaBlog, they all said you need to use older firmware. So my question is, can you root the Z2 with Lollipop?
I'd be grateful for helpful answers.
Click to expand...
Click to collapse
Things needed:
PC, fastboot driver, know how to boot to bootloader(fastboot mode) and recovery mode
Now you can without having old kernel (not firmware)
go to http://forum.xda-developers.com/xperia-z2/development/kernel-andropluskernel-v10-t2974841 extract boot.img from the zip file.
Boot your phone to fastboot mode and in command:
Code:
fastboot flash boot boot.img
Go to recovery mode after restarting and then get UPDATE-SuperSU-v2.46.zip and flash it via newly installed TWRP recovery.
themightydeity said:
Things needed:
PC, fastboot driver, know how to boot to bootloader(fastboot mode) and recovery mode
Now you can without having old kernel (not firmware)
go to http://forum.xda-developers.com/xperia-z2/development/kernel-andropluskernel-v10-t2974841 extract boot.img from the zip file.
Boot your phone to fastboot mode and in command:
Code:
fastboot flash boot boot.img
Go to recovery mode after restarting and then get UPDATE-SuperSU-v2.46.zip and flash it via newly installed TWRP recovery.
Click to expand...
Click to collapse
And for locked bootloaders it is a different story
HellRoot said:
And for locked bootloaders it is a different story
Click to expand...
Click to collapse
Yep totally different story.
So there's no way yet for locked bootloaders?
themightydeity said:
Things needed:
PC, fastboot driver, know how to boot to bootloader(fastboot mode) and recovery mode
Now you can without having old kernel (not firmware)
go to http://forum.xda-developers.com/xperia-z2/development/kernel-andropluskernel-v10-t2974841 extract boot.img from the zip file.
Boot your phone to fastboot mode and in command (how ?) :
Code:
fastboot flash boot boot.img
Go to recovery (how? which recovery ? there is one installed by default?) mode after restarting and then get UPDATE-SuperSU-v2.46.zip and flash it via newly installed TWRP recovery (what ?).
Click to expand...
Click to collapse
Thats a terribly bad answer right ? I've rooted another devices but but can't undestand almost a thing of the process you just posted.
Imagine for the noob dude ?
zeehkaev said:
Thats a terribly bad answer right ? I've rooted another devices but but can't undestand almost a thing of the process you just posted.
Imagine for the noob dude ?
Click to expand...
Click to collapse
Same here. I'm a noob wanting to learn how to root. But this went over my head :/
Would using PRF creator work? If you bundled the lollipop firmware with supersu.zip and flashed it would it give you lolipop with root? Because this is what i did to update to 4.4.4 with root. For anyone that doesnt know PRF creator is a program which combines 3 files which is are firmware of your choice, a superSU.zip and a recovery.zip. It combines them into a .zip that you can flash in recovery and have the firmware with superSU and a custom recovery on it.
I have a locked bootloader and mines rooted, do you want me to say how?
If its on lollipop, i would very much like to know how.
Isn't this the exact same answer as rooting 4.4.4?
Downgrade to 4.4.2
Root
Install recovery
Install rooted lollipop zip in recovery
If you don't understand this or the method posted above don't root. Also, if.you can't google things like fastboot to understand what it is don't root.
K-NineHD said:
I have a locked bootloader and mines rooted, do you want me to say how?
Click to expand...
Click to collapse
it would be kindly appreciated!
Bootloop
Everything was fine, till i tried superSU. Twrp flashed it fine, but then when i tried to reboot, the device got stuck in a bootloop.
wipe cache/delvik also didnt help.
I have a new z2, then unlocked the bootloader, and then got the Norway rom using xperifirm.
Norway rom installed fine. twrp installed fine. But i am facing a bootloop now that i have flashed UPDATE-SuperSU-v2.46.zip
Anybody else face this issue?
0charbless said:
Everything was fine, till i tried superSU. Twrp flashed it fine, but then when i tried to reboot, the device got stuck in a bootloop.
wipe cache/delvik also didnt help.
I have a new z2, then unlocked the bootloader, and then got the Norway rom using xperifirm.
Norway rom installed fine. twrp installed fine. But i am facing a bootloop now that i have flashed UPDATE-SuperSU-v2.46.zip
Anybody else face this issue?
Click to expand...
Click to collapse
try wiping just "Dalvik Cache" and restart again. I have also face similar strange issue when I was using FlashTool a couple of times.
If that doesn't work try normal wiping from TWRP and install firmware using FlashTool.
themightydeity said:
try wiping just "Dalvik Cache" and restart again. I have also face similar strange issue when I was using FlashTool a couple of times.
If that doesn't work try normal wiping from TWRP and install firmware using FlashTool.
Click to expand...
Click to collapse
Thanks. I tired wiping , but it didnt work.
I just reflashed with 17.x firmware, and upgraded using the rooted rom "D6503_Customized BAL_1282-0827_23.1.A.0.690_R3C_SuperSU_XZDR2.8.3"
ICripzHD said:
Hi, I'm kind of a noob, so sorry if this is a dumb question.
I just installed the new Lollipop Fimware on my Z2, using Flashtool. Now I want to root the device, but reading through articles on XDA or XperiaBlog, they all said you need to use older firmware. So my question is, can you root the Z2 with Lollipop?
I'd be grateful for helpful answers.
Click to expand...
Click to collapse
Hi,
FIRST: you need to downgrade your phone
http://forum.xda-developers.com/showthread.php?t=2759934
Flash it using FLASHTOOL
SECOND: Root your phone
http://forum.xda-developers.com/showthread.php?t=2783750
THIRD: Install Recovery for flashing zip ROMs
http://forum.xda-developers.com/showthread.php?t=2785598
FOURTH: Use this to flash Lollipop
http://forum.xda-developers.com/xperia-z2/development/stock-d6503-23-1-0-690-bal-rooted-t3057150
Just make sure you follow all the steps and you're good.
[CREDITS]
Credits goes to all OP of the Threads
Please press THANKS if this helped you.
yavhin said:
Hi,
FIRST: you need to downgrade your phone
http://forum.xda-developers.com/showthread.php?t=2759934
Flash it using FLASHTOOL
SECOND: Root your phone
http://forum.xda-developers.com/showthread.php?t=2783750
THIRD: Install Recovery for flashing zip ROMs
http://forum.xda-developers.com/showthread.php?t=2785598
FOURTH: Use this to flash Lollipop
http://forum.xda-developers.com/xperia-z2/development/stock-d6503-23-1-0-690-bal-rooted-t3057150
Just make sure you follow all the steps and you're good.
[CREDITS]
Credits goes to all OP of the Threads
Please press THANKS if this helped you.
Click to expand...
Click to collapse
I'm no Android/Lollipop/Rooting expert but using an unlocked boot loader I was able to root Lollipop (23.1.A.0.690 ) easily using the kernel from:
http://forum.xda-developers.com/xpe...ot-stock-flashable-kernel-23-1-0-690-t3061816
My steps were:
1. Install Lollipop
2. fastboot flash boot boot.img (to install above mentioned kernel with TWRP recovery)
So far so good.
PS: To use fastboot you'll likely need the drivers from flashtool (http://www.flashtool.net/index.php) and if on Win 8.1 you'll need to search for instructions on how to install unsigned drivers.
ICripzHD said:
Hi, I'm kind of a noob, so sorry if this is a dumb question.
I just installed the new Lollipop Fimware on my Z2, using Flashtool. Now I want to root the device, but reading through articles on XDA or XperiaBlog, they all said you need to use older firmware. So my question is, can you root the Z2 with Lollipop?
I'd be grateful for helpful answers.
Click to expand...
Click to collapse
check out my tutorial if you need help https://www.youtube.com/watch?v=0msKcElz3Ow
tfcarlin said:
and if on Win 8.1 you'll need to search for instructions on how to install unsigned drivers.
Click to expand...
Click to collapse
If you're not on mobile, you can check out my signature to disable signed driver enforcement for windows 8 and 8.1. It sticks after reboots too.
yavhin said:
Hi,
FIRST: you need to downgrade your phone
http://forum.xda-developers.com/showthread.php?t=2759934
Flash it using FLASHTOOL
SECOND: Root your phone
http://forum.xda-developers.com/showthread.php?t=2783750
THIRD: Install Recovery for flashing zip ROMs
http://forum.xda-developers.com/showthread.php?t=2785598
FOURTH: Use this to flash Lollipop
http://forum.xda-developers.com/xperia-z2/development/stock-d6503-23-1-0-690-bal-rooted-t3057150
Just make sure you follow all the steps and you're good.
[CREDITS]
Credits goes to all OP of the Threads
Please press THANKS if this helped you.
Click to expand...
Click to collapse
Is there root only for Baltic ROM? I am on Nordic and I want root is that possible?

Bootloop at startup logo due to XZrecovery getting trashed

Long story - Tried to apply the latest Marshmallow rooted package for D6503 on my 6502 that was already rooted with XZ dual recovery. It installed successfully, was rooted too...but I forgot to add the patch that would fix the radio not working. So I try to reboot to recovery...and that doesn't work anymore. I tried installing TWRP recovery from the manager app, but it wouldn't reboot. Then I ran the XZ recovery installer externally, and now my phone is ****ed. Stuck at an infinite boot loop.
At this stage the only thing I can access is flashtool and fastboot, and since my bootloader is locked I can't flash a recovery that way (nor do I want to permanently lose DRM keys/camera quality as I've heard happens with unlocking the bootloader). I have a memory card and I used the option to disable loading the recovery specified on the XZ thread by adding a 'donotload' file on the sd card.
Still no use - I get a Sony logo for about 5 seconds, the screen goes dark and back to the same. At this point probably my recovery is screwed up or non existent and a bad situation has gone worse with the bootloop.
What can I try now?
@KaiserSnorezay
XZDR is still not compatible with MM, that's why you got a bootloop...
Also you can't install the "regular" TWRP with twrp manager on a LB as there is no recovery partition... it won't work and probably will mess your phone in the process.
The solution is to flash any KK / LP .ftf with flashtool (i would wipe everything when flashing as i have backups of my data/apps) , root it with kingroot or any other method you like, install xzdr for KK/LP and finally reboot to recovery and install the latest MM prerooted rom from niaboc which already has root&recovery (not xzdr btw) included. Since you have D6502 don't forget to install the baseband patch after the rom again
http://forum.xda-developers.com/xperia-z2/development/rom-official-6-0-1-23-5-0-486-beta-t3336770
Just did it exactly this way yesterday on my friends d6503 (minus the d6502 patch obviously) had 0 troubles MM, root and recovery working perfectly.
Thanks, will try this today. Is wiping data required or can i get by by just flashing the older one?
ptmaniac said:
The solution is to flash any KK / LP .ftf with flashtool (i would wipe everything when flashing as i have backups of my data/apps) , root it with kingroot or any other method you like, install xzdr for KK/LP and finally reboot to recovery and install the latest MM prerooted rom from niaboc which already has root&recovery (not xzdr btw) included. Since you have D6502 don't forget to install the baseband patch after the rom again
Click to expand...
Click to collapse
I managed to flash and root 17.1.2.A.0.314, but once again I'm unable to get any damn recovery to work. Installed XZDR, after that TWRP, in both cases it refuses to boot into recovery mode. What am I missing?
KaiserSnorezay said:
I managed to flash and root 17.1.2.A.0.314, but once again I'm unable to get any damn recovery to work. Installed XZDR, after that TWRP, in both cases it refuses to boot into recovery mode. What am I missing?
Click to expand...
Click to collapse
Weird, after you have your phone rooted it should be simple to install xzdr... just enable usb debugging in the phone and make sure you have the adb drivers correctly installed in your pc.
Download the latest xzdr from nut's thread ( http://forum.xda-developers.com/showthread.php?t=2261606 ) unzip it and run install.bat . After a successful install the phone should reboot to twrp automatically and it's done.
Okay, I fixed it..using Flashfire! No idea why the recovery didn't work earlier, but now finally I'm on Marshmallow. Thanks for the help!
KaiserSnorezay said:
Okay, I fixed it..using ! No idea why the recovery didn't work earlier, but now finally I'm on Marshmallow. Thanks for the help!
Click to expand...
Click to collapse
hey bro, just read your post. Yesterday i got an update msg in my software update menu of my Xperia Z2 D6502. After i updated i went into bootloop. i have very important stuff in my phone. i updated earlier too all the updates that sony servers inform about. so then i thought to flash with the stock file. Although i didnt knew the firmware number , i just flashed with 5.1.1 , 1st with Customized IN & later with of US. Both of them didn't work as well. Please help me out. I'm not much aware about this root stuff & all. hope to get reply soon from you or anyone in this forum.
-also i don't know the exact firmware number-
dodge911 said:
hey bro, just read your post. Yesterday i got an update msg in my software update menu of my Xperia Z2 D6502. After i updated i went into bootloop. i have very important stuff in my phone. i updated earlier too all the updates that sony servers inform about. so then i thought to flash with the stock file. Although i didnt knew the firmware number , i just flashed with 5.1.1 , 1st with Customized IN & later with of US. Both of them didn't work as well. Please help me out. I'm not much aware about this root stuff & all. hope to get reply soon from you or anyone in this forum.
-also i don't know the exact firmware number-
Click to expand...
Click to collapse
Try what ptmaniac suggested - flash an older FTF that can be rooted (more recent ones can't), root it, install recovery and then flash the newest build.
You'll have to improve your Google-fu to find a suitable firmware and a root technique for it.
KaiserSnorezay said:
Try what ptmaniac suggested - flash an older FTF that can be rooted (more recent ones can't), root it, install recovery and then flash the newest build.
You'll have to improve your Google-fu to find a suitable firmware and a root technique for it.
Click to expand...
Click to collapse
okay. you mean flashing any old firmware ( which i did and still in bootloop ) & root it. Then installing recovery for the same firmware ?
with "recovery" will i be able to get back my whole data ?
KaiserSnorezay said:
Long story - Tried to apply the latest Marshmallow rooted package for D6503 on my 6502 that was already rooted with XZ dual recovery. It installed successfully, was rooted too...but I forgot to add the patch that would fix the radio not working. So I try to reboot to recovery...and that doesn't work anymore. I tried installing TWRP recovery from the manager app, but it wouldn't reboot. Then I ran the XZ recovery installer externally, and now my phone is ****ed. Stuck at an infinite boot loop.
At this stage the only thing I can access is flashtool and fastboot, and since my bootloader is locked I can't flash a recovery that way (nor do I want to permanently lose DRM keys/camera quality as I've heard happens with unlocking the bootloader). I have a memory card and I used the option to disable loading the recovery specified on the XZ thread by adding a 'donotload' file on the sd card.
Still no use - I get a Sony logo for about 5 seconds, the screen goes dark and back to the same. At this point probably my recovery is screwed up or non existent and a bad situation has gone worse with the bootloop.
What can I try now?
Click to expand...
Click to collapse
hey i am having same problem with my xperia Z2 , it stucked in bootloop ,i have already tried to flash new firmware from xperifirm using flash tool,but i think my usb debugging is off, what can i do ,i cant start my phone so there are no chances for turning USB debugging on,what can i do, any solution,, just want my phone back,it will be okay if I loose my all data..please
DedSec_35 said:
hey i am having same problem with my xperia Z2 , it stucked in bootloop ,i have already tried to flash new firmware from xperifirm using flash tool,but i think my usb debugging is off, what can i do ,i cant start my phone so there are no chances for turning USB debugging on,what can i do, any solution,, just want my phone back,it will be okay if I loose my all data..please
Click to expand...
Click to collapse
Sorry, I ditched my Z2 for a Oneplus 3 in August 2016. Learnt my lesson, only going to use phones with easily unlockable bootloaders.

Softbrick after flashing ROM, Help...

I have been using the prerooted .575 ROM by kulvertti (http://forum.xda-developers.com/xpe...lipopprerooted231a128z2-tabletsgp511-t3100821) with the bootloop fix in the last week, and decided to reflash the rom without the bootloop to test whether it works without it.
After the advanced wipe of everything including internal memory and flashed the .575 rom, my tablet can no longer boot up. It just stayed in the Sony Xperia screen. Tried to ADB to it, but gets the "device null not found error", nor the adb devices showed it was connected to the PC.
What can I do to get me out from this now? or at least how can I install TWRP recovery so I can try flash again? Much appreciated.
Try to restore with flashtool https://talk.sonymobile.com/t5/Andr...ony-Flash-tool-for-Xperia-devices/td-p/307318
dataplays45 said:
Try to restore with flashtool https://talk.sonymobile.com/t5/Andr...ony-Flash-tool-for-Xperia-devices/td-p/307318
Click to expand...
Click to collapse
Thanks, but EMMA won't work. It is for unlocked bootloader. I managed to download the flashing tool 0.9.22.3 by Androxyde and get everything back to normal, though I still need to flash the bootloop fix for the .575 ROM.

Help me unbrick

Im the most stupid person alive because
I didn't unlock my bootloader
I installed xzrecovery witch is a app that installs twrp
Then in twrp i wiped every thing
Then I tried to install a rom witch didn't work
Then i trend the phone off when i tried to do so twrp said your device is not rooted do you want to install super su i said yes the phone is now stuck on sony logo
Pliz help
aliamiri70007 said:
Im the most stupid person alive because
I didn't unlock my bootloader
I installed xzrecovery witch is a app that installs twrp
Then in twrp i wiped every thing
Then I tried to install a rom witch didn't work
Then i trend the phone off when i tried to do so twrp said your device is not rooted do you want to install super su i said yes the phone is now stuck on sony logo
Pliz help
Click to expand...
Click to collapse
You wiped everything and now there is no rom installed so its not going past the sony logo. You have two options.
1. Unlock bootloader if you want to run a custom rom.
2. Flash stock rom to go back to stock.
and how to flash stock rom , you need to have the flashtool , put your phone in donwloadmode ( volumne down + plug in the usb cable ) and then flash the stock rom of sony ( you can find the method on how to do it on google ) its simple and then you decide out of 2 options above from last post
Since your bootloader isn't unlocked your can use Sony Companion Software to repair your phone. When you click update there is a repair option. Select repair and hook up the phone in flashmode. Make sure your ZU is atleast 50% charged.
thanks for replying everyone i tried the flashtool stock rom installation and i got boot loop now i tried two different ftf files but they both result in boot loop what am i doing wrong?
aliamiri70007 said:
thanks for replying everyone i tried the flashtool stock rom installation and i got boot loop now i tried two different ftf files but they both result in boot loop what am i doing wrong?
Click to expand...
Click to collapse
can you flash the stock rom again and copy paste the log here in a code quote like this one:
Code:
write here
And what is your model? C6833 etc..
What stock rom did you download?
Which drivers did you use?
And which version of flashtool did you use?
And lastly what settings did you use when flashing the stock rom? All options included so ALL partitions being flashed. And none excluded.
Screenshots is always good help .
for locked bootloader http://support.sonymobile.com/fr/xperia-companion/
for unlocked bootloader https://developer.sonymobile.com/open-devices/flash-tool/
Thanks I didn't check the wipe section wich causes bootloader thanks again to everyone who helped
aliamiri70007 said:
Thanks I didn't check the wipe section wich causes bootloader thanks again to everyone who helped
Click to expand...
Click to collapse
You're welcome

Bricked after attempt to flash install TWRP

After reviving my SGP311 with flashtool and firmware SGP311_10.4.B.0.577_Customized_NCB.ftf , I've decided to try TWRP and LineageOS, however after using flashtool and firmware SGP311_10.5.A.0.230_kernel I may have bricked it.
I've used Android 4.3.3 (SGP311_10.4.B.0.577_Customized_NCB.ftf) for a few days, but it's old as s* and I can't install anything on it.
After flashing SGP311_10.5.A.0.230_kernel the SGP311 got stuck in a boot loop after the Sony logo, briefly lighting up the screen over and over again. From this point onwards:
- flashtool fails with "The bundle does not match the connected device"
- Emma doesn't recognize the tablet model and fails with error "This phone is locked"
- Xperia companion complained that the tablet was locked and bootloader was locked.
Any additional tips? I'm open to suggestions ...
Thanks in advance!
I've tried again flashtool 0.9.18.6 with SGP311_10.5.A.0.230_kernel and it flashed sucessfully! But same boot loop problem. Tried to flash again SGP311_10.4.B.0.577_Customized_NCB.ftf and it also worked and it booted successfully! I can't figure out what changed. I'll try again to install TWRP and LineageOS ...
piludovski said:
I've tried again flashtool 0.9.18.6 with SGP311_10.5.A.0.230_kernel and it flashed sucessfully! But same boot loop problem. Tried to flash again SGP311_10.4.B.0.577_Customized_NCB.ftf and it also worked and it booted successfully! I can't figure out what changed. I'll try again to install TWRP and LineageOS ...
Click to expand...
Click to collapse
Glad you made it. I am also in process of reviving my 321. Flashtool fixed it and Emma worked fine after that.
TWRP does not work, spent lot of time with that. Let me know, if you make it through
Got it working! Follow this thread: https://forum.xda-developers.com/xp...de-tutorial-sony-xperia-tablet-z-lte-t3392831
The important part is, that the fastboot included there works, while the one provided by google do not. Do not ask me why...

Categories

Resources