yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] lancebuks:
SO-02E

deleted
[Sony Cross-Device General] [NUT]:
Thanks for the build.prop RyokoN.

To both of you:

I've attached a dualrecovery.sh (simply zipped, NOT flashable!) for you to test, replace the one in /system/bin with it.

It is based on an educated guess, but I'm almost sure it will work OK.

If it works OK, I'll update the RELEASE version to 2.4 for support of the SO-02E Xperia Z.
[Sony Cross-Device General] lancebuks:
Confirmed working on 10.1.D.0.333!!! Damn you're fast

UPDATE!!!

Confirmed working on 10.1.D.0.343

Now I can finish up my test and hopefully will release a rooted w/XZDualRecovery 10.1.D.0.343 in the next day.
[Sony Cross-Device General] [NUT]:
RELEASE Change log:

Version 2.4:

Fixed SO-02E Xperia Z Keycheck

Fixed the debug feature, it forgot to copy the debug script to /sbin ... :eek:

The OP has been updated to link to this release, enjoy!

Quoted myself because nobody replied to this post :crying:

Still in need of exFAT and MacOS X users!
[Sony Cross-Device General] lancebuks:
I sent you a PM
[Sony Cross-Device General] Faelz:
Every time i flash a custom kernel, TWRP and CWM can't "see" the files in internal memory? what can be done?
[Sony Cross-Device General] [NUT]:
Did you perhaps encrypt your internal storage? There is support for encrypted volumes in TWRP but this version has a bug in the unlocking feature...
[Sony Cross-Device General] camaro322hp:
Is there a newer version for Z1C on Sony 4.4.4 that has functional backup/restore for both Philz and TWRP? I am currently running .128 and I believe there was an issue with Philz backup in that version.
[Sony Cross-Device General] zaxharu:
if we flash this removal tool, what will happen to root status? will it be gone?
[Sony Cross-Device General] [NUT]:
2.7.147 will be around the corner shortly, it should take care of this :good:

Best thing to do is to reinstall, using the unrooted option in the installer (only the latest!), it should now work just fine. Why are you trying to remove XZDR anyway?

This backup issue will remain as Phil is not going to fix it. It's actually caused by a bug in CWM getting squashed, causing older backups not to check out when md5 checking is being used. The only way around this is to disable MD5 checking when restoring an older backup.

root itself will be there but there is a chance you will end up with a 'half root' as you also disable the ric disabler, this itself needs to be restored. The only way to do that easily is just to run the rooting tool you used before to re-root your device. This by itself will reinstall a ric killer.

------------------

XZDR 2.7.147 is now building and will be released soon! :)

Fixes:

ALL: Timefix rewritten, now it will try to correct the time with either method (2 to choose from by the fix). This will make it work on any ROM version on any device;

Xperia T/V/TX/TL: FINALLY fixed the reboot issue :victory:;

Xperia T/V/TX/TL: FINALLY fixed the system mount issue in TWRP :victory:;

Xperia Z/ZL/Tablet Z: Timefix will now work, regardless of FW used.

Improvements:

The Windows installer now has a new menu option, it will offer an adb composite driver installation option for use while in recovery. It is the same driver as I already offered on the website. The driver is unsigned, but it can be trusted.

Thanks to the hard work by [MENTION=3975929]zxz0O0[/MENTION] I have updated the unrooted installation option again, this time it is actually using [MENTION=3280118]geohot[/MENTION]'s towelroot library but will nolonger require the installation of the app and no more tapping buttons on screen. This installation option will work on all supported models.

The files will be online soon. As soon as I have put them online, I will be removing 2.7.128, 2.7.146 is stable enough to replace it.
[Sony Cross-Device General] coolkoushik07:
147 works perfectly..

Sent from my Xperia Z1 Compact (D5503)
[Sony Cross-Device General] Albert Poon:
Hmm.... 404 Not Found
[Sony Cross-Device General] guhvanoh:
[MENTION=4904057][NUT][/MENTION] is there any reason why the installer zips for 147 are approximately 2.5 times larger than normal?
[Sony Cross-Device General] [NUT]:
Yes sir, the ADB composite driver for Windows has now made it's way in to the installer ... I couldn't shrink it at all without breaking it :rolleyes:
[Sony Cross-Device General] lancebuks:
WORD!!!
[Sony Cross-Device General] [NUT]:
Erh... Best is to refresh your main view of the website... It's there 100% sure :)
[Sony Cross-Device General] iBuzman:
[MENTION=4904057][NUT][/MENTION] Ultra .147 all good (as usual for a while now [emoji106] ) :good:
[Sony Cross-Device General] Albert Poon:
Ahhh.... sorry man.... I was still using http://www.fun-industries.nl/xda/... but it's good on http://nut.xperia-files.com/

[UPDATE 1]

Something to report. The XZDR 147, no matter installed using flashable or installer over previous version, the device will not boot and stuck on "SONY" screen. I am not sure if it happens on every devices but I am using Tablet Z SGP311.

[UPDATE 2 - Resolution]

In order to get it back to work, these are the steps (previous backup is a must):

1. Flash stock FTF (with or without Data, doesn't matter), then reboot into system.

2. After booted into system, install XZDR using 147 installer with Towelroot method.

3. After booted into recovery, flash supersu, and restore Data from previous backup (in order to restore the settings of supersu - it will be lost even if you did not include Data during step 1).

4. Reboot back into system and done.
[Sony Cross-Device General] JohnKersten:
Z2-lockeddualrecovery2.7.147-BETA.flashable

I just flashed this version.

Timesettings in PhilZ and TWRP are still OK, as in 146 version.

PhilZ backup is also OK.

What is the difference between 146 and 147?

regards John
[Sony Cross-Device General] [NUT]:
The difference is the way the recoveries decide which time fix to use. As the timefix was only broken on the Xperia Z and siblings there is no real change for you on the Z2. The 'improvements' are more for you then the 'fixes' :)
[Sony Cross-Device General] [NUT]:
Unfortunately this can happen from time to time... it's so rare and intermittent that I'm unable to reproduce and fix it ...

I can't thank you more then once on the same post, but thanks for the troubleshooting and resolution to your problems :good:
[Sony Cross-Device General] Albert Poon:
You are welcome and you are the man! I just wanna share my experience here in case other users run into the same problem as mine. :D

Always keep backup and no need to panic~ :cool:
[Sony Cross-Device General] [NUT]:
That's the idea behind xda, it's not a helpdesk, it's a forum, you might ask a lot of questions, but it's mostly about sharing knowledge and skills.

Never stop sending feedback, like I said before:

If I dont know what's broken, there is no way for me to know what to fix :cowboy:

That reminds me...

[MENTION=3233991]NamenIos[/MENTION] get ready for some more testing dude, backlight issues are next up :)

Once I get those fixed, this humongous BETA stream will come to an end and will move to the '2.8-RELEASE' label. To lessen the confusion, I have removed the RELEASE versions 2.5 and 2.6 from the website, they where the start of this project, kept for posterity, but confusing to newcomers...
[Sony Cross-Device General] sandy.parulekar:
Best thing to do is to reinstall, using the unrooted option in the installer (only the latest!), it should now work just fine. Why are you trying to remove XZDR anyway?

I have to remove recovery, cause I heard, if I use dual recovery I will be not received Ota update any more, is it true?
[Sony Cross-Device General] NamenIos:
I am here and [insert Warcraft Peon quote, ready to work or yes mylord both work] ;)

Not sure if you remember but once you put back the ZL fixes for the backlight use is equal to 0 in the strcmp condition. strcmp returns 0 if the strings are the same and positive or negative values if one string is greater than the other (english?) mean abc and abcd will return a negative value, abc abb will return a positive one as will abc abbx. The first char that is different will trigger if it is greater or not. OT: Is greater right here? Sounds weird, but bigger implicates the length and not the lexicographic order
[Sony Cross-Device General] [NUT]:
Heh... yes, but that's not because you have recovery installed, it's because OTA updates check if some key files are unchanged... I heard the same about having just root (and no recovery), which also blocked OTA updates on various devices.

It's a crap shoot either way: just keep it installed, then when you get offered an update, just un-root and remove XZDR to be able to accept it.

There is only one hope you have to cling on to: if you update by accepting an OTA update, you have to pray it is still rootable afterwards.
[Sony Cross-Device General] sandy.parulekar:
Thax Bro for detailed,

I agree with u, but my recovery not working perfectly so I have decided to uninstall & install both root & recovery.

Please tell me how to unroot?
[Sony Cross-Device General] anagramgenius:
there's an option in SuperSU settings to fully unroot.
[Sony Cross-Device General] [NUT]:
Well, no need if you want to reinstall to get it working properly.

Grab XZDR 2.7.147 and install it using the unrooted menu option (option 3). This will fix XZDR for you. Then update to the latest supersu app and su binary using the updater zip by [MENTION=631273]Chainfire[/MENTION].

This will correctly update/install root again.

The SuperSU app also provides a way to completely remove root by the way.
[Sony Cross-Device General] sandy.parulekar:
Can u please share me the exact path of XZDR 2.7.147

Because I have downloaded z2-lockdualrecovery2.7.147 but it didn't work for me, when I. Click on install setup does not ask me for step, setup automatically completed with step2.
[Sony Cross-Device General] shrishail87:
Hi,

I have taken nandroid backup using TWRP Recovery.

I have installed paranoid android after unlocking the bootloader.

So i have CWM now.

But now i want to go back to my Backup which i took earlier. But the CWM is not recognizing my backup.

Now i want to install the TWRP recovery back. Please Help.
[Sony Cross-Device General] [NUT]:
If you wish to go back to stock, flash the xzdrkernel for your device if available and use twrp to restore the backup. Otherwise flash a full ftf, including wipes, and install xzdualrecovery again.
[Sony Cross-Device General] [NUT]:
Which OS and version are you using?
[Sony Cross-Device General] sandy.parulekar:
4.4.2 kitkat, D6502, 17.1.1.A.0.402

Plus help, because my root also not working properly,

I also tried supersu total unroot, but still my root is available.
[Sony Cross-Device General] [NUT]:
:eek: :angel:

I was talking and asking about your PC :p
[Sony Cross-Device General] [NUT]:
[MENTION=3233991]NamenIos[/MENTION]: freshly built, ready to test, this version is able to turn off the screen on the Xperia Z, I re-applied my 'ZL Fix' to this version: http://nut.xperia-files.com/tmp/recovery.philz.cpio.lzma

I'll be on freenode #twrp today, so if you have some time, meet me there :)
[Sony Cross-Device General] anagramgenius:
tried this on my ZL, no luck.
[Sony Cross-Device General] [NUT]:
Hmm, 'no luck' is too little information for me right now, I need details :p
[Sony Cross-Device General] anagramgenius:
i meant screen just dimmed. didn't turn off.
[Sony Cross-Device General] [NUT]:
To make sure you configured PhilZ right, can you reset PhilZ recovery settings in the PhilZ Settings menu, reboot and re-test?
[Sony Cross-Device General] anagramgenius:
ok i'll do it

---------- Post added at 02:41 PM ---------- Previous post was at 02:27 PM ----------

I reset the recovery settings. Rebooted to system and then to recovery . Default settings was dim =1 min and screen off=3mins. But the screen dimmed after 3mins and didn't turn off
[Sony Cross-Device General] [NUT]:
Okay, I'll have another look then :rolleyes:
[Sony Cross-Device General] [NUT]:
[MENTION=5795078]anagramgenius[/MENTION] and [MENTION=3233991]NamenIos[/MENTION]

http://nut.xperia-files.com/tmp/recovery.philz.cpio.lzma

Updated it... I hope it's fixed this time ...

I have been looking through the code, but from what I gather, PhilZ is not even written to actually turn the brightness to 0, the lowest value is 10, keeping it on just a tad... I don't know why :confused:

Maybe [MENTION=4666971]Phil3759[/MENTION] can enlighten us? I hope so ...
[Sony Cross-Device General] anagramgenius:
No, same thing happened. Screen didn't dim after 1min and went black with backlight still ON after 3mins.
[Sony Cross-Device General] [NUT]:
:eek:

Now I really hope [MENTION=4666971]Phil3759[/MENTION] can enlighten me ... :fingers-crossed:
[Sony Cross-Device General] anagramgenius:
This happens with twrp too. After 1min the screen goes black with backlight still ON. :confused: is that normal?
[Sony Cross-Device General] [NUT]:
That by itself is due to the 2 brightness paths and TWRP not knowing about that. So yes, considering TWRP doesn't know about that, it is normal.
[Sony Cross-Device General] [NUT]:
[MENTION=5795078]anagramgenius[/MENTION] and [MENTION=3233991]NamenIos[/MENTION]

If my theory is correct, this TWRP is able to control your backlight:

http://nut.xperia-files.com/tmp/recovery.twrp.cpio.lzma
[Sony Cross-Device General] anagramgenius:
after 1min, screen gets dimmed. then after a second, the screen goes black. but backlight still ON
[Sony Cross-Device General] NamenIos:
PhilZ works now though, same link but new file.
[Sony Cross-Device General] sandy.parulekar:
I am using win Xp SP-2
[Sony Cross-Device General] anagramgenius:
yeah philz backlight working correctly now [MENTION=4904057][NUT][/MENTION]
[Sony Cross-Device General] [NUT]:
Heh, I just found out why that happens... The choice binaries are fubarred... Next release will fix that.

I hope to release it before the week ends.
[Sony Cross-Device General] anagramgenius:
[MENTION=4904057][NUT][/MENTION], the TWRP you uploaded today, backlight works fine:D
[Sony Cross-Device General] [NUT]:
I know, [MENTION=3233991]NamenIos[/MENTION] did the testing on it already, there is only one REAL thing remaining though ...

If you set the brightness in the settings menu, it doesn't apply it until you reboot back to recovery ...
[Sony Cross-Device General] Frantiic87a:
deleted. sorry. posted in wrong thread.
[Sony Cross-Device General] [NUT]:
Good morning

:cowboy:
[Sony Cross-Device General] anagramgenius:
I tried that already. It worked after the screen went off.
[Sony Cross-Device General] Frantiic87a:
Cant find the delete button.. Haha :( #blind.
[Sony Cross-Device General] [NUT]:
good, thanks for the update :)
[Sony Cross-Device General] [NUT]:
Actually, you will never see the 'delete post' button anyway ;)

Don't worry about it, it's just the way XDA is working :angel:
[Sony Cross-Device General] [NUT]:
Improved twrp available on the same link, [MENTION=3233991]NamenIos[/MENTION] has tested it already, can you confirm it's working ok?
[Sony Cross-Device General] Albert Poon:
[MENTION=4904057][NUT][/MENTION]

I am really glad that the time issue is fixed, well done man! There are however still some non critical issues on SGP311 - both vibration and brightness are not working at all, in case you don't know.
[Sony Cross-Device General] [NUT]:
Eh... For which recovery? Both?

I might need your help in finding the right path then...
[Sony Cross-Device General] Albert Poon:
Vibrate - both not working

Brightness - Philz works, TWRP nope.
[Sony Cross-Device General] [NUT]:
Vibrate won't work as the TabZ has no vibrator :p

But next release will fix the brightness control in TWRP for sure :good:

-- ALL --

2.7.148 incoming, with an updated TWRP to contain all my and all Team Win's fixes since the release of 2.7.1.0 (unofficially it makes it 2.7.3.x or so).

:victory: RELEASE CANDIDATE! :victory:

Files are online now :)

Please report ANY issue you notice!

This version will remain for 7 days, after which I will RELEASE it as-is once nobody speaks up.
[Sony Cross-Device General] anagramgenius:
Yeah. It's working fine:thumbup:

EDIT: file manager in twrp not working correctly. when i copy/move files, the twrp logo appears and the screen locks. And i should unlock the screen. On Screen middle button doesn't work. When i press it, twrp logo appears and screen gets locked. (both worked fine in the test version) [MENTION=3233991]NamenIos[/MENTION] , can you confirm this?
[Sony Cross-Device General] coolkoushik07:
Philz is not booting in 148

Sent from my Xperia Z1 Compact (D5503)
[Sony Cross-Device General] JohnKersten:
Z2-lockeddualrecovery2.7.148-BETA.flashable

No problem so far.

Making backup with PhilZ and TWRP.without problems.

PhilZ minimum time screen off is 2 minutes, can this changed to 1 minute?

Regards John
[Sony Cross-Device General] [NUT]:
Erh... It's working fine here :eek:
[Sony Cross-Device General] [NUT]:
Yes, it can... But why? How much time do you spend in recovery? ;)
[Sony Cross-Device General] JohnKersten:
PhilZ screen off min. time

You are right.

Backups take less than 10 minutes, so no big deal.

Regards John
[Sony Cross-Device General] Albert Poon:
[MENTION=4904057][NUT][/MENTION]

Brightness is still broke in TWRP re: 148
[Sony Cross-Device General] [NUT]:
Can you boot to TWRP and then adb pull /tmp/recovery.log ?

It might mean I need to add a special path for the brightness control for you guys...
[Sony Cross-Device General] DiLeon:
My Z1c also doesn't show up Philz with 148 but it seems that only the display is off/no backlight. If i touch the display, the phone vibrates as usual.
[Sony Cross-Device General] [NUT]:
Thanks :good:

If you go to settings -> screen and move the brightness slider, does it set a new brightness when you let go of the slider?

If you could adb shell to it and type the following:

ls -la /sys/class/leds/
echo 180 > /sys/class/leds/lcd-backlight/brightness
echo 80 > /sys/devices/i2c-0/0-0036/leds/lm3533-lcd-bl/brightness
echo 130 > /sys/devices/i2c-0/0-002c/backlight/lcd-backlight/brightness

The first echo should set it almost as bright as it can if that path is correct, the second echo should set it quite dim if the path is correct, the 3rd is supposed to set it to somewhere in the middle...

Please post all the output you get.
[Sony Cross-Device General] [NUT]:
:confused:

can you adb shell to it and 'echo 2000 > /sys/class/leds/wled:backlight/brightness' and see if you see the brightness change that way?

-EDIT-

uhoh... I think I made a booboo ... I removed the PhilZ Touch device configuration by accident...

2.7.149 should be online soon for Z1C only... please do the above test on that new version.
[Sony Cross-Device General] Albert Poon:
First of all, when in TWRP, the brightness slider is doing nothing at all. Secondly, I am and will be away from computer for hours or longer, will post result once I reach my PC again
[Sony Cross-Device General] [NUT]:
No problemo :good:
[Sony Cross-Device General] DiLeon:
Oh good, as i have no pc at the moment - will wait for 149 :)
[Sony Cross-Device General] [NUT]:
It's online now :)
[Sony Cross-Device General] coolkoushik07:
I flashed it over 147 using flashable zip and still same prob.. Currently i am back to 147 again

Sent from my Xperia Z1 Compact (D5503)
[Sony Cross-Device General] [NUT]:
Derp ...

Try 2.7.149 ... Seriously thought you owned a Z1 ... sorry :eek:
[Sony Cross-Device General] coolkoushik07:
149 also has same issue.. Flashed back 147...

Sent from my Xperia Z1 Compact (D5503)
[Sony Cross-Device General] [NUT]:
WTF ...

How the ....
[Sony Cross-Device General] NamenIos:
I am not on the RC yet, but the latest test version.

I can't confirm this problem. I copied /tmp/recovery.log to external sd without a problem. Have you tried resetting the recovery settings? Maybe this helps.
[Sony Cross-Device General] coolkoushik07:
I dont understand...

In 149 when booting into philz recoveru, its showing black screen and i habe to force switch off phone.. Twrp is working fine and flashed 147 back using twrp...

Sent from my Xperia Z1 Compact (D5503)
[Sony Cross-Device General] JohnKersten:
Z2-lockeddualrecovery2.7.148-BETA.flashable

Don't have this issue on Z2.

Regards John
[Sony Cross-Device General] anagramgenius:
Yeah i said the same. The test version works fine. The problem is with. 148
[Sony Cross-Device General] russel5:
Last v.149 flash. Don't work PhilZ recovery, just black screen. TWRP work normal.
[Sony Cross-Device General] kamalmawa:
[MENTION=4904057][NUT][/MENTION] good news, cubeundcube managed to disable the ric service on Z2 17.1.2.A.314 firmware :)
[Sony Cross-Device General] hush66:
I plan to flash the latest Xperia Z2 17.1.2.A.314 firmware, then root it using cubeundcube's tool. After that, can I flash Z2-lockeddualrecovery v2.7.148?
[Sony Cross-Device General] brunsman6229:
i think there is no problem at all
[Sony Cross-Device General] [NUT]:
2.7.150 RC 2 now available.

I need some testers for the Xperia T2 Ultra, please PM if you want to help!
[Sony Cross-Device General] nickcaper:
twrp not working when i slide to backup

in philz method the twrp option backup stops about 75%.

cwrm backup seems to work when using philz method

c6606 on 10.4
[Sony Cross-Device General] coolkoushik07:
2.7.150 is working fine on z1 compact.. Though I havent checked everything but i can boot into both recovery and also i can change brightness in TWRP

Sent from my Xperia Z1 Compact (D5503)
[Sony Cross-Device General] anagramgenius:
TWRP doesn't turn off backlight after 1min in ZL. The file manager is working fine now and changing brightness also works.
[Sony Cross-Device General] [NUT]:
:eek:
[Sony Cross-Device General] anagramgenius:
the test version worked with no bugs.
[Sony Cross-Device General] russel5:
Last version works perfect
[Sony Cross-Device General] [NUT]:
Yeah, I think I forgot to merge one change... Will have to try to find the one I might have forgotten...
[Sony Cross-Device General] DiLeon:
can confirm that for Z1c and Z2 Tablet
[Sony Cross-Device General] sdeft:
Hi Nut

On SP TWRP is broken in latest builds...tried 148 to 150. Seriously broken as the phone freezes under TWRP and the only way out is to power it off from the back by removing the cover etc.!

Also adb has stopped working from 147 or something. I am back to 128 which is the most stable and has adb running under recovery too.
[Sony Cross-Device General] JohnKersten:
Z2-lockeddualrecovery2.7.150-BETA.flashable

[MENTION=410007]Nut[/MENTION] first of all thanks for this release.

No problems found so far.

But you are talking about 2.7.1.50 RC2, where can I find the RC versions?

Regards John
[Sony Cross-Device General] [NUT]:
About adb, grab the driver on my website to install the new adb driver. It's also included in the installer.

Once you have adb working again, see if you can still connect to your device as soon as twrp seems to have frozen.
[Sony Cross-Device General] kcc825:
Installation unsuccessful for my z ultra c6833/ rooted with supersu, ver 14.4.A.0.108, dual recovery vers. 2.7.1.50

No reboot after copying files. Cannot boot into CWM/TWRP by pressing volume up/down key. Seems installation unsuccessful, please help

Screenshot attached
[Sony Cross-Device General] brunsman6229:
all is ok on Z2 /2.7.150beta. brightness in TWRP etc.. many thanks for your work