yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] Rajaasim1980:
I did install latest one before reading ur reply with option 3 with no root and it was installed without problem/errors but i cannot get in recovery with using vol up or down button..

may be it was not installed as u said it need root but strange that it did not gave any error when did run install.bat
[Xperia Z2 Original Android Development] paulwollf:
I need a little help because some things dont work as they should.

1.Factory resets need 2-3 minutes on TWRP wehre as on my old dualcore Device IT needs 2-3 SECONDS.

2. The recovery crashes and reboots Into System When the zip contains an Aroma installer (both TWRP AND Philz).

Tanks in advance
[Xperia Z2 Original Android Development] fabioccoelho:
Very very very thanks. Works fine :laugh:

[ ]'s
[Xperia Z2 Original Android Development] jazzfrequency:
I am with bootloader locked and i want to ask if the XZDualRecovery can affect the stock kernel ? Or after flash it installed in FOTA partition?

Thank you very much!
[Xperia Z2 Original Android Development] [NUT]:
No, it will be integrated in the system partition.
[Xperia Z2 Original Android Development] agha_jo0n:
hi

im on unlocked booloader . can i install recovery on my phone with Z2-lockeddualrecovery2.8.21-RELEASE.installer.zip ?

thank you
[Xperia Z2 Original Android Development] lolie145:
CWM

I did a nandroid backup of my phone before it went to sony for a screen repair. They reset my whole system and removed my custom recoverys. So i had to flash them again.

BUT when i try to restore my previous backup it says "Error while restoring data".

i can boot the phone just fine, get in the system. But almost all the apps are gone(e.g. google chome, playstore, filebrowser)

I read that this could be fixed by using the normal CWM and restore it from there.

now i have 2 questions.

1: is there a fix for this?

2: is there any way i can use ADB to boot into ye old cwm, because i cant use NDRUtils.
[Xperia Z2 Original Android Development] Haldi4803:
[MENTION=4904057][NUT][/MENTION] Now with Recovery Partition on our Z2, is it possible to put the DualRecovery into it?
[Xperia Z2 Original Android Development] [NUT]:
Sorry, I have no idea why I never answered this....

1: I have no idea

2: no, but you can open XZDR.prop and set dr.recovery.boot to cwm and then reboot your device to recovery using 'adb reboot recovery'.

No, sorry. Maybe in 2.9/3.0, but not for a long while.
[Xperia Z2 Original Android Development] manilenio:
I installed dual recovery 2.8.23 on my rooted xperia zr 4.3, and although I now have dual recovery, NDR Utils shows this error: Unable to read XZDR.prop. I then updated to 5.1.1 but the error persists. Upon checking, I have the file in the XZDualRecovery folder located in my ext. SDCard. What could be the problem?
[Xperia Z2 Original Android Development] [NUT]:
Should not have been in this topic, right? :p
[Xperia Z2 Original Android Development] manilenio:
Sorry, & thanks.
[Xperia Z2 Original Android Development] DeGozaru:
That's great. Can't wait.
[Xperia Z2 Original Android Development] sbr_23:
hey guys, pretty new to sony devices so just a quick question. i assume since we have this dual recovery we cant receive ota updates anymore.. my question is how do we update our firmware and if we need to go back to stock recovery how do we do that? will we still have root after we revert back to stock recovery?
[Xperia Z2 Original Android Development] hush66:
When a firmware update is released, [NUT] will be kind enough to release patched files so that you can update to the latest firmware without losing root.

If you need to go back to stock (i.e no more root), you just have to do a repair via PC Companion.
[Xperia Z2 Original Android Development] sbr_23:
oh.. I see.. I thought you could still keep root after reverting back to stock recovery like the HTC phones. anyway.. thanks for your reply. [emoji2]
[Xperia Z2 Original Android Development] thecrunked:
will this work for z2 tablet?

mine is 16gb wifi only, currently i am rooted with a locked bootloader, i can unlock if necessary.
[Xperia Z2 Original Android Development] hush66:
Go to [NUT]'s website, and download the file TabZ2-lockeddualrecovery2.7.125-BETA.installer.zip and run it in Windows.
[Xperia Z2 Original Android Development] gravtec:
Have two lockeddualrecovery for xperia z2 with different size. Which one i need to download??
[Xperia Z2 Original Android Development] SSyar:
The dual recovery was working fine as i install the SuperSU from it,, but there is an app named NDR Util, i tried to go to the recovery option by selecting "Reboot to Recovery" and the device stuck at Sony logo,,, and now i am trying to go to the recovery manually by Vol - or Vol + button it is sill stuck at Sony logo. I even see the change in LED color from Green to Pink,., but still stuck at SONY.,.

PS: I am on Z1 Compact
[Xperia Z2 Original Android Development] coolmingli:
+1

Doesn't install, the SuperSU window never showed up ask me to grant something, after press a key to continue, the installation window went away, no logs in the cache folder.
[Xperia Z2 Original Android Development] DeGozaru:
I got it working eventually.

- Extract root tool to any location.

- Place tr.apk in 'Files' folder.

- Install SuperSU from Play Market and update binaries.

- Enable USB debugging on phone and connect.

- Follow instructions to root phone. Allow phone to reboot and unlock to home screen.

- Wait for SuperSU to request root access of adb shell and grant.

- Download applicable DualRecovery zip from [NUT] Xperia files and extract to any location.

- Enable USB debugging on phone and connect.

- Unlock phone to home screen.

- Select option 1.

- Follow instructions to install recovery.

Additionally I have tested a new version provided by [MENTION=3975929]zxz0O0[/MENTION] and can confirm that it resolved the issues I was having with both installation of DualRecovery and rw to /system.
[Xperia Z2 Original Android Development] coolmingli:
I did a factory reset, rooted the z2 again with easy root kit, then installed the dual recovery without a hitch.

However, in the NDR Utils app, I can not choose primary recovery, it states unable to read XZDR prop.
[Xperia Z2 Original Android Development] Pec74:
After a reboot NDR Utils able to read XZDR, working for me on Z2 Tablet.
[Xperia Z2 Original Android Development] [NUT]:
People running in to NDR Utils's 'unable to access XZDR.prop' error, you will need to apply the SDfix for KitKat.

The app can't access it because it may not as per Google standards.
[Xperia Z2 Original Android Development] vdanh:
HI NUT,

There are 2 files for Z2 dual recovery on your website: Z2-lockeddualrecovery2.7.124-BETA.installer.zip and Z2-lockeddualrecovery2.7.125-BETA.installer.zip.

Which one should I use? My Z2 is D6502, firmware 17.1.A.2.69 with locked bootloader.

Thanks
[Xperia Z2 Original Android Development] [NUT]:
Always use the latest, though always check the devdb thread to see if anyone has reported issues with it.

For 125 there is a scripting error... So that won't work.

Use 124 for now until I release 126.
[Xperia Z2 Original Android Development] coolmingli:
That doesn't effect the functionalists of the DualRecovery, does it?
[Xperia Z2 Original Android Development] [NUT]:
Nope, just the app.
[Xperia Z2 Original Android Development] funky0308:
[MENTION=4904057][NUT][/MENTION]

Hi mate...

One question...

If I bump into problems and stuck in bootloop I can push "donotrun" to sdcard.

Could you tell me, how to create that file on PC?

What I meant is - which extension should I make/pick/write?

Even if we delete extension and leave plain donotrun file without extension, we have to choose one from the list...

And yeah...

File should be empty, right?

So...

Is this OK?

New/text document

And then just delete "txt" extension
[Xperia Z2 Original Android Development] [NUT]:
Using a card reader, on the Pc. No extension indeed.
[Xperia Z2 Original Android Development] kamalaggi:
Is there anyway to just install one recovery? I have no need for all 3.

Thanks
[Xperia Z2 Original Android Development] eScapeeXc:
Hi guys! I have one question. Is it possible to install it without computer? I mean directly install on the Phone? With rom installer or something like that?
[Xperia Z2 Original Android Development] 5ageman:
I dont think so. Usually the first recovery install is always done trough a PC because you need to flash the image trough fastboot. Its basically flashing a new firmware (a part of a firmware). Afterwards its a different story, but the frst time is always a pain - no pun intended. This is the case with almost all smartphones.

BUT, you could try this. Its a hack, but it worked according to OP

http://xdaforums.com/crossdevice-dev/sony/guide-how-to-root-custom-recovery-t3325775
[Xperia Z2 Original Android Development] [NUT]:
I know it will, more specifically, I'm considering additional options in the installer menu or to make packages to do both a rooted and unrooted install without a PC... But im still investigating these, I want to make them bullet proof...
[Xperia Z2 Original Android Development] talkativetaurus:
Hi thanks for the tool. I m new to rooting android as well as new to xda. I have been reading so many threads and posts but still i have some questions left in mind...cos i m scared to do anything wout asking..lol.

I have rooted my device Xperia Z2 D6502 5.1.1 using kingroot. (yeh bcos i needed one click stuff not exhaustive stuff as i said i m scared) Now inorder to install xposed framework, i learned that i need custom recovery. So if i use dual recovery, download and install will it work. Shud i just install it using my laptop? And then i can install xposed. Am i right? Or am i missing something. My main concern is since i have used kingroot, and i have not replaced it with super user will it effect in anyway?

Thanks for being patient... Ur help is appreciated....
[Xperia Z2 Original Android Development] [NUT]:
Look for SuperSUme, that will allow you to replace kingroot with SuperSU in a somewhat one-click solution.

Then just use the installer to wrap the whole bunch up. Make sure you run a backup before you install xposed.
[Xperia Z2 Original Android Development] talkativetaurus:
Right, but i read at few places as well as the kingroot thread that the devs r nt allowing the replacement that easily using super sume. Bcos it removes all of their apps and if one tries to do it causes errors....
[Xperia Z2 Original Android Development] AlwaysDroid:
Just install SuperSu from the play store, update the binary and then use a root file manager to kick Kingroot outa there. Worked just fine for me
[Xperia Z2 Original Android Development] eScapeeXc:
Hi again. Im done with this guide. But it doesnt work for me. I think, i make it wrong. After reboot, it blinks red Light and boot up normaly. Here is my logfile. Maybe someone tell me, whats wrong?
[Xperia Z2 Original Android Development] miki008:
Hi there. I have rooted my Sony Z2 D6530 (5.1.1, unlocked bootloader) with KingRoot and tried to install xzdualrecovery but it fails (I used option 1). Attached is 2 screenshots. Can you please help me? Thank you.
[Xperia Z2 Original Android Development] guhvanoh:
This is really a question for the Q&A thread. However your screenshots say that you've not authorised access. You need to do that on your fone.
[Xperia Z2 Original Android Development] mysara saad:
HI [MENTION=410007]Nut[/MENTION] is there is any progress in xzdr for Mm 6.0.1?

Any thing that we can help in testing?

:)
[Xperia Z2 Original Android Development] thanhtamunknowns:
Thanks Nut! Waiting TWRP 3.0.
[Xperia Z2 Original Android Development] arunpatal:
unable to flash dual recovery

Hi,

I am unable to flash dual recovery....

Everything goes normal while flashing recovery and phone reboot but after reboot when i press val-up or val-down nothing happens and phone boot to Mr.SL ROM. (I was using XZDualRecovery before but this problem starts after flashing Mr.SL ROM)

LED light color is only red when i turn on my handy. (before it was green and the pink).

Please help me installing XZDualRecovery again
[Xperia Z2 Original Android Development] RK_D2502:
Install TWRP

Hello. I have a Sony D2502 with 5.1.1. Used Kingroot to root my phone so I can disable annoying Sony Bloatwares and without having to unlock the bootloader. So I am not sure if bootloader got unlocked as well. I have 3 concerns and would to ask for your assistance and proficiency.

1. Is possible to install TWRP with a locked bootloader? If so, how? I'd like to request for the procedure without the android tech jargons.

2. If it can't be done, what is my contingency plan in installing twrp without having to reformat my phone.

3. Tried several methods on how to enter default/stock recovery mode on my Sony D2502. Tried, press and hold Volume Down and Power, Volume Up and Power, Pressed All 3 at the same, it only vibrates. No problem with rebooting to safe mode and normal mode. How do I enter the stock android/experia recovery mode?
[Xperia Z2 Original Android Development] [NUT]:
First of all, thanks for the pointer to the ad bug on my website. It's been fixed :good:

Second, answers to your questions:

1: yes, but it requires a rooted device or a specific version of the ROM for the installer to work properly. The guide is both on my website and to be found around XDA.

2: No reason to wipe your device: This package installs on locked bootloader devices just fine (except on MM at the moment).

3: Sony has no stock recovery. Read http://nut.xperia-files.com/html/introduction-to-the-sony-ericsson-xperia-galaxy.html or http://xdaforums.com/crossdevice-dev/sony/noob-guide-to-sony-ericsson-xperia-t3209012 for more info. I tried to write it noob friendly.
[Xperia Z2 Original Android Development] RK_D2502:
TWRP

Hello, SIr.

Thanks for the reply. I have Lollipop 19.4.A.0.182, 1288-9425_R4C. I still have stock firmware. The only app I used to disable some annoying bloatware was Kingroot. Used several apps to confirm it is still rooted.

T2U-lockeddualrecovery2.8.26-RELEASE.combined.zip <--- Is this the correct/compatible release for Sony D2502? If so, I would like to write down the steps as I understand them:

1. Extract Zip file and Run .bat file

2. Connect Phone, with USB Debugging Enabled. (Should the phone be turned off or leave it on?)

3. Select 1 from the CMD Menu? Follow the process and it will reboot for the first time to TWRP?

Please see attached file for reference.
[Xperia Z2 Original Android Development] RK_D2502:
Thanks NUT! I was able o install XZDUAL easily. Had to install SUPERSU with a different approach though. KINGROOT was blocking it somehow. Used Terminal Emulator apk to install SUPERSU. and it worked. Restart/Reboot phone about 10x just to make sure. Everything is fine at the moment. Thanks again.
[Xperia Z2 Original Android Development] c4kFrisco:
Will it work on prerooted 6.1 d6503 stock?
[Xperia Z2 Original Android Development] meetzap:
Urgent help required phone stuck in boot loop on installing XZDual on xperia z2 D6502

Hi, I flashed official prerooted 6.1 using XZDual Recovery, but in the process my I lost all data on phone, I had created a backup using TWRP. So I wanted to restore my phone back to the backup but now XZDual Recovery was gone, so I installed XZDual selecting option 1 for my Xperia Z2 D6502. The phone restarted but now I am stuck on boot loop and my phone won't boot, guyz please help me what can I do now?
[Xperia Z2 Original Android Development] [NUT]:
No.

Restart by installing Lollipop and restoring a backup, then notice my answer to the question above your post.
[Xperia Z2 Original Android Development] meetzap:
Hi Nut, thanks for the quick reply, just one confusion thought. How can I install Lollypop when my Xperia Z2 is stuck at boot screen only. Are you suggesting to install using the flashtool? I tried pressing the volume down button after vibration also, but to no avail.

Please guide me. Thanks in advance. Sorry if I am sounding naive.
[Xperia Z2 Original Android Development] Abdülcelil:
I don't know what happened?? :/
[Xperia Z2 Original Android Development] Acceleracer:
I have a similiar problem. I couldnt flash anything with flashtool, only fastboot mode. Always says command not allowed :/
[Xperia Z2 Original Android Development] yoyoamr2023:
recovery problem

hi NUT i downgraded my xperia z2 to 4.4.2 so i can get root plus supersu plus the dual recovery

i flashed prerooted MM so i can have everything under control

but after like 10 min the recovery is not available and when i power up my mob there is supposed to a vibration plus the LED light but the recovery is just gone

iam new to the recovery and flashing stuff soo please help me !
[Xperia Z2 Original Android Development] hans-merz:
recovery installation

Hello Guys

I need help

I got a little problem.

I downgraded from 5.1.1 to 4.4.2. I used the guide by arul20be. Root is available, but I can not install the recovery.

It always comes the message: "can not stat and don't find this or that file"! I use Z2-lockeddualrecovery 2.8.26-release combined.

What do I wrong?

I would be pleased in getting help and solution.

Thanks in advance

greetings
[Xperia Z2 Original Android Development] dr.memo1o:
I'm having the same problem
[Xperia Z2 Original Android Development] Geronimo.X10:
I have boot loop, then I use flashtool.

I flashed with old known ftf and it's working.
[Xperia Z2 Original Android Development] Acceleracer:
After replacing my display the battery connector slipted off (but a few days later that happened somehow) - so I thought it would be a bootloop, but only no battery connected :eek:

Somehow I flashed new .575 Software ftf without battery :D
[Xperia Z2 Original Android Development] besflades:
unable to read XZDR.prop

you must erase all memory sd

work for me.
[Xperia Z2 Original Android Development] otto81709:
sorry for the question im not sure if can i use it with another kernel that is not stock, im using paranoid 6.0.1 but have no recovery, can somebody tellme?
[Xperia Z2 Original Android Development] ryanraven:
Tried to flash this, but I'm stuck with CM Recovery still after flashing CM12 :(
[Xperia Z2 Original Android Development] zakaria.mahmoud94:
question

can I install XZDualRecovery on MM .291 ? :confused:
[Xperia Z2 Original Android Development] darknessmc:
No. Go here https://xdaforums.com/showthread.php?t=3437280
[Xperia Z2 Original Android Development] nurps:
Ok I messed up, just installed Z2-lockeddualrecovery2.8.26-RELEASE.combined with the install.bat onto my lockedbootloader X2 with Stock Rom and it doesn't boot anymore.

Didn't remember this wasn't for Android 6. Is there any fast way to recover or do I have to start over?
[Xperia Z2 Original Android Development] eedam:
Hello dear I just installed the twrp but my bootloader is locked it's not allowed to unlock bad luck :/ the Question is can I flash ROMs like lineage is it miui on my looked bootloader with twrp?
[Xperia Z2 Original Android Development] Dr.TheMaster:
You cannot install lineage os or any othet 7.1.2 or 8.1 ROMs because that would need to change the kernel which needs an unlocked bootloader.. You can install TWRP for LB and then install existenze which I think is the best ROM for LB..
[Xperia Z2 Original Android Development] eedam:
thanks a lot for the suggestion im gonna try that ROM :) hope there is a way to force unlock the bootloader like mine
[Xperia Z2 Original Android Development] ocliasom:
TWRP to this

Hi, I';m currently on TWRP, is there anyway to change to this without the use of a computer?
[Xperia Z2 Original Android Development] fribriz:
You mean install another version of twrp?
[Xperia Z2 Original Android Development] speedyspeed1:
Hello, does anyone know how I can solve the problem if I want to make the patch? When I want to do SuperSu or Super User, I always get the error message: / system / bin / sh su not found

Thank you for your help.

==============================================

= =

= XZDualRecovery =

= Maintained by [NUT] =

= =

= For Many Sony Xperia Devices! =

= =

==============================================

1. Installation on ROM rooted with SuperSU

2. Installation on ROM rooted with SuperUser

3. Installation on an unrooted (Lollipop 5.0) ROM using rootkitXperia

4. Install ADB drivers to windows

5. Open an ADB shell

6. Exit

Please choose install action.

[1,2,3,4,5,6]?1

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

=============================================

Waiting for Device, connect USB cable now...

=============================================

Device found!

=============================================

Getting device and ROM info

=============================================

Device model is SGP521

Firmware is 23.5.A.1.291

Android version is 6.0.1

=============================================

Step2 : Sending the recovery files.

=============================================

1 KB/s (31 bytes in 0.015s)

1137 KB/s (18170 bytes in 0.015s)

31 KB/s (501 bytes in 0.015s)

802 KB/s (12812 bytes in 0.015s)

2064 KB/s (65965 bytes in 0.031s)

3 KB/s (3159 bytes in 1.000s)

914 KB/s (29204 bytes in 0.031s)

0 KB/s (699 bytes in 1.000s)

2158 KB/s (34473 bytes in 0.015s)

1 KB/s (1202 bytes in 1.000s)

1517 KB/s (96956 bytes in 0.062s)

1703 KB/s (870760 bytes in 0.499s)

1701 KB/s (3560349 bytes in 2.043s)

1743 KB/s (2422706 bytes in 1.357s)

898 KB/s (14346 bytes in 0.015s)

=============================================

Step3 : Setup of dual recovery.

=============================================

Look at your device and grant supersu access!

Press any key to continue AFTER granting root access.

/system/bin/sh: /system/xbin/su: not found

Drücken Sie eine beliebige Taste . . .
[Xperia Z2 Original Android Development] [NUT]:
Not at this time, besides: not the point of this project.
[Xperia Z2 Original Android Development] HeartUnderBlade:
Just curious, will this mod work with doomkernel?
[Xperia Z2 Original Android Development] idumbakumar:
[MENTION=3177553]Milchbeck[/MENTION]

rooted successfully Z2 on 17.1.1.A.0.402, locked bootloader thought it didnt work on the first time... i did a second attempted it worked.

installed dual recovery after the root.

1. first i tried to root.. went successful with easy root,

2. tried to install dual recovery by selection option 1, but the dual recovery didnt install, some errors.

3. i tried 3-4 times. still no luck in installing

4. i tired the esay root second time.. went again successful

5. now tried to install dual recovery

wow.. this time it entered dual recovery..

thanks for the all contributors for achieving this .. i will definitely donate and appreciate their great work.
[Xperia Z2 Original Android Development] brunsman6229:
Again thanks for this great job Nut ! working for me at the 2nd time
[Xperia Z2 Original Android Development] vdanh:
Just saw a new release Z2-lockeddualrecovery2.7.127-BETA.installer.zip. Is it safe to use now? :D

Thanks
[Xperia Z2 Original Android Development] [NUT]:
AFAIK it is. :angel: