yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] shinkazama:
Cannot install XZDualRecovery after newest update

i just update my z1 compact D5503 using pc companion to 14.5.A.0.270 and realize that my phone become not rooted and XZDualRecovery is gone.. i tried to install XZDualRecovery 2.8.15 but failed.. anyone can give solution to my problem? please help me..

this is my log when using install.bat
[Sony Cross-Device General] narukaze:
I just remember this Error Messages :(

grep: /storage/sdcard1/XZDualRecovery/XZDR.prop: No such file or directory

use the new install C6602 10.6.A.0.454,no Xposed,only use this root tool "kingroot"
[Sony Cross-Device General] captx:
Xperia ZR LP 5.02 bootloop

windows installer latest version

installs fine reboot and bootloop
[Sony Cross-Device General] nzzane:
Hello, have reset my phone and recovery just does not load... It skips past the green light for recovery, and won't enter recovery any other way, boots fine other than that

Installed using 2.8.14 zip

ROM name / FW version

Stock D5803 Pre-Rooted 23.1.A.1.28

SuperSU 2.46

Log files

https://mega.co.nz/#F!ME5SEABK!7PeOyAO3ueSZ1zyP4pkjzw
[Sony Cross-Device General] Whizzoo:
grep: /storage/sdcard1/XZDualRecovery/XZDR.prop: No such file or directory is the error message it gives in Step 3 and during the installation. Using C6603 firmware on C6603 now, still bootloops :(
[Sony Cross-Device General] [NUT]:
Update to 2.8.15 and it will be fixed.

That message is actually harmless, it will use /cache when it can't use your external sdcard.

What customization are you using? Tried to find a lollipop rom but couldn't...
[Sony Cross-Device General] Rootk1t:
Xperia Z (C6603) Hong Kong Generic – 10.6.A.0.454
[Sony Cross-Device General] awert_65:
+1 on my ZL 5.0.2 Lollipop Stock ROM
[Sony Cross-Device General] Whizzoo:
That's the exact one I'm on. Rooted with Kingroot.
[Sony Cross-Device General] Rootk1t:
root as i heard is not fully functional cause RIC is not properly killed and recovery install results in bootloop.
[Sony Cross-Device General] TheFerhatKing:
Does anyone know why AndroPlus Kernel doesn't boot with this dual recovery? It worked with old versions of XZDR.
[Sony Cross-Device General] Whizzoo:
Hmmm, is there any way to kill RIC completely?
[Sony Cross-Device General] Siddhesh Sapre:
Dual recovery gives a bootloop on XPERIA Z Lollipop firmware

I am on XPERIA Z Official 10.6.A.0.454 firmware (5.0.2) and have tried many a times to install dual recovery. However it gives a bootloop!

Please fix this issue as those with unlocked bootloaders can at least flash custom kernel. But those like me who like to stay on locked bootloaders cannot do that. So please fix the bootloop issue asap!:confused:
[Sony Cross-Device General] djg269:
I've used this "disable_ric_file.zip".

Just flash in recovery.
[Sony Cross-Device General] johan23:
I assumed this is not yet works on Xperia Zl Lollipop right? It cause bootloop
[Sony Cross-Device General] omike123:
Will this work on c3 running kitkat? Bootloader locked
[Sony Cross-Device General] zxz0O0:
Are you rooted?
[Sony Cross-Device General] nzzane:
Is there a way to update without using a computer, like from the device (without using recovery) on lollipop?
[Sony Cross-Device General] tom282f3:
Hello. Do you plan to make it work on lollipop ROMs of Z/ZL/ZR?

There are already people reporting bootloops when they flash XZDR into their lollipop ROM.

(Well, that includes me OAO)

So I a kindly asking if you have a plan to make it do the job on lollipop ROMs.
[Sony Cross-Device General] howie040:
Thank you so much, such a great tool. Used it for many of years now.

On a side note, 2.8.15 does not seem to work with CM12.1 builds.

2.8.12 does work fine.

When pressing vol-up/down during startup the phone goes into CM-recovery (even when coming from XDZ 2.8.12). Also does not go into android but keeps booting. Tried it with the installer and flashable zip.

Anyway, keep up the great work.

[edit] I'm using Xperia Z1. Maybe it's not suppose to work with this kernal (CM12.1) . I flashed TWRP recovery from the CM12.1 topic and works fine now.
[Sony Cross-Device General] Tomoms:
Kernel builder is not working properly

Good morning, [MENTION=4904057][NUT][/MENTION] I'm a kernel developer for Xperia SP. A few days ago I uploaded my kernel (it's a 5.1 kernel) to your site because I wanted it to include XZDR. I selected my device and Android version, uploaded the .elf file and the kernel builder started working. I downloaded the resulting zip and flashed it but, even though the recovery output was normal (no error messages or whatnot) the kernel wasn't flashed. My phone booted with the same kernel as before. I tried fastboot, but it gets stuck at the first step ("Sending boot (15121 kb)...") and it doesn't go further.

Are you aware of this?
[Sony Cross-Device General] tomest:
TWRP cannot mount sdcard1 in settings, lollipop 5.0.2, sony z1 compact. Installed fine, booting fine.

I found solution, must erase sdcard in phone.
[Sony Cross-Device General] hicked:
I read that is not working in version 5.0.2 .270 in Z1 compact d5503 could anyone Verifying me if it works or not?
[Sony Cross-Device General] jing000l:
boot loop on ZR lollipop
[Sony Cross-Device General] omike123:
Yes. Root my c3 using kingroot.
[Sony Cross-Device General] SquallATF:
xperia z 10.6.A.0.454 firmware does not have /system/lib/module/nls_utf8.ko and /system/bin/mr moved to ramdisk /sbin/mr, and can't get any boot log file on sd card because mount sd card failed.

nls_utf8.ko will load when use exfat sd card, I try to remove this module load command but still get boot loop, and also tried using fat sd card but still unlucky.
[Sony Cross-Device General] nzzane:
Well that's your problem, kingroot is dodgy and doesn't always work
[Sony Cross-Device General] omike123:
Alright then! So how about I reflash c3 d2533 firmware again and root it with another method (not kingroot) should this recovery by [MENTION=4904057][NUT][/MENTION] will work on it?
[Sony Cross-Device General] GretaLewd:
Also causes bootloops on Tablet Z with .454 Lollipop :( Other Tablet Z users reporting same problem.

Hope we "Z" users get a working Lollipop recovery :fingers-crossed:
[Sony Cross-Device General] YourFriendlyNig:
How would i flash this using mac and terminal? the bat file wont open on its own
[Sony Cross-Device General] spyfly:
Anyone tried this fix on Xperia Z: http://xdaforums.com/showpost.php?p=59879026&postcount=3837

Not working!
[Sony Cross-Device General] chilllkroete:
This fix is already in the PC-installer package, at least in the 2.8.15-release. So...

And another thing: someone mentioned that using the kingroot-method may be the case for bootloops.

I own a Tablet Z with LB, updated it to the newest Lollipop-release and used kingroot to successfully get root. After that I tried to install the dualrecoveries via pc-installer 2.8.15. It installed, but after that it ended in bootlops. I couldn`t get any logs.

Then I used flashtool to flash the JB-Version that was vulnerable for towelroot. I got root, installed the recoveries via the same installer as above. It rebooted and went to the recovery. I flashed a flashable zip of the newest LL-release, prerooted and recoveries included. Result: Bootloops. This time, I found some logs on the external SD-card.

If I may help somehow or you need some more infos, I would be happy to help. :)
[Sony Cross-Device General] pvnsai73:
I think yu have taken this logs from sdcard..This log is useless.. Because what yu have sent is of Android 4.1.2.. Latest log is found in cache/xzdualrecovery/ or tmp/...
[Sony Cross-Device General] pvnsai73:
Ur ri8 because in lp Sony makes different modules for different types of phones even my phne(sony Xperia t2 ultra)dnt have them...and ofcuz [MENTION=4904057][NUT][/MENTION] and [MENTION=787413]zxz[/MENTION]o0o devs are also working on it.frm a month..hope they vl fix them soon
[Sony Cross-Device General] chilllkroete:
Now I`m on Lollipop again. I could use the installer to provoke the bootloop again. But how could I then manage to get the logs? The only way I know of getting rid of the bootloops is to use Flashtool and flash a ftf.
[Sony Cross-Device General] DoubleYouPee:
FTF's for Xperia ZL are also available now.

I want to flash but I also want to wait for NUT, now that I still have root.

I'm hoping for a prerooted "[STOCK][C650X][5.0.2] Update to 10.6.A.0.454 [Root & XZDR]" like always.

Anyone know whether NUT is still active?
[Sony Cross-Device General] kamikatze004:
Wrote him a private message a few days ago with the same question. Haven't received an answer yet. :(
[Sony Cross-Device General] juanpirulo:
I had a look At your logs and you can try two things, one just delete the xzdualrecovery folder on the sd ext to get a correct one prior to install again the dualrecovery just because the file xzdr.prop is a little bit mess, if this dont have sucess try to set the line Dr.prop byeselinux true insteed of false in the xzdr.prop. cheers
[Sony Cross-Device General] humanzqzr:
while flashing ftf file untick data and flash the ftf
[Sony Cross-Device General] chilllkroete:
Ok, tomorrow I`m gonna give it another try. I`ll be sure to delete the folder on the external card and after the expected bootloops, I`m gonna use the Flashtool this time the proper way, to save the precious logs :) I`ll let you all know.
[Sony Cross-Device General] ulakala:
THANK U very much.....but....

what i must to see in busybox?? what is SUPERCHARHER???
[Sony Cross-Device General] YudiA1:
sorry wrong wrote b4. imean supercharger.

extract file to your root sdcard1 than use smanager that you can download from play store.

this link for supercharger download include busybox. 1.19.4.

https://app.box.com/s/gwy7g161ojlt7uu8ddeo

download smanager from play store. that use

it to run startme... in directory of supercharger. only thick SU on smanager than run it. c.on picture attached. follow all instruction when run it. choose all Yes.
[Sony Cross-Device General] uwillknow:
forgot to flash lockeddualrecovery2.6.0-RELEASE.zip after installing a ROM and before reboot, so lose recovery

and i did try to use the Windows installer, but still can't get into any of the recovery.

any clue and what i should do now?
[Sony Cross-Device General] YudiA1:
Read on 1st page post on this thread :D

or

try this recovery to flash dual recovery.

you only need root access :)

https://app.box.com/s/yd0oni809rdfsjmb76x8
[Sony Cross-Device General] Dr_SUSE:
I' ve exp experienced a possible bug with the XZD. It took me over a day of sleuthing, but once found it was easy to reproduce.

It seems running the XZD script prevents apps from being able to correctly use the built-in light meter.

It took me over a 40 point checklist of steps after flashing the ROM, but when it came to running the XZD script, all light meter apps stopped running correctly, reporting that the light meter was unavailable. Removing the recovery was the only way to bring it back. Tested on two apps, GPS status and "Light meter v.4".

Install XZDR, no light meter.

Remove XZDR, working light meter.

On XperiaZL, 10.3.a.0.423 C6502

Can anyone confirm this?

Any ideas how to get recovery and keep the light meter?
[Sony Cross-Device General] [NUT]:
Please help me help you by doing 2 things:

1) let me know what apps you tried and

2) test it with another recovery to make sure it's XZDualRecovery causing it as sole package...

-Edit-

Tried andoid sensor box from Play... It's free and works for me...
[Sony Cross-Device General] Dr_SUSE:
I've tried GPS Status and Toolbox (has integrated light meter), beeCam light Meter (FM Bee), Light Meter (Borce Trajkovski), Rex Light Meter, Light Meter (TomCode), Light Meter (Diax), and Light-o-meter (Spaceware). None of these worked with the XZDR installed, and the first two I tried (Diax and GPS Status) without XZDR worked.

Can you recommend a recovery that will work on 10.3.A.0.423, preferably CWM? That's what brought me to XZDR, it's the only one I could find at the time that would work. I'd like to assume that recoveries that would work for the Z would also work for the ZL, but I'm sure you'll warn me not to do that.

BTW I'm using version 2.5.1.
[Sony Cross-Device General] Dr_SUSE:
Just tried with 2.6, got the same thing.

In Light Meter v.4:

"Light sensor data are not available."

After following XZDR removal instructions, they're back again, right as rain.
[Sony Cross-Device General] [NUT]:
Hmm.. Weird, it just works for me?
[Sony Cross-Device General] Dr_SUSE:
Any logs I could help you with? Just tell me where to find them.

I'm having a bit of a tough time finding a different recovery for this firmware. I tried an old doomkernel for 253 but it bricked my phone. I really don't see that many options for this firmware.
[Sony Cross-Device General] [NUT]:
Hmm... As you can see, they both work just fine for me... All of the sensors do... What you have is really awkward...
[Sony Cross-Device General] kingvortex:
I can add that the light sensor doesn't appear to work for me either.

I haven't tried removing the recovery to see if that fixes it.

Edit : The ambient light sensor test via the service menu returns an empty value.

Something is not right.

Just for info, I have a C6603 on sw version 10.3.A.0.423 generic ES, customisation number 1270-6697. Rooted and dual recovery installed. No other mods or other alterations to /system.
[Sony Cross-Device General] Dr_SUSE:
Well, sure...insofar as any unexpected, apparently completely inconsistent bug might be considered "awkward". Attributing Dalvik scanning on every boot seemed more consistent than this problem does, and that wasn't even it, as it turns out.

But I've eliminated every other posibility. Not having the flight meter really irked me , so I flashed to a stock kernel that I knew worked with the light meter, first thing after flashing and general set-up was to install GPS Status &Tollbox so I could check the light meter, which worked. Then I went through *40* individual steps, robooting the phone between each step, checking the light meter, then logging the update and light meter check.

The penultimate update, before the final update of restoring Titanium backup and cleaning up after that, was the XZDR.

After 40 reboots and checks after each update, it was the XZDR that took out my light meter. Removing XZDR per instructions brought back the light meter in every case, multiple apps tested, under 2 different versions of XZDR.

Now it appears we have it on both Z and ZL.

Here's a random idea:

Write this as an app, that when switched "on" writes all the files (the ones deleted/renamed during the XZDR removal) into their correct place, then when instructed boot into either CWM or TWRP from system shutdown. After finishing in recovery, phone reboots into recovery switched "off" mode, with all the files mentioned before renamed to stock or deleted*.

*Or better yet just renamed.
[Sony Cross-Device General] Madala_ZA:
Picked up my Xperia Z last night woop woop :victory:

I'm having the same issue as godjak i.e. I can't boot into CWM.. but TWRP is fine. I followed the instructions in the OP and then tried a couple of times and searched before posting here. Any ideas?

My setup: rooted, locked, superuser and running unbranded .434
[Sony Cross-Device General] Emeraldawn:
Same here: with DualRecovery light sensor doesn't work; without DualRecovery light sensor work.

C6603 with 10.3.1.A.0.244 firmware.
[Sony Cross-Device General] [NUT]:
With the update to .244 my phone started doing the same, so now I have something to really test on...
[Sony Cross-Device General] lancebuks:
That said would it better to stay on 10.3.A.0.423 until you get things sorted out?
[Sony Cross-Device General] kingvortex:
I had the problem on 423, so it doesn't seem dependant on firmware version.
[Sony Cross-Device General] [NUT]:
No, not really:

I never had it before the latest... but i have a hunch what it might be ... The ROM has no issues accessing the light sensor, just the apps... which points me in a certain direction on where to look for the cause.

I HOPE I'll get some time tonight to experiment with the hunch.
[Sony Cross-Device General] lancebuks:
10.3.1.A.0.244

No issues on 10.3.1.A.0.244 :good:
[Sony Cross-Device General] [NUT]:
Sorry for the long wait (xperia Z/ZL/ZR) guys, Real Life ( :eek: ) kicked in and took away all my development time...

I hope to have some spare time later this week...
[Sony Cross-Device General] boardlord:
Hi guys!

Z3C user here. I don't have any problems with the recovery (using TWRP), however while making a (compressed) backup, the phone heats up quite strongly... Reading the "horror" stories of phones whose glass backs cracked due to large temperature swings, I worry that the excessive heat generated while doing a backup might, (over time) take its toll on the back of the phone. Is the strong heat build up during backups normal? Thanks!
[Sony Cross-Device General] [NUT]:
Compression is a CPU intensive task, your device heating up is normal in that respect. If you have a metal or glass table, put down your mobile with the back placed on it to help it dissipate the heat. Anything under 90 degrees Celsius is quite normal during the backup creation when compression is turned on on my Z2, putting it down on a cold surface can lower the temperature by as much as 10 degrees...
[Sony Cross-Device General] boardlord:
Thanks for your quick answer and suggestions! Its good to know that this is quite normal, not an anomaly with my phone :) I'll make my backup then on my glass table :)
[Sony Cross-Device General] xgerardox:
still bootloops :crying::crying:
[Sony Cross-Device General] deliler:
i install prerooted zip root working correctly but when i install recovery bootloop issue on c6603 xperia z lollipop :( i'm back kitkat :(
[Sony Cross-Device General] juanpirulo:
Try delete xzdualrecovery folder from sd ext and install recovery again. Cheers
[Sony Cross-Device General] deliler:
yea i try it but not working. my bootloader locked
[Sony Cross-Device General] Sebi673:
So, is recovery working for xperia Z Lollipop with bootloader locked? Really looking forward for the update.
[Sony Cross-Device General] pointblank_limited:
unfortunately not as yet for locked bootloader, which is a bummer but it will come soon with all the clever people around here
[Sony Cross-Device General] chilllkroete:
So, don`t know what happened this time. First, I deleted the xzdr-Folder on the external card, ran the installer, as expected it bootlooped again.

This time using the Flashtool I unticked Wipe Data and Cache and flashed the same Lollipop-release again. This way I got out of the bootloop and could start the Tablet again. But lost root during the process.

Long story short, this whole process was unnecessary, because this time there were no logs neither in the newely created xzdr-Folder, nor in /cache or in /tmp. I don`t know why there weren`t any logs.
[Sony Cross-Device General] artpra:
[MENTION=4904057][NUT][/MENTION]

Was trying to create prerooted flashable zip with your recovery included as I always do. Firmware 23.1.A.28 CE1 for Z2; flashable XZDR 2.8.15.

Tried three times with three different regions, every time phone was stuck in bootloop at first boot (Sony logo->reboot->Sony logo->....). Figured that it can be because of XZDR, so I`ve excluded it from zip next time (only SuperSU added) and it worked perfectly fine. Tried the two other region firmwares and it was fine too. After successful boot, I`ve used XZDR 2.8.15 installer package and it installed properly - recoveries are working.

So there is some problem with flashable package 2.8.15 or some incompatibility with PRFCreator.
[Sony Cross-Device General] [NUT]:
I think the way that PRFCreator works is to flash seperate packages in sequence, the result is that my package might not flash the solution to the selinux problems on your device, because it is unable to find the apropriate files.

A possible solution is to grab the init.* files from the kernel's ramdisk and put them inside /system/.XZDualRecovery in the zip which contains the ROM, I never used PRFCreator myself though, so I don't know if it's possible.

Maybe [MENTION=3975929]zxz0O0[/MENTION] can update PRFCreator to do this by itself, I don't know...
[Sony Cross-Device General] artpra:
That`s not a big problem, fortunately prerooting still works and we can always use installer later (after flash) to get recoveries.

So yes, it looks like a problem with how PRFCreator handles additional zips, not with your XZDR flashable zip itself.

Thanks.
[Sony Cross-Device General] kt-Froggy:
Possibly, depending on the device and the firmware version, I dunno... In my case, trying to use a PC installer on properly rooted ZL with the latest stock 5.0.2 and locked BL consistently ends up in a bootloop.
[Sony Cross-Device General] [NUT]:
He was actually talking about the Z2, which is a different problem compared to the Z/ZL.
[Sony Cross-Device General] DoubleYouPee:
I wouldn't mind using install.bat for XZDualRecovery after lollipop + root has been installed.

But apparently, that doesn't work either. So I guess something else is wrong aside from PRFCreator?
[Sony Cross-Device General] [NUT]:
On the Xperia T2 Ultra, Z, ZL and ZR (and probably the Tablet Z as well), yes: the issue with PRFCreator is unrelated to the issues experienced with the listed models...
[Sony Cross-Device General] Thomas_BA:
Hello and greetings from Buenos Aires.

Well i am using Dual Recovery since the earliest version and always without problems. Now I am on Stock Lollipop 5.02 on my Xperia Z1.

Problem: After some reboots or time I can not charge offline anymore and parallel to that my phone won't go anymore into recovery. I have to install dual recovery again with the installer. After that all working again. Using the latest Dual Recovery.

Very strange. Any idea what happens?
[Sony Cross-Device General] kt-Froggy:
Yeah, I understand that; that's why I said it could depend on the device, since I don't know enough about the specifics of the issue(s)... But you already confirmed that it is indeed a different issue with ZL, thanks!

Patiently waiting for an updated recovery that can be used on ZL with 5.0.2 and locked BL. But take your time, the real life always takes priority by definition! :)
[Sony Cross-Device General] mdc1983uk:
Struggling with this on my old XT. Flashed a stock .205 ftf. Enabled ADB. Installed XZ dual installer. Reboot and install SuperSU first boot of recovery. Reboot again and it's fine (rooted and SuperSU'd). Problem comes when I go into either recovery to perform a Nandroid backup at this state - they both crash and reboot after a minute. I've tried to install windows/flashable reboot remount fix but these fail to install. Somewhere else I read this step isn't required anymore either. What am I doing wrong? Interestingly if I perfom a factory reset, the recovery doesn't crash anymore... But who wants a Nandroid of a fresh reset phone?! I'd rather boot into Android and setup my preferences and then take a backup. Thanks
[Sony Cross-Device General] zxz0O0:
Sorry but I must disagree. The functionality of PRFCreator is not to detect dualrecovery and apply some special patch. I think you should rather adapt the way you're detecting if a LP rom is installed.
[Sony Cross-Device General] shafiq01:
Hi NUT

I don't know if anyone already asked below question already (couldn't find it in the thread via a search though)

Anyway, I've had a Z4 for ages now, which then turned to be Z3+ in the European countries recently (aka E6553)

Running on another chip family 8994 Snapdragon810 with Sony stock f/w 28.0.A.4_NCB

Very Whishful Thinking:

Would i be able to upload the kernel.sin file from the ftf file and retrieve a working recovery for usage as root access on a locked BL
[Sony Cross-Device General] kingvortex:
You need an unlocked bootloader to use the kernels from the builder.

Sent from my C6603
[Sony Cross-Device General] shafiq01:
bummer, then i'll probably have to wait for an exploit. since the screen is so awesome.

would be a pitty to loose the drm marlin+ckb keys before the device is available to the masses