FORUMS
Remove All Ads from XDA

[T/V/TL/TX][TWRP][PhilZ Touch][CWM] XZDualRecovery Q&A

5,375 posts
Thanks Meter: 10,328
 
By [NUT], Recognized Contributor on 3rd April 2014, 10:01 AM
Post Reply Email Thread
-=[XZDualRecovery]=-
PhilZ Touch & CWM & TWRP
*** For Locked and Unlocked BOOTLOADERS! ***


Welcome to the Xperia T/V/TX/TL 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!
The Following 6 Users Say Thank You to [NUT] For This Useful Post: [ View ] Gift [NUT] Ad-Free
 
 
3rd April 2014, 10:02 AM |#3  
[NUT]'s Avatar
OP Recognized Contributor
Flag Cyberspace and the Universe
Thanks Meter: 10,328
 
Donate to Me
More
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!
  • @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!

The origins of this XZDualRecovery package are in the packages done by:
Krabappel2548, Cpasjuste and DooMLoRD
Thank you for your excellent work guys!

Your thanks (and donations) should (also) go out to them, they deserve it!
The Following 3 Users Say Thank You to [NUT] For This Useful Post: [ View ] Gift [NUT] Ad-Free
3rd April 2014, 11:00 AM |#4  
BreckZeBoulay's Avatar
Senior Member
Flag Boulay in Frankreich :D
Thanks Meter: 442
 
More
Is it possible to flash this recovery by using and overwriting this one ?
3rd April 2014, 11:22 AM |#5  
[NUT]'s Avatar
OP Recognized Contributor
Flag Cyberspace and the Universe
Thanks Meter: 10,328
 
Donate to Me
More
Quote:
Originally Posted by BreckZeBoulay

Is it possible to flash this recovery by using and overwriting this one ?

Yes, it should work ok. Just check if /system/bin/chargemon exists. If it does you can use xzdualrecovery. I know @peetr_ used taimport as the replacement for chargemon, so until you remove the replacement taimport and rename the binary you will have 2 recovery packages installed and working
The Following 2 Users Say Thank You to [NUT] For This Useful Post: [ View ] Gift [NUT] Ad-Free
3rd April 2014, 02:29 PM |#6  
BreckZeBoulay's Avatar
Senior Member
Flag Boulay in Frankreich :D
Thanks Meter: 442
 
More
I've got a weird issue with this recovery (tested with the three ones include) and not with the one of peetr_.
I've made my own rom, and i can't flash the zip, there's "error argument" when formating system.

my script :
Code:
ui_print("- Formating /system");
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/System", "0", "/system");
ui_print("- Copying to /system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
if i mod the script like this :
Code:
ui_print("- Formating /system");
format("ext4", "EMMC", "/dev/block/mmcblk0p12");
ui_print("- Copying to /system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
Formating is done but after system is not copy into /system, the flash is too fast (not a second), but there's no error ^^


May be it's not the right place to post this and may be it's a known issue....
3rd April 2014, 02:43 PM |#7  
[NUT]'s Avatar
OP Recognized Contributor
Flag Cyberspace and the Universe
Thanks Meter: 10,328
 
Donate to Me
More
Quote:
Originally Posted by BreckZeBoulay

I've got a weird issue with this recovery (tested with the three ones include) and not with the one of peetr_.
I've made my own rom, and i can't flash the zip, there's "error argument" when formating system.

my script :

Code:
ui_print("- Formating /system");
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/System", "0", "/system");
ui_print("- Copying to /system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
if i mod the script like this :
Code:
ui_print("- Formating /system");
format("ext4", "EMMC", "/dev/block/mmcblk0p12");
ui_print("- Copying to /system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
Formating is done but after system is not copy into /system, the flash is too fast (not a second), but there's no error ^^


May be it's not the right place to post this and may be it's a known issue....

Actually, it sounds like a problem I had a while back. Can you enter recovery (any will do) and then adb shell to the device to type:

Code:
busybox lsof
You'll get a list with files 'locking' anything anywhere. See if you can find a lock on '/system' or just simply '/bin'

Also, I ususally steer clear from the edify format and just do:

Code:
unmount("/system");
run_program("/sbin/make_ext4fs", "/dev/block/platform/msm_sdcc.1/by-name/System");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/System", "/system");
This has worked flawlessly on any device I have ever owned or built anything for, except when there are file locks still lurking of course
The Following User Says Thank You to [NUT] For This Useful Post: [ View ] Gift [NUT] Ad-Free
3rd April 2014, 02:56 PM |#8  
BreckZeBoulay's Avatar
Senior Member
Flag Boulay in Frankreich :D
Thanks Meter: 442
 
More
Quote:
Originally Posted by [NUT]

Actually, it sounds like a problem I had a while back. Can you enter recovery (any will do) and then adb shell to the device to type:

Code:
busybox lsof
You'll get a list with files 'locking' anything anywhere. See if you can find a lock on '/system' or just simply '/bin'

I never try but I try to do this after children time

Another question : there are two different versions :
XT-lockeddualrecovery2.7.101-BETA.flashable.zip (6.5MB)
and
XT-lockeddualrecovery2.7.102-BETA.installer.zip (8.23MB)

which one i prefer ?
3rd April 2014, 03:02 PM |#9  
[NUT]'s Avatar
OP Recognized Contributor
Flag Cyberspace and the Universe
Thanks Meter: 10,328
 
Donate to Me
More
Quote:
Originally Posted by BreckZeBoulay

I never try but I try to do this after children time

Another question : there are two different versions :
XT-lockeddualrecovery2.7.101-BETA.flashable.zip (6.5MB)
and
XT-lockeddualrecovery2.7.102-BETA.installer.zip (8.23MB)

which one i prefer ?

XT-lockeddualrecovery2.7.103-BETA.installer.zip
3rd April 2014, 04:08 PM |#10  
BreckZeBoulay's Avatar
Senior Member
Flag Boulay in Frankreich :D
Thanks Meter: 442
 
More
oups open your eyes Breck !
and make some space in this enormous list Nut !

I try ASAP !
3rd April 2014, 04:17 PM |#11  
jose78987's Avatar
Senior Member
Flag Santa Cruz
Thanks Meter: 19
 
More
Work on JB4.1.2?? Xperia V

Sent from my LT25i using xda app-developers app
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes