[Z3C][TWRP][PhilZ Touch][CWM] XZDualRecovery Q&A

[NUT]

Senior Member
-=[XZDualRecovery]=-
PhilZ Touch & CWM & TWRP
*** For Locked and Unlocked BOOTLOADERS! ***


Welcome to the Xperia Z3 Compact Questions & Answers thread!

I proudly present you the first and only DUAL RECOVERY for locked boot loaders on our lovely Xperia phones! :cool:

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!
 
Last edited:

[NUT]

Senior Member
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:
Your thanks (and donations) should (also) go out to them, they deserve it! :highfive:
 

espaciosalter20

Senior Member
Jun 12, 2011
1,534
888
143
Bogotá, Colombia, Colombia
Hi nut! I'm really amused by your work on this.just a question: It's possible to make an installer in which we could select only one recovery for install? Personally, I don't want to deal with multiples recoveries at time... Thanks for this!

Enviado desde mi Nexus 7 mediante Tapatalk
 

[NUT]

Senior Member
Hi nut! I'm really amused by your work on this.just a question: It's possible to make an installer in which we could select only one recovery for install? Personally, I don't want to deal with multiples recoveries at time... Thanks for this!

Enviado desde mi Nexus 7 mediante Tapatalk
No, not for this round of releases anyway.

XZDR 3.0 will be all about choices and selections... but that release is far, far away.
 

mrrflagg

Senior Member
Nov 15, 2013
180
61
0
The back of a truck
Need a bit of help troubleshooting an issue, I cannot get my z3c to reboot to recovery? I have updated the app, granted root privs and still no luck? I have had it in recovery and successfully made a back up when I first set up root and recovery.

Zurgthe3rd
 

[NUT]

Senior Member

mrrflagg

Senior Member
Nov 15, 2013
180
61
0
The back of a truck
Thanks for the reply. You have given me some things to play around with when I get to my computer. I work away from home and lot and can't play around with these things that often or fix issues if something goes wrong

Zurgthe3rd
 

billp

Senior Member
Aug 27, 2009
68
3
0
There is no install.bat file included in this zip file!

oops!...my mistake, wrong file...sorry
 
Last edited:

eespanol

Senior Member
Jul 5, 2010
115
25
0
Failed to install dualrecovery. Mount permission denied (are you root?) message. Rooted phone usin giefroot method. Please help thank you

Sent from my D5833 using XDA Free mobile app
 
  • Like
Reactions: Lyyanie

sxtester

Senior Member
Sep 11, 2014
458
162
0
Failed to install dualrecovery. Mount permission denied (are you root?) message. Rooted phone usin giefroot method. Please help thank you
Sent from my D5833 using XDA Free mobile app
Experienced the same "issue". However, dualrecovery installed apparently flawless for I have been able to flash (via TWRP) a pre-rooted .77 FW on my Z3C (D5803) without any problems. So for all practical purposes it seems to be a cosmetic problem only.
 

boojay

Senior Member
Oct 15, 2010
632
164
0
Does the only remaining known issue apply to you perhaps? http://forum.xda-developers.com/showpost.php?p=43698321&postcount=2

You can also try to reinstall or update to 2.8.1.
Hey Nut (giggle, sorry, I'm 12),

Stupid question but will reinstalling this recovery wipe my phone? I had XZDualRecovery installed after recently rooting my Z3C, but due to some extra steps involved with updating to the latest firmware while keeping root, I had opted not to couple your recovery with the pre-rooted firmware I generated with another tool thinking the recovery would still be there, but it appears to be missing. I didn't notice until later, but whenever I boot into recovery, it just reboots the system.

Anyhoo, thanks for all your incredible work!
 

[NUT]

Senior Member
Hey Nut (giggle, sorry, I'm 12),

Stupid question but will reinstalling this recovery wipe my phone?
I had XZDualRecovery installed after recently rooting my Z3C, but due to some extra steps involved with updating to the latest firmware while keeping root, I had opted not to couple your recovery with the pre-rooted firmware I generated with another tool thinking the recovery would still be there, but it appears to be missing. I didn't notice until later, but whenever I boot into recovery, it just reboots the system.

Anyhoo, thanks for all your incredible work!
No of course not :)

Installing/reinstalling XZDR should never wipe your phone unless something breaks during update/installation... but these instances are rare to say the least.
 
  • Like
Reactions: boojay

boojay

Senior Member
Oct 15, 2010
632
164
0
No of course not :)

Installing/reinstalling XZDR should never wipe your phone unless something breaks during update/installation... but these instances are rare to say the least.
Thanks for the confirmation. Just reflashed and all is well!
 

Zwulf

Senior Member
Aug 9, 2013
644
342
63
Tried to flash it over CM12 recovery (Z3C), but it won't install. Also tried from PC with the script - NDR utils are installed but recovery stays CM. Any way to install at least TWRP somehow?

Edit: Found this one and flashed with Rashr app from Play Store. Works fine. :)
 
Last edited:
  • Like
Reactions: Kurylaci and strofo

petslane

New member
Apr 2, 2009
4
0
0
Hi,

Installed XZDualRecovery using this manual.
It's working. I can backup and restore.
But what is not working is flashing. Tried to flash CM12 and it failed with error message:
from TWRP: This package is for device: D5803, D5833, z3c; this is aries.
from Philz: This package is for device: D5803, D5833, z3c; this is .
from CWM: This package is for device: D5803, D5833, z3c; this is amami.

So looks like these recoveries think that current device is Xiaomi Mi2, Z1 Compact or something else.

I extracted recovery.cwm.cpio.lzma, recovery.philz.cpio.lzma and recovery.twrp.cpio.lzma and did some grepping:
Code:
$ grep -ri ro.build.product= *
recovery.cwm/default.prop:ro.build.product=amami
recovery.philz/default.prop:ro.build.product=z3c
recovery.twrp/default.prop:ro.build.product=aries
Code:
$ grep -ri ro.product.device= *
recovery.cwm/default.prop:ro.product.device=amami
recovery.philz/default.prop:ro.product.device=z3c
recovery.twrp/default.prop:ro.product.device=aries

From that i would say that cwm and twrp use wrong device value. philz is using correct value but still for some reason it does not work and does not identify itself as z3c.

PS, I do not have deeper knowledge about android recoveries.
 

TiMiN8R

Senior Member
Oct 4, 2006
790
1,118
0
Hi,

Installed XZDualRecovery using this manual.
It's working. I can backup and restore.
But what is not working is flashing. Tried to flash CM12 and it failed with error message:
from TWRP: This package is for device: D5803, D5833, z3c; this is aries.
from Philz: This package is for device: D5803, D5833, z3c; this is .
from CWM: This package is for device: D5803, D5833, z3c; this is amami.

So looks like these recoveries think that current device is Xiaomi Mi2, Z1 Compact or something else.

I extracted recovery.cwm.cpio.lzma, recovery.philz.cpio.lzma and recovery.twrp.cpio.lzma and did some grepping:
Code:
$ grep -ri ro.build.product= *
recovery.cwm/default.prop:ro.build.product=amami
recovery.philz/default.prop:ro.build.product=z3c
recovery.twrp/default.prop:ro.build.product=aries
Code:
$ grep -ri ro.product.device= *
recovery.cwm/default.prop:ro.product.device=amami
recovery.philz/default.prop:ro.product.device=z3c
recovery.twrp/default.prop:ro.product.device=aries

From that i would say that cwm and twrp use wrong device value. philz is using correct value but still for some reason it does not work and does not identify itself as z3c.

PS, I do not have deeper knowledge about android recoveries.
This is due to the CM updater-script, it's not looking for "aries". You can either edit that script to add aries, or you can fastboot flash the boot.img from the CM zip and use the recovery built into that kernel to flash it (because then it will be identified as z3c).
-transfer CM zip to your phone's storage
-On PC: extract boot..img from CM zip
-connect phone to pc in fastboot mode (turn off, hold vol+ while plugging into USB)
-fastboot flash boot boot.img
-boot phone to recovery and flash CM (full wipe!)

This is also in the HOW-TO in the CM thread
 
Last edited:
  • Like
Reactions: gvr46a12tt