yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] PiskopatYazar:
Hi Guys

I have flashed RoMaur v3.3 last night after that I lost my root and cwm recovery.

I was told the flash dual recovery which I did and seemed everything went well but I still dont have any recovery.

==============================================
= =
= PhilZ Touch, CWM and TWRP Dual Recovery =
= 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 unrooted ROM using TowelRoot ]
[ 4. Exit ]
Please choose install action. [1,2,3,4]?1
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
=============================================
Waiting for Device, connect USB cable now...
=============================================
Device found

=============================================
Step2 : Sending the recovery files.
=============================================
mkdir failed for /data/local/tmp/recovery, File exists
1 KB/s (29 bytes in 0.015s)
1923 KB/s (15759 bytes in 0.008s)
97 KB/s (501 bytes in 0.005s)
1445 KB/s (11842 bytes in 0.008s)
3458 KB/s (56662 bytes in 0.016s)
1003 KB/s (3082 bytes in 0.003s)
187 KB/s (385 bytes in 0.002s)
3345 KB/s (657704 bytes in 0.192s)
2525 KB/s (2932428 bytes in 1.134s)
2860 KB/s (2580389 bytes in 0.881s)
2559 KB/s (1845559 bytes in 0.704s)
1289 KB/s (9243 bytes in 0.007s)

=============================================
Step3 : Setup of dual recovery.
=============================================
Look at your device and grant supersu access
Press any key to continue AFTER granting root access.
-rwxr-xr-x 1 shell shell 657704 Jun 20 00:30 /data/local/tmp/recover
y/busybox
Press any key to continue . . .

=============================================
Installation finished. Enjoy the recoveries
=============================================

Press any key to continue . . .

What do I need to do the get my root and recovery back?

Please help guys.
[Xperia Z2 Original Android Development] [NUT]:
No, that clearly didn't work... can you try again with the 2.7.127 release?
[Xperia Z2 Original Android Development] vdanh:
I just installed the version 2.7.127. There is an icon NDR Utils after reboot. Does it mean, the installation is successful?
[Xperia Z2 Original Android Development] [NUT]:
Yes sir, that finished just fine :good:
[Xperia Z2 Original Android Development] thecrunked:
i had to do it twice too, but it worked and i'm good to go now - this is on z2 tablet sg511
[Xperia Z2 Original Android Development] PiskopatYazar:
Hi Nut

I did try with 2.7.127 release at the first place but did download again and extracted it somewhere else and did run the installer again. I got my phone rebooted this time but still no recovery. My SuperSU doesnt update the binaries says installation failed.

At the begging of the installer I choose the section 1 am I doing it right?

I have got SuperSU in my phone but it doesnt work.

==============================================
= =
= PhilZ Touch, CWM and TWRP Dual Recovery =
= 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 unrooted ROM using TowelRoot ]
[ 4. Exit ]
Please choose install action. [1,2,3,4]?1
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
=============================================
Waiting for Device, connect USB cable now...
=============================================
Device found

=============================================
Step2 : Sending the recovery files.
=============================================
mkdir failed for /data/local/tmp/recovery, File exists
1 KB/s (29 bytes in 0.015s)
1923 KB/s (15759 bytes in 0.008s)
97 KB/s (501 bytes in 0.005s)
1445 KB/s (11842 bytes in 0.008s)
3458 KB/s (56662 bytes in 0.016s)
1003 KB/s (3082 bytes in 0.003s)
187 KB/s (385 bytes in 0.002s)
3345 KB/s (657704 bytes in 0.192s)
2525 KB/s (2932428 bytes in 1.134s)
2860 KB/s (2580389 bytes in 0.881s)
2559 KB/s (1845559 bytes in 0.704s)
1289 KB/s (9243 bytes in 0.007s)

=============================================
Step3 : Setup of dual recovery.
=============================================
Look at your device and grant supersu access
Press any key to continue AFTER granting root access.
-rwxr-xr-x 1 shell shell 657704 Jun 20 00:30 /data/local/tmp/recover
y/busybox
Press any key to continue . . .

=============================================
Installation finished. Enjoy the recoveries
=============================================

Press any key to continue . . .
[Xperia Z2 Original Android Development] [NUT]:
Try installing using option 3. I believe your phone isn't fully rooted.
[Xperia Z2 Original Android Development] kersey:
Is it possible on the newer release to back up the rom using TWRP to external SD card??
[Xperia Z2 Original Android Development] PiskopatYazar:
yeah I believe it is not rooted

==============================================
= =
= PhilZ Touch, CWM and TWRP Dual Recovery =
= 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 unrooted ROM using TowelRoot ]
[ 4. Exit ]
Please choose install action. [1,2,3,4]?3
* server not running *
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
=============================================
Waiting for Device, connect USB cable now...
=============================================
Device found

=============================================
Step2 : Sending the recovery files.
=============================================
mkdir failed for /data/local/tmp/recovery, File exists
5 KB/s (29 bytes in 0.005s)
1709 KB/s (15759 bytes in 0.009s)
122 KB/s (501 bytes in 0.004s)
1651 KB/s (11842 bytes in 0.007s)
2049 KB/s (56662 bytes in 0.027s)
601 KB/s (3082 bytes in 0.005s)
75 KB/s (385 bytes in 0.005s)
2177 KB/s (657704 bytes in 0.295s)
2516 KB/s (2932428 bytes in 1.138s)
2964 KB/s (2580389 bytes in 0.850s)
3178 KB/s (1845559 bytes in 0.567s)
1504 KB/s (9243 bytes in 0.006s)

=============================================
Step3 : Setup of dual recovery.
=============================================
=============================================
Attempting to get root access for installation using TowelRoot now.

NOTE: this only works on certain ROM/Kernel versions

If it fails, please check the development thread (Post #2) on XDA for more detai
ls.

REMEMBER THIS:

XZDualRecovery does NOT install any superuser app

You can use one of the recoveries to root your device.
=============================================
=============================================
Patching tr.apk and creating tr_signed.apk
=============================================
Error patching tr.apk. MD5 does not match. Aborting...
Current MD5 is "1C01F1293839494F29EF487D89EC6DE4 easyroottool\tr_signed.apk "

=============================================
Installation aborted
=============================================

Press any key to continue . . .

This is what happens when I choose section 3.
[Xperia Z2 Original Android Development] lungtung123:
i was installing using option 1 and 2 but it is dont work in rom Aur V3.3 with stock kernel 402. My phone is fully rooted.

sorry for my bad english
[Xperia Z2 Original Android Development] [NUT]:
It seems the automated download might have failed, download tr.apk from http://towelroot.com and put it inside files\easyroottool and try again.

Please try to install using option 3 anyway...
[Xperia Z2 Original Android Development] PiskopatYazar:
Hi Nut

I have done what you said I open the install.bat file it doesnt let me make a selection it starts itself straight away and says this

==============================================
= =
= PhilZ Touch, CWM and TWRP Dual Recovery =
= 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 unrooted ROM using TowelRoot ]
[ 4. Exit ]
The process cannot access the file because it is being used by another process.
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
=============================================
Waiting for Device, connect USB cable now...
=============================================
Device found

=============================================
Step2 : Sending the recovery files.
=============================================
0 KB/s (29 bytes in 1.000s)
15 KB/s (15759 bytes in 1.000s)
0 KB/s (501 bytes in 1.000s)
11 KB/s (11842 bytes in 1.000s)
3541 KB/s (56662 bytes in 0.015s)
3 KB/s (3082 bytes in 1.000s)
0 KB/s (385 bytes in 1.000s)
3425 KB/s (657704 bytes in 0.187s)
3160 KB/s (2932428 bytes in 0.906s)
3162 KB/s (2580389 bytes in 0.796s)
3117 KB/s (1845559 bytes in 0.578s)
9 KB/s (9243 bytes in 1.000s)

=============================================
Step3 : Setup of dual recovery.
=============================================

=============================================
Installation finished. Enjoy the recoveries
=============================================

Press any key to continue . . .

Im at my work at home I could make my own selection here I cant.
[Xperia Z2 Original Android Development] HeartUnderBlade:
Every single time I restore from a backup (even if I just made the back up 10 minutes ago) it always fails to restore the /data. I've never encountered this problem on CWM. I've only encountered this ever since I started using Philz. Any idea what is going on?
[Xperia Z2 Original Android Development] thecrunked:
is that issue only happening on Philz, or CWN and TWRP also?
[Xperia Z2 Original Android Development] HeartUnderBlade:
It's only happened to me on Philz. I've recovered through CWM from past CWM backup before and it turned out fine. Last night and this morning I decided to backup and restore through Philz and both times it failed at restoring /data. Both backups were made a few minutes prior to my attempt at restoring.

I've never really used TWRP so I can't really say if it'll also happen on TWRP.
[Xperia Z2 Original Android Development] lungtung123:
I am too
[Xperia Z2 Original Android Development] PiskopatYazar:
Hi [MENTION=4904057][NUT][/MENTION]

I have downloaded stock firmware of .402 I have flashed that after that rooted my phone with easy root tool.

I have flashed CWM Recovery now I have got recovery.

Can I download the flashable zip file of dualrecovery and flash it with CWM and get dualrecovery?

Thanks
[Xperia Z2 Original Android Development] [NUT]:
Yup, then afterwards you can flash back the stock kernel and relock the bootloader. :good:
[Xperia Z2 Original Android Development] PiskopatYazar:
I just flashed the Dualrecovery both ways volume up or down goes to CWM recovery I dont get TWRP recovery.

Also when I wanna reboot the system it says root is probably lost

fix root?

How can I fix the root for good?

Also my phone vibrates when it starts rebooting which never happened before.
[Xperia Z2 Original Android Development] [NUT]:
No, wait for the GREEN led with the dual vibration before making a choice.

The first LED is the kernel CWM...
[Xperia Z2 Original Android Development] PiskopatYazar:
Thanks a lot mate.

You must be so patient person answering all those silly questions.
[Xperia Z2 Original Android Development] vdanh:
Thanks Sir for your confirmation :good:.
[Xperia Z2 Original Android Development] brunsman6229:
Anyone can confirm the nandroid backups restore are working with philz or twrp recovery...? thanks sorry for english
[Xperia Z2 Original Android Development] crazynewfie:
My xposed framework is not working now. When I try to install it again it say permission denied. Also the recovery looked like it installed fine but it did not boot into recovery on the first start up. Rooted with supersu. Please help a noob.
[Xperia Z2 Original Android Development] lungtung123:
it worked well, sometimes faulty
[Xperia Z2 Original Android Development] [NUT]:
Erh... If it's an xposed issue... Why ask here?

What gave the permission denied error? Was it in recovery while trying to flash it again or...? Which recovery was it? Are you able to mount /system rw and create a file by hand?
[Xperia Z2 Original Android Development] crazynewfie:
My xposed framework was working fine. I installed EZDual recovery and now it says it not installed. I try to install it again and get message I enclosed. That's why I asked it here to see if anyone else had this issue. It won't let me mount the file. It seems like I have no permissions to change anything from anywhere on my phone. It was after I installed the dual boot recovery from here

Edit. Weird when I installed EZDR it looked like it installed fine and my phone rebooted but upon checking and trying to installed it again, my phone for some reason had permission denied to everything in my system folder and I could not mount anything. Even manually trying to change it would not work. Yet my phone still showed it was rooted. so weird. I ended up using the community rootkit again, then installed root exployer and was able to change the read/write options on system folder. Then I installed the EZDR with no issues.
[Xperia Z2 Original Android Development] brunsman6229:
thanks for your answer, can you precise wich recovery you try and work? (for restore full backup)
[Xperia Z2 Original Android Development] HeartUnderBlade:
I'm trying to remove the dual recovery but I don't have one of the files. You said I needed to get rid of a file from /system/bin/charger but I don't see it. I only see a chargemon.
[Xperia Z2 Original Android Development] [NUT]:
Actually that's legacy info, kept in the guide for old (very old) installations back in the original 2.6 days. Any file not on your phone you can actually ignore.
[Xperia Z2 Original Android Development] jonpenn101:
Hi I have a Z2 D6503 i have rooted using the Easy Root Tool and have not unlocked my bootloader (Although my phone is capable). I have downloaded the XZDualRecovery from the site in the first post and ran it. It seems to work, but it doesn't seem to ask me which process I would like it to do, it just seems to run through ending with Step3 : Setup of Dual recovery. Installation Finished. Enjoy the recoveries. Press any key to continue. I do that and it closes my phone does not reboot and no matter how much i try i cannot get into the recoveries.

Am I doing something wrong?

Can you help in any way?

Do you need me to provide and other information?

Cheers

Jon
[Xperia Z2 Original Android Development] tramp20:
Thank you for your wonderful work!

But how can I boot to CWM with NDRUtils?

I select ClockWorkMod and Reboot to Recovery but the Z1c shuts down.

Do I have to press Vol-up or Vol-down?

Z1c with .757 and rooted with EasyRootTool v5.zip and your latest Z1C-lockeddualrecovery2.7.128-BETA.installer.zip.

Booting to PhilZ and TRWP is working fine.
[Xperia Z2 Original Android Development] iArvee:
Hi! I installed the XperiaZ2tweak [mod] by nreuge (http://xdaforums.com/showthread.php?t=2786932). The scripts run using busybox. None of the scripts work. Could it be because the busybox cannot be updated?
[Xperia Z2 Original Android Development] brunsman6229:
why are you posting here? it's not the right place
[Xperia Z2 Original Android Development] iArvee:
Sorry, I thought this was the topic for it since it's related to the DualRecovery. My bad!
[Xperia Z2 Original Android Development] nreuge:
This is the right place!

There seems to be an issue with dualrecovery + busybox.
[Xperia Z2 Original Android Development] [NUT]:
Or a wrong use of the correct functionality within busybox :p

Any idea what is causing it?
[Xperia Z2 Original Android Development] brunsman6229:
sorry i think it was only busybox problem... not recovery... (i know with xzdr recovery we can't update busybox without xzdr problems)

[MENTION=5832554]iArvee[/MENTION]: scripts are running ok on my system
[Xperia Z2 Original Android Development] nreuge:
No. What can I say is that these are standard scripts that have always been working. They presently work fine on my Z2 (I have not XZDualRecovery)

No matter.
[Xperia Z2 Original Android Development] [NUT]:
Hmm... I might have an idea... Does your script remount /system using busybox by any chance?
[Xperia Z2 Original Android Development] nreuge:
Yes, one of my scripts remount /system.
[Xperia Z2 Original Android Development] iArvee:
Thanks for the rescue!:p Tried it on another Z2 and still the same errors.
[Xperia Z2 Original Android Development] [NUT]:
Does that have xzdualrecovery installed ad well?

Which busybox do you use and rely on and who made/compiled it?
[Xperia Z2 Original Android Development] nreuge:
Stericson busybox. But AFAIK, users of xzdualrecovery can not update to the latest version or they lose recovery.
[Xperia Z2 Original Android Development] [NUT]:
That's correct, as Stericson doesn't (want to?) include lzma compression applets in his busybox... :rolleyes:

I'll think about this issue and will try to fix it in a future version... for now the known issue stands...
[Xperia Z2 Original Android Development] nreuge:
Is there any other busybox from the playstore that would be compliant with your XZDualRecovery ?
[Xperia Z2 Original Android Development] iArvee:
Yes. Rooted using EasyRoot then installed xzdualrecovery. :)
[Xperia Z2 Original Android Development] [NUT]:
AFAIK there is none available, but I don't know all of them to be honest...
[Xperia Z2 Original Android Development] LittleSamson:
When I installed the recovery I picked Option #1 and now I read this:

Download Z??-lockeddualrecovery2.7.XXX-BETA.installer.zip from http://nut.xperia-files.com/, run install.bat and select Option #2

From: Easy Root Tool for various Xperia devices

http://xdaforums.com/showthread.php?t=2784900

After the install finished the phone power off and I couldn't restart it. Then I pressed power + volume up and it booted up. Now everything works fine. Just made a backup with TWRP.

Just wonder, do I have to reinstall the recovery and choose Option #2 or is everything fine?

One more question: Can I use PC Companion to update to latest firmware or do I have to uninstall this recovery first?

Edit: PhilZ Touch doesn't work. Just black screen.
[Xperia Z2 Original Android Development] 050177e:
hi! mate, I successfully installed the recovery... do you have any idea what custom roms that I need to flash for xperia z2 locked bootloader? thanks in advance mate....
[Xperia Z2 Original Android Development] VIRzila:
beta 132 - PhilZ still does not work ((

(SuperSU and latest BusyBox)
[Xperia Z2 Original Android Development] guhvanoh:
About option 2, I have no idea as IDK what option 2 is. About PC Companion, use this and you lose root and I believe recovery. So you'll have to re-root and reinstall recovery. Both doable I believe...
[Xperia Z2 Original Android Development] LittleSamson:
Yeah I believe the same :P

But I think I'm gonna uninstall recovery before I update to be sure nothing happens.

Anybody knows if CWM is working fine with latest version (beta 136)?
[Xperia Z2 Original Android Development] brunsman6229:
with 132 possible many problems persists, but i think it is ok with 136
[Xperia Z2 Original Android Development] LittleSamson:
Sorry I meant 136.
[Xperia Z2 Original Android Development] zeguym:
If i want to remove this recovery, is it only using this step to remove?

How to remove:

Delete the following files:

/system/bin/recovery.twrp.cpio.lzma (or .tar)

/system/bin/recovery.cwm.cpio.lzma (or .tar)

/system/bin/recovery.philz.cpio.lzma

/system/bin/charger

/system/bin/dualrecovery.sh

/system/bin/mr

Rename /system/bin/mr.stock to /system/bin/mr to restore stock functionality, then inside /system/bin/ rename chargemon.stock to chargemon check its permissions (should be 755 or otherwise visible as -rwxr-x-r-x). Done!

Cause i want to update my firmware to latest firmware.

If i not remove this recovery, can i OTA update?
[Xperia Z2 Original Android Development] [NUT]:
You can also use the xzdr-removaltool from my website. It will remove all traces of xzdr and will allow you to ota update. Remember that doing so also requires you to unroot your device.

As an alternative you can also update using Pc Companion, which will automatically unroot your device and remove xzdr.
[Xperia Z2 Original Android Development] zeguym:
I see, so if i use PC Companion to update, it's not needed to remove xzdr dan unroot, it will automatically delete xrzr and unroot.

I just use PC Companion than, and root and flash xzdr again.

Thanks
[Xperia Z2 Original Android Development] [NUT]:
Yes. But be ware: at some point the exploited bug will get fixed and you won't be able to root it unless you use a specific FW version and update it to the latest by any other means (My update-to thread is a nice place to start).
[Xperia Z2 Original Android Development] waleedsq81:
can i remove recovery easy way or easy tool & reinstall agean?:confused:
[Xperia Z2 Original Android Development] paulomario77:
Brazilian version D6532

Hi [NUT],

Do you have any plans on releasing a version for the Brazilian model D6543? My firmware is at version 17.1.A.2.55, and I got root via this thread: http://xdaforums.com/showthread.php?t=2784900.

Thanks,

Paulo Mario
[Xperia Z2 Original Android Development] lywyn:
Worked first time for me on .402 with the towelroot+easyroot process, then run the installer for this. Big thanks, pressed the button.

Question on the PhilZ recovery, how do I wake screen when it goes off?

FYI Also did a backup onto sdcard1 and the folder shows "1970-03-30.20.40.44...", wrong date/time.
[Xperia Z2 Original Android Development] [NUT]:
I am assuming you mean a XZDRKernel

version? Because you should be able to use the locked variant without issues.

Yes, this should now be fixed.

To wake the screen you have to press a button or tap the screen. Mind you that doing so while flashing anything, restoring or creating a backup it will cancel the running action. Next 'stable' PhilZ should fix that.
[Xperia Z2 Original Android Development] seventieslord:
Has this happened to anyone else? It's happened to me three times now.

- Followed directions and installed recovery

- Used recovery on multiple zip packages, demonstrating that it's installed and works

- following next reboot, cannot boot into recovery, LED never lights up, just boots regularly

- At this point it appears that i have no recovery anymore and must reinstall.
[Xperia Z2 Original Android Development] seventieslord:
Also, I restored a backup that I made a couple weeks ago. I know that when I made this backup I had cleared out bloatware and installed all my apps, data and SMS. But after TWRP restored, it was like I was in a fresh install. It still had the .402 firmware I installed, and it was still rooted. But other than that, it was like it was just out of the box. What did I do wrong?
[Xperia Z2 Original Android Development] guhvanoh:
Nope but then I haven't really used any recovery on my Z2. What happens if you reinstall recovery after installing your zips and then reboot?
[Xperia Z2 Original Android Development] seventieslord:
Recovery appears to just disappear.
[Xperia Z2 Original Android Development] seventieslord:
A few years ago, if I wanted to make an exact image of the contents of my phone to flash back onto it at any time, I was able to do a "nandroid" backup. I must have saved my phone a dozen times doing this.

I thought that using the "live backup" feature in the TWRP app would do the same thing. but when I went to use that backup it was though I had done a fresh install of my new firmware.

I'm wondering, what's the way to make an exact copy nowadays? Does the backup feature in TWRP recovery do what I want? I have been doing a lot of playing around, installing, restoring, etc, and it would be nice to have a "save point" that I can always go back to.