yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] Jhon998:
I have noticed that mine says 1.20.2-jb

Whenever i try to install the 1.22.1-stericson it just won't load the dual recovery at all, so i don't mind having a "much stable" version of BB.
[Xperia Z2 Original Android Development] A|ex:
Having same issue.I am going to downgrade firmware tonight, root flash and try again. I must have installed it updated something on app market to take out recovery
[Xperia Z2 Original Android Development] kirpeace:
Can it be updated to flash new twrp
[Xperia Z2 Original Android Development] RedSkyRoad:
Can someone please help me install TWRP 2.8.0.1 OVER this dual recovery?
[Xperia Z2 Original Android Development] A|ex:
I was told it was, the issue I had and what I believed caused me to lose recovery was I flashed dual, this worked, ten I installed a rom but I failed to install the flash dual rom straight after the rom. Then after booting the rom, busybox etc all went wonky and it got a little messy.

now I have restored stock firmware and wondering how to get dual recovery as running the installer does nto work. I must not be wiping the rom correctly using flashtool when going back to stock?
[Xperia Z2 Original Android Development] [NUT]:
Paranoid Android is not stock based, as a result XZDR does not work on that. Use a stock (or stock based-) ROM with XZDR or get stuck with the CM/AOSP own recovery.
[Xperia Z2 Original Android Development] bonderbond:
Thanks. I understand now.

I've gone thru 3 rounds of flashing the FTF to get back to stock rom, rooted, and tried different ways of installing twrp recovery, including fastboot Deestroy's stock kernel repacked img, and using the dd command on the fotakernel img. In the end, recovery doesn't work, on rebooting the device hung as it cannot go into TWRP.

So on the 3rd or so time of flashing FTF back to stock rom state, and rooting, I tried XZDR, and whilst on stock rom, everything works fine i.e. gg into Philz and gg into TWRP via the Vol+ & Vol- key.

Then upon flashing in PA ending with XZDR flashable, I know now and agree. Thanks anyway.
[Xperia Z2 Original Android Development] Naiks20:
Does this dual recovery allow me to install a custom rom without an unlockable bootloader?
[Xperia Z2 Original Android Development] Monipeev:
Yes, but custom rom based on stock only.

Send from my Sony Xperia Z2
[Xperia Z2 Original Android Development] futiless:
So for the record there seem to be only 3

1. eXtensze

2.Romaur

and

Envi-Rom

all seem OK

might be others too but I can't find them..
[Xperia Z2 Original Android Development] sierrarohan:
Awkward Problem!!

Hi there [NUT], I have been using this Dual recovery and it's a great job done by you!!:o However, I'm facing a consistent problem. It takes a Nandroid backup without hassle, but while restoring it, It shows 'Error while restoring data!'. All other partitions get restored well! I used all the recoveries, vanilla CWM, Phillz, TWRP, but always the same error! I wiped data, then tried to restore, Flashed official FTF, rooted and tried again but no luck!! I searched on net and fount out that this is may be due to the large size of the split backup (my /data is almost 2.6GB). I faced the problem once before and again yesterday. I just can't restore my data after flashing a new ROM! TB doesn's show all my user apps, Nandroid Manager takes an eternity to restore a single app and recovery option fails too! :(

I suppose you can guide me in anyway bro!

Unfortunately, I flashed stock firmware on my phone so I think the logs that you might require in /system got deleted.
[Xperia Z2 Original Android Development] Isley_:
Sorry I have this problem, I try to backup my kernel with Flashify and I get this message, what's wrong?
[Xperia Z2 Original Android Development] shaji007:
I installed this via cwm however i have a problem when the green led comes on if i press up it goes into the sony logo and nothing screen vibrates if i touch it but that's it then after a while it restarts. If i press down if just flashes on and off the sony logo screen till the logo gets all disorted.

I am running on cm11 the latest build.
[Xperia Z2 Original Android Development] Isley_:
Try with NRD Utils is an app on play store
[Xperia Z2 Original Android Development] shaji007:
Tried it if i selected the other recovery options besides cwm and click on reboot to primary it just goes to cwm.
[Xperia Z2 Original Android Development] [NUT]:
You can't use XZDR on CM, period.
[Xperia Z2 Original Android Development] Myself5:
Not sure if you read my PM, but here is the content again.

As it seems like XZDR needs Kernel support, I would love to group up with you and make my Kernel (M5-Kernel on CM base) compatible with it. I already checked out your sources and found some references to CM, but this is just a syslink to a file in your home directory, so this sadly didn't really helped me at all. I think together we can make lot's of users happy and provide your awesome work to even more people.

Hope to hear from you

Greetings

Myself5
[Xperia Z2 Original Android Development] shaji007:
It's cool I realised after trying it a hundred times people suggested to flash it through cwm I just went to stock and started from there. Thanks anyway
[Xperia Z2 Original Android Development] in_finity:
I would like to perform a Nandroid backup in TWRP onto my usb stick (connected via OTG). I am able to select the OTG device in TWRP and start the backup process, but after a minute or so the phone suddenly reboots and shows the TWRP splash screen again. The main menu of TWRP is then displayed for about half a second, after which the phone reboots again and show the TWRP splash screen and so on...

After examining the contents of the USB stick on my PC, I can see that TWRP did, in fact, create a backup of the boot image, trim area, and about the first 40MB of the system partition, but nothing else. :confused:

Sadly, CWM does not seem to support nandroid backups to OTG devices at all (it detects and mounts the stick at boot, but I cannot change the default backup path, which is set to /data/media/clockwordmod/). :(

Could this be a bug that is fixed in a newer version of TWRP (i.e. 2.8)? I already tried reinstalling the recovery to no avail. Also I am not sure how to update TWRP myself, as I do not want to fiddle with your custom triple-recovery image :p
[Xperia Z2 Original Android Development] Arvind Jain:
Deleted
[Xperia Z2 Original Android Development] OnePotato:
Is there still no possible way to unlock the bootloader, if the dialers says no?

If its so, I will mostlikely sell this phone and get the note 4/nexus 6, since I want to run aokp roms.
[Xperia Z2 Original Android Development] benjmiester:
So I installed from the installer, everything worked, rebooted hit volume down and got TWRP. I performed a backup right away and then rebooted back into system without flashing the 'flashable' zip. Do I need to reinstall from installer first to get into recovery again and then flash the flashable zip? Or will it reboot into recovery again. I haven't installed a rom yet, just booted back into stock rooted unlocked BL system from the twrp backup.

Also, once I do install a rom, I always need to flash the flashable zip after installing the rom before rebooting, or just for the first time after the rom install?
[Xperia Z2 Original Android Development] sd_shadow:
Notice: A New Q & A thread has been created in the Q&A, Help & Troubleshooting Sub-Forum.

New Discussion and Q & A Tabs have also been created, located just under threads Title, when viewing in a Browser.

Posts from members with less than 10 posts will automatically be posted in the new Q & A thread.

Please check it out, and see if you can help out someone with a question about this Topic.
[Xperia Z2 Original Android Development] Naiks20:
Did you ever find out if you can unlock this phone? I'm in the same position =/
[Xperia Z2 Original Android Development] OnePotato:
Nop, yesterday I pulled the trigger and bought myself the note 4 (+ a note 10.1 2014 edition, it was free)..

The Z2 was a good phone, but I coudn't like it. I rather used my older lg g2, since the screen was much better and the bazzels were smaller.

Good luck, I guess you will not be able to unlock it..
[Xperia Z2 Original Android Development] Naiks20:
I love the z2, It's perfect for me I'm just debating whether the upgrade to Lollipop when it comes out will be worth it if i cant root once i get the update =/
[Xperia Z2 Original Android Development] OnePotato:
It just wasnt the phone for, I really liked the water resisdence thought
[Xperia Z2 Original Android Development] crazynewfie:
Just wondering if this will work on 4.4.4? It's just released now and I love this dual recovery.
[Xperia Z2 Original Android Development] [NUT]:
Unless Sony overhauled the entire ROM, which is very unlikely, it should work just fine.
[Xperia Z2 Original Android Development] sofia-captivate:
Tried this earlier my phone reboots but doesn't go to recovery, how do i know if i have the recovery? Cause it said complete on the software.
[Xperia Z2 Original Android Development] TheFerhatKing:
I tested it, its not working :/ Please make an update when you've got time.
[Xperia Z2 Original Android Development] imgoingtowin:
Did anyone get the problem where when your turn off your phone and plug it in, it turns back on? The problem started after I installed this, but it may be unrelated.
[Xperia Z2 Original Android Development] [NUT]:
To both of you: please provide ALL the logs and the output on the installation window... it's the only way I will be able to troubleshoot it.

If you tried to install it on an unrooted 4.4.4, that won't work for sure, the unrooted installation will not work because the exploit used has been fixed.

Make sure you have your phone on the latest rootable ROM or return to an older backup, grab a 4.4.4 FTF of your preference (customization), grab the flashable package of XZDR and then follow the guide here: http://xdaforums.com/showthread.php?t=2307311

When done and working ok, feel free to release the flashable package to the public :good:

Did you have any other recovery installed before you installed this by any chance? If so, try to find /system/bin/chargemon inside the custom rom package to see if that is a script or not. If it is, it's probably still on system as chargemon.stock. If that's the case, try to find a replacement binary chargemon and copy it over chargemon.stock. This will fix the off-line charging.
[Xperia Z2 Original Android Development] TheFerhatKing:
Yeah I tryed flashing it on unrooted ROM, sorry I can't go back to a older ROM I haven't got WiFi at this time. You need the logs for this?
[Xperia Z2 Original Android Development] Nightf0x_007:
how can i make philz cwm recovery as my main recovery and twrp recovery as the 2nd one ?

+ in philz cwm recovery brightness is too low how can i rise it ?
[Xperia Z2 Original Android Development] Hussainally:
Hi guys ..is there a flashable zip to change my current recovery to this one?and does this recovery show my sdcard ?
[Xperia Z2 Original Android Development] Daniel 9999:
Hai Bro, how to update the installed XZDualRecovery twrp to 2.8.1 ? Can adb flash sirius twrp 2.8.1?
[Xperia Z2 Original Android Development] Nightf0x_007:
help here plz !

how can i make philz cwm recovery as my main recovery and twrp recovery as the 2nd one ?

+ in philz cwm recovery brightness is too low how can i rise it ?
[Xperia Z2 Original Android Development] Isley_:
You can set Phliz Recovery as your main recovery with NRD Utils App por use Xperia Reboot App
[Xperia Z2 Original Android Development] cuyo11:
hi I got this error when using the recovery installer

=============================================

DEVICE WILL NOW TRY A DATA SAFE REBOOT!

=============================================

=============================================

Your installation has already cleaned up after

itself if you see the install.bat/install.sh exit.

=============================================

tr: missing operand after ‘\\n\\r\\t’

Two strings must be given when translating.

Try 'tr --help' for more information.

=============================================

Installation FAILED!

Please copy and paste the contents of

this window/screen to the DevDB thread.

=============================================

After that, my phone booted into twrp recovery and everything seems to be working normally.

I was wondering if I should worry about the previous error?
[Xperia Z2 Original Android Development] xerwudjohn:
working on 4.4.4?

is this working on the latest fw of xperia z2 .167?
[Xperia Z2 Original Android Development] norti:
Yes, with a little bit of tweaking, you can download a patched version here.
[Xperia Z2 Original Android Development] AMIR-TUTU:
Hi Can i use zlockdual recovery on 4.4.4 ? and install a recovery after that flash root package ?
[Xperia Z2 Original Android Development] RollWii:
HI i am trying to remove this custom recovery but i dont see any charger file on my system/bin folder and the new OTA is ready for xperia z2 is it safe to update even if i have custom recovery installed?
[Xperia Z2 Original Android Development] waynekirby:
If you have you're BL locked and DRM keys still, then yes but you'll lose recovery. :)
[Xperia Z2 Original Android Development] roy8846:
I flashed stock 4.4.4 now need to root to put back the drm keys via backup TA (I have unlocked bootloader btw)

Can I use the installer version to install recovery?

I just want to bloody remote play with my DS4!!
[Xperia Z2 Original Android Development] joseangel.alv:
No. Not exactly... You'll loose full-root experience...

But, then, you can recover your full-root and XZDualRecovery. See

this post

...

I have BL locked, full-root, ZXDualrecovery and 4.4.4 in my own phone ;)
[Xperia Z2 Original Android Development] waynekirby:
He never mentioned retaining root.
[Xperia Z2 Original Android Development] joseangel.alv:
Correct... I'm sorry!

I mixed in my mind your post with the previous and next ones. :eek:
[Xperia Z2 Original Android Development] waynekirby:
Doesn't matter mate, all that matters is we're trying to help people :D
[Xperia Z2 Original Android Development] spineto:
Trouble installing Dual REcovery

I don´t know if this is an issue that already solved but I have not found

I had rooted stock 4.4.2 ..., recovery and LOCKED Bootloader.

Install using the image FlashTool 4.4.4 (.167), obviously still with locked bootloader because mine is one that can not be

Anyway, try to install recovery to put a ROM Pre-Rooted but is imposible ... I've spent years with android, doing everything and this has never happened.

In 4.4.4 , I Active debug mode. Download DUAL RECOVERY (The instaler) and give the option 3 (Install recovery on a phone without Root) gets caught me here:

[IMG="Locked in the installation of Dual Recovery"]http://www.subirimagenes.com/imagedata.php?url=http://s2.subirimagenes.com/otros/9186310capturaf.jpg[/IMG]

Please Help Me.

Thanks.
[Xperia Z2 Original Android Development] gamer649:
Option 3 won't work on 4.4.4 as it uses the towelroot method to root the phone before installing the recovery. Since towelroot is patched on 4.4.4 it won't work. You have to downgrade to 4.4.2 first, root that, install dual recovery and then install a pre-rooted ROM.
[Xperia Z2 Original Android Development] spineto:
Perfect. I didnt know it. I´ll make it.

Thanks.
[Xperia Z2 Original Android Development] romdroid.:
hi man

do you need root to be able to install recovery?
[Xperia Z2 Original Android Development] gamer649:
Yes you do as recovery is installed to the /system partition and that cannot be edited without root access.
[Xperia Z2 Original Android Development] romdroid.:
ok which one to choose for xperia z2?
[Xperia Z2 Original Android Development] cibulak:
SD card issues

...question moved to the right section
[Xperia Z2 Original Android Development] Ned_Flanders:
cool :cool:
[Xperia Z2 Original Android Development] CamoGeko:
So we already need a rooted device... Lol

What's the point of this then, my Xperia z2 tab is unrooted and running latest 4.4.4 (. 30). I thought I'd be able to install the dual recovery via windows installer and then flash a pre-rooted 4.4.4 update, I guess not. Can't be asked to downgrade either.
[Xperia Z2 Original Android Development] [NUT]:
So, that's no surprise, right? Sony devices do not work like Samsung/HTC/LG: no dedicated recovery partition.

You can easily downgrade to any previous version of the ROM though, just download the FTF and flash only the system partition and kernel, boot, root and upgrade to a rooted latest release. It's easy and painless, without loss of any data.
[Xperia Z2 Original Android Development] CamoGeko:
Yeah sorry about my post earlier, I just got really frustrated after realizing that I shouldn't have updated to 4.4.4 when I got my z2 tab.

Btw, I'm trying to flash .314 FTF file in Flashtool and getting the following error:

13/020/2015 00:20:56 - ERROR - Processing of system.sin finished with errors.
13/020/2015 00:20:56 - INFO - Ending flash session
13/020/2015 00:20:56 - ERROR - ERR_SEVERITY="MINOR";ERR_CODE="0017";ERR_DYNAMIC="80080053";

My guess is that the FTF file is corrupt...

---

EDIT: It worked, just tried another FTF and it flashed correctly. Everything was wiped but thats okay.

Now I'm back on 4.4.2, rooted and with your recovery installed. Just about to flash latest pre-rooted 4.4.4 UK (.30) firmware using TWRP.

Thanks for all your hard work mate! :D
[Xperia Z2 Original Android Development] BarrySamuels:
I have been using your dual recovery for some time now and have upgraded without problems in the past. However I have managed to mess it up today.

I flashed XZ-lockeddualrecovery2.8.0-RELEASE.flashable.zip with my Xperia Z running Android 4.4.4 using Dual Recovery and saw no errors but now the phone won't boot. I get the Xperia logo at startup then the screen goes blank and nothing more happens.

I'm assuming that I must have done something silly this time as it's always worked before. Can you help please? I am moderately technical but, at 78, I'm no whiz kid. :o
[Xperia Z2 Original Android Development] [NUT]:
Just to check Mr. Samuels, as you are posting on the Z2 Q&A thread... have you moved to a Z2 or are you still using your older Z?

If you have a Z2, that might be an issue...
[Xperia Z2 Original Android Development] BarrySamuels:
No I'm not using a Z2 mine is the straightforward Z. I didn't realise that this thread is for the Z2. Sorry. Put it down to old age. :o

I did use the XZ flashable zip though.
[Xperia Z2 Original Android Development] [NUT]:
Best is to move to the z q&a thread with this but...

Are you still able to get it in recovery?
[Xperia Z2 Original Android Development] BarrySamuels:
No, it doesn't get that far.

I'm assuming (hoping) that I can flash a stock FTF using FlashTool without USB debugging because it's set off and I cannot now turn it on. I've downloaded 4.4.2 (10.5.A.0.230) then, if I have a working device after flashing, use the XZ-lockeddualrecovery2.8.0-RELEASE.installer.zip to install the recovery. If I get that far then I can use the recovery to install my last nandroid backup of 4.4.4.

Can you see anything wrong with that logic?
[Xperia Z2 Original Android Development] Myself5:
Seems legit. The FTF is always flashable, it is not getting affected by the USB Debugging option at all. Restoring the Nandroid backup could maybe cause problems but its worth a try.

P.S. Huge respect for still being that much into Tech at that age ;)
[Xperia Z2 Original Android Development] [NUT]:
You could even skip wiping anything. Just kernel and system should be enough to get your going again. :)
[Xperia Z2 Original Android Development] BarrySamuels:
You are very kind. I bought my first home computer in 1980 and things have gone steadily downhill ever since. ;)

I did a complete flash of 4.4.2 then tried to run the dual recovery install. I had a lot of trouble until I realised that the binaries provided e.g. adb.linux were 32 bit and my current computer is 64 bit. I put my old computer back into use without screen or keyboard by connecting it to my home network and accessing it with SSH.

I finally got the dual recovery installed and I've restored a nandroid backup. Back to normal. :)

NUT is there any mention in your instructions that it's for 32 bit only and do you have any guesses why flashing the recovery originally caused a non-booting Xperia?
[Xperia Z2 Original Android Development] Myself5:
Well then you had a computer since 18 years when I was born in 1998 :D

If I remember right the installer files include a patched kernel to be able to load the different recovery ramdisks, so the problem could be a incompatibility between your Rom and the included kernel. Am I right [MENTION=4904057][NUT][/MENTION]?
[Xperia Z2 Original Android Development] ahmed534:
hello,

am asking my question here because in the ROM thread they asked to use NUT recovery.

so, am tryig to try this ROM : http://xdaforums.com/xperia-z2/development/rom-4-4-2-ncsrom-v1-0-314-23-09-14-t2895001

the problem is that am on locked bootloader in rooted 4.4.4 kitkat and the ROM that I want to flash does not contain kernel (boot.img). am a bit lost :/

should I flash that ROM and then flash NUT's recovery right away and then flash a stock kernel before rebooting ?

if yes, where I can find a stock kernel plz ?

thks and sry if I post in wrong place
[Xperia Z2 Original Android Development] waynekirby:
Flash the ROM and while in recovery, flash dual recovery, and you're done.
[Xperia Z2 Original Android Development] cronugs:
Will this recovery work with the official CM12 nightlies? I flashed CM12 and it replaced my recovery with the CM recovery (which is awful). I have read that people are getting boot loops when they flash CM12 and replace the CM recovery with TWRP.
[Xperia Z2 Original Android Development] ahmed534:
even if the ROM does not contain kernel (boot.img) inside ?
[Xperia Z2 Original Android Development] [NUT]:
Thanks for the full log, usually people forget them...

In this case however: the unrooted option does not work on that FW version as the exploit has been patched... Sorry bro. You need to downgrade to an older FW and then update to this version in a prerooted package.
[Xperia Z2 Original Android Development] badhon_raj:
Thanks for fast reply. :)

So I can simply download an older FTF, and flash it via flashtool, and then I can root it, right?

EDIT: Thanks. I reverted back to 17.1.2.A.0.314 and then used this method to create pre-rooted package.

It is now perfect.

Thanks a lot.
[Xperia Z2 Original Android Development] [NUT]:
A quick update, as the project has reached the stable phase:

XZDualRecovery 2.8.1-RELEASE is available from the downloads page! :victory:
[Xperia Z2 Original Android Development] ptmaniac:
Thanks [NUT] for keeping my recoveries up-to-date, i'll flash and test the new version later :)

Do you think it's possible for you and zxz0O0 to work some magic and make unrooted installation on .167 with the new giefroot ??

Would be nice and simple for the newbies and make recovering from bricks on a LB faster :)

Thanks once again.
[Xperia Z2 Original Android Development] drup88:
Came back to try some AOSP roms and somehow ive gone and deleted my recovery.

I attempted to install the latest TWRP recovery by downloading a .img file from http://teamw.in/project/twrp2/232 and flashing it using fastboot flash recovery fotakernel.img.

Now when i boot to recovery, im stuck at a red light and have to force reboot. How would i go about getting dualrecovery again?
[Xperia Z2 Original Android Development] [NUT]:
Simply flash any pre-.167 ROM (using an FTF and Flashtool) and use the installer's unrooted option to install it.

[MENTION=1900966]ptmaniac[/MENTION] I might, as soon as [MENTION=3975929]zxz0O0[/MENTION] has included support for all the XZDR supported models and does not mind me abusing his work (again) ;)
[Xperia Z2 Original Android Development] drup88:
Urgghh I was hoping for something less painful that would keep my data in place T_T