yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] [NUT]:
XZDualRecovery 2.8.23-RELEASE released!

RELEASE Change log:

Version 2.8.23:

Fixed a bug in the byeselinux script found by me after a (long overdue!) bug report by [MENTION=4688377]russel5[/MENTION], thanks dude! :highfive:

First combined release, the single zip solution: READ_ME_FIRST.txt content:

RELEASE AND INSTALLATION NOTE:

This XZDualRecovery zip is the first combined package to be released.

This means you have downloaded the correct package to include in a pre-rooted
flashable package AND you have the correct package for installing using Windows
or Linux.

RECOVERY FLASHING:

To flash it, just put the zip on your sdcard or internal storage and flash
it in recovery.

INSTALLING FROM PC/MAC:

To install it without recovery, make sure you unpacked the entire zip and install
by starting install.bat for Windows or install.sh in Linux or MacOS X.

If you have any issues with this package, please report it in the DevDB thread on
XDA: [url]http://xdaforums.com/showthread.php?t=2261606[/url]

Signing off,

[NUT]

[url]http://nut.xperia-files.com[/url]

Fixed multiple typo's and silly mistakes due to the change to the combined package (twice over!). Thanks again [MENTION=4688377]russel5[/MENTION] :)

Flashable function only: Moved backupstockbinaries.sh to tmp/ so that the zip looks a bit more clean -or less confusing for the noobies- when unpacking.

Changed the way the installer fail/success detection is done. This is hopefully the best possible way and not needed to change ever again. :silly:

The unrooted option is written with a simple pointer towards what version it is supposed to work on, so: DO NOT TRY IT ON

5.1

AND REPORT IT FAILING TO INSTALL HERE!! :mad:

Windows installer menu only: new option, "5. Open an ADB shell", to make it easy to start a ADB shell for the people who don't know how, or just for those who find it convenient, of course ;)

Hopefully desensitized the code for the unrooted install. Still remember it might require up to 4 attempts to work. It's the nature of the exploit.

Updated the installer to not even attempt an unrooted installation if the Android version is not supported by the rootkit used.

Made a booboo in the batch file, fixed it.

Nothing has changed since the last RC. No error reports for some weeks means no errors to fix. This is the final 2.8.X release folks, the next one (whenever that will happen) will be a BETA in the 2.9 release chain.

EDIT:

The kernel builder needs some debugging for use on custom ROM's like PAC, CyanogenMod and AOSP, for Lollipop 5.1.1 and Marshmallow 6.0.X. I will try to fix that first before moving on to 2.9 development.
[Sony Cross-Device General] spam.anonym:
sry, i was bit busy.

i dont realy know the differences of the Kernels.

i had stock-kernel, kernel from RockZ1 and this one http://xdaforums.com/xperia-z1/deve...-5-0-242-270-283-t3179101/page17#post64368623.

i dont know how ive done exactly but after i reinstalled with EMMA and installed then RockZ1 ROM with the Advanced-Kernel from link all seems to be normal again ^^

now im running a MultiROM-sollution.

could you maybe do a DualRecovery-Package with integration of MultiROM in new TWRP?
[Sony Cross-Device General] rajverma3135:
Hello everyone

I had latest recovery but after flashing custom rom recovery deleted and now getting an error (unable to read XZDR.prop, please see in attached screenshot.

Any idea what it can be.

Thanks
[Sony Cross-Device General] :
The custom rom has replaced the recovery with its own. You need to reflash XZDR again.
[Sony Cross-Device General] rajverma3135:
Hello there

Tried reflashing recovery all ok but when phone rebooted still showing same problem, anyway can install with any other way. Is it has anything to do with SD card as I have 128gb SD card.

Thanks
[Sony Cross-Device General] :
Did you try:

Enter custom recovery

Flash XZDR

Reboot to recovery

Flash again

If it still doesn't work then we'll have to wait for the OP to come in.
[Sony Cross-Device General] rajverma3135:
I got recovery zip on internal SD card when trying to go into recovery via NDR utls app as it's not showing any primary recovery so when I am clicking boot into recovery it just restarts and I can't even flash XZDR. Is there any other way to go into custom recovering than using NDR utls app(with volume up/down buttons)??
[Sony Cross-Device General] :
Then I'm not sure how to do that, wait till the nut comes back. For reference, what Xperia are you using?
[Sony Cross-Device General] jazzfrequency:
If you are sure that phone is rooted.

1) first you have to connect computer with Xperia via usb cable and adb drivers installed then goto settings ≥ developer tools, enable usb debugging, open cmd window from your computer and type "adb reboot recovery" without quotes..

2) most quick and easy way...download terminal apk from market install it then open it and type.."adb reboot recovery" without quotes..
[Sony Cross-Device General] rajverma3135:
Xperia Z3
[Sony Cross-Device General] Pandemic:
Why is the prop still says 2.8.21 after flashing 2.8.23

Bro [MENTION=4904057][NUT][/MENTION] is that normal ?

“Sent From MWE V8.0.0 On My Z3”
[Sony Cross-Device General] [NUT]:
It's not normal but it could mean the flashable package was not able to update the XZDR.prop (for whatever reason)... but if you look at /system/.XZDualRecovery and spot the bin and xbin folders there, you will know for sure it's .23.
[Sony Cross-Device General] [NUT]:
Actually, yes. wait for the green LED and dual vibration.

Once there you should be able to choose volume -UP for Philz Touch (CWM) and -DOWN for TWRP.

if that aint working, remove the XZDR.prop from the XZDualRecovery folder (check /cache and /sdcard1 for them), then reboot.

If it's still not working at all, remove any XZDualRecovery folder you might be able to find in cache or sdcard1 and reboot. If it's not created again after the reboot, XZDR is not installed AT ALL.
[Sony Cross-Device General] rajverma3135:
I deleted XZDR.prop and manual rebooted into philz recovery with volume button, it worked then flashed ur XZDR recovery but still same error showing in dual recovery app, but I am not fuss as long as working manually I am happy.

Thank you for helping.

Cheers ?
[Sony Cross-Device General] evildog1:
now this dualrecovery is combined with the unwanted files. can i still create a pre-rooted firmware with this dualrecovery?
[Sony Cross-Device General] sling-shot:
Yes, you can. I just successfully did it for my ZR.

It is actually far better. No need to worry if it is the right version.
[Sony Cross-Device General] evildog1:
ok. thanks very much
[Sony Cross-Device General] Riccorbypro:
Site Broken

The Download function on the website doesn't work... You get to the popup with the QR code and the Click HERE to download button, but after clicking the button, it takes you to an empty page, like in the screenshot attached...
[Sony Cross-Device General] vollachr:
Download problem & Unable to mount system on 2.8.21

True, happens to me as well, I was trying to get the latest version to update dual recovery on my Xperia Z since I started get unable to mount system message on 2.8.21 from some reason and I can't download because of this issue.

Strange thing is, that before 2.8.21 I never had the problem with unable to mount system.

Also, not possible to manually mount system, the box won't tick, that is unless I tick the mount system in read only mode, that way it works, so I am at least able to perform a backup but read-only mode won't help with flashing.
[Sony Cross-Device General] [NUT]:
The server ran out of disk space... Sorry guys :o

Fixed that by removing older files which where no longer used.
[Sony Cross-Device General] Riccorbypro:
No harm done ;)

Quick Question: Why doesn't AROMA installer work on the T2U version of XZDR 2.8.21? I'm using TWRP and whenever I try to install an AROMA-enabled zip, it gets to "Starting AROMA" or something like that and then reboots. Normal zips work fine, though.
[Sony Cross-Device General] [NUT]:
That's aroma related. It seems that aroma binary is built for a different platform/board generation. Ask the developer of the zip why it failed... If It's not platform related, I have no clue...
[Sony Cross-Device General] Riccorbypro:
OK Thanks.
[Sony Cross-Device General] skyhirules:
Hi.

I have a few technical questions. As you mention in the first post, the DualRecovery now uses itd own Busybox in the /system/.XZDualRecovery/xbin folder. :

1. Which version is the busybox? Is there a way to check it? I've tried several root-busybox checker apps, but they only confirm the presence of busybox, not its version, though they're supposed to. I think it may have to do with the fact that it's not installed in the default folder (system/xbin).

2. Is it recognised by the system? I mean, can it be used by other Busybox depended apps? I had a 1.24.1 version of busybox installed in the default folder (system/xbin) and unistalled it. An app that needed it (Device Control) is still working without a problem. So does it find the busy box in the .XZDualRecovery folder or is there anything left from the other busybox install?

Maybe it'd be a good idea to install it in the default folder when the XZDualRecovery is installed.

3. In the NDR Utils, in the "Choose Primary Recovery" menu, there's still the ClockWorkMod option, though you mention in the manual in your site that "Vanilla CWM has been removed from the releases since 2.8.22, if you still use 2.8.21 or older, CWM can only be entered using the NDR Utils app." So is it still there? I haven't tried booting in it to avoid any unpleasant results! :P

Thanks in advance for the response. Have a happy new year!
[Sony Cross-Device General] [NUT]:
Happy new year folks! :D

I'll try to answer outstanding questions coming week.
[Sony Cross-Device General] [NUT]:
1: I can't remember the exact version, but if you type './busybox' inside the xbin folder using Android Terminal, it will tell you which version it is. It's one of the latest releases, patched to include DNS resolver and properly working TCP/IP networking tools.

2: Depends on the apps, but they won't find it on the default locations, no. It's something I will try to change with the next release, if a serious bug is found in 2.8.23 which prompts me to fix it...

3: In 2.8.23 it is not there any more, your device will simply reboot OR boot to philz (I can't remember what I chose it to do in that case :eek: )
[Sony Cross-Device General] skyhirules:
But why don't you simply remove the option from NDR Utils?
[Sony Cross-Device General] [NUT]:
Because [MENTION=5321428]AngelBob[/MENTION] lost the source to it :cowboy:

We'll have to make do with this as it is...
[Sony Cross-Device General] shoey63:
The NDR Utils app was developed by [MENTION=5321428]AngelBob[/MENTION]. He is currently inactive on xda due to family commitments.
[Sony Cross-Device General] skyhirules:
How about adding the option in the installation process to install only one of the two recoveries? That would be nice!
[Sony Cross-Device General] [NUT]:
Already on the features list for 2.9.
[Sony Cross-Device General] androbie:
[MENTION=410007]Nut[/MENTION] please add xperia c4,this phone already can be rooted
[Sony Cross-Device General] Wolfbreak:
Good that we have Developers like you on Sony Dev Section. I sent you a PM regarding Recovery, if you have Time please take a look at it.

Regards

Wolfbreak
[Sony Cross-Device General] mahesvr:
Can I use this recovery in Sony e3
[Sony Cross-Device General] aidy.lucas:
No won't work on e3
[Sony Cross-Device General] alexisonfire0529:
Hi. Im new here. How can i install twrp on my xperia z1 homani running 5.1.1? Flashify failed me. Please please. Thanks.
[Sony Cross-Device General] hrsh45:
thanks for making this recovery,

but i couldn't install it after rooting with kingroot and installed busybox (as shown in image attached, permission denied)

i'd tried XZRecovery 4.0 apk before NUT's but that didn't work either.

thx for any further help in advance
[Sony Cross-Device General] anakdayak:
Hi im on z1 with recovery 2.8.21.Just a question may i flash 2.8.23 ontop of 2.8.21 or do i need to instal the remover and the flash the 2.8.23?
[Sony Cross-Device General] [NUT]:
Doesn't really matter, but flashing the cleanup will just sanitise the system partition.
[Sony Cross-Device General] [NUT]:
No, not with the installer. You need to downgrade to 5.0 for the installer to work.

Replace kingroot with SuperSU and it will work fine.

Kingroot is buggy and does not earn my trust to include support for it in the installer.
[Sony Cross-Device General] RyTekk:
Can you make a TWRP recovery image without lzma for new bootloader? Myself5 has created one but it contants some multi ROM option that I don't like them.
[Sony Cross-Device General] [NUT]:
I could (and you too, I'm sure, simply by unpacking it by using 7zip or unlzma on linux), but my recovery images do not contain a recovery kernel as they are meant to work on the regular system kernel...
[Sony Cross-Device General] RyTekk:
I have no experience in recovery building or repackaging. Can you unlzma recovery image on twrp.me or you write a guide to do that?
[Sony Cross-Device General] [NUT]:
Sorry man, I have less time to spend on this project then I would like... I hate to turn you down, but I can't (and that's pure down to time constraints, I would and could do it, just not now or in the near future...).
[Sony Cross-Device General] RyTekk:
I understand, you contributed for xda and for us so much, thank you anyway, I'll research by myself in time for waiting you.
[Sony Cross-Device General] zetlorf:
I installed Vanir latest 5.1.1 ROM for my Sony Z Ultra => XZDualRecovery disappeared, cyanogen recovery installed. I tried to restore XZDR with KernelBuilder (i tried with 3 variants: Custom Kernel, CM12.1 & RECOVERY) => XZDR installed just fine, but then the ROM (latest Vanir 5.1.1) not booted anymore: on every restart i get boot to TWRP recovery, not to rom. Can you help, so i can remain with my ROM & XZDRecovery at the same time? Thanks.
[Sony Cross-Device General] [NUT]:
With the re-enabled recovery partition on Sony devices things got more difficult unfortunately. Kernel Builder needs a fix for that and to apply it I will need some time to work on it... which is something I am lacking at the moment... sorry man :(

Maybe you can ask Vanir to repack his kernel with something else then the default CM recovery.
[Sony Cross-Device General] RyTekk:
Will kernel builder enable init.d support? If doesn't, can you add it?
[Sony Cross-Device General] [NUT]:
It does, but it might run too early. It was one of the things on my list to check and fix on the kernel version. You will need to enable the init.d execution in the XZDR.prop file though.

Give it a try. You can also use the busybox 'sleep' applet to delay execution of your init.d script for a few seconds. init.d will execute in parallel with the rest of the system but will fire on alphanumerical order, the order is a-z -> A-Z -> 0-9. So a00something.sh will fire before a01somethingelse.sh and WAAAAAAY before Z99somethingcompletelydifferent.sh.

Start the script with this:

#!/sbin/busybox sh
/sbin/busybox sleep 3

(insert whatever you want to do next)

Increase the sleep count by one second for each time it might fail to execute to find the sweet spot.
[Sony Cross-Device General] RyTekk:
So you mean scripts won't execute if I don't delay it? I flashed kernel which was built by your tool, flash img file via fastboot, XZDR.prop was available (initd=true) before with version is set 2.8.23 instead of 2.8.21 (same as version which is inside kernel), but the init.d script didn't run.
[Sony Cross-Device General] [NUT]:
Hmm... I'll have a go at it once I have some time to fiddle with it...
[Sony Cross-Device General] RyTekk:
I were telling about CM12.1 kernel, latest build 20160119. I think the issue maybe different between stock and cm so I've gave you the information, all of my init.d scripts run well on stock sony LB with your XZDR LB.
[Sony Cross-Device General] [NUT]:
XZDualRecovery 2.8.24-RELEASE released!

RELEASE Change log:

http://nut.xperia-files.com/html/xzdualrecovery-change-log.html

[edit]

Because of some security updates to the OS, the downloads server will be offline for a few minutes. If you run in to a brick wall while trying to visit my page, wait 10-15 minutes before you try again. Then check back on this thread, it might be that I already posted a reason why it broke and how long it takes to fix it...

If the above didn't help, report the broken website here.
[Sony Cross-Device General] lonelywolf90:
Xperia Z C6603 XZDR Failure

Hello everyone, I have tried to install XZDR several times already and it still failed.

When it failed, I thought it was the problem with my software and so I flashed C6603 5.1.1 10.7.A.0.222 to my XZ.

Now I'm on .222, I tried to install XZDR again but it failed.

What should I do now?

Kindly refer to the attached, it shows the error I faced during XZDR installation.

EDIT : Was it because I'm missing some sort of installation for Windows? I'm using Windows 8.1 by the way.
[Sony Cross-Device General] yoh_anim:
Are you sure you already have rooted your system and are using SuperSU ?

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Sony Cross-Device General] [NUT]:
Do not start the install.bat from the zip, unpack first, then install.

(cannot stat is a dead giveaway for these issues)
[Sony Cross-Device General] lonelywolf90:
The trouble is, I already unpacked.

I extracted it to another folder, then ran the install.bat as administrator.

But it gave that error.

EDIT : I have also disabled any antivirus or any real-time protections.
[Sony Cross-Device General] [NUT]:
Well... then try installing from a different PC (and don't use administrator rights to install, that should actually never be required to install anything on your phone!!)
[Sony Cross-Device General] Nazo:
Are you sure? I've needed administrative rights for adb to start/stop its server at the very minimum.

BTW, thanks for fixing the brightness thing in TWRP. I haven't put on this latest one just yet, but the previous one is working beautifully on my Z3c.
[Sony Cross-Device General] lonelywolf90:
OMG, it is really the issue of my Windows 8.1

I tried it on Windows 7, it worked flawlessly.

Thanks [NUT]!! :)
[Sony Cross-Device General] [NUT]:
No, I'm very sure, I never use administrator level users for these things... just make sure there isn't adb adb server already running started by administrator or yourself as one.
[Sony Cross-Device General] eagle25884:
Moin [NUT]

Installed .24 over existing .23 with no Problems at all. (as usual). Thanks again for your outstanding work.
[Sony Cross-Device General] coolboy744:
I have 1 question .24 working on Xperia z1 lollipop 5.1.1?
[Sony Cross-Device General] [NUT]:
It will work, but it is NOT able to install on an UNROOTED 5.1.1.
[Sony Cross-Device General] Rootk1t:
[MENTION=4904057][NUT][/MENTION]

Do we need to flash XZDR-removaltool.zip before updating to 2.8.24 (from 2.8.23) or it is unnecessary?
[Sony Cross-Device General] vinaybecool:
Plzzz give me recovery for xperia c3 d2502 lollipop 5.1.1.. Need working recovery.... Plzzzz really needs....i have rooted my phone
[Sony Cross-Device General] [NUT]:
No, flashing the update should be enough.

Plzzz give me a good monthly salary and loads of time to work on xzdualrecovery, Plzzzz really needz it!!1!

:silly:
[Sony Cross-Device General] vinaybecool:
:thumbup::confused::confused::o:beer::eek:
[Sony Cross-Device General] Pandemic:
Great job bro [MENTION=4904057][NUT][/MENTION]

Flashed 2.8.24 over .23 but one suggestion, can you change also the number next time in XZDR.prop or gonna we get have some issues with that ?

“Sent From MWE V8.0.0 On My Z3”
[Sony Cross-Device General] [NUT]:
Actually, it should already do so...
[Sony Cross-Device General] Pandemic:
Nope still shows 2.8.21
[Sony Cross-Device General] vinaybecool:
:(:(:(:(:( help me out brothers
[Sony Cross-Device General] Ticklefish:
It shows 2.8.24 for me..

I downloaded v24 yesterday, around 1700 GMT, if that helps.

With...?

If you're referring to the custom recovery, I think the OP's reply kinda covered the main issue quite nicely..
[Sony Cross-Device General] vinaybecool:
Need custom recovery for d2502... Lollipop
[Sony Cross-Device General] shoey63:
You've got one. http://xdaforums.com/showthread.php?p=64454743

Unlock your bootloader and flash it.
[Sony Cross-Device General] vinaybecool:
I have installed this recovery but this recovery automatically go in twrrp still not in system
[Sony Cross-Device General] [NUT]:
Well, report that bug there and ask help to fix it...
[Sony Cross-Device General] coolboy744:
Thanks NUT successfully installed .24 very nice work. Viper Atmos also installed on 5.1 stock z1 rom. Working fine.
[Sony Cross-Device General] vinaybecool:
Thank you for help sir
[Sony Cross-Device General] shoey63:
That means you have flashed the recovery to the boot partition.

Flash stock kernel and try again. This time do

fastboot flash recovery recovery.img

(Not fastboot flash boot....)
[Sony Cross-Device General] vinaybecool:
Failed.. Partition doesn't exist.. What means
[Sony Cross-Device General] Pandemic:
Bro [MENTION=4904057][NUT][/MENTION]

I installed 2.8.24 with the program .bat and all works fine and number is changed into 2.8.24 ;)

“Sent From MWE V8.0.0 On My Z3”
[Sony Cross-Device General] lionheart82:
basic recovery unflashable

hey guys i recently installed 511 cm rom on my zr and i have some crappy recovery that has no backup options and is neither cwm nor twrp. i tried flashing many recoveries, separately as well as this combined one but i get every time signature unverified response. and even when id allegedly succeeds by some means its still the same recovery im stuck, any help? how do i override signature unverified block/limit and install custom rcvry?

PS im on cm nightly 29.01,so i also tried that roms recovery, but it wont work as well...
[Sony Cross-Device General] tuananh.tr0808:
Can you make Material version?
[Sony Cross-Device General] Bartekreaper:
:silly: TWRP there> http://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584

XZDR not have any interface or anything similar :P so NUT cannot make material version :)
[Sony Cross-Device General] juanpirulo:
I can get you my modified twrp with material design if anyone wanted. Just give me a private message. Cheers

Enviado desde mi D6603 mediante Tapatalk
[Sony Cross-Device General] snurre:
Hi NUT.

Great work with this recovery, have used it a few years already!

Have used Sony Concept ROM for a while, but getting back to stock Lollipop now. And I have one question.

I have a D6603. After flashing stock 23.1.A.1.28(5.0.2, listed as supported in the rootkitXperia thread) and trying the installer for 2.8.24 with option 3, I'm getting this:

=============================================
Getting device and ROM info
=============================================
Device model is D6603
Firmware is 23.1.A.1.28
Android version is 5.0.2

##########################################################
#
# The unrooted installation does not work on Lollipop 5.1 based ROM's!
#
# rootkitXperia only works on (some) Lollipop 5.0 ROM's.

But if I run the rootkitXperia(20150926, same as in your recovery?) directly, it works just fine and my phone gets rooted with SuperSU installed.

Any reason why it's blocked by your installer? Some bugs or anything I should be aware of?

Installer for 2.8.24 works fine afterwords with option 1.
[Sony Cross-Device General] airbus318:
nvm
[Sony Cross-Device General] [NUT]:
Hmph... that's odd... on the ROM you are using, can you run android terminal on the device (or adb shell) and type getprop ro.build.version.release and let me know what it says?

I've gone over the code, but I can't see any issues with that way of determining the version...
[Sony Cross-Device General] [NUT]:
God darn it, I've been checking other scripts... You might actually be correct there and identified a bug... :eek:
[Sony Cross-Device General] snurre:
Don't blame yourself :p You're doing a really great job with this project :good::good: