-=[XZDualRecovery]=-
PhilZ Touch & CWM & TWRP
*** For Locked and Unlocked BOOTLOADERS! ***
Welcome to the Xperia Tablet Z Questions & Answers thread!
I proudly present you the first and only DUAL RECOVERY for locked boot loaders on our lovely Xperia phones!
If you have an unlocked bootloader and chose to keep the STOCK Sony kernel, you can also use this MOD.
Currently supported XPERIA models:
These are also links to the device specific Q&A threads.
Xperia Z: SO-02E, C6602, C6603, C6606, C6616
Xperia ZL: C6502, C6503, C6506
Xperia Tablet Z: SO-03E, SGP311, SGP312, SGP321, SGP351
Xperia Z Ultra: C6802, C6806, C6833, C6843
Xperia Z1: C6902, C6903, C6906, C6943, C6916
Xperia Z1 Compact: D5502, D5503, D5506
Xperia Z2: D6502, D6503, D6506, D6543, D6563
Xperia Tablet Z2: SGP511, SGP512, SGP521, SGP551, SGP561
Xperia ZR: C5602, C5603, C5606
Xperia T, TX, TL and V: LT30p, LT29, LT30at, LT25i
Xperia S: LT26i
Xperia SP: C5302, C5303
Xperia T2 Ultra: D5303, D5322
Xperia Z3: D6603, D6633, D6643, D6653, D6616
Xperia Z3 Compact: D5803, D5833
Xperia Tablet Z3 Compact: SGP621, SGP641, SGP651
To follow development, be sure to check the DevDB thread!
INSTALLER: How to install using the installer:
Make sure you have USB debugging turned ON.
download TabZ-lockeddualrecovery[VERSION]-RELEASE.installer.zip from http://nut.xperia-files.com
Windows:
unpack at C: or somewhere you will remember!
navigate to the resulting directory and look for install.bat, double click it to run;
Linux:
unpack in your home folder with 'unzip TabZ-lockeddualrecovery[VERSION]-RELEASE.installer.zip'
navigate to the resulting directory and 'chmod +x install.sh', then execute it, follow instructions.
Your phone WILL reboot when installation has completed and it will go into the default recovery for the first boot.
Reboot to system from recovery to allow the installer to clean up after installation (it is safe to skip this step).
Enjoy DUAL RECOVERY!
How to install or update using a previously installed (XZDualRecovery) recovery:
Create a backup of /system/bin/chargemon and keep it somewhere safe, then just flash TabZ-lockeddualrecovery[VERSION]-RELEASE.flashable.zip from http://nut.xperia-files.com using CWM or TWRP.
How to remove:
Delete the following files:
/system/bin/recovery.twrp.cpio.lzma (or .tar)
/system/bin/recovery.cwm.cpio.lzma (or .tar)
/system/bin/recovery.philz.cpio.lzma
/system/bin/charger
/system/bin/dualrecovery.sh
/system/bin/mr
Rename /system/bin/mr.stock to /system/bin/mr to restore stock functionality, then inside /system/bin/ rename chargemon.stock to chargemon check its permissions (should be 755 or otherwise visible as -rwxr-x-r-x). Done!
When installing custom ROMs:
Be sure to flash TabZ-lockeddualrecovery[VERSION]-RELEASE.flashable.zip from http://nut.xperia-files.com after installing the ROM and before you reboot, this way you will not lose recovery!
How to use:
At boot, once you feel the phone vibrate and while you see the green led burn:
- press VOL-UP for PhilZ Touch;
- press VOL-DOWN for TWRP.
To enter Vanilla CWM, you will need to use the (free) NDRUtils app from the Play store
2.x Features:
When you have a SDCard1 and the XZDualRecovery is able to use it, you can put a file called 'donotrun' inside the XZDualRecovery log folder to make XZDualRecovery escape following boot attempts.
If you find yourself in a bootloop situation, take out your SDCard1 and put that file in the directory if it exists using a PC. Reboot your phone with Power+Vol-UP and you will be able to boot your phone as if there was no recovery there!
XZDualRecovery will signal the escape or any reason why it would not be able to continue normal operation with a 2 second burn of your LED in the color RED. A reason would be a broken /cache and no SDCard1 or a busybox in /system/xbin which does not support the lzcat command. If you see that, check /tmp/XZDualRecovery for a logfile there, it will tell you why.
XZDualRecovery will try to use your SDCard1 for logging and functionality, if it has been formatted with ext2/4, FAT16/32 or exFAT. NTFS is currently unsupported.
XZDualRecovery now prevents the RIC service from starting up, this means when running XZDualRecovery the Remount-Reboot fix is no longer needed.
Defaults:
The default on first boot with the boot-to-recovery flag set by any recovery is PhilZ Touch Recovery.
Init.d support is disabled by default, set dr.enable.initd to true to enable it.
Insecure ramdisk support is disabled by default, set dr.insecure.ramdisk to true to enable it, set to 'power' to boot it by pressing the power button at boot.
Error reporting:
Please, when reporting errors or problems:
Put up a notice in this thread providing the package name you used to install or update;
Include ROM name and/or FW version numbers;
Include what SU apk you are using (SuperUser or SuperSU)
Send me the contents of all the log files from right after a failed boot attempt or a link to an archive containing these logs by PM (that's including the .old rotation logs!). If you have no website or online location to store the logs, PM me for an email address to send them to.
Logs can be found inside:
/cache/recovery
/tmp/XZDualRecovery
/storage/sdcard1/XZDualRecovery
/cache/XZDualRecovery (if the previous exists, this one will not!)
NOTE: I need them ALL!
I really need them to troubleshoot what failed and what worked OK. Thank you!
-------
Special Thanks:
@DooMLoRD for all his excellent work on our much loved Sony phones!
The Team Win developers for TWRP
The ClockWorkMod developers for CWM
@alexocean for his awesome job testing almost all FW releases and the discovery of SuperSU causing problems for the installation of this recovery!
@RoberM for testing
@surdu_petru for testing and handy pointers
@Androxyde for allowing to use his linux and mac adb binaries.
@lancebukkake for finding the TWRP 'fix' to use exFAT formatted sdcards!
@delewer for the final fix for TWRP and its use of exFAT formatted sdcards
@DevShaft for some code help on the windows installer (the menu!)
@Androxyde again, but now for his bash code/script suggestions... oh boy this guy is a genius! :highfive:
@Tamirwig and @shoey63 for their excellent job at testing early BETA's (Xperia Z)
@gregbradley for his extensive testing on the Xperia Z1
Well, enjoy! :fingers-crossed:
The origins of this XZDualRecovery package are in the packages done by:
Krabappel2548, Cpasjuste and DooMLoRD
Thank you for your excellent work guys! :victory:
[Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders v4[25-03] by Krabappel2548
[APP/RECOVERY] TWRP 2.4.3.0 for lockled bootloaders installer by Cpasjuste
[KERNEL][Z] DooMKernel {JB}(v06)[20130414] by DooMLoRD
Your thanks (and donations) should (also) go out to them, they deserve it! :highfive:
Is there also support for the SGP311 and SGP312?
Hondaracer said:
Is there also support for the SGP311 and SGP312?
Click to expand...
Click to collapse
Probably yes, but i can not say yes for 100%. Just install 2.5 BETA and see, it will most probably work.
@[NUT] I wish I could, but I made a pre-order for the SGP312 (black non-LTE 32GB) on May 15 but there's still no stock of this tablet in the Netherlands...
Hondaracer said:
@[NUT] I wish I could, but I made a pre-order for the SGP312 (black non-LTE 32GB) on May 15 but there's still no stock of this tablet in the Netherlands...
Click to expand...
Click to collapse
Heh... well, someone else will probably test it for you
the tablet must be rooted before i use that tool?
gerzii said:
the tablet must be rooted before i use that tool?
Click to expand...
Click to collapse
Yes sir, it must be rooted. It needs root to be installed.
Sent from my C6603 using xda app-developers app
[NUT] said:
Yes sir, it must be rooted. It needs root to be installed.
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
ok
and with this tool i can install a custrom room, although my bootloader is locked?
gerzii said:
ok
and with this tool i can install a custrom room, although my bootloader is locked?
Click to expand...
Click to collapse
As long as the ROM chef says it needs to be flashed using CWM or TWRP, yes
That would be any STOCK based ROM for your model.
Sent from my C6603 using xda app-developers app
[NUT] said:
As long as the ROM chef says it needs to be flashed using CWM or TWRP, yes
That would be any STOCK based ROM for your model.
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
Hei and thanx alot
So with this cwm installed on my 311 rooted z, i'll be able to flash aokp or cm10.1 roms from cwm? And Even be able to have dualboot?
Woow this is excatly what i miss!!
But but I Will be First to flash on 311 and not sure on what happens IF it ends in bootloop or not booting at all?
And how do i(we) revert things Again?
Plz advise
[NUT] said:
As long as the ROM chef says it needs to be flashed using CWM or TWRP, yes
That would be any STOCK based ROM for your model.
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
i will ask CM and will give u the answer
spoonymoon said:
Hei and thanx alot
So with this cwm installed on my 311 rooted z, i'll be able to flash aokp or cm10.1 roms from cwm? And Even be able to have dualboot?
Woow this is excatly what i miss!!
But but I Will be First to flash on 311 and not sure on what happens IF it ends in bootloop or not booting at all?
And how do i(we) revert things Again?
Plz advise
Click to expand...
Click to collapse
You can only flash ROM's that do NOT require a custom kernel on a locked bootloader.
The XZDualRecovery does NOT offer dualboot, only dual recovery, it means you can use either TWRP or CWM to flash, backup and restore your tablet.
If you ever try to flash a new ROM, you create a backup using either recovery first. In case of a bootloop you can then restore your tablet using either a FTF combined with FLASHTOOL or use SUS to restore it to working order. Then you can root it again and install XZDualRecovery to be able to restore your backup.
Just as a friendly pointer: it's wise to have an external sdcard when flashing ROM's as in case of emergency, the SUS (for sure) or FLASHTOOL (if your not carefull) restores both wipe your internal storage, and if you stored your backups there, they will be gone.
Be sure to keep a backup of your internal storage contents on your pc/Mac... Just as a precaution.
All the above is to be read with the following in mind: BETTER SAFE THEN SORRY!
Sent from my C6603 using xda app-developers app
Confirmed. It worked on my SGP311. I did a CWM backup without a glitch. Still have to try to restore.
Enviado desde mi SGP311 usando Tapatalk 2
If I get a bootloop, how come I can't just go into cwm recovery and restore a nandroid backup? Why having to do ftf and flashtool, reroot, reinstall recovery, then restore backup?
Sent from my SGP312 using Tapatalk 2
nyknight77 said:
If I get a bootloop, how come I can't just go into cwm recovery and restore a nandroid backup? Why having to do ftf and flashtool, reroot, reinstall recovery, then restore backup?
Sent from my SGP312 using Tapatalk 2
Click to expand...
Click to collapse
You might be able to boot to recovery in case of a bootloop, but if that's not possible that might be your only solution. It all depends on where during boot the loop occurs.
Sent from my C6603 using xda app-developers app
[NUT] said:
As long as the ROM chef says it needs to be flashed using CWM or TWRP, yes
That would be any STOCK based ROM for your model.
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
the resolution of TWRP is not correct, can be used at Xperia tablet z
takumibox said:
the resolution of TWRP is not correct, can be used at Xperia tablet z
Click to expand...
Click to collapse
Heh, it doesn't orientate itself in the right way... I'll see what I can do about that...
Sent from my C6603 using xda app-developers app
This doesn't and will never work for installing CM, AOSP and similar ROMS right? Maybe you should include a big disclaimer in your first post about this.
Still nice work!
Itcouldbeyou said:
This doesn't and will never work for installing CM, AOSP and similar ROMS right? Maybe you should include a big disclaimer in your first post about this.
Still nice work!
Click to expand...
Click to collapse
Never is a big word
If you unlock your bootloader using FLASHTOOL after creating a backup of the TA partition it might just be helpful enough to flash whatever you want TWRP and CWM are able to flash a kernel, just not a custom one on a locked bootloader.
Doing so will result in a soft-bricked device with the risk of having to wipe everything on your device.
But no, a CM, AOSP or AOKP ROM implies a custom kernel, that will never work on a locked bootloader, but that should already be communicated by the respective ROM builders, but from my perspective at least: that is something outside the scope of this thread...
After rooting n flashing xz1dualrecovery with the help of pc and then flashing super su 2.00 i am facing strange problems! After a day my phone is not booting in recovery, no vibration or yellow lights during restart! Then after yesterday i saw that its not switching off when i hold power button and then click 'power off' only reboot to safe mode and holding power n volume up is working. I had uninstalled google play services, google plus n all except google search, google sttings, maps nplay store. I uninstalled youtube and notes too. N Yes i had backed up entire partion via xz1dualrecovery, but after that due to insufficient space i manually delete the backup file from sdcard/clockworkmod/
What do i do now?
And also tell me please that whether i update 4.4.4 via ota when it come(my phone is rooted, bl locked) ? Thanks in advance...
N last of all kindly suggest me what apps do i install now to improve my phone(i had installed busybox free, rom toolbox, android tuner, set cpu, trickstermod, add free and uninstalled them, only root app present is titanium backup pro).
Sent from my C6902 using XDA Premium 4 mobile app
You lost recovery and had all those problems because you installed busybox...
Read OP from XZDualRecovery - it clearly says - do not install busybox.
Busybox is included and if you installed another version you'll lose recovery...
You can flash fw via flashtool and root device again to repair that...
Sent from my D6503 using Tapatalk
Thank you a ton! I am now waiting for 4.4.4 ftf. I will flash it n be careful from now. :x also tell me which recovery is best? Can i update via ota or sus in future if i have root?
Sent from my C6902 using XDA Premium 4 mobile app
Palauv Das said:
Thank you a ton! I am now waiting for 4.4.4 ftf. I will flash it n be careful from now. :x also tell me which recovery is best? Can i update via ota or sus in future if i have root?
Sent from my C6902 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sure you can...
You will lose root, of course but for now, there's no fw for Xperia which cannot be rooted.
So, when PC Companion say - update is ready, update your device and root ut using easy root, install NUT recovery and you'll be rooted with recovery again.
There's no "better" recovery on locked bootloader, there's only one recovery by NUT.
In that recovery you can choose CWM, TWRP and PhilsRecovery.
CWM and TWRP are my favorites and you there's not much difference between them.
Both will do the job...
Sent from my D6503 using Tapatalk
Thank you. From a satisfied noob and first time xda post'er
Sent from my C6902 using XDA Premium 4 mobile app
Hey,I have got a new method to root as well as recovery!
just download z1lockeddualrecovery 2.127.8 and connect ur phone to pc(usb debugging on and adb drivers installed),now extract downloaded file anywhere and go there, u ll find .Bat file click it,then press 3,wait...in ur phone screen some numbers appear,click ok,then in ur phone towel root automatically appears,click make it rain,wait for phone booting,don't click anything before boot... U r done! BOTH DUALRECOVERY AND ROOT! Now flash supersu 2.00 zip via recovery...
P.S. I just found it,all credit goes to respectable awesume nuts'
Sent from my C6902 using XDA Premium 4 mobile app
Hi all. I rooted via towelroot ages ago and some how I installed the 3 recoveries twrp Cwm and another I can.t remember. But I didn't do it on laptop. I have no pc which is why use towelroot for root.
But on here only says use doomlord kit or download recoveries and.write some code in terminal emu for recovery
I did not do any.of that I think I downloaded a rom or.a set of recoveries that just worked for.some reason. I can't.remember.
Installed custom rom. And messed about got brick fixed.rerooted but now can't get recoverys again
Can anyone help me get recoveries on stock rooted c5303 Xperia sp
Thanks you guys
Oh,yeah. Apparently flashify and other flashing apps installed recoveries but can't boot into recovery I read up & it's cos stock 0.205 firmware thing.
This is how I bricked my sp I tries installing kernel through one of the apps supposedly meant to be able.to do it but it failed wouldn't boot had to go friends download flashtool 205 global ftf and. Flash it.
Now just stock and.rooted via towelroot. Sd says Cwm folder is there as I.delete it reboot and Cwm.folder is.back???? Weird I can't.boot no recovery
Thanks for reading
Nobody got any ideas? Input, thoughts anything???
Thanks for reading.
Yes, download ROM MANAGER. Piece a cake
Sent from my C5303 using XDA Premium 4 mobile app
amigo911 said:
Yes, download ROM MANAGER. Piece a cake
Sent from my C5303 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You read everything? This will not work.
I did once but Idk how put recovery on stock kernel.
Apparently it.doesn't work I used rom manager.for recoveries it says they are.installed..but can't.boot into recovery. Tried.flashing kernel got brick Sony so fixed via flashtool re rooted via towelroot now.stuck again. No recoverys. And.rom manager doesn't do anything.neither does flashify. Or other apps.meant for this purpose. Idk y they don't work. They just don't.
So in future please read and.understand before telling me an app I already know doesn't work ( for me person)
Thanks
Hey guys
I am a beginner and after going through many threads here i finally rooted by xperia z1 C6903 using kingroot.
The phone rooted successfully......even checked by root checker.
The problem is some app does not work properly for example greenify does not hibernate anything.......supersu or super user displays error while installing (asking for reboot) ,,,busy box shows error while installing (choose different location).
can some one help me in assessing that ( is my phone rooted properly),
however king root grants are successful.
phone: xperia z1 telecom de version
os: 4.4.4
14.4.A.0.157
rooted in the same condition without any downgrade
Wasiq01 said:
Hey guys
I am a beginner and after going through many threads here i finally rooted by xperia z1 C6903 using kingroot.
The phone rooted successfully......even checked by root checker.
The problem is some app does not work properly for example greenify does not hibernate anything.......supersu or super user displays error while installing (asking for reboot) ,,,busy box shows error while installing (choose different location).
can some one help me in assessing that ( is my phone rooted properly),
however king root grants are successful.
phone: xperia z1 telecom de version
os: 4.4.4
14.4.A.0.157
rooted in the same condition without any downgrade
Click to expand...
Click to collapse
u have to replace the provided su of kingroot into chainfire's SuperSU.
And how can this be done?
Sent from my C6903 using XDA Forums Pro.
flash SuperSU from recovery, it should delete kingroot and install SuperSU on it and then restart, open the app and then update binary normal way.
migidid said:
flash SuperSU from recovery, it should delete kingroot and install SuperSU on it and then restart, open the app and then update binary normal way.
Click to expand...
Click to collapse
Srry for asking basic/bothering question, but can u tell me the procedure to flash supersu and what type of recovery ur talking about?
Sent from my C6903 using XDA Forums Pro.
Wasiq01 said:
Srry for asking basic/bothering question, but can u tell me the procedure to flash supersu and what type of recovery ur talking about?
Click to expand...
Click to collapse
for your Z1 use Nut's dual recovery, its the best and easy to install and there is lots of instructions available ! you can get the package from nut's website, (http://nut.xperia-files.com/ click XZDualRecovery -> 2.8.20 -> take Z1-lockeddualrecovery2.8.20-RELEASE.installer.zip NOT flashable and download it...
installing SuperSU delete the one you have, you need flashable version wich can be located here https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
then just put it to your sd card and reboot to recovery, from recovery select install zip from sd card, select that supersu file you just put in there and install it, then just reboot and done.
Thank u soo much Migidid bro.....I followed the said procedure and successfully installed dual recivery and supersu, Thanks alot once again, i wanna donate..............love andorid...love sony
Just press thanks button and we're cool
Soft Bricked with same problem
i have the same problem, but after i restarted i am stuck in boot loop. please help me what should i do now?
Nevermind - used Flashtool and flashed fw.
Hey guys,
After hours and hours of searching forums and trying things, I decided I need help.
I just bought a Z1 (yes, they're still for sale) and I wanted to update the firmware to the newest .283 lollipop. Also, I want to root my device.
I have rooted Android phones before, and I have some experience flashing Custom ROMs etc.
As I have understood I have to downgrade to a 4.4 ROM first, to get root. Then my plan was to install recovery and install .283 Pre-rooted ZIP in Recovery.
So here's what I did:
-Flash 14.1.G.1.534 firmware
-Root using KingoROOT
-try to install recovery
-boot into recovery
-install pre-rooted .283 Lollipop ZIP
-phone won't boot anymore.
I am still able to flash the newest .283 with the FTF file, but then obviously it's unrooted. I also cannot figure out how to flash recovery after flashing .283 FTF. (Flashing recovery seems to work, but I cannot enter recovery via adb or otherwise)
So if anyone can tell me what I am missing, please do!
for what i know the ftf files can't be prerooted. so download a prerooted zip file and install it from a recovery. btw if u're gonna try any custom rom, don't forget to backup your drm before unlocking bootloader. That's a must for xperia devices
Thanks. However, I can't get Recovery to work after flashing Lollipop firmware. And when I downgrade and then flash the ZIP from recovery, the phone won't boot.
I succeeded! The steps that led me to this result:
-flash KK 14.4.A.0.108 in Flashtool
-Root the firmware using Flashtool/SuperSU method
-flash Recovery using Dual Recovery (http://forum.xda-developers.com/showthread.php?t=2647487)
-Flash the Pre-Rooted ZIP in Recovery
-Success!!
did you tried any custom rom??
try root master or frama root or root king
....think it will help u....:thumbup:
Sent from my Lenovo A5000 using XDA Free mobile app
wladkolc said:
did you tried any custom rom??
Click to expand...
Click to collapse
mfmohamedbilal said:
try root master or frama root or root king
....think it will help u....[emoji106]
Sent from my Lenovo A5000 using XDA Free mobile app
Click to expand...
Click to collapse
Did you read he latest post? He already root his device
oh....i didnt red ...
Sent from my Lenovo A5000 using XDA Free mobile app
not working
mfmohamedbilal said:
oh....i didnt red ...
Sent from my Lenovo A5000 using XDA Free mobile app
Click to expand...
Click to collapse
yes..but i have problem after flashing any custom rom...after restart see only black screen..
now tried to flash custom rom with stock kernel, and locked bootloader config, after reboot i see sony logo and i am in reboot loop.
i have relocked bootloader, try to lock and then unlock with official sony guide.