yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] kingvortex:
OK, but that doesn't change the fact that this recovery requires that you DON'T install any version of busybox other than the one provided with this recovery.

The only suggestion I can make is that you contact stericson and ask him to include the necessary tools for this recovery to work in his busybox if it's essential to you to use it. His contact details are in the Play Store listing for his busybox installer.
[Sony Cross-Device General] NamenIos:
Thanks this worked! I tried replacing the charger and init binaries with those from the ramdisk of the 4.4 ZL and sadly the backlight is still on. Hope that helps. A quick look at the init scripts in the ramdisk revealed nothing to interesting (in regards to the backlight) to me.
[Sony Cross-Device General] saintgein:
I had this error after flashing this recovery: app_process has text relocations. This is wasting memory and is a security risk. Please fix.

What does it mean and how can i fix it?
[Sony Cross-Device General] sijav:
Hey [MENTION=4904057][NUT][/MENTION] what's up mate?

Don't tell me you totally forget about our devices? ZR?

twrp screen is big need to resize it :(

thanks :o
[Sony Cross-Device General] [NUT]:
of course not... don't be silly :silly:

I know what needs to get done, I'm kinda busy IRL, so it's all getting done with a huge lag... sorry about that...

[MENTION=2928758]namenlos[/MENTION]

I think I might have found the culprit to the backlight remaining turned on in recovery, I am expecting it to be fixed the next release.

Does off-line charging (charge while phone is off) keep the backlight on too? If so, it's probably a kitkat or kernel issue on the ZL, as this package does NOT install a replacement to chargemon but uses the ROM's original chargemon binary to allow off-line charging.

If you use a custom ROM together with XZDualRecovery, make sure the ROM chef has a replacement chargemon binary stashed somewhere and move it in to /system/bin/ named 'chargemon.stock' AFTER installing XZDualRecovery.
[Sony Cross-Device General] deanz93:
[MENTION=4904057][NUT][/MENTION] ..I get error when restoring backup "/data" ..No error occur when backup current ROM..Please help me..I got no other backup than that..i really need your help :crying: :crying: :crying:
[Sony Cross-Device General] [NUT]:
For what device? In which recovery?
[Sony Cross-Device General] deanz93:
Xperia Z stock kernel with dual recovery..I tried both Vanilla CWM n philz recovery..endup error while restoring /data
[Sony Cross-Device General] [NUT]:
Copy data from SDCARD to pc, reformat sdcard on PC, with a complete sector check, restore data on sdcard.

Then using PhilZ restore the data partition using 'advanced restore' and disable MD5 checking.
[Sony Cross-Device General] Nidhal AKA the king:
[MENTION=4904057][NUT][/MENTION]

bro, is it something wrong in recovery or it's me?

okay, for recovery i use Online Nandroid and i choose TWRP backup type. and I save my backup in SdCard1 (External)... when I flash a different rom, or try to install other ROM using recovery, then when I try to restore back the recovered files, It does restore, but before I get the successfully restored, the phone reboot, then boot again to start up screen like there wasn't a recovery. and yesterday I did TWRP backup, when I restored It back, it didn't restore all my apps, settings...etc, but it started from the beginning with the welcome screen as i did a full format or factory reset ( but i didn't)

why recovery isn't restoring everything as i last time left?

:confused:

thx for any help or suggest!
[Sony Cross-Device General] [NUT]:
Online nandroid? :confused:

What recovery are you using to create the backups?
[Sony Cross-Device General] deanz93:
still got error just like before.. here a logfile

[MENTION=4904057][NUT][/MENTION]

maybe this cause the error

I: cant partition non mmcblk device: /devices/platform/msm_sdcc.3/mmc_host/mmc1
[Sony Cross-Device General] Nidhal AKA the king:
im using Online Nanndroid...

if u never heard about here is it is in google play (Free app)

https://play.google.com/store/apps/details?id=com.h3r3t1c.onnandbup&hl=en

is it bad?

cuz before i used it when I had Xperia S and it does all the backup and restore perfectly!!
[Sony Cross-Device General] RHBH:
Hey [MENTION=4904057][NUT][/MENTION], is TWRP working with encrypted phones (/data partition only)?

I'm asking because I want to sync my Z1 using Exchange ActiveSync but because of my company policies I can only use it if I encrypt my phone. For now I'm using IMAP.
[Sony Cross-Device General] [NUT]:
Eh... Sdcc.3 is your external sdcard...

I'll take a look at the logs later.

Eh... I didn't know it, and to be honest, I don't trust it because of that. I'd stick to offline nandroid if I where you.

Anyway, anything else but xzdualrecovery is off-topic here...

AFAIK you should be able to use twrp on encrypted devices, yes.
[Sony Cross-Device General] deanz93:
I really hope you can fix this problem.. :crying: :( [MENTION=4904057][NUT][/MENTION] are there any ways to make a flashable backup?
[Sony Cross-Device General] nos1609:
Is there a Z2 Tablet support?
[Sony Cross-Device General] David111jr:
help please...

has any one used this on a mac can't get it to run.

after hours of finally getting this thin unlocked,downgrade and root I'm having trouble with recovery.

i tried opening the directory and typing chmod +x install.sh

but it didn't work any ideas?
[Sony Cross-Device General] [NUT]:
You need to run the installer in the terminal, did you?
[Sony Cross-Device General] [NUT]:
Not yet, but that won't take long now that I have added support for the z2.

Patience :angel:
[Sony Cross-Device General] David111jr:
i think so will try again and paste what it says

---------- Post added at 04:04 PM ---------- Previous post was at 03:58 PM ----------

this is what I'm getting hopefully I'm missing a small step lol.

Pamelas-MacBook-Pro:~ AlwaysAbel$ cd /Users/AlwaysAbel/Desktop/lockeddualrecovery

Pamelas-MacBook-Pro:lockeddualrecovery AlwaysAbel$ ./install.bat

./install.bat: line 1: [MENTION=279333]ECHO[/MENTION]: command not found

./install.bat: line 2: setlocal: command not found

: command not found 3:

./install.bat: line 4: syntax error near unexpected token `('

'/install.bat: line 4: `if exist "%PROGRAMFILES(X86)%" (

Pamelas-MacBook-Pro:lockeddualrecovery AlwaysAbel$

---------- Post added at 04:20 PM ---------- Previous post was at 04:04 PM ----------

Can I run adb commands with the files in the file folder. It's what I had to do last night to achieve root. I think it's because the script is trying to run it as adb.mac when I think it's set to just adb
[Sony Cross-Device General] jonathanp:
your using the windows file, use install.sh instead
[Sony Cross-Device General] David111jr:
so i opened the script and followed each line and adb push everything then ran the root command and rebooted into recovery. so far so good thanks.
[Sony Cross-Device General] [NUT]:
[MENTION=3612914]David111jr[/MENTION] as [MENTION=979896]jonathanp[/MENTION] stated, you need to run the install.sh instead of the bat file. The bat file is for windows, the sh is for Linux and MacOS X
[Sony Cross-Device General] NamenIos:
Sorry missed your post (the mention did not work, it is a capital i and not an L;)).

Offline charging works for me fine, the backlight turns off like it should. If I remember correctly the issue was also present on 4.3.

If I replace my chargemon.stock with the one from the XZ offline charging will not turn off the backlight. This is the reason why I mentioned the chargemon.
[Sony Cross-Device General] drup88:
[MENTION=4904057][NUT][/MENTION]

flashed Z2-lockeddualrecovery2.7.124-BETA.installer.zip (10.22MB) for my D6503 and when i try to open NDR Utils it just crashes. Anything i can supply to troubleshoot this?

update::

Was the file i downloaded unannounced version because it wasnt "XZ/ZL/TabZ/Z1/ZU" as listed in your OP?

update::

wdh i just lost root? any idea why this is?
[Sony Cross-Device General] [NUT]:
http://xdaforums.com/showthread.php?p=53453495

Follow guide to fix.

Used a kernel to flash the flashable package with eh?

The z2 version was actually announced :)

Will be creating the device support thread soon.
[Sony Cross-Device General] longryu:
[MENTION=4904057][NUT][/MENTION] pls answer my question: Z2-lockeddualrecovery2.7.124-BETA.installer.zip can flash via recovery ????

i use this room aur 3.3 . and in guilde talk: in recovery mode: flash recovery of nut . and i cant find it
[Sony Cross-Device General] [NUT]:
Already answered by pm...

Use the installer from PC or flashable from recovery.
[Sony Cross-Device General] dbgt87:
Hi guys i've a problem..

I installed tr tool for root and su ...now i'm trying to instal the dual recovery but not work.

i'm trying to install xz 2.7 installer on my xz 4.4.2 (230) C 6603.

usb debug enable too.

no restart and the program tell me that "adb" isn't recognized like file or program
[Sony Cross-Device General] [NUT]:
What OS are you using?
[Sony Cross-Device General] dbgt87:
w 7 64 bit
[Sony Cross-Device General] [NUT]:
:eek:

That has been working fine for eons ... :silly:

Start a CMD as administrator and try to run the install.bat again.
[Sony Cross-Device General] dbgt87:
Tried but not work...

he tell me that he couldn't find the path specified
[Sony Cross-Device General] [NUT]:
Can you have a look inside the files folder and make a screenshot of what you see there?
[Sony Cross-Device General] dbgt87:
done...

i mustn't run installer like administrator...

ty for help man
[Sony Cross-Device General] [NUT]:
Thanks, that helps me help others :good:
[Sony Cross-Device General] xarfrost:
Hello. Im a first timer for Sony stuffs and I have trouble getting into recovery mode. I am on firmware .55 of Xperia Z2, rooted, locked bootloader. And I did flash the file from the OP via flashtool, the script tells me it was successful but it didnt reboot into recovery. I did it manually (turn off, turn on, press volume up/down multiple times), no luck. What could be the problem? I would provide anything needed. I also have read everything in the OP, I cant find any solution. Help is appreciated Thank you!
[Sony Cross-Device General] wernerzero:
I have the exact same problem...
[Sony Cross-Device General] jjpro45:
Any plans for the Xperia Tablet Z2? It has a working root already. Would be awesome :)
[Sony Cross-Device General] strommy1966:
can someone give me a very quick answer because this is a very noob question .. but can i use this dual recovery on a Z2 with a rooted and a backed up TA .. but still on .55 .. or do i need to root with .402 then use this dual recovery ? :confused::o
[Sony Cross-Device General] sijav:
Mate I can confirm the philz touch (recently as it works before) has get so many problems in flashing things specially in unziping things and metalinks!! if we forget the facts that it can't flash any of the cm based roms anymore because of metalinks errors (it works perfectly on twrp or even on vanilla CWM (Clock workmod)) it just get restarted in the middle of the unzipping the system in aroma, yeah the middle!! like 46% of extracting zips with no damn error and just BLACKOUT, reboot iself. you can imagine what users have to do if their flash is wrong! they need to flash 4.2.2 again (they don't have recovery anymore in lb) and root it and install the recovery and so on ... and again random reboots in philz in middle of flashing for no reasons! and as our twrp is not resized well! also the fact that busybox is getting pretty unmatched with everything like miui roms is just annoying me :( everytime I'm sending su I'm getting WARNING: generic atexit() called from legacy shared library. and guess what? programs is not working with it!

waiting for your next build impatiently.
[Sony Cross-Device General] shoey63:
[MENTION=4828164]sijav[/MENTION]

Can you use a root file explorer to see if there is a file called "brightness" in /sys/class/leds/lcd-backlight/ for your device?

If not, where is it located? It will help with debugging:)
[Sony Cross-Device General] Daedroza:
NDRUtils[ROOT] is not able to select CWM-based recovery at first start. Reboot devices / Restart into recovery doesn't work with me.

4.2.2 XPERIA ZR (LB)
[Sony Cross-Device General] CAL7:
I have a rooted, locked BL, Z2 Tablet SGP511 on .402. I know there is not a confirmed dual recovery yet for this device, but are there any suggestions for current dual recoveries that MIGHT work on my tablet?
[Sony Cross-Device General] Tungstwenty:
[MENTION=4904057][NUT][/MENTION],

This might be specific to the Z2, but having the volume keys not triggering anything rang a bell. I just thought I'd share it in case it's relevant.

When recently updating my Xperia Z to the 4.4.2 stock ROM, for maintaining root and XZDualRecovery I did it manually with roughly the following steps:

- Entered one of the recoveries

- ADB access

- Pushed the new system.ext4 file to the external sdcard

- dd that file to the system mtd partition, and flush buffers

- mount /system in recovery

- flash SuperSU

- install XZDualRecovery

- shutdown and flash the rest of the ROM (kernel, etc.) excluding system

After this all was ok (green led on startup, root, etc) but after a few days I noticed that volume keys didn't trigger any of the recoveries.

I eventually discovered that the XZDR.prop file contained "dr.gpiokeys.node=/dev/event8" (mhl-rcp in my case) instead of /dev/event6 (gpio-keys). After correcting it, all was working fine.

I don't know for sure what went wrong - it might have been me that messed something while manually applying the XZDualRecovery installation steps - but one thing comes to mind.

It might have been that the 4.2 kernel I was previously running while performing the manual upgrade had a different mapping of the event devices. At that time the dr.gpiokeys.node property was written (by setversion.sh ?), and after updating the kernel the note might have changed on the 4.4 one.

I'm not sure if this was the reason, but anyway here's the info in case it's useful to someone else ;)
[Sony Cross-Device General] [NUT]:
Actually, if you use the installer and the flashable package as intended for updates, it will search for the input nodes again and update the settings... :p
[Sony Cross-Device General] [NUT]:
Check the downloads page... Let me know how/if it works.

This installer has a new updated unrooted option, based on a towelroot package.

It should be able to install on any of the currently available rom versions.
[Sony Cross-Device General] sijav:
yup it's there, in 4.2.2 stock kernetl, it's a link for /sys/devices/platform/msm_fb.524288/leds/lcd-backlight
[Sony Cross-Device General] hidea:
huzzah! Is this the right file ZU-lockeddualrecovery2.7.125-BETA.installer.zip (9.72MB) for the Z2 SGP511 tablet?
[Sony Cross-Device General] Roronoa-pt-:
Hello!

I tried the instalation of the Dualrecovery trough XZ-lockeddualrecovery2.7.125-BETA.installer.zip (10.83MB) in my Xperia Z ( unlocked bootloader ).

Extracted the file in a random folder in c:\ ; In XZ, dad USB Debug On. Back on my PC, I double clicked the install.bat file, i've choosen option nº3. the file runs and suddenly the dos promt window shuts down.

However nothing happened in my phone. It doesnt restart. Apparently nothing happened. Any help would be appreciated, thanks a lot.
[Sony Cross-Device General] [NUT]:
Look for the TabZ2 files mate...

Whoops... Sounds like a scripting issue... I'll have a look at why...

[MENTION=4828164]sijav[/MENTION] try 125 and see if twrp is correctly sized now.
[Sony Cross-Device General] sijav:
wow!! JUST WOW.

huge thanks mate will do it now :)

but please either downgrade philz touch recovery or put a stable version :)

Lot's of thanks :D
[Sony Cross-Device General] [NUT]:
Philz has also received an update. See if it fixes any problems...
[Sony Cross-Device General] Frostbiter:
The Tab2 recovery is indeed working, I got it to boot into philz on my SGP511 and all seems okay, the installer script doesn't seem to automatically boot into recovery but manually sending the reboot recovery command seems to work.
[Sony Cross-Device General] CAL7:
Same here with the installer script not booting the device (SGP511). Also, no request for SU permission; but when I checked SuperSU's log, the request is there. I'm thinking I had used adb previously and permitted it, so SuperSU granted permission to this script without telling me. All good, but I was confused for a few minutes.

Bottom line: [NUT] has come through again. Thank you!
[Sony Cross-Device General] [NUT]:
TabZ2 owners: is twrp in landscape and working fine too?
[Sony Cross-Device General] hidea:
yeap. worked like a charm.
[Sony Cross-Device General] Ricky D:
I'm trying the TabZ2 installer in Windows 8 and I'm getting the following:

The syntax of the command is incorrect

I get this with options 1, 2 and 3. I rooted by flashing the SuperSU 1.99r5 zip from DooMLoRD's kernel, before flashing stock kernel and my TA backup.

Root appears to be fine in other circumstances that I've needed it (Titanium, Root Explorer).

Ideas?
[Sony Cross-Device General] alinghi100:
Ok i just Installed latest xdualrecovery in my z2 and I have 3 questions...

1) The difference with other recoveries is that this works with locked bl?

2)I tried to backup to external sd but it gaved me an error

3)If a new version is released, I can only run the new . Bat? Thanks in advantage!!
[Sony Cross-Device General] Daedroza:
Dont know about external sd error.

If you want to update your recovery then just download zip file in sdcard and flash it over.

Yes this works with locked BL. So you will be able to factory faculties like Bravia Engine and intact DRM keys.
[Sony Cross-Device General] [NUT]:
I am unable to reproduce your error, can you create a screenshot or copy the contents of the CMD window in to a file to attach here? From the sound of it it might have something to do with the menu...

How did you run the install.bat? Did you run it as admin or as regular user? Did you run the bat file itself or did you open a CMD window to open it?

1: Yes, but unlike with other device brands: they are stored together with the ROM, so wipe /system and you lose recovery.

2: Well... how am I supposed to fix that?! :eek: Give me the logs!! :rolleyes:

3: Yes or use the flashable package to update through recovery.

I have changed the installer a little bit, it should now not exit anymore so you can see what's wrong, next version will be online soon. Please report how that works and why it fails by either a screenshot or by copy&paste the CMD window contents.
[Sony Cross-Device General] alinghi100:
So... I Can't do a full wipe to change rom with this recovery? However in the afternoon I'll tell you =)

Inviato dal mio D6503 utilizzando Tapatalk
[Sony Cross-Device General] [NUT]:
Yes, you can, but it means: 'wipe, flash rom' and not 'wipe, reboot, flash rom'... you won't like that.
[Sony Cross-Device General] [NUT]:
Thanks for that... made me recheck what I did to reproduce ... and I have to say: you are absolutely right:

https://github.com/xNUTx/XZDualRecovery/blob/2.7-BETA/src/installrecovery.sh#L129

if []; then

should have been

if [ ! -e "/data/local/tmp/recovery/wp_mod.ko" -a ! -e "/data/local/tmp/recovery/writekmem" ]; then

edit the file inside the files directory in a text editor (not notepad or wordpad, that will wreck it!). That should fix options 1 and 2.

My development server has crashed and I have to reboot it ... but I'm at work and have no remote power control (yet)...

I don't know why option 3 fails on windows 8 though... it works fine for me on windows 7 ... I'll see if i can fix it though.
[Sony Cross-Device General] [NUT]:
[MENTION=2481977]Ricky D[/MENTION]

How did you root your device?

Can you use root explorer or es file explorer to remount system and write something to it?
[Sony Cross-Device General] Ricky D:
I down-flashed to .69 fw

Used the recently found xsacha exploit to backup my TA

Up-flashed to .402 fw

Unlocked the BL

Flashed DooMLoRD's kernel

Flashed SuperSU1.99rev5.zip

Flashed kernel only from .402

Restored TA (which I understand auto-relocks the BL)

Titanium works.

SuperSU just started asking me to update binaries, but failed

Root Explorer did work when I first rooted, but doesn't anymore (goes through the motions and I get a root access toast but no mount R/W and creation failed errors)

VpnRoot is working for me

I get toast pop-ups showing everytime an app is granted root access, and for some apps (titanium, VpnRoot) root access is fine and works but for some operations it just doesn't e.g. Root Explorer can edit my sdcard1 which I think is a root only method at the minute.
[Sony Cross-Device General] [NUT]:
Remember one thing: root != write access to system.

use the 'Easy Root Tool' from [MENTION=3975929]zxz0O0[/MENTION] to re-root your device (which will work fine on .402). This will also unlock the system write protection. As you seem to not be able to use the unrooted option on Windows 8 (which is using the same root exploit zxz0O0 is using and is based on his root tool), this might be the only way for you right now.

I'm not sure what is causing the error and exit... Either wait for 126 which will hopefully fix this issue or re-root your device.
[Sony Cross-Device General] alinghi100:
I think it would be smart if you wipe and then trying to reboot without flashing the new rom it fails :)

Inviato dal mio D6503 utilizzando Tapatalk