yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] [NUT]:
[MENTION=4293754]RoberM[/MENTION]

Thanks for the extensive testing so far, including the usefull pointers :)

Regarding the versioning, I will move to v2 with the big changes, all changes regarding bugs get fixed by minor increments, so taking your assumption, v1.41 would actually be possible :D

I'll work on a release kitchen tonight, eliminating release errors all together...
[Sony Cross-Device General] Mitsuya Cider:
Thanks hope to have it working soon! :)
[Sony Cross-Device General] RoberM:
Nice!

[MENTION=5031243]Mitsuya Cider[/MENTION]

Copying busybox is a possible fix only when using "lockeddualrecovery1.6.installer.zip" from windows. Maybe if you post the logs requested in the OP, we can help in your case. Or... just wait, as [Nut] just announced a new release tonight.

Anyway if none of the two recoveries is booting on you, you will need to use the windows installer.
[Sony Cross-Device General] [NUT]:
[MENTION=4293754]RoberM[/MENTION]

It will probably be a rerelease of 1.6, as there is going to be quite some work to be done to build that kitchen to cook up future releases... Dunno if a really new release will happen due to that work...
[Sony Cross-Device General] surdu_petru:
Hi!

Download busybox !

Temporary solution :

> adb push busybox /sdcard1/XZDualRecovery

> adb shell

$ su

# stop

# busybox mount -o remount,rw /system

# cp /sdcard1/XZDualRecovery/busybox /system/xbin

# chown root.shell /system/xbin/busybox

# chmod 0755 /system/xbin/busybox

# ./system/xbin/busybox --install -s /system/xbin

# rm /system/bin/busybox

# ln -s /system/xbin/busybox /system/bin/busybox

# reboot

Now you are able to enter in custom recovery !

Also I can not enter in cwm recovery, but only on twrp ! ( I had the same problem, also with the older versions ! )

Xperia Z C6603 with locked bootloader !

Thanks !
[Sony Cross-Device General] RoberM:
Oh, excuse me, english is not my main language and I didn't understand what this kitchen thing was about and I assumed it was a standard release tonight X'D

Now that I understood it, please, have fun developing it, I will be pleased to test the results when it is ready.

Keep up the good work!
[Sony Cross-Device General] [NUT]:
[DUAL RECOVERY] Version 1.7 released

Change log:

Version 1.7:

Created a kitchen to cook up new releases, hoping it will avoid future release headaches :fingers-crossed:

Moved the reboot from the run.sh to an adb command in install.bat, as it was causing junk to be left behind. ( Thank you for your pointer [MENTION=2335078]surdu_petru[/MENTION] )

Improved busybox detection. ( Thanks for the test work [MENTION=4293754]RoberM[/MENTION] and [MENTION=2335078]surdu_petru[/MENTION] )

Improved SDCard1 detection. ( Thanks for the test work [MENTION=4293754]RoberM[/MENTION] )

Dual Recovery now sets CPU min (1Ghz) and max (1.5Ghz) frequencies on all cores, i hope it helps to speed the recoveries performance up.

All files are now available for download at http://www.fun-industries.nl/xda/
[Sony Cross-Device General] 450Thumper:
Same here. I ran the script, but my tablet locked in reboot. I don't know if I should run a second time or if there is an issue with the busy box. This certainly isn't as easy as it was too root and install a custom Rom on my Galaxy S3 running 4.1.1.

Thanks for all the work guys.
[Sony Cross-Device General] caqo71:
+1
[Sony Cross-Device General] uwillknow:
can't resolve the issue...still can't get into the recovery

anyone else can help?
[Sony Cross-Device General] brosenz:
Does the 10min reboot problem with the Xperia Z Ultra has been resolved?, thanks
[Sony Cross-Device General] jimmyboggust:
Mac install

Anyone got any idea how to install On a Mac??
[Sony Cross-Device General] TracerBullitt:
I'm having an issue where, running the exe for SuperSU, it gets to the "press any key to continue AFTER granting root access" part. No notification or anything shows up on my phone. What do I do now?

EDIT: Um. Nevermind, lol. I guess SuperSU already accepted it somehow and its all good.
[Sony Cross-Device General] [A|iENN]:
Already faced a bootloop issue when i try to flash TWRP 2.4.3.0 touch recovery v2 in to my xperia z running on 10.3.1.A.0.244 i think this is the latest my question is will i face the same bootloop issue again if i try to flash this dual recovery ?

any help will be great
[Sony Cross-Device General] [NUT]:
Bootloops are rare... But I won't be able to guarantee it won't happen...
[Sony Cross-Device General] mervluk:
The latest Windows zip 2.6.3 runs on my rooted Xperia Z running .453 stock firmware with Super Su to completing stage 3 acccording to the Windows terminal window, but upon "Waiting for your device to reboot" I get the Sony screen and then a blank screen which stays indefinitely. USB debugging is on. To reboot I have to fully switch off by using the power and up/down buttons, and it will then reboot normally (not into recovery) but the terminal screen on the PC moves to "server not running" and then closes with "successful install". I can enter neither TWRP or CWM, getting in each case the same blank screen and having to go through the same process to reboot.

I assume I'm just unlucky that it just doesn't work on my phone as I have tried several times, after following the uninstall instructions.

I get all the expected files apparently apart from nothing in cache/recovery (well apart from the two empty folders - recovery and lost+found); the preparation log in tmp ends at starting stage 2; the SD card 1 Recovery log remounts ro... and system ro... then returns to normal boot mode and stops at Stage 2. I seem to get the 2 second red led which I believe indicates an error. In the log after linking various files to busybox, it gets a lot of RET=0 when trying to load so is it a broken /cache which I suppose might also account for the absence of the expected log in that folder? Presumably that means reflashing the firmware, which I've already done once so may be the .ftf file I used is in some way defective? If so as it doesn't seem to affect the day to day functionality of the phone in any other way I'm minded not to bother.

UPDATE questions:

1. Do I have to flash this using Flashtool? C6603_10.1.A.1.434_Generic NL - Cache Only.zip. Will that bring recovery back or do I have to reinstall XZ Dual Recovery too (and remove first)? (Sadly PC is currently refusing to open flashtool citing a java error!)

2. Am I right that a broken cache partition doesn't affect anything other than the inability to use recovery, and is irrelevant to the day to day operation of apps (installing/deleting .apk files) on the phone?

3. Is it right that it doesn't prevent reflashing through Flashtool or SUS if the worst should happen - and they will cure it anyway?

4. Would the OTA upgrade on offer to .244 cure it - also I surmise it rewrites system files so would loose root, Vodoo OTA Rootkeeper notwithstanding, or would otherwise keep the problem too?
[Sony Cross-Device General] Aresmar:
Hi [MENTION=4904057][NUT][/MENTION] :)

There was a problem with recoveries for Xperia Z that you shouldnt delete cache which could destroy Cache partition and make it unusable. Is this still true? If not since when it is fixed?
[Sony Cross-Device General] GoldenRazz:
Does this recovery work on latest .244 firmware?
[Sony Cross-Device General] [NUT]:
1: it will only be useful if your cache partition is unreadable: if you can see the folders called recovery and lost+found there, there really is no reason to flash/wipe the cache partition.

2: You are correct sir, recovery will actually still work, it won't be able to log it's actions.

3: Again, you are correct, but the cache partition is actually used by the play store app and the sony OTA apps to store it's downloads during installation and updates.

4: OTA updates are usually not going to get rid of the root access, it can happen, but it usually is a kind of zip archive which only overwrites the system files it needs to replace, then starts a script/program to update the partitions on the phone which need to get updated (FOTA, baseband, kernel etc).

I'm not 100% positive it has been fixed: it's less frequent on the XZ, but it still happens on the TabZ.

Yes sir, it does.
[Sony Cross-Device General] denbagus:
I'm using Xperia ZL and xperimental doomkernel.

After install XZDualRecovery, my Xperia ZL will not turn on.

Each time i turn on it, always stops on the battery logo.

After that, device turn off.

This is happen every time i turn it on.

Is there any solution. Please help me. And sorry for my bad english.

Thank you.
[Sony Cross-Device General] [NUT]:
Can you please try attempt to restore a backup of just the system partition and to flash back a stock kernel before installing XZDualRecovery?
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] 2.7.1 BETA released!

BETA Change log:

BETA releases will only appear on http://www.fun-industries.nl/xda/ and as soon as enough people report it to be working fine will it move in to the OP as a RELEASE version.

Version 2.7.1:

Updated TWRP to 2.6.1.0.

Updated CWM to 6.0.3.7 (Advanced 5, by [MENTION=4666971]Phil3759[/MENTION]).

Attemtped to fix the ADB sideload functionality for the XZ. It now works ok on Linux systems, Windows needs a little more work.

[EDIT]

Windows users who want to be using the ADB Sideload and/or want to use adb to push/pull/shell, download the Universial Adb Driver package by [MENTION=617884]Koush[/MENTION], patched for use with the XZ (RECOVERY ONLY!) by me. Link to the original package. Let me know if it works for you!

[EDIT2]

Guide to install the driver
[Sony Cross-Device General] shoey63:
Right! Time for some serious testing - as soon as I get home from the pub :p
[Sony Cross-Device General] [NUT]:
The pub will be there later, testing won't :p

:silly:
[Sony Cross-Device General] [NUT]:
Oh yes... for those who are superstitious and wondering if they should try this release: it was built and initially tested on 12 sept... it's safe to use for you :silly:
[Sony Cross-Device General] [NUT]:
The adb driver package has been updated, i made a booboo and did not have the chance to test it myself yet... i did now and i can say it works for me.

For the people who downloaded that package, please redownload it and try again. the original package will not make your pc recognize your phone.
[Sony Cross-Device General] shoey63:
So where do the cat and dll files go on Windows 7 x64? System 32?
[Sony Cross-Device General] sebarkh:
If you need a remote access to my Z3TC sgp612, just PM me.

Wysłane z mojego Xperia Z3 Tablet Compact Wifi przy użyciu Tapatalka
[Sony Cross-Device General] ernieg92:
Yeah, I read that. But I couldn't find a way to root my device without questionable rooting applications or a bunch of downgrading/root exploiting/upgrading processes. It was just easier to unlock the bootloader so I could install a current pre-rooted ROM.

I guess I didn't realize that all 3 were loaded in the install. I thought I was only getting PhilZ. However, NDR Utils doesn't work (complains about 'Unable to read XZDR.prop' and claims XZDR is not present).

Yeah, read that too. But I don't get a flashing green LED. I tried different combos (holding volume rocker up or down whilst powering on, holding volume after quick white LED flash, etc.) and can only 'accidentally' get into recovery.

Completely agree. I did read the first post--several times, actually--but install didn't go as instructions said (did not reboot into recovery) and I misunderstood a couple of things.

But now I wonder if I should start over (reinstall XZDR), since NDR Utils doesn't work and I can rarely get into recovery when I want. Though I don't expect to need it much.
[Sony Cross-Device General] McBane87:
Yes there is definitely something wrong with your XZDR installation. Please install XZDR again.
[Sony Cross-Device General] ernieg92:
Do I need to follow the Uninstall instructions? Or since there's a problem with the installation just run the installer again?

The first time I did option 3 (Attempt installation on an unrooted device) but since I'm now rooted I can use option 1 (Installation on device rooted with SuperSU), right?

Thanks so much for your help.
[Sony Cross-Device General] ernieg92:
So I simply ran the installer again and it said it was successful (though there were a couple of errors). Still can't use NDR Utils (missing XZDR.prop), but Titanium Backup has twice booted into TWRP. So, at the moment, it appears I can boot into a recovery. A little frustrating about the NDR Utils thing (I actually can't even uninstall it as that option is missing from the Play Store), but at least TB is able to reboot to recovery.

I noticed that 'system/bin/charge' and '/system/bin/ric' are missing (files listed as part of installation in OP). However, I did not find those files in the XZDR ZIP file either, so I don't know if that is my problem.

Here are the errors:

##########################################################
#
# Installing XZDR version 2.8.21 RELEASE
#
#####

Temporarily disabling the RIC service, remount rootfs and /system writable to allow installation.
The byeselinux module does not yet exist, installing it now.
Module installed succesfully.
Copy recovery files to system.
Rename stock chargemon
Copy chargemon script to system.
Copy dualrecovery.sh to system.
Copy rickiller.sh to system.
Installing NDRUtils to system.
Creating /system/.XZDualRecovery to store a backup copy of busybox and the init.rc files.
Copy busybox to system.
Copy init's *.rc files in to /system/.XZDualRecovery.
Trying to find and update the gpio-keys event node.
Found and will be using /dev/input/event5!
Trying to find and update the power key event node.
Found and will be monitoring /dev/input/event0!
grep: /storage/sdcard1/XZDualRecovery/XZDR.prop: No such file or directory
grep: /storage/sdcard1/XZDualRecovery/XZDR.prop: No such file or directory
XZDualRecovery will unload byeselinux every boot.
Speeding up backups.
mkdir: can't create directory '/sdcard/clockworkmod/': Permission denied
touch: /sdcard/clockworkmod/.hidenandroidprogress: Permission denied
Make sure firstboot goes to recovery.

=============================================
DEVICE WILL NOW TRY A DATA SAFE REBOOT!
=============================================

Device did boot into TWRP post-installation and after booting to system I did get the "Android is updating" window pop-up. Any ideas how to fix the XZDR.prop and/or NDR Utils issue?
[Sony Cross-Device General] McBane87:
Looks like you have installed xzdr now at least partially. Can you look into your external sdcard? Is there a folder called XZDualRecovery and inside it a file called XZDR.prop? And if not can you post the output of "mount" from a terminal?
[Sony Cross-Device General] [NUT]:
Thanks for the log, even though you can ignore the errors, can you adb shell in to your device and perform the following commands:

ls -la $EXTERNAL_STORAGE/
ls -la $SECONDARY_STORAGE/

The first one should show the contents on your internal storage (sdcard0);

The second one should show the contents on your external storage (sdcard1).

The reason why NDR Utils can't operate is probably because it's unable to create a folder on the storage location being used.

adb pull /system/etc/permissions/platform.xml

open with anything better then notepad, like ultraedit, textpad or notepad++.

Then look for this line:

<permission name="android.permission.WRITE_EXTERNAL_STORAGE">

and check if the list contained within that and the "</permission>" lists

<group gid="media_rw"/>

If it doesn't, add it. if it does, then check for the next line:

<permission name="android.permission.WRITE_MEDIA_STORAGE">

and see if the name used in that list is different from "media_rw". If it is, change the name in the WRITE_EXTERNAL_STORAGE list to match it. Save and push it back, this time with a slight difference (straight pushing won't work as you will need root for that):

adb push platform.xml /sdcard/
adb shell
su
cd /sdcard/
cp platform.xml /system/etc/permissions/
chmod 644 /system/etc/permissions/platform.xml

Now reboot your device and see if NDR Utils kicks back to life.

After the reboot, check (with root explorer or es file explorer in root mode) if /cache/XZDualRecovery OR /sdcard1/XZDualRecovery exist.
[Sony Cross-Device General] [NUT]:
The first Z2 5.1.1 ROM's have arrived, working on fixing the XZDR Kernel now.

Will keep you peeps updated.
[Sony Cross-Device General] :No-Frost::
I'm having the same issue... I do have the permission set properly but I don't see the xzdualrecovery folder in cache or external SD.
[Sony Cross-Device General] [NUT]:
I'm still missing quite a bit of info on this reply ... please re-read and supply all the info I requested.
[Sony Cross-Device General] Jackos:
Would you mind including the option to backup other partitions in TWRP by default for the new release?

Thanks in advance.
[Sony Cross-Device General] [NUT]:
No, because fixing the kernel builder won't require a new release...

But IF I and McBane87 feel one last release is needed, we might, but nothing is guaranteed.
[Sony Cross-Device General] Jackos:
Seems reasonable, thanks :)
[Sony Cross-Device General] :No-Frost::
Sorry, I'm from the phone and a bit busy. I will get on my computer in some minutes and then I will be able to help more.
[Sony Cross-Device General] :No-Frost::
Here's my info:

shell@D6653:/ $ ls -la $EXTERNAL_STORAGE/
ls -la $EXTERNAL_STORAGE/
drwxrwx--- root sdcard_r 2015-07-27 20:50 .DataStorage
drwxrwx--- root sdcard_r 2015-07-27 20:50 .HhTjqSRo6dybqDAV2ImUSREmnZU=
drwxrwx--- root sdcard_r 2015-07-23 11:46 .SystemConfig
drwxrwx--- root sdcard_r 2015-07-23 11:44 .UTSystemConfig
drwxrwx--- root sdcard_r 2015-07-24 04:21 .com.taobao.dp
-rw-rw---- root sdcard_r 7 2015-06-18 12:36 .enref
drwxrwx--- root sdcard_r 2015-07-23 11:46 .facebook_cache
drwxrwx--- root sdcard_r 2015-07-23 11:46 .here-maps
drwxrwx--- root sdcard_r 2015-07-27 20:50 .i_MINCDVkCygvuVmygV636Lb94I=
-rw-rw---- root sdcard_r 36 2015-05-28 23:45 .profig.os
drwxrwx--x root sdcard_r 2015-07-23 08:59 Android
-rw-rw---- root sdcard_r 159 2014-08-01 03:39 CDAInfo.txt
drwxrwx--- root sdcard_r 2015-07-27 13:38 DCIM
drwxrwx--- root sdcard_r 2015-07-27 11:24 DeviceConfig
drwxrwx--- root sdcard_r 2015-07-23 11:55 Digest
drwxrwx--- root sdcard_r 2015-07-26 23:32 Download
drwxrwx--- root sdcard_r 2015-07-23 09:03 Memes
drwxrwx--- root sdcard_r 2015-07-23 11:55 Notifications
drwxrwx--- root sdcard_r 2015-07-23 11:56 PagoClick
drwxrwx--- root sdcard_r 2015-07-23 11:56 Ringtones
drwxrwx--- root sdcard_r 2015-07-23 11:56 Upvise
drwxrwx--- root sdcard_r 2015-07-23 11:56 Wallpapers
drwxrwx--- root sdcard_r 2015-07-27 08:38 WhatsApp
drwxrwx--- root sdcard_r 2015-07-23 11:55 baidu
drwxrwx--- root sdcard_r 2015-07-23 11:55 blackmart
-rw-rw---- root sdcard_r 144 2015-07-27 22:47 customized-capability.xml
drwxrwx--- root sdcard_r 2015-07-23 11:55 data
-rw-rw---- root sdcard_r 1258 2015-07-27 22:47 default-capability.xml
drwxrwx--- root sdcard_r 2015-07-23 09:02 downloads
-rw-rw---- root sdcard_r 29091 2015-07-21 18:32 li_scaled_profile_picture
drwxrwx--- root sdcard_r 2015-07-23 09:02 media
drwxrwx--- root sdcard_r 2015-07-23 09:03 taobao
drwxrwx--- root sdcard_r 2015-07-23 11:56 vervewireless
drwxrwx--- root sdcard_r 2015-07-27 14:48 waze

shell@D6653:/ $ ls -la $SECONDARY_STORAGE/
ls -la $SECONDARY_STORAGE/
drwxrwx--- root sdcard_r 2015-07-27 00:36 .HhTjqSRo6dybqDAV2ImUSREmnZU=
lstat '/storage/sdcard1//.android_secure' failed: Permission denied
drwxrwx--- root sdcard_r 2015-07-27 00:36 .i_MINCDVkCygvuVmygV636Lb94I=
drwxrwx--x root sdcard_r 2015-06-12 18:44 Android
drwxrwx--- root sdcard_r 2015-07-22 22:50 Android Z3
drwxrwx--- root sdcard_r 2015-07-22 22:16 DCIM
drwxrwx--- root sdcard_r 2015-07-22 22:16 Download
drwxrwx--- root sdcard_r 2015-07-27 00:47 LOST.DIR
-rwxrwx--- root sdcard_r 144 2015-07-27 00:37 customized-capability.xml
drwxrwx--- root sdcard_r 2015-07-11 14:16 data
-rwxrwx--- root sdcard_r 1257 2015-07-27 00:37 default-capability.xml

Output from platform.xml

<permission name="android.permission.WRITE_EXTERNAL_STORAGE">
<group gid="sdcard_r"/>
<group gid="sdcard_rw"/>
<group gid="media_rw"/>
</permission>

and

<permission name="android.permission.WRITE_MEDIA_STORAGE">
<group gid="media_rw"/>
</permission>

The following folders/files /cache/XZDualRecovery OR /sdcard1/XZDualRecovery doesn't exist
[Sony Cross-Device General] [NUT]:
[MENTION=2003902]:No-Frost:[/MENTION]

Thank you, what ROM/Device is this from? The Z3?

[MENTION=4602603]ernieg92[/MENTION]

Your root'ed commands are lacking a /, which makes them behave differently, because one of them is a symlink... something weird I know, but can you try them again with the slash at the end of the command?

It's odd though, there should be no reason why NDR Utils fails...

Can you both update it to the latest available on Play (not sure if it differs!)?

[MENTION=5321428]AngelBob[/MENTION] are you able to comment on this?
[Sony Cross-Device General] [NUT]:
To all the XZDR Kernel users out there reading this:

If you have any kind of root on your ROM (semi-root is no problem!), please flash the -unmodified- stock kernel, then install the LB XZDR for your device boot it to system and (if it boots successfully) then flash back the XZDR Kernel.

I have found the most likely cause for the kernel to fail and I need you people to confirm my find.

Once you did the above, you can then observe the device showing around 6 seconds green LED and TWICE the dual vibration.

You can now use the XZDR Removaltool to remove the LB XZDR (note: this also removes NDRUtils!) and the kernel recoveries should still be working after that.

Please test and confirm, that way I will know I'm on the right path to fix this issue.
[Sony Cross-Device General] McBane87:
[MENTION=2003902]No-Frost[/MENTION] and [MENTION=4602603]ernieg92[/MENTION]:

I'm not really sure what problem is causing this issue, but maybe it has something to do with a messed up root permission. Maybe because of experimenting with kingroot before or something else I don't know.

So I would suggest to get yourself a PreRoot (PRF) ROM includung including SuperSu and XZDR. Then just flash this Rom and don't wipe anything. This way you should get a clean System-Partition without loosing most of your data. Everything else which was flashed to System-Partiton like Xposed has to be reinstalled after that....
[Sony Cross-Device General] :No-Frost::
I'm using the following rom:

D6653_23.4.A.0.546_Customized_AU_SuperSu_XZDR2.8.21.zip

I've never used king root. I've rooted the device manually from KitKat and I've been using a stock rom pre-rooted.

If I use the windows installer, the NDR utils are installed properly but the it seems like the folder is deleted.

Can't figure it out why.
[Sony Cross-Device General] MonsterMMORPG:
can i add this file to prfcreator when composing new 5.1.1 android rom ?

Z2-lockeddualrecovery2.8.21-RELEASE.flashable.zip
[Sony Cross-Device General] [NUT]:
Can you give it a shot with a package of your own?

You can use XperiFirm or FlashTool to download a ROM and pack it up to become an FTF, then use PRFCreator to repackage it together with SuperSU and the latest XZDR.

I just gave you all the links to save you some searching, please take the time to do it.
[Sony Cross-Device General] [NUT]:
yes.
[Sony Cross-Device General] aazamsajid:
Lost origtional recovery after installing cm 12.1

plz help me how i revert back my origional recoery option as i have cynogen recovery now.​
[Sony Cross-Device General] [NUT]:
First of all, please remove the OP quote, which is completely unnecessary in your post.

Second, if you have cyanogen recovery, then you must be running CM as ROM.

If so, visit http://nut.xperia-files.com/?a=xzdr and grab the boot.img from your CM package which you installed.

Upload it to the kernel builder and flash the returned boot.img using fastboot to replace the cyanogen recovery.