yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] iBuzman:
1970 date returned in adb shell. The xzdualrecovery.sh was retuened as not found - had to pop out, will try again later. :)
[Sony Cross-Device General] [NUT]:
Oh boy... Maybe I just simply goofed up your device release... I'll check later.
[Sony Cross-Device General] [NUT]:
Are you using an exFAT formatted sdcard by any chance?
[Sony Cross-Device General] [NUT]:
That all depends on what you are trying to flash? If it's a rom, then please ask inside the respective thread. If it's XZDR, then you came to the right place :p

You should be able to update from .43 to .7x in one go, but best is to remove the XZDR.prop file from your XZDualRecovery folder to make sure it will work OK.
[Sony Cross-Device General] RHBH:
[MENTION=4904057][NUT][/MENTION]

I made a backup of chargemon and chargemon.stock and updated from 2.7.70 to 2.7.76, the time is working almost 100% on my Z1, except for the daylight settings.
[Sony Cross-Device General] mirawong:
Many rom that require working recovery, and many people use your XZDR including me. So if the rom required latest version recovery, then flashing your XZDR to the latest version is a must.

Noted. Maybe that's the reason why i lost XZDR after update to latest version.

Ok. Thanks for your help. :)
[Sony Cross-Device General] sidelong:
Sorry but don't know if it is exfat. I will have to investigate. It is a SanDisk 64GB Ultra MicroSDXC Class 10, not reformatted since new.
[Sony Cross-Device General] [NUT]:
You could use fdisk in android terminal.

su

fdisk -l /dev/block/mmcblk1

It should list all the partitions on it including file system type.
[Sony Cross-Device General] sidelong:
This gives system as HPFS/NTFS
[Sony Cross-Device General] [NUT]:
99% chance that it's an exfat format then :)

I'll try to find out what's wrong then.

Thanks :thumbup:
[Sony Cross-Device General] xuanphucn:
hey folks, i have a question. do i need to back up ta partition and drm before flashing this dual recovery?
[Sony Cross-Device General] [NUT]:
Nope, no need. This has been created specifically for locked bootloader devices.
[Sony Cross-Device General] Futura2000:
If you've not formatted it since you purchased it then it will be exfat as thats the normal file system on a 64GB sandisk sdcard.

Sent from my Xperia Z eXistenZ
[Sony Cross-Device General] Riemen:
[QUOTE='[NUT]

Defaults:

The default on first boot with the boot-to-recovery flag set by any recovery is PhilZ Touch Recovery.

In your XZDualRecovery folder in either /cache or /storage/sdcard1 you will find a file called XZDR.prop. Set dr.default.recovery=cwm to dr.default.recovery=twrp to change the default recovery to TWRP. The button choice however takes precedence, so you can always overrule the default! ;)

[/QUOTE]

Tried adding this line, but didn't work for me. Instead changing "dr.recovery.boot=philz" to "twrp" did the trick.
[Sony Cross-Device General] [NUT]:
Heh, yes... that has changed but the OP has not yet :eek:

Sorry about that!

The latest version has vol-up set to go to philz, vol-down to go to twrp. If you want to use vanilla CWM you will need the NDRUtils app.

The dr.default.recovery key has been dropped because of the new functionality (and to make it a little easier to use).
[Sony Cross-Device General] eryen:
[NUT] we are expecting NDR Utils to install recovery pack as http://xdaforums.com/showthread.php?t=2190936

Thanks for your great works
[Sony Cross-Device General] [NUT]:
No, it doesn't install XZDualRecovery it only enables you to reboot to recovery from within android.

But good things are yet to come ;)
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] 2.7.77 BETA released!

BETA Change log:

BETA releases will only appear on http://nut.xperia-files.com and the DevDB thread and as soon as enough people report it to be working fine will it move in to the Q&A thread as a RELEASE version.

Version 2.7.77:

PhilZ brightness issues on the Z1 solved.

Updated PhilZ to the latest build for the Z1 and Z Ultra only.

Mounting exfat sdcards in PhilZ fixed. (NOTE: does not work on GPe kernels!)

Mounting multi partition sd cards should now work correctly.

Remaining issues to be solved:

Time issue on the Z Ultra, somehow my fix does not apply on these phones... :(

Creating a backup of SD-EXT partitions is not possible yet.

Once the last 2 things are solved, hopefully the next version, it will be released as 2.8 RELEASE package.

This also means I will be starting the Z Ultra and Z1 Q&A threads for device specific support.

I'm searching for people with a

Z Ultra

who can give me access to the phone using SSH/RDP+adb to debug the time issues. If you can, please do PM me!
[Sony Cross-Device General] iBuzman:
Can confirm time/date ok in TWRP on ZU 4.3

(but) Philz still not mounting my fat32 ext sd.
[Sony Cross-Device General] [NUT]:
:eek: :eek: :eek: :eek: :eek:

( [MENTION=3767251]iBuzman[/MENTION] was the reporter of the time 'bug' ... )

:eek: :eek: :eek: :eek: :eek:

n00b :p

He was entering the kernel recoveries most of the time ...

(Grabs a huge TROUT)

[mirc mode ON]

* [NUT] slaps iBuzman around a bit with a huge trout

[/mirc mode OFF]

:D
[Sony Cross-Device General] iBuzman:
Trout slap justified and humbley accepted..

Thx mate.. [MENTION=2524304]ibuz[/MENTION]n00b
[Sony Cross-Device General] [NUT]:
:laugh:

Thanks for this though, it simplified my scheduled test session with [MENTION=4969307]herogjan[/MENTION] on his Z Ultra :)

He could confirm it's working fine :good:

Now to get the sdcard mount to work ... which is still confusing me :confused:
[Sony Cross-Device General] iBuzman:
And philz "dim display" fix too :laugh:
[Sony Cross-Device General] alexocean:
Here are my device specifications:

Xperia Z (C6603) with bootloader locked (not unloackable, maybe its this)

Firmware .434 NL Generic, same as yours.

Have tried it yesterday with a fresh stock install of the .434 NL

Another thing, i previously rooted my phone with the v30 binary installer.Maybe it has something to do with it?

I have no problem to make some tests, im using two Z (one for firmware,mods,etc... tests) but i can tell you that on the other device the same thing happens.There was only one working version that i dont remember...maybe 1.6 but CWM was not working, only TWRP

Regards and sorry for my bad english

EDIT 1: I have installed now the 1.6 version to see and confirm that it was the version without the purple led vibration problem.It works but with the cwm not boot problem (vol down starts twrp without problems, vol up doesnt start cwm, it stays on a black screen after sony logo with purple led but without vibrations).

So after installed 1.6 i have tried to use the latest update.zip to see if it works.Twrp tells me that the install was succefull but the recovery has no changes, it stays on 1.6 with the cwm boot problem.

I will try now UK version and edit this post with the results
[Sony Cross-Device General] [NUT]:
From PM, testing and results by alexocean

Eh... this actually hints to some other issue, one with the rooting process...

Anyone having the problems with the boot 'hanging', after you have restored the system partition and have your phone running again:

After rooting your restored phone:

1: Install a root explorer, remount /system as rw to enable writing to it.

(if your phone survives this step, go to step 2)

2: copy any file larger then 100Kb to /system and try to remove it again.

IF my hunch is correct, your phone will most likely do a sudden reboot either while remounting /system or while copying the file to /system...

What if your phone did that?

Restore stock FW using SUS or FLASHTOOL;

Complete first setup and reboot your phone;

Then root it straight after the reboot.

IF rooting fails for _ANY_ reason and you would need to try it again, Go back to step 1 (Seriously!!)

When rooting worked OK the first try, try the previous root explorer test

If your phone no longer reboots with that test, try to install Dual Recovery 2.0

Post results here!!!

My phone did that too, the only solution i found was to restore the firmware and have the rooting process succeed 100% the first try, when it did i had no reboot issues, while when the first attempt failed after a second attempt it came back.

If you have downloaded the installer package, open run.sh inside the files directory with notepad, delete the reboot command at the end. When you have done this step and your phone still reboots when installing Dual Recovery 2.0 BETA, your phone has the 'root bug' for sure.
[Sony Cross-Device General] alexocean:
Im doing some firmware + dualrecovery tests.

Flashed C6603_Unbranded_10.1.A.1.350 UK.ftf (.350 UK version) with latest flashtool.After that i used v30 root package from binary and installed 2.0 dualrecovery installer.

Results: DualRecovery WORKING

Updated the C6603 UK .350 with pccompanion to .434 UK.After that rerooted with the v30 package from binary and installed 2.0 dualrecovery installer.

Results: DualRecovery WORKING

Flashed C6603_10.1.A.1.434_UK unbranded.ftf (.434 UK version) with latest flashtool.After that, same thing, used v30 from binary and 2.0 dualrecovery.

Results: DualRecovery WORKING

Flashed C6603_10.1.A.1.434_Generic NL.ftf (.434 NL version) with latest flashtool. Installed binary root v25 package (problems with v30, maybe this could be the problem) and the 2.0 dualrecovery.

Results: DualRecovery FAILED (purple led and vibrations every 3-4 seconds)

And as final test i have done the same with .350 spanish rom and then updated to 434 with pccompanion.

Results: DualRecovery WORKING on .350 and .434.

I dont have the .350 NL firmware for testing and cant find it.

So far as i can see the only difference on the failed NL firmware is that the only change i made was installing another root package because v30 doesnt work for me on NL firmware.

I will try one thing, i mean it can be the problem.V30 package installs superuser and the V25 package installs superuser or supersu (i selected supersu) so the only difference is between superuser and supersu.

Will do a reflash and reroot of the 434 NL ftf but this time with superuser and see if it works.I need 5-10 minutos to confirm this.

One again, sorry for my bad english.

---------- Post added at 03:28 PM ---------- Previous post was at 03:15 PM ----------

Buaaa, it was the supersu method on rooting.NL is working fine now with superuser.

Installed the .434, rooted with superuser method then installed dualrecovery and the problem with the purple led/vibration are gone.

What i have see on SuperSu is when i install the dualrecovery installer it asks me for permission and on superuser it doesnt ask.

For me, its working now
[Sony Cross-Device General] [NUT]:
Awesome testing dude!

The difference in SuperSU and SuperUser is not only the APK, i have noticed the 'su' binary from SuperUser is able to do much more and DOES support the -c (command) switch fully. The 'su' binary from SuperSU does not support the -c switch the same way... and i guess that is what is breaking the installer package... :eek:

I am using SuperUser myself and rooted using the method put up here on XDA by [MENTION=2784807]DooMLoRD[/MENTION].

Now... [MENTION=4189117]alexocean[/MENTION], one more request for testing:

Can you take a clean install and install CWM or TWRP using the packages created by [MENTION=503571]Cpasjuste[/MENTION] or [MENTION=4340984]krabappel2548[/MENTION] and then test the flashable ZIP install version? I've seen some reports about flashing it causing the same issues as the installer version, so if you have some time to spare and feel up to it, can you test that too?

Seriously, you are on my list of memorable members of XDA:
[Sony Cross-Device General] Mitsuya Cider:
I will conclude going from CWM 6.0.2.8 to lockeddualrecovery2.0.zip does not work.

No recoveries at all.
[Sony Cross-Device General] [NUT]:
I will have a look at why that is. Thank you for your test!
[Sony Cross-Device General] alexocean:
I have tried that yesterday and you are right, the phone boots and recovery is there but the same 6.0.2.8 previously installed.CWM tells that it was installed succefully but the recovery is the same.

[NUT], im at home in 1.30 - 2 hours, i will try installing the zip with a fresh install and superuser with CWM 6.0.2.8 v4 and TWRP.I have only tested it yesterday but with the NL firmware + supersu that was not working.

Now i know that superuser works perfect.

Another thing, after working dualrecovery you can install SuperSu again and delete Superuser without problems, tested some hours ago.

Thanks to you [NUT] for this great dual Recovery, i like it very much hehe.
[Sony Cross-Device General] alexocean:
Ok here are my test results for installing the lockedualrecovery2.0.zip file using previously installed CWM 6.0.2.8 v4 package.

1. I have flashed a complete new 434 firmware.

2. Rooted with binary package (superuser)

3. Installed CWM 6.0.2.8. package installer for locked bootloaders

Result: CWM installs the zip just fine but there is no recovery to show but the phone boots (no purple led problem).So i have thinked, let me look on my sdcard and noticed that there is no "XZDualRecovery" folder. From my previously backup i restored the folder to my external sd card and rebooted the phone and now, dualrecovery is working fine.

My XZDualRecovery folder contains:

chargemon.log

chargemon.log.old

XZDualRecovery.log

XZDualRecovery.log.old

Hope this can help you a little bit out to find the solution.

---------- Post added at 09:55 PM ---------- Previous post was at 08:56 PM ----------

No more purple led/vibration problem with this method:

I have copied the XZDualRecovery folder to external SD then i rooted my phone with supersu method and thats it.Having the XZDualRecovery folder on external SD before you install the dualrecovery.zip through cwm or twrp or using the installer works 100%.

Tested now on my two xperias, one with supersu and the other with supersu+nl firmware (the same that gives me the problems yesterday).

Now im trying to make it with an empty XZDualRecovery folder without the logs, will edit this post in some minutes with the final results.

EDIT 2: Confirmed, putting an empty folder named "XZDualRecovery" on external SD Card before flashing the dualrecovery2.0.zip with CWM/TWRP or flashing it with the installer works 100% either with superuser or supersu.
[Sony Cross-Device General] [NUT]:
I have updated the zip files for 2.0.

* Fixed the update package, this should now work as intended (a cook error in my kitchen actually copied the updater script into the flashable zip's directory, instead of it's own!)

* Due to the above issue, the flashable zip is now fixed too!

* Fixed the chargemon script, it now creates the directory... dunno how that got removed, but it was gone!

* Simplified some stuff, made the chargemon script a little smaller in the process

Files now available for download on http://www.fun-industries.nl/xda/ and they are named the same... it's still release 2.0 BETA.

The issues with the installer and SuperSU have not yet been fixed, so be careful.

IF you see the LED turn RED, something crucial went wrong or a 'donotrun' file is found and the chargemon script will exit to the regular boot process.

IF you see the LED turn BLUE, there is a script called drdebug.sh inside the XZDualRecovery directory and it took the place of the original stage 2 file.

IF you see the LED turn GREEN you will most likely feel your phone vibrate as well. You know what to do there, it will turn PURPLE if a recovery has been selected. :)
[Sony Cross-Device General] [NUT]:
2.0 BETA 3 now available

Re uploaded the flashable zips, the script inside contained a typo.
[Sony Cross-Device General] RoberM:
My system:

- Xperia Z 6603 .434 fw, Locked Bootloader

- Rooted + Superuser

- CWM recovery 6.0.2.8

Installed this Dual Recovery using windows installer "lockeddualrecovery2.0.installer.zip"

Everything works perfectly, both recoverys work.

Nice work [NUT]
[Sony Cross-Device General] [NUT]:
After some more testing by [MENTION=4189117]alexocean[/MENTION] and [MENTION=4293754]RoberM[/MENTION] i've silently updated the packages to BETA 4 and then BETA 5...

I'll update the topic later tonight, but from now available on http://www.fun-industries.nl/xda is:

XZDualRecovery v2.0 RELEASE

All issues have been resolved, OP update and changelog will come tonight.

EDIT 18:06 - Updated OP, Change log will come later.
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] Version 2.0 released!

Change log:

Version 2.0:

Split the functionality up into 2 scripts

Stage 1 does all the checks and Stage 2 does the key/file check and prepares the phone for the recovery chosen to start.

Stage 1 copies all the relevant files to /sbin (which is on the ramdisk, in RAM) which speeds up the recovery boot process.

Stage 1 symlinks all the supported commands from busybox to /sbin (This improved the readability of the scripts but will come to good use in a feature which is supposed to get built in sometime)

Improved busybox command checking, making it quite bulletproof.

Improved logging a lot, making it more complete and readable.

Code cleanup, tightening the strict use of shell scripting standards and best practices.

Improved the mounting of the external SDCard. Still no exFAT or NTFS though.

Will remove the XZDualRecovery or chargemon folder in cache as soon as SDCard1 is available for use.

Now checks for a file called 'donotrun' inside the XZDualRecovery folder, if it does, it aborts any attempt to load Stage 2, including debugging scripts. (on sdcard that makes more sense, as you can put in that file on a PC and then reboot the phone with the Power+Vol-UP key combo)

If a drdebug.sh script has been found inside the XZDualRecovery folder it replaces Stage 2 with this file.

If a debug script has been found, it will change the logfile to from XZDualRecovery.log to XZDebug.log and will use that during testing.

Set a default set of colored warnings, these will not change anymore:

If you see the LED turn RED for 2 seconds, something crucial (e.g. it did not find lzcat support in busybox) went wrong or a 'donotrun' file is found and Stage 1 will exit to the regular boot process.

If you see the LED turn BLUE, there is a script called drdebug.sh inside the XZDualRecovery directory and it took the place of the original Stage 2 file.

If you see the LED turn GREEN for 3 seconds you will most likely feel your phone vibrate as well. You know what to do there, it will turn PURPLE when a recovery boot has been selected, either by /cache/recovery/boot, XZDualRecovery/boot or when one of the volume keys has been pressed. The purple LED will turn off as soon as the recovery init has been started and recovery is booting up.

The installer has been forked in to 2 scripts;

When you use SuperUser on your phone, run superuser.bat to install

When you use SuperSU on your phone, run supersu.bat to install, notice and follow the instructions!

NOTE:

Make sure you run the right one when using SuperSU and to follow the instructions: you risk a bootloop if you do not!

Fixed a bug in my kitchen, causing the update zip to have NO flash script and the flashable installer to have the wrong one...

Now using BETA and RELEASE tags on my releases.

RELEASE can be considered stable and safe to use.

BETA requires you to take precautions (backups, backups and more backups!), it might be necessary to reflash your phone if or when it goes south!

Files are available now on http://www.fun-industries.nl/xda/ and through the guides in the OP.

:victory: ENJOY! :victory:
[Sony Cross-Device General] BadBoy4490:
Hi, does this work on new .253 firmware ??
[Sony Cross-Device General] [NUT]:
As soon as root has been obtained on it somehow, yes :)
[Sony Cross-Device General] [NUT]:
I will try to create a test version of XZDualRecovery with CWM 6.0.3.2 tonight.

I'm also working on a .253 rooting solution, so I will have a busy night :rolleyes:
[Sony Cross-Device General] californicated:
Awesome #1

Awesome #2

For now root can be obtained, but only with the reboot bug as soon as the system partition is mounted as rw
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] Version 2.1 BETA released!

BETA Change log:

Version 2.1:

Updated CWM to 6.0.3.2, originally built by [MENTION=2784807]DooMLoRD[/MENTION]

The BETA release is available for download on http://www.fun-industries.nl/xda/

Please let me know if it works OK for your phone!
[Sony Cross-Device General] alexocean:
Updated the beta with CWM from the Release version of DualRecovery, CWM 6.0.3.2 and TWRP 2.5.0.0 boots fine, also phone boots fine too.

More tests tomorrow (installer and fresh install).

Thanks again NUT !!!
[Sony Cross-Device General] [NUT]:
Wait... the Z Ultra had that too? :o

I didn't know... I thought it was Z1 only... did the latest version fix it?
[Sony Cross-Device General] iBuzman:
No beta .77 hasn't fixed it.
[Sony Cross-Device General] [NUT]:
Can you try to increase the brightness in the settings?

PhilZ Settings -> GUI Preferences -> Set Brightness (tap it to increase value).

Can you get it to max brightness? What is the maximum you see there?
[Sony Cross-Device General] iBuzman:
160 (default)

Anything over about 900 looks good (I just set to 2500, rebooted and philz returned to 160 default)
[Sony Cross-Device General] [NUT]:
Hmm... it should save the setting though. In PhilZ Settings can you 'Reset All Recovery Settings' and try to set it again?

If/when you go to PhilZ next time, connect it to your pc please and adb shell in to it. What does

ls -la /dev/block/platform/

say?
[Sony Cross-Device General] iBuzman:
Went back in to reset but it had saved the setting from last time I checked and it hadn't saved :)

Beginning to think my bug reports are more of a reflection on me than what I am reporting hehe

Thx again

[MENTION=1803258]ibu[/MENTION]gman
[Sony Cross-Device General] [NUT]:
LoL :laugh:

So... brightness is fixed and it saves? (Just to make sure :p )

I've shared a link with you to try and fix the sdcard mount issues... or did they resolve themselves as well? :p

Let me know if it works OK or not :)
[Sony Cross-Device General] iBuzman:
Brightness fixed and saves :thumbup:

Trying mount fix now :)
[Sony Cross-Device General] johan8:
I have just installed 2.7.77 beta,

but my XperiaZ is in bootloop, no LED, just reboot after "Sony" appear on the screen,

what should I do beside reflash it ?
[Sony Cross-Device General] -=meinereeiner=-:
Hmmm...,every backup (TWRP) on my fone (Xperia Z) is from 02.01.2009 13:00! :-/

Gesendet von meinem C6603 mit Tapatalk
[Sony Cross-Device General] [NUT]:
take out the sdcard and create a file called 'donotrun' in the xzdualrecovery folder there. If the bootloop is caused by XZDR, this will stop it.

If it did, remove XZDR.prop from the same directory and remove the donotrun file. Try to boot.

Let me know your result :)

Are you sure you have installed the right version to fix it?

And you're sure you are not on a custom kernel recovery?
[Sony Cross-Device General] -=meinereeiner=-:
Yes, I installed the last beta (2.7.77) and I'm on stock kernel.

Gesendet von meinem C6603 mit Tapatalk
[Sony Cross-Device General] [NUT]:
As it seems to happen more and more, on last question: are you sure you are entering xzdualrecovery? (at the double vibration?)

Once in recovery, can you connect the USB to the pc and adb shell to it?

Once in adb shell type this:

date
xzdualrecovery.sh
date

And cut and paste the info to here please.
[Sony Cross-Device General] timberwolf60:
This new version worked for me. Tried Phil recovery to backup then fellow twrp. TWRP file name was on 26/01/2014 where Phil backup date was correctly display and now Phil recovery worked on my 64gb fat32 card. Not big deal to me. Good. Thanks Phil, nut and twrp development team. Z1 was my primary phone and i9506 most time on sleeping. Waiting the release of Z2 and sold my S4 plus. Bye bye Samsung.

Send from my C6903 using TapatalkPro

my device: Sony Z1C6903

Samsung I9506