New Bootloaders from Sony - Sony Xperia Z Ultra

New bootloader: boot to recovery enabled for select devices.
http://fxpblog.co/2015/05/01/finally-boot-to-recovery-enabled-in-special-bootloaders-from-sony.html

adfurgerson said:
New bootloader: boot to recovery enabled for select devices.
http://fxpblog.co/2015/05/01/finally-boot-to-recovery-enabled-in-special-bootloaders-from-sony.html
Click to expand...
Click to collapse
Zu is not included yet. This is what HTC has been doing for ages. Not sure why everyone does it this way...
There are two rules in life for being successful:
1. Never reveal everything you know;
2.

Sony has now made these available for a variety of Xperia devices, including the Rhine family (which the Z Ultra is). Excellent news! Thank you, Sony ❤

Would this new bootloader brick the Z Ultra GPE?

ZU is now supported but I tried flashing it today over stock 5.0.2. Foraging showed as successful but nothing happens when I try to boot into recovery. The phone just reboots normally

What benefits is thing going to offer over what we previously had? Trying to figure out if I should wait with anticipation or apathy.

fzurita said:
Would this new bootloader brick the Z Ultra GPE?
Click to expand...
Click to collapse
most likely it will brick your gpe. And you don't need this "new" boot loader, Gpe has all the features already. It's just Sony devices had the function removed.

This boot loader allows booting directly to recovery without having to go through the boot partition. GPE doesn't let you do that right?

halifage said:
ZU is now supported but I tried flashing it today over stock 5.0.2. Foraging showed as successful but nothing happens when I try to boot into recovery. The phone just reboots normally
Click to expand...
Click to collapse
I followed the directions and it said the device has no new updates. Where did you download the firmware? I have a C6806.
Thanks

alphahere said:
I followed the directions and it said the device has no new updates. Where did you download the firmware? I have a C6806.
Thanks
Click to expand...
Click to collapse
As far as I can tell, only c6833 is supported so far.
But if you wanna give it a try, head over to sonymobile.com/developer. you have to install the Sony flash tool for xperia devices.
when you open the flash tool and connect your device as instructed on the website, it will show all the available 'services' you can flash to your device.

Have you guys succeeded in booting to recovery? Coz I have flashed TWRP to recovery partition and it doesn't boot
Regards

Would be interesting if the GPe stock firmware can be flashed after this, since GPe and the normal ZU are more euqal than ever with that.

Anyone tried to flash stock GPE after this flash ?

Since a lot of you guys seem to not get into recovery after installing the new sony bootloader i might share how i succesfully did it...
I've installed the new Sony-Bootloader (or how Sony calls it "TA-Update") on my Z-Ultra (C6833)
After that i immediatly booted into fastboot and flashed twrp to the recovery partition (fastboot flash recovery FILENAME)
Succesfully booted into the twrp-recovery version i flashed
Device didn't got wiped, but cache partition did get wiped
But i was running twrp-recovery (but im pretty sure it wasn't the newst version) before on fotakernel, also i was running aicp-rom
Didn't do any experiments afterwards, but we'll see what happens after i flash a new rom

Hey guys.......i have zu c6802 which isn't supported in emma yet.....so is it possible for me to get this new bootloader???????

caspianprince said:
Hey guys.......i have zu c6802 which isn't supported in emma yet.....so is it possible for me to get this new bootloader???????
Click to expand...
Click to collapse
me too

alia5 said:
I've installed the new Sony-Bootloader (or how Sony calls it "TA-Update") on my Z-Ultra (C6833)
After that i immediatly booted into fastboot and flashed twrp to the recovery partition (fastboot flash recovery FILENAME)
Succesfully booted into the twrp-recovery version i flashed
Device didn't got wiped, but cache partition did get wiped
Click to expand...
Click to collapse
Didn't work for me. Did the same but it didn't boot to recovery, it booted up normally. I had twrp installed in FOTA, too.
I flashed in a virtual machine with Windows Vista since I wasn't able to get Emma running in my Windows 10 x64 Pro.
Sent from my Sony Xperia Z Ultra

Flashing stock 14.6.A.0.368 installed the recovery partition for me. (C6806, which Emma is still to provide me with the partition)
The trick is to actually find a recovery that is written to work in the recovery partition, Saatvik Shukla has posted a build of TWRP over in the developement forum which works. The "Official" version over at twrp.me doesn't

pTeronaut said:
Flashing stock 14.6.A.0.368 installed the recovery partition for me. (C6806, which Emma is still to provide me with the partition)
The trick is to actually find a recovery that is written to work in the recovery partition, Saatvik Shukla has posted a build of TWRP over in the developement forum which works. The "Official" version over at twrp.me doesn't
Click to expand...
Click to collapse
Thanks man, I searched for something like that but didn't found that. That explains why it didn't boot the recovery. I'll try that later.
EDIT: It works
Sent from my Sony Xperia Z Ultra

Related

[Q] A small question about flashing cm 12

Hi, everyone, I just got my z3 tablet and I am in love with it except i don't like the interface. So i decide to root my tablet without unlocking the bolted and I did made it and i did install TWRP. I have a question, since I have TWRP is it possible for me to install cm 12 rom or I need to have a unlock boot loader in order to install it?
Sorry for my bad english and thank you for answering my questions.
kokorolove said:
Hi, everyone, I just got my z3 tablet and I am in love with it except i don't like the interface. So i decide to root my tablet without unlocking the bolted and I did made it and i did install TWRP. I have a question, since I have TWRP is it possible for me to install cm 12 rom or I need to have a unlock boot loader in order to install it?
Sorry for my bad english and thank you for answering my questions.
Click to expand...
Click to collapse
You need to unlock to flash a custom kernel which would be needed by the cm12 to run. So first.
1.Backup drm keys
2.Unlock BL
3. Flash CM kernel via fastboot
4. Flash CM Rom via recovery.
Sent from my SGP621 using XDA Free mobile app
I just bought a Z3 tablet compact, which should be here at the end of next week. I haven’t found a tutorial which includes all steps to get from the standard rom to CM12. Did I miss any steps or does the following steps include everything?
Root tablet on the original Sony rom
Backup TA partition (I guess that's where the DRM keys are?)
Unlock bootloader
Flash a recovery (any recommendations?) I found this tutorial, but I only need one recovery and I don’t want to flash that zip every time I install a new rom.
Flash CM12. Are there any kernels beside that one included in the CM12 zips?
Cyberratchet said:
I just bought a Z3 tablet compact, which should be here at the end of next week. I haven’t found a tutorial which includes all steps to get from the standard rom to CM12. Did I miss any steps or does the following steps include everything?
Root tablet on the original Sony rom
Backup TA partition (I guess that's where the DRM keys are?)
Unlock bootloader
Flash a recovery (any recommendations?) I found this tutorial, but I only need one recovery and I don’t want to flash that zip every time I install a new rom.
Flash CM12. Are there any kernels beside that one included in the CM12 zips?
Click to expand...
Click to collapse
I guess you should just flash the kernel via fastboot after unlocking the bootloader, that would eliminate the need to flash a recovery. It's hitting 2 birds and one stone and besides CM uses a different kernel than stock so later you would really need to flash kernel.
Sent from my SGP621 using XDA Free mobile app
Thanks for your reply. The whole flashing procedure is a lot more complicated than on my S3, so I have a follow-up question.
Should I just backup the TA partition, unlock the tablet, flash this kernel which should give me root and TWRP and then flash another recovery and CM12?
I found this recovery which is only semi-permanent, because you have to flash it before you upgrade/install a new CM12 version. It’s not big deal tbh, but is there a permanent recovery, which I only have to install once.
I'm also curious about this.
Right now, I'm trying to download the Flashtool program from Sony, but apparently, you need to "register" for it. Where did you guys download your Flashtool from?
Cyberratchet said:
Thanks for your reply. The whole flashing procedure is a lot more complicated than on my S3, so I have a follow-up question.
Should I just backup the TA partition, unlock the tablet, flash this kernel which should give me root and TWRP and then flash another recovery and CM12?
I found this recovery which is only semi-permanent, because you have to flash it before you upgrade/install a new CM12 version. It’s not big deal tbh, but is there a permanent recovery, which I only have to install once.
Click to expand...
Click to collapse
Correct, make sure the kernel is compatible with CM
Sent from my SGP621 using XDA Free mobile app
The whole procedure is really frustrating, maybe someone can help me here.
I did a backup of the TA partition and unlocked the bootloader. I tried flashing the boot.img from the cm.zip, but I have no idea how to flash the rom via the cm-recovery.
Flashing the advanced kernel to get TWRP wasn’t successful as well. I tried the fastboot mode of the Flashtool and flashed the kernel, but nothing changed.
Can someone post a brief guide with the next steps to get CM12 running (with cmd commands pls)?
EDIT: I just tried to use “adb sideload” in the CM recover, but “adb devices” doesn’t show the tablet .
EDIT2: EDIT: Seems like I got it to work after all. The DualRecover Installer worked, even without SuperSU installed.
Cyberratchet said:
The whole procedure is really frustrating, maybe someone can help me here.
I did a backup of the TA partition and unlocked the bootloader. I tried flashing the boot.img from the cm.zip, but I have no idea how to flash the rom via the cm-recovery.
Flashing the advanced kernel to get TWRP wasn’t successful as well. I tried the fastboot mode of the Flashtool and flashed the kernel, but nothing changed.
Can someone post a brief guide with the next steps to get CM12 running (with cmd commands pls)?
EDIT: I just tried to use “adb sideload” in the CM recover, but “adb devices” doesn’t show the tablet .
EDIT2: EDIT: Seems like I got it to work after all. The DualRecover Installer worked, even without SuperSU installed.
Click to expand...
Click to collapse
I ran into the same problem usin the cm12 nightlies from 27th march 2015:
Sideloading would not work because the tablet is not recognized by the computer. I tried with Windows 7 and gentoo Linux.
Installing from the sd-card in recovery mode was also not possible due to a error of missing "/misc".
I solved the problem by manually choosing the driver in Windows 7. I booted the tablet into recovery. Choose update using adb as detailed in this post:
http://forum.xda-developers.com/z3-...t/root-root-locked-bootloader-sgp621-t3013534
Then I found the device in the windows device manager. Here I manually choose the adb driver that I installed earlier from the flashtool package. After that the device was correctly recognized by Windows and I could Sideloade the cm12 image.

[GUIDE] (C6833) (Maybe Others?) New Bootloader + Recovery

Installing the new Sony Bootloader and Recovery
THIS IS FOR ALREADY UNLOCKED DEVICES!
DO NOT TRY THIS ON A GPE!​Since a lot of people seem to have problems keeping their recovery when flashing Lollipop-ROMs i decided to put up this little guide...
You can also Skip this whole guide, by just flashing the newest stock-FW at least once!
First off, as already said, this is for already unlocked devices. You can use this Guide until "Install Custom ROM", except the rooting part, for rooting use this, if you haven't already!
Don't do it if you don't atleast somewhat know what you are doing.
I am not responsible for bricked devices, or whatever you might end up with.
So, lets get started.
1. Download Sonys FlashTool "EMMA" and install it: http://developer.sonymobile.com/downloads/tool/flash-tool-for-xperia-devices/
In the .zip file from the FlashTool you'll find a File "customization.ini"
Copy this file to the installation directory of EMMA, usually "C:\Program Files (x86)\Sony Mobile\Emma"
If you don't copy that file, Emma will ask you for a login, don't create an account there, you will NEVER get any activation-email!
2. Open EMMA and boot your Phone into FlashMode (Power off your device -> Press and hold volume DOWN -> while pressing volume DOWN insert USB-Cable)
3. Emma should now recognize your device, but you have to select it manually tough. Select your EXACT model number. Again, I am not responsible for any bricked devices or whatever you end up with!
Now select the "(Open Devices) TA update" and click "Apply Service"
It should take a few seconds and should then display SUCCESS.
You can now close Emma
4. If you haven't already download FastBoot and Drivers: http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
(Run as Administrator!)
5. Download the newest version of twrp and put it somewhere:
New Inoffcial twrp-3.0.0 build by me: http://forum.xda-developers.com/xperia-z-ultra/development/togari-twrp-recovery-3-0-0-t3314440
Old official versions: https://twrp.me/devices/sonyxperiazultra.html
6. Finally boot up you Phone in FastBoot-mode (Power off -> press and hold volume UP -> while pressing wolume UP insert USB-Cable
Your LED should now light up blue
Shift+Rightklick in the Folder where you have put TWRP recovery, and select "Open Commandprompt here"
Now write "fastboot flash recovery FILENAME_OF_TWRP_FILE"
You can now unplug your USB-Cable and boot into recovery and continue from there.
Your recovery will be permanent, meaning you won't loose it or replace with any other recovery that might come with your ROM.
I hope this was somewhat helpfull
Any one can flash this to C6806?
jacklau2000 said:
Any one can flash this to C6806?
Click to expand...
Click to collapse
You can try, just select your modelnumber in emma
If the "Open Devices (TA Update)" show up, you're fine. If not just don't do anything.
But do not try this on a GPE!
alia5 said:
You can try, just select your modelnumber in emma
If the "Open Devices (TA Update)" show up, you're fine. If not just don't do anything.
But do not try this on a GPE!
Click to expand...
Click to collapse
tried, but no luck. thanks.
It's really weird, I used emma, and installed their latest ta update. Now I can get into fastboot mode, all commands execute successfully, but the recovery never takes. The vol down + Power doesn't work, nor does 'adb reboot recovery'. Am I missing a step somewhere? This isn't my first android device, but from where I sit, it seems like something is up with my xzu.
If I try and install the 14.4* update through emma, it goes through the whole process, completes "successfully", then boots into 14.5. Something is clearly not working here.
The TA update only unlocks the ability to boot to recovery, it doesn't install one. And no, flashing official TWRP to recovery partition doesn't work, it must be compiled again to work on normal recovery partition and not in FOTAKernel, where it must be flashed to work.
Regards
teddy74eva said:
The TA update only unlocks the ability to boot to recovery, it doesn't install one. And no, flashing official TWRP to recovery partition doesn't work, it must be compiled again to work on normal recovery partition and not in FOTAKernel, where it must be flashed to work.
Regards
Click to expand...
Click to collapse
I´m on CM 11 M12 (looking forward to 12) + the new sony bootloader without any custom Kernel stuff.
Sadly, you are right. It´s not done with downloading twrp-2.8.5.0-togari.img and fastboot flash recovery yourfile.img.
The last offical TWRP release for Xperia Z Ultra is from february 2015, any chance they release an updated version for the new Sony bootloader?
Hermann1222 said:
I´m on CM 11 M12 (looking forward to 12) + the new sony bootloader without any custom Kernel stuff.
Sadly, you are right. It´s not done with downloading twrp-2.8.5.0-togari.img and fastboot flash recovery yourfile.img.
The last offical TWRP release for Xperia Z Ultra is from february 2015, any chance they release an updated version for the new Sony bootloader?
Click to expand...
Click to collapse
I will try to compile one because, you know, summer holidays and no school however I don't know if I will make it.
Regards
Is there any (wish for TWRP) recovery for togari, which use the new bootoader?
FYI:
My device is a brazilian c6843.
Emma recognizes the device automatically and indicates with an exclamation point that there is no services available to the unit.
In the case someone doesn't know, it's basically the c6833 with DTV 1seg. It's totally compatible with c6833 firmware, losing TV, of course.
You sir are the real hero! Thank you!
I have a xzu running cm12.1, and I have 2 quick questions for those with more knowledge than me
Is it possible to flash the new bootloder using the open source FlashTool?
If I have to use emma, is it possible to just apply the open device ta update *without* installing stock firmware first?
pbgapski said:
If I have to use emma, is it possible to just apply the open device ta update *without* installing stock firmware first?
Click to expand...
Click to collapse
You can totally do that, BUT, the newest stock firmware also has some firmware updates regarding nfc, also having the newest stock rom flashed at least once will be kind of a requirement to get everything properly working on marshmallow roms.
So I would say flash the newest stock rom at least once!
missing clues on new recovery partition
alia5 said:
You can totally do that, BUT, the newest stock firmware also has some firmware updates regarding nfc, also having the newest stock rom flashed at least once will be kind of a requirement to get everything properly working on marshmallow roms.
So I would say flash the newest stock rom at least once!
Click to expand...
Click to collapse
I followed your advice, but it seems I am missing a few clues.
My sirius was on cm12.1. I backedup and flashed D6543_23.4.A.1.232_1281-5466_R6C.ftf with flashtool on linux. I tried to use emma (several times) afterwards to check for any TA updates, but all I got was "no services matched this device" or something like that. Google tells me I am not the only one with this issue with emma
Then I used fastboot to install twrp 3 from twrp.me to recovery partition, but I could not access twrp.
I fastbooted recovery again with twrp 2.8.7, and this time I could enter twrp and reflashed CM.
Now I can access twrp using the button combinations while booting, but rebooting to recovery from CM leads to a bootloop. Has anyone experienced this as well?
So it seems I am still missing a few clues to using the recovery partition. Is any build of twrp supposed to work on both FOTAkernel and recovery partitions?
Is there a TWRP 3 build that works from 'coldboot to recovery' and 'cm reboot to recovery' with the new bootloader? Any pointers?
pbgapski said:
Now I can access twrp using the button combinations while booting, but rebooting to recovery from CM leads to a bootloop. Has anyone experienced this as well?
So it seems I am still missing a few clues to using the recovery partition. Is any build of twrp supposed to work on both FOTAkernel and recovery partitions?
Is there a TWRP 3 build that works from 'coldboot to recovery' and 'cm reboot to recovery' with the new bootloader? Any pointers?
Click to expand...
Click to collapse
Well, booting to recovery on separate partition from os, requires the rom to have a patch... the "new" mm-roms (when they finally hit aka. are ready to be shared in public) will have that, so no worry, just wait.
why it said my phone have no available service, i am on c6833
alia5 said:
Well, booting to recovery on separate partition from os, requires the rom to have a patch... the "new" mm-roms (when they finally hit aka. are ready to be shared in public) will have that, so no worry, just wait.
Click to expand...
Click to collapse
I have the same problem but not bootloop just stuck at starting apps screen,BTW did you have a TWRP scripts for flashing TWRP 3.0 into FOTAkernel
hi .. after this update can i relock my phone and restore drm functions?! or phone go to unlocked forever?!
pls help i need answer
erfanzz said:
pls help i need answer
Click to expand...
Click to collapse
Search the forums on how to backup TA partitions. I have mine but never tried to restore them

TWRP Recovery 3.0.2-0 - 2016-05-31

TWRP 3.0.2-0 for Xperia Z Ultra
Alternative: MusterMaxMueller's build with MultiROM support (requires a kexec hardboot patched kernel):
http://forum.xda-developers.com/showpost.php?p=67108468&postcount=89
Up-to-date TWRP with new looks and functional display/brightness settings.
Download:
http://forum.xda-developers.com/devdb/project/?id=13710#downloads
Built in an OmniROM tree, with TWRP commits currently up to and including this one.
To use, make sure you have installed the new bootloader by flashing the latest stock Sony ROM at least once.
Then, erase the recovery partition and flash TWRP using fastboot.
Code:
fastboot erase recovery
fastboot flash recovery twrp-3.0.2-0-togari.img
To enter recovery:
Switch off the phone
Hold Vol-Down & Power button simultaneously until the phone vibrates
Release the power button and keep holding Vol-Down until the Sony logo appears
Device sources:
https://github.com/olefb/device-sony-togari/commits/android-6.0
https://github.com/olefb/android_device_sony_rhine-common/tree/android-6.0-twrp
https://github.com/olefb/android_device_sony_common/tree/android-6.0-twrp
https://github.com/olefb/android_kernel_sony_msm/tree/android-6.0-f2fs (thanks, @MusterMaxMueller)
Thanks to all contributors to the Sony AOSP program, the FreeXperia team, and to OmniROM/TWRP
XDA:DevDB Information
TWRP Recovery for Xperia Z Ultra (togari), Tool/Utility for the Sony Xperia Z Ultra
Contributors
Triflot
Version Information
Status: Snapshot
Current Stable Version: 3.0.2-0
Created 2016-02-03
Last Updated 2016-05-31
How I can be sure my Z Ultra running new bootloader?
I have installed last rom 14.6.A.1.236 via flashtool
I tried to use the sony tool but I don't receive mail for activation. I use a gmail account
Obi-Wan said:
How I can be sure my Z Ultra running new bootloader?
I have installed last rom 14.6.A.1.236 via flashtool
I tried to use the sony tool but I don't receive mail for activation. I use a gmail account
Click to expand...
Click to collapse
You need to put the Customization.ini file in Emma's folder prior to running, as per the instructions. Then it won't need a login.
A full guide by alia5 here.
Obi-Wan said:
How I can be sure my Z Ultra running new bootloader?
I have installed last rom 14.6.A.1.236 via flashtool
I tried to use the sony tool but I don't receive mail for activation. I use a gmail account
Click to expand...
Click to collapse
You should already have the new recovery, it will have been installed/ partitioned when you first installed Stock 5.1.1. (The method described in the link above or even using Emma does not work on C6806 by the way.)
It does require an unlocked bootloader for it to be active though.
-------------------------------------------------------------
Doesn't work on my C6806, device just continues to boot the OS.
I have the recovery partition as I can access championswimmer's build of CWM or Saatvik Shukla's build of TWRP 2.8.5.0 if flashed into recovery. (and a build of TWRP-2.8.7.0 that I forgot that I had downloaded from somewhere in December)
Hi. Are you going to make a TWRP 3.0 build_?
fnldstntn said:
Hi. Are you going to make a TWRP 3.0 build_?
Click to expand...
Click to collapse
Thread updated with TWRP 3.0.0-0.
Enjoy.
Triflot said:
Thread updated with TWRP 3.0.0-0.
Enjoy.
Click to expand...
Click to collapse
Not working on C6806, keeps rebooting, your build of 2.8.7.0 didn't work either, that went straight to booting the OS.
C6866. Works good with sony new bootloader.
pTeronaut said:
Not working on C6806, keeps rebooting, your build of 2.8.7.0 didn't work either, that went straight to booting the OS.
Click to expand...
Click to collapse
If you have the new bootloader, you go into recovery differently.
Instructions are provided by sone here: http://developer.sonymobile.com/201...for-a-range-of-unlocked-xperia-devices-video/
alia5 said:
If you have the new bootloader, you go into recovery differently.
Instructions are provided by sone here: http://developer.sonymobile.com/201...for-a-range-of-unlocked-xperia-devices-video/
Click to expand...
Click to collapse
I know, I can flash into the recovery partition (and access) three different recoveries, See my previous post.
@pTeronaut sorry didn't read that
----
There is an "issue" with the fstab and recovery.init.rc script with this recovery.
I just built crDroid-mm, and the mountpoints of the "new" install scripts don't work with this build of twrp, since there is a missing symlink (github commit)
If any1s interested, i've gone ahead and also built twrp 3.0.0 for our togari
How can I check if I have new partition for recovery? I flashed with flashtool .216 firmware a month ago. Now I have gpe port with recovery in kernel. Is possible to have recovery in kernel (old recovery) and in the same time new recovery?
If You flashed/updated to newest fw at least once You have new bootloader with /recovery.
Sent using XT1562 - Resurrection Remix/Ultra Kernel
Uploaded a new version with the fixed symlink, as pointed out by @alia5.
Still no idea about the C6806, sorry.
Triflot said:
Uploaded a new version with the fixed symlink, as pointed out by @alia5.
Still no idea about the C6806, sorry.
Click to expand...
Click to collapse
Now we should have 2 identical twrp-3.0 versions here, oh well...
We figured it out... his (the(?))C6806 doesn't have the seperate recovery partition....
Shouldn't Fastboot flash recovery [image] result in an error if the partition isn't there?
pTeronaut said:
Shouldn't Fastboot flash recovery [image] result in an error if the partition isn't there?
Click to expand...
Click to collapse
In my experience, it flashes it to FOTAKernel, or just doesn't do anything without throwing any errors (rather stating it has flashed it succesfully)
alia5 said:
In my experience, it flashes it to FOTAKernel, or just doesn't do anything without throwing any errors (rather stating it has flashed it succesfully)
Click to expand...
Click to collapse
You can also use the Emma Bootloader and flash it into recovery via:
Code:
fastboot flash recovery FILENAME OF YOUR RECOVERY
fastboot reboot
But this way needs UB
PDesire said:
You can also use the Emma Bootloader and flash it into recovery via:
Code:
fastboot flash recovery FILENAME OF YOUR RECOVERY
fastboot reboot
But this way needs UB
Click to expand...
Click to collapse
Only on C6833 & C6802
Emma doesn't find any 'services' for C6806 (NA LTE ) & C6843 (Brazil with OTA TV) variants.
An update on my attempt to get TWRP 3.0.0.0 installed and working on my C6806.
My previous attempt was coming from flashing stock roms from 5.0 onwards using Flashtool or PC companion.
This time, I relocked the bootloader & flashed the FTF of 14.3.A.0.681 (4.4.2) and let my phone update itself all the way to 14.6.A.1.236, re-unlocked the bootloader, and tried to flash TWRP again.
This time I was successful, either Flashtool and/or PC companion cannot handle the repartitioning, or they mispartitioned my phone the last time around.

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.

Flashing a ROM

Hello,
I started on a quest last week to try and make my long forgotten Xperia tablet z LTE SGP321 more user friendly.
I stopped using it after being frustrated by the bloatware and its lack of customisation.
So I thought flashing a custom rom might help and wanted a bit of a technological challenge. Boy do I feel like I've got one.
I used kingroot, which worked fine. I tried to install SuperSu but it wont update the binaries.
I've managed to unlock the bootloader (forgot to do the backup TA woops!).
I downloaded TWRP app, flashed pollux_windy to recovery. Now there doesn't seem to be a combination of keys that I can find to boot the sony xperia tablet Z into recovery?? Power and volume up or down or jamming both keys...nothing seems to work. I've found one forum post suggesting it isnt possible and that I need to flash a kernel which is where I'm getting stuck.
SO this is where I am now and was wondering if I should use CWM instead or if there is another way to open recovery?
My main aim is to completely clear the tablet hard drive and start again with a custom rom.
Thanks!
>>>>>>
NEW info
So i've managed to use the ADB to reboot into the boatloader. All that happens is a black screen. I want to try and flash CWM or TWRM but it doesnt seem to work.
Im beginning to think there's something strange about the sony xperia tablet z in that it doesnt have a bootloader in its stock firmware. i've seen something about using a Kernel approach but the guides are unclear.
Any help on flashing a CWM or TWRM into recovery would be much appreciated!!
harpix42 said:
Hello,
I started on a quest last week to try and make my long forgotten Xperia tablet z LTE SGP321 more user friendly.
I stopped using it after being frustrated by the bloatware and its lack of customisation.
So I thought flashing a custom rom might help and wanted a bit of a technological challenge. Boy do I feel like I've got one.
I used kingroot, which worked fine. I tried to install SuperSu but it wont update the binaries.
I've managed to unlock the bootloader (forgot to do the backup TA woops!).
I downloaded TWRP app, flashed pollux_windy to recovery. Now there doesn't seem to be a combination of keys that I can find to boot the sony xperia tablet Z into recovery?? Power and volume up or down or jamming both keys...nothing seems to work. I've found one forum post suggesting it isnt possible and that I need to flash a kernel which is where I'm getting stuck.
SO this is where I am now and was wondering if I should use CWM instead or if there is another way to open recovery?
My main aim is to completely clear the tablet hard drive and start again with a custom rom.
Thanks!
>>>>>>
NEW info
So i've managed to use the ADB to reboot into the boatloader. All that happens is a black screen. I want to try and flash CWM or TWRM but it doesnt seem to work.
Im beginning to think there's something strange about the sony xperia tablet z in that it doesnt have a bootloader in its stock firmware. i've seen something about using a Kernel approach but the guides are unclear.
Any help on flashing a CWM or TWRM into recovery would be much appreciated!!
Click to expand...
Click to collapse
Flash boot.img of any latest custom ROM with TWRP integrated.
Rootk1t said:
Flash boot.img of any latest custom ROM with TWRP integrated.
Click to expand...
Click to collapse
Thanks for your help. I thought I'd start simple and just try and flash TWRP to recovery.
i downloaded the latest TWRP pollux windy img and then used the command fastboot flash recovery twrp.img
It says FAILED (remote: command not allowed)
adb fastboot devices displays my tablet
(by the way in configuration in service info it says bootloader unlocked: Yes)
>>>>>>UPDATE
so i managed to flash a cyanogenmod img using "fastboot flash boot boot.img"
The device then soft bricked and went into a boot loop. Is this because I used the wrong version of cyanogenmod?? Any other I can try that work?
I panicked a bit, mamanged to get the tablet into fastboot somehow andthen flashed a TWRM img to the boot using the same command above which now loads TWRM.
fastboot reboot now caused the device to go into TWRP but its in recovery mood
How can i undo that step i did when I flashed the boot img of the cyanogen mod. I want to put the old boot.img back!
Rootk1t said:
Flash boot.img of any latest custom ROM with TWRP integrated.
Click to expand...
Click to collapse
also can I ask another quick question of you, what do you do to boot into recovery on your xperia tablet Z device?
Thanks!
Sorry about all the updates.
I decided to see what you had installed on your signature and tried resurrection remix. Version 5.8 caused Error 7??
So i went for version 6.9 which i installed successfully.
Only way i know how to get into recovery is to use adb terminal command "adb reboot recovery"
Also before I installed resurrection remix would you recommend a complete wipe of everything or does it not really matter?
Thanks and hopefully that's me all sorted!
Use VOL+ or VOL- on boot to enter recovery.
harpix42 said:
what do you do to boot into recovery on your xperia tablet Z device?
Click to expand...
Click to collapse
2 way for me:
- usually you can set an "advanced reboot menu" under developer option or the ROM customization panel (depends on which ROM do you use)
- turn off your tablet, now push the power button until your screen just turn on, leave the power button and start pressing vol+ and vol- alternately until you boot into recovery

Categories

Resources