yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] kamalmawa:
Oh thanks didn't see that.. LOL.. I just successfully restored the same twrp backup using your old version 2.7.22.. so it has to be something changed after that.. will attach a Log in a sec

Update: log from where it fails

from 2.7.22

item name: '/app/'

dir

==> extracting: /system//app/ (mode 40755, directory)

==> setting perms: /system//app/ (mode 40755, uid 0, gid 0)

tar_extract_all(): calling th_get_pathname()

tar_extract_all(): calling tar_extract_file(t, "/system//app/ApplicationsProvider.apk")

item name: '/app/ApplicationsProvider.apk'

reg

from 2.7.28

item name: '/app/'

dir

==> extracting: /system//app/ (mode 40755, directory)

mkdir(): Read-only file system

FAILED RESTORE OF FILE i: /system//app/

E:Unable to extract tar archive '/external_sd/TWRP/BACKUPS/BX903FMQ1Q/2013-10-29--08-48-46 10.3.1.A.2.67/system.ext4.win'

I:extractTarFork() process ended with ERROR=255
[Sony Cross-Device General] -=meinereeiner=-:
Sorry, but at the moment I havn't got acess to my XZ system-partion. :( "kamalmawa" reported that he has successful restored his backup with the older version 2.7.22. Can you put this version online again so I can restore my system too? After that I will test your modified twrp-version.

Thanks in advance!

-=meinereeiner=-
[Sony Cross-Device General] [NUT]:
http://xdaforums.com/showpost.php?p=46907719&postcount=765 the one attached here is basically the one from 2.7.28, install 2.7.28 and replace twrp with this one.
[Sony Cross-Device General] kamalmawa:
Do you wonna me to test this one?
[Sony Cross-Device General] [NUT]:
Please do :)
[Sony Cross-Device General] [NUT]:
On my downloads page, for those who are brave enough to try:

2.7.29, small improvements and one major change: the flag and default files are now replaced with a file called XZDR.prop inside the XZDualRecovery folder.

I'm not sure if this will make a difference on the problems in 2.7.28 though, but it might be worth a shot.
[Sony Cross-Device General] kamalmawa:
tested...Unfortunately phone won't boot at all after auto restart during installation. Had to re-flash my system partition :S
[Sony Cross-Device General] [NUT]:
I did say 'for the brave' :o

Anyway... This is what happens if I hurry a release... Oh well...
[Sony Cross-Device General] [NUT]:
I've fixed the problem in .29 ... and this might have fixed the issues haunting .28 as well...

2.7.30 now online on my downloads page... although i have personally tested this version to make sure it didn't cause a bootloop or something similar... it still remains a release for the brave, make sure you have everything you need to recover your mobile if anything goes horribly wrong...
[Sony Cross-Device General] [NUT]:
To anyone who has downloaded BETA .29, .30 and .31:

DO NOT INSTALL

It can delete your system partition contents ...
[Sony Cross-Device General] n.vk1305:
after installing a custom rom,the recovery wont install.Should install the stock rom via flash tools>root device>install recovery..
[Sony Cross-Device General] z750leovince:
i have error when installing rom with 2.7.28beta version. my error is simlincks statut 7

when installing my rom with 2.6.3 no problem
[Sony Cross-Device General] SignalX:
I have a XperiaZ with unlocked bootloader and 10.3.1.A.0.244 fw with root access, okay?

wich recovery file i should use?

can anyone direct me with a link?
[Sony Cross-Device General] [NUT]:
I'm starting a roll back to the CM 10.1 sources, as these problems started popping up when I switched to CM 10.2 as source tree...
[Sony Cross-Device General] SuperHanss:
Stable releases can be found here - http://xdaforums.com/showpost.php?p=46341961&postcount=2
[Sony Cross-Device General] [NUT]:
Please remove the file from your post... thanks.

For stable flashing you can still find the latest release version on my q&a thread... Simply click on the Q&A link in the devdb bar and check post 2.
[Sony Cross-Device General] [NUT]:
No worries m8 :)

I got some extra work done after all... I'm quite sure it will now work fine, including CWM. :fingers-crossed:
[Sony Cross-Device General] surdu_petru:
Hi!

Thank you very much mate :good:

I let you know how work on my device :

- after runn install.bat , device not boot !

- reseet device ( press on the same time power off + vol up & down ) - device boot well !

- than power off device and boot in twrp recovery , was ok !

- trying to boot in cwm , but sorry - is nothing displayed !

Also, I can not to flash something in twrp recovery , I really don't know why ?

( to make device to reboot, please use : adb shell "su -c /system/bin/reboot" instead your command ! )

Good luck !
[Sony Cross-Device General] [NUT]:
Silently updated the installer package, should reboot ok now...

It's getting too late now, will try to figure out the CWM not starting tomorrow ... it starts up just fine on my phone, but it might be related to me running doomkernel ...
[Sony Cross-Device General] Mitsuya Cider:
CWM is not working in version 1.7. (still black screen) and purple led.

TWRP is working.

Please let me know how to fix this.
[Sony Cross-Device General] [NUT]:
It is something in the ramdisk for cwm, I'll need to figure that out, it's nothing you can fix...
[Sony Cross-Device General] [NUT]:
I've tried flashing my own flashable zip in TWRP, it works fine for me, but as I already said, I'm still running doomkernel. I'll try to fix these issues asap, hopefully before the end of the coming weekend.

Working on a debugging version for myself now, logging every process running and all files available on disk, to compare the differences between doomkernel (both working fine) and stock Sony kernel (seemingly not working at all for CWM or not working as intended for TWRP).

Its possible DooMLoRD's kernel does some preemptive work in his base ramdisk which does not exist in the stock sony ramdisk. With the debugging version i hope to clear up what differences there are. I know how his initial ramdisk looks like, the only unknown here is the stock sony kernel ramdisk...

To be continued :D
[Sony Cross-Device General] hmsq:
I've got a question, why is the recovery specific to Kernel (sony or CM)? I would like to use TWRP on my CM but it says only supports stock sony kernel.

Just interested to know why the big differences, coming from a SGS3 there was never this type of issue wondering if this is specific to Sony handsets.

If this the wrong type of question to ask here, please let me know ad I'll delete it.

Thanks
[Sony Cross-Device General] Michealtbh:
I would be careful with the CPU frequencies in recovery, TWRP had problems with bricking devices due to overheating in the Nexus 4 after release.
[Sony Cross-Device General] RoberM:
[MENTION=4904057][NUT][/MENTION]

The new "lockeddualrecovery1.7.installer.zip" bricked my phone :crying:

I had previously 1.7 installed by TWRP method, then installed the dual recovery again using windows installer to test and as result i had this:

Power on (small vibration) ----> Sony logo ----> vibration + purple led (NO GREEN LED) ----> vibration -----> vibration ------> vibration ----- and so on forever.:confused:

Managed to put the device in flashmode and flashed system only with original unbranded UK ftf, so i had stock system partition and my data and apps were kept. :victory:

Rooted using "EasyRootingToolkit_XPERIA-Z_SO-02E_v101-ENGLISH_tkymgr" and tried again the v1.7 windows installer. Same result, infinite loop at Sony logo with purple led and vibrations every 3 - 4 seconds. And this time it was coming from a clean system just rooted. :eek:

Restoring system again right now. :cool:
[Sony Cross-Device General] surdu_petru:
Hi!

I have the same issue, but I can boot after I reset the device ( keep and press at the same time : power off, volume up & down ) !

( - for me no need to flash ftf file , because after reset the device, device will boot well ! )

Also, on the second reboot, I can enable twrp recovery by pressing volume-down !
[Sony Cross-Device General] [NUT]:
Oh boy... and I've actually tested all packages before release this time... i was so sure it worked OK this version :crying:

Asking doesn't hurt... i believe its related to drivers and how to use them for various hardware on the sony handsets, some the kernel devs are working toward a hybrid version for any ROM version, but as yet none have released a working kernel that can boot any ROM CM or stock based.

Yep, thats why i kept to the max cpu freq and only upped the min freq. The CPU in our XZ should be more then capable of running at these speeds.

Oh, i thought the reboot issue was related to the wrong command used in the installer... guess its something else all together :eek:

Weird... could it perhaps be the change you suggested being refired over and over again by adb? :confused:

Does the installer script finish its work like before or does it keep running?
[Sony Cross-Device General] surdu_petru:
Ok !, let me explain !

install.bat now it's ok ! ( device will reboot well !)

- the problem is that after the reboot, the device just stuck on SONY displayed , ( we need to reset device to be able to boot on stock firmware ! )

let me know if you understand ....
[Sony Cross-Device General] [NUT]:
Yeah, I understood before, I just can't wrap my head around the cause of this behavior ... thats what i meant :)

If you could try to rename /system/bin/chargemon to something like /system/bin/charemon.XZDR and put the attached file in its place? The file is packed in a regular zip, it should be renamed to 'chargemon' and check the permissions after copying, they need to be at least 0755 (-rwxr-x-r-x) for it to work. This is my debugging script, send me the debugging.log from the used log directory by link in a PM, it will end up to be somewhere around 65Kb large.

This script will behave differently when booting, it will NOT offer you to go into recovery as it is, this is just for gathering intelligence on your device at boot.

It should do:

Vibrate and show RED led

Perform tasks during RED led burning

Vibrate and turn led to GREEN before turning it off

Continue boot like nothing happened :)

If the led does not turn green and the second vibrate does not happen, send me the /tmp/XZDualRecovery/preperation.log

If all goes to plan, you will be able to find in /cache/chargemon or in /storage/sdcard1/XZDualRecovery a log called debugging.log, thats the file i want.

Anyone who wants to try this can do it, the more people do it, the better the overall chances of me catching the important differences!!

PLEASE DO NOT PUT THE DEBUGGING LOG IN PUBLIC PLACES, IT MIGHT CONTAIN PRIVATELY SENSITIVE INFO AS WELL!

Thanks for the help in advance!

[EDIT]

The script fails on stock sony kernels, so i removed it for now, i re-flashed stock kernel for myself to be able to test it more accurately. I'll re-release the debugging version as soon as i have fixed this issue.

[EDIT 2]

This version works OK on my phone with stock sony kernel.
[Sony Cross-Device General] BoRoU:
Hi, first thank you very much for the fantastic job.

I want you comment I'm having problems after installing the recoverys.

It installs everything without problems, both from my old install.bat as TWRP.

When TWRP home starts normally but I can not mount system, and when I restart the system tells me I have no OS installed, without emargo starts without problems.

Another problem is that when I try to CWM screen stays black with purple LED and goes no further.

What I can do? How I can report errors?

Thank you.
[Sony Cross-Device General] [NUT]:
See OP for details on error reporting. Though all you just wrote is already known.

Anyone who wants to install a hassle free version can try version 1.1 or 1.0, the current problems are from the version 1.2 change to a different ramdisk type...

Been trying to get phones to fail consistently the same way, but somehow they won't... That makes it extremely confusing.
[Sony Cross-Device General] surdu_petru:
Hi!

Also I have the same issue ( identical 100% ) because we have locked bootloader !

If you want to help, please follow the previous post ( #74) and report your .log files as was described by the author !

Thanks !
[Sony Cross-Device General] BoRoU:
Ok, I do tonight and logs reported.

A greeting.
[Sony Cross-Device General] [NUT]:
Post #74 contains a new version of the debug script. Anyone brave enough to help out is invited to do so.

If you do not have a way to securely send or upload files PM me for a email address you can send the log to.
[Sony Cross-Device General] [NUT]:
Sunk in about 10 hours total last night and this morning... hunting bugs and rewriting the scripting.

v1.8 is on its way... its taking it sweet time, but it is on its way :)
[Sony Cross-Device General] maddog_ac:
I also couldn't boot into both CWM and TWRP, flashed, it shown installation finished, and then the phone reboot, see the Sony logo, and then green led, press the volumn up, nothing happen, same situation when press volumn down to try to boot into TWRP...the green led disappeared so quickly, but fortunately my phone can boot in normal, just couldn't enter both kind of recovery...I tried so many times, so...pls help..
[Sony Cross-Device General] zippy01:
I installed the latest stable version yesterday, what's the difference between that and the latest working beta? Thank you
[Sony Cross-Device General] SignalX:
is it possible to install this recovery through fastboot mode?

because i have a Xperia Z without rom and revovery menu, when i turn it on it will show "sony" logo and it will restart itself
[Sony Cross-Device General] kamalmawa:
No... Fastboot mode only works with kernel flashing. If you want use custom recovery with kernel then you must have bootloader unlocked. This is for locked bootloader where recovery installed into system partition.

If you installed custom recovery with a kernel using fastboot mode without unlocking bootloader your device won't boot. re flash the stock kernel using flashtool if that happens,
[Sony Cross-Device General] SignalX:
thanks for reply,

okay, my phone doesn't have a rom, because i formated /system partition for installing Carbon rom, and i rebooted the phone before installing rom (by mistake)

now it doesn't boot and there's no recovery menu now

it's an unlocked bootloader XperiaZ

what can i do now?

(sorry for bad English)
[Sony Cross-Device General] [NUT]:
Use flashtool to flash a stock system partition...
[Sony Cross-Device General] [NUT]:
Sorry for the late reply, the betas have PhilZ Touch Recovery, a touch version of CWM.
[Sony Cross-Device General] zippy01:
Don't worry it's not late :P thank you I might wait.

Best regards
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] Version 2.7.34 BETA released!

BETA Change log:

BETA releases will only appear on http://nut.xperia-files.com and the DevDB thread and as soon as enough people report it to be working fine will it move in to the Q&A thread as a RELEASE version.

Version 2.7.34:

Changed from flag files to a property file. Inside the XZDualRecovery directory you will find XZDR.prop with currently only 2 settings, replacing the flagfiles. If you have them, XZDualRecovery will take note and save these settings in to the property file for you before deleting them.

The first packages have been released for use specifically on the various models I try to support. Tablet Z users can now use TWRP in landscape if they download the TabZ packages. Eventually I will move them all back to one consolidated package.

Fixed the system restore issues with the BETA line which popped up since .22 was released.

Modifications to the scripting continued... does it ever end?

XZDualRecovery now copies the preperation.log to the XZDualRecovery folder, makes it a little easier to collect the logs.

TWRP can now backup and restore the TA partition (READ THE WARNING!)

TWRP is finally built on the CM10.2 repo

Xperia ZL and Tablet Z users, please visit the link above to download your device specific packages.
[Sony Cross-Device General] [NUT]:
Hard-brick warning:

TWRP TA Backup&Restore HARD-BRICK WARNING:

If you backup your TA using TWRP, the only safeguard you will have is the MD5 check when restoring it.

When using this TWRP feature,

make sure you actually use TWRP's MD5 hash checking features

.

As there is no way to verify if the TA restore threw a curve-ball inside the recovery or that all of it went just fine, treat this feature with respect, care and attention.

Do not accept it as 'THE' method:

[MENTION=5261329]DevShaft[/MENTION] created BackupTA, as we all know. He created BackupTA's latest versions with a more elaborate safety-net to prevent hardbricking your device.

Visit his thread for the latest BackupTA if you have a hunch you or your device need those extra safety features.
[Sony Cross-Device General] [NUT]:
Please DO let me know if everything works OK too :p
[Sony Cross-Device General] shoey63:
No one wants to try? Well I did. Backed up and restored on both UB +LB. Happens in the blink of an eye. And yes, DRM keys are successfuly restored. (Providing backup was made on LB BEFORE initial unlock) :beer:
[Sony Cross-Device General] shehabskull:
MOD EDIT: [MENTION=5415557]shehabskull[/MENTION] please do NOT quote extremely long posts

Wait a Minute.. Did I lose my full hd display ? :(
[Sony Cross-Device General] travisd4est:
Alright having a issue that i saw someone else posted about but wasnt covered. Just got the phone yesterday. im the c6606 version. Cant unlock bootloader. (or so says the unlock site)

Its rooted and im trying to install the recovery. everything goes smooth till it reboots into recovery. After it goes to reboot into recovery, instead of seeing the options of recovery, its just a dark lightly lit screen. no words. no options. I end up having to hard reboot in order to start over.

Any ideas?

TIA
[Sony Cross-Device General] [NUT]:
It's still a conundrum to solve, if you try to enter TWRP, does that show a usable screen?
[Sony Cross-Device General] aethervagrant:
Use an older version or the twrp apk. There are several recoveries in the big resource list, out 6606s dont like a lot of them. Youll eithet get visual errors or things will seem to flash but bootloop on you. Most users are going to give you directions based on their model phone, which unfortunately doesnt always work on ours.

and yes you are fu$+ed for unlocking the bootloader there is currently no option and installing anything for LBs will brick or bootloop you.
[Sony Cross-Device General] numan_malik999:
hi i am getting this error in command promp
[Sony Cross-Device General] [NUT]:
Well... i'm certain the errors you see tell you enough, don't they?

Reboot your pc, disconnect all USB devices before you do, close pc companion and try again.
[Sony Cross-Device General] Lasantha:
Can you please add support for XZR thanks in advance
[Sony Cross-Device General] [NUT]:
With time i most probably will, but as the ZR is not a full hd device I'm not YET able to support it.
[Sony Cross-Device General] ethan3686:
This dual recovery with the latest touch inteface for philz doesnt seem to work with EXISTENZ rom for xperia z.

I tried flashing it many times but no success.
[Sony Cross-Device General] [NUT]:
Actually, it should. What version did you download and try with?

Maybe you could try to send me the logs instead of just saying you tried a lot? :p
[Sony Cross-Device General] AngelBob:
[MENTION=4904057][NUT][/MENTION]

I got annoyed with having to bash a VOL button all the time to boot into recovery, so I made this little app: NDR_Utils

Right now all it does is reboot to the chosen recovery version without the need to press a VOL button at all, though it would not be hard to get it to install NDR itself.

[EDIT]

NDRUtils update to fix a small issue should you deny 'su'

Extra permissions added for future additions
[Sony Cross-Device General] [NUT]:
That's amazing dude, thanks! :D

Been looking at the source, you specifically created it to work with .34's XZDR.prop file, very nice ;)

Mind me adding it to the installer to distribute it with XZDualRecovery from now on?
[Sony Cross-Device General] AngelBob:
I have no problems with that at all
[Sony Cross-Device General] [NUT]:
Hardware Issues

Due to hardware issues on my build environment I will be unable to work on XZDualRecovery until that gets fixed :(

From what I gather the 2 2Gb DDR2 SODIMM modules inside my Mini-ITX server are broken and need replacing. I'm waiting for some replacement parts as we speak, hoping it really IS the memory and not the motherboard.

To anyone who has downloaded test builds on my downloads page: be careful with the builds greater then 2.7.34, they have been built on my failing system and might cause unexpected results when used to backup and restore.

It's fixed :victory:
[Sony Cross-Device General] shoey63:
Great Job [MENTION=5321428]AngelBob[/MENTION]:thumbup:

I also hate pressing buttons. This is exactly what I have been hoping for:cool:
[Sony Cross-Device General] [NUT]:
Been playing around with the memory and tested a few strips of 'known good' modules... They all do the same... So it's the motherboard :crying:
[Sony Cross-Device General] skryte:
I am having the same problem. The only thing is I can't get it to turn off at all. It's just stuck on the black screen. Will update more asap.

Edit:Well now, that was a heart thumper there. Whew now for round 2.:-l

I still can't get it to install. This is weird because I had it installed just fine before I did the update then lost root. So I downgraded to regain root and now I can't get this to install again.
[Sony Cross-Device General] cosminnn:
Waiting for Device, connect USB cable now...

while handset is connected with USB debugging on.

Any ideas?
[Sony Cross-Device General] [NUT]:
Reboot pc, make sure pc companion is closed, flashtool drivers are installed and flashtool itself is not running.

Then try again :)
[Sony Cross-Device General] [NUT]:
For some reason CWM does this, it might have to do with hardware revisions... It's super odd.

After install you can try to enter TWRP by keypress, which usually works ok.

Remember the hard reboot requires you to hold the power and vol-up buttons for at least 5 seconds to fire, don't let go until your phone vibrated ONCE at the least.
[Sony Cross-Device General] cosminnn:
Thanks, it worked. I was on office laptop without admin rights, so no drivers were installed.

Thanks again.
[Sony Cross-Device General] skryte:
How would I enter TWRP by keypress?
[Sony Cross-Device General] [NUT]:
Sorry but I have to throw this at you: RTFM?

(couldn't resist the urge...)

Its all explained in the OP of the q&a thread :p
[Sony Cross-Device General] skryte:
:victory:Hahahahaha now I feel like more of an idiot then a guy running backwards through a cornfield naked. I've been racking my head over this for days then you made me realize that I had the same issue the first time and I had to use the apk to install twrp. lol thanks for putting up with my nonsense and THANK YOU SO MUCH for the help. lol now lets see what damage I can do.:silly:
[Sony Cross-Device General] [NUT]:
I've struck a deal with my employer and was able to order the parts I need to resurrect my development environment. Waiting for the parts as we speak :thumbup:
[Sony Cross-Device General] GROGG88:
Does this app require doomlord's reboot wrapper? I tried running it and it will not reboot into any recovery.
[Sony Cross-Device General] AngelBob:
It's designed to work with the beta XZDualRecoveries
[Sony Cross-Device General] [NUT]:
You do realize you need to have XZDualRecovery installed for it to work?
[Sony Cross-Device General] GROGG88:
Yes, I'm aware. I have 2.7.34 beta installed... No problem, I'm just using Xposed instead which is fine because I really only use PhilZ recovery anyways. I liked the idea of having access to all three though.