yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] [NUT]:
Well... if you flash the XZDRKernel release of 2.8.1 and create a flashable package of the ROM you want to use (excluding the XZDR locked bootloader variant from the package), you can flash it and only wipe dalvik and /cache you might be able to do just that.
[Xperia Z2 Original Android Development] drup88:
Thanks for that NUT, i bit the bullet and just reflashed stock.

strangely though - im running custom rom now (after flashing flashable zip of dualrecovery) and when i boot to recovery it keeps showing CWM, even though setting the pref recovery as TWRP in NUT app. Advice? :confused:
[Xperia Z2 Original Android Development] [NUT]:
I think you might have a customized kernel installed with CWM integrated...

Flash the XZDR Removaltool (to be found on the download site) and then flash the Z2 XZDRKernel version.
[Xperia Z2 Original Android Development] oulouloul:
What's wrong?

Moonwalker rom, UB, apricot kernel
[Xperia Z2 Original Android Development] oulouloul:
And so fıx for kıtkat apps give this error. It has supersu access. No problem about root or supersu. Tried some of them..
[Xperia Z2 Original Android Development] [NUT]:
With es file explorer or root explorer, are you able to remount system and write to it?

If not, what is the rom version the moonwalker rom is based on?
[Xperia Z2 Original Android Development] oulouloul:
Platform file permissions
[Xperia Z2 Original Android Development] bulu_bulu:
i got problem where i cant flash zip file using trwp but no problem with cwm.
[Xperia Z2 Original Android Development] [NUT]:
redownload and reinstall, try again and then report back.
[Xperia Z2 Original Android Development] Ahmed-07:
I used this method and i am on build 23.0.1.A.3.12

Now the NDR Utils app force closes .. how to fix?

- EDIT : Updated to the latest app version from playstore and it works now but i get [Unable to read XZDR.prop]

FIXED: Was using wrong recovery file .. should used Z2-lockeddualrecovery2.8.1-RELEASE.flashable
[Xperia Z2 Original Android Development] YoungCNYC:
Question.. So after I install a ROM on my phone id have to FLASH Z2-lockeddualrecovery again?
[Xperia Z2 Original Android Development] imsudheer98:
Unable to boot into recovery

I have rooted by downgrading to 4.4.2 and then upgraded to 4.4.4 by creating root package form stock FTF, dual recovery worked fine unitl the 10th step in this http://xdaforums.com/xperia-z2/general/4-4-4-creating-rooted-update-package-t2933155, after flashing from stock FTF in this method i am unable to boot into recovery. I have even tried to boot into bootloader by orthodox process but no use. Can anyone help?
[Xperia Z2 Original Android Development] norti:
Did you exclude system while flashing the ftf? If no, then you have overwritten the rooted system with the recovery.

If you did everything correctly then please see if you have root on your phone. In this case you can install the recovery via the installer again (not the flashable version).

This belongs also to the topic you mentioned, please provide the feedback there and not here ;)
[Xperia Z2 Original Android Development] Ry Chy®:
Cant Mount SD-Card

Hi all,

dont know what to do but twrp dont mounting sd-card. Its a 64bit sd-card. It worked before without problem. PhilsTouch is mounting it without problem. Is there any sollution?

Please help!
[Xperia Z2 Original Android Development] [NUT]:
Well, I can tell you one thing: your SDCard is starting to perish. Take it out and put it in a windows pc, let it do a full disk check on it.

These issues occur always with the same reason...
[Xperia Z2 Original Android Development] mcjez15:
is there any other way to install recovery on my z2 because i have a very big issue with my OTG/USB device it cant be detected to my computer i have tried other usb connectors the same it does not detect to my pc..but the charging is ok..
[Xperia Z2 Original Android Development] Arvind Jain:
Why am I unable to use NDR Utils on my cell??

While running NDR Utils to reboot to primary recovery, the main screen of the app shows - "Unable to read XZDR.prop. [NUT]'s XZDualRecovery is required for this feature."

But XZDualRecovery is already installed on my cell and I can access it freely through my Volume Down button at the time of Rebooting my cell.

Can someone tell me what my cell is missing to use NDR Utiles???

Thanks a lot mates ..
[Xperia Z2 Original Android Development] bluheart:
Install DualRecovery again and reboot
[Xperia Z2 Original Android Development] RJASSI21:
After installing existenz rom on my z2 I cant boot into recovery using vol up or down it just shows the green led then vibrates after that it goes to the xperia logo and vibrates 2 more times I reinstalled the recovery fron here that usually solved the problem on my xperia z but now I have it again and it qont let me enter the only way I can is if I click reboot to recovery from the phone but I wanna use vol buttons in case of a soft brick help me please thank you in advance
[Xperia Z2 Original Android Development] tazoman:
Not working on Z2 Lollipop

It is not working on Z2 lollipop.
[Xperia Z2 Original Android Development] [NUT]:
Follow the devdb thread for updates.
[Xperia Z2 Original Android Development] MaSsAcRe1992:
can you post a link? thanks :)
[Xperia Z2 Original Android Development] xrenoix:
http://nut.xperia-files.com/ XZDualRecovery Kernel
[Xperia Z2 Original Android Development] SGT John Doe:
What exactly do i need to run this recovery? Do i need root, and does it work with stock 5.0.2?
[Xperia Z2 Original Android Development] omar300:
http://xdaforums.com/showthread.php?t=2261606

[DEVDB][TWRP][PhilZ Touch][CWM] XZDualRecovery 2.8.3-RELEASE
[Xperia Z2 Original Android Development] K-NineHD:
You need root and no it does not currently work with lollipop
[Xperia Z2 Original Android Development] Croize:
yes it does, i got root on lollipop.
[Xperia Z2 Original Android Development] K-NineHD:
I have root also, the recovery does not work
[Xperia Z2 Original Android Development] hzr34:
Hi all;

ı got a error ; java is not recognized as an internal or external command operable program or batch file. When I select 3 option. Any advace ??
[Xperia Z2 Original Android Development] Jhon998:
For recovery in lollipop, for unlocked only, use advanced stock kernel LP: http://dl.androplus.org/Xperia Z2 D6502_D6503_D6543/
[Xperia Z2 Original Android Development] cikoxda:
hi all, i have try option 3 but it doesn't work, i'm running stock baltic .690 lollipop firmaware on locked bl :eek:

i need to unlock bl and flash custom kernel? it is the only way at moment?
[Xperia Z2 Original Android Development] Pandemic:
yes
[Xperia Z2 Original Android Development] yavhin:
Recovery work on LP? You sure about that mate?
[Xperia Z2 Original Android Development] alb3rtt:
With unlocked bootloader it does.
[Xperia Z2 Original Android Development] imgoingtowin:
I just installed Cyanogenmod and when I boot into its recovery to flash flashable.zip (for DualRecovery) it fails and says "E: footer is wrong"
[Xperia Z2 Original Android Development] xrenoix:
just read OP

Just for stock rom kernel man !!!

-=[XZDualRecovery]=-

PhilZ Touch & CWM & TWRP

*** For Locked and Unlocked BOOTLOADERS! ***

Welcome to the Xperia Z2 Questions & Answers thread!

I proudly present you the first and only DUAL RECOVERY for locked boot loaders on our lovely Xperia phones!

If you have an unlocked bootloader and chose to keep the STOCK Sony kernel, you can also use this MOD.

OR

use XZDualRecovery Kernel for unlocked bootloader this http://nut.xperia-files.com/
[Xperia Z2 Original Android Development] imgoingtowin:
Thanks but I'm not sure if I understand you correctly. Cyanogenmod is a ROM, so I still have stock kernel. Therefore I should be able to use this. In the link you gave they all say "locked" so I don't see any for unlocked bootloaders?
[Xperia Z2 Original Android Development] zeguym:
I don't think so. If you flash cyanogenmod, it not stock kernel anymore. Cyanogenmod not base on stock kernel. cmiiw.
[Xperia Z2 Original Android Development] DannyB513:
2.8.5 Flashable for Z2?

Why is there no flashable for 2.8.5 for the Z2? The flashable for the Z2 shows as 2.8.4 which is borked.
[Xperia Z2 Original Android Development] norti:
Because the 2.8.5 still doesn't work as intended. Just wait until [NUT] figures it out and releases a fully working version.
[Xperia Z2 Original Android Development] Absarock1:
can it be installed in fastboot mode?

i have bricked my phone, i am pretty sure getting a recovery should fix it.
[Xperia Z2 Original Android Development] pr0jesse:
2.8.5?!

I just saw that NUT uploaded 2.8.5! did someone tested it already, and is it for Lollipop?
[Xperia Z2 Original Android Development] TechMod:
Unfortunately I get error 7 when flashing in version 2.8.3 from external SD.
[Xperia Z2 Original Android Development] pr0jesse:
I flashed it, but the recoveries don't work yet...
[Xperia Z2 Original Android Development] TechMod:
Did you try flashing the new one and then applying the fix?

---------- Post added at 05:36 PM ---------- Previous post was at 05:33 PM ----------

I am downloading 2.3.6 now and will report later if flashing this one works
[Xperia Z2 Original Android Development] TechMod:
Well flashing the 2.8.5 one broke my Recovery. So even the previous with fix doesn't work anymore. The 2.8.6 one doesnt work also. I get the two vibrations but then a red led.
[Xperia Z2 Original Android Development] mik101:
Same here... it set my /system to RO from RW and I can't seem to fix it.... really trying to avoid wiping as I don't have a prerooted FTF available for 4.4.4/5.0.2 (unless someone can link me to a generic or canadian one) and I don't really have time to go back to 4.4.2 and work my way back up right now.

Thanks guys.

Edit, just downgraded to 4.4.2 and worked my way back up to fix it.. Still weary of trying lollipop for lack of a working recovery.

Edit. Release 2.8.6 still took away my system r/w permission and I'm stuck on read only again. Same issue as 2.8.4 and 2.8.5. Now I need to flash 4.4.2 again and restore my 4.4.4 backup. No idea how (if) any of you actually have a working recovery with a locked bootloader on 5.0.2... I really doubt it.
[Xperia Z2 Original Android Development] TechMod:
NUT´s RECOVERY 2.8.6 ATTEMPT No 8 WORKS !!

Hey everybody !

I just went here:

http://nut.xperia-files.com/

to check out, if there is any new release. I downloaded attempt no 8 installer version and took the following steps:

- I took root access from adb-shell and ndr utilities via superSU app.

- I installed root and recovery with option 1 - it gave an error and this step is probably unessecary...

- Installed again with option three like always...granting superuser access an everything

Phone rebooted to recovery, root orks and /system is r/w !

Thanks alot [MENTION=410007]Nut[/MENTION] ! :good:
[Xperia Z2 Original Android Development] SkyboneNoya:
Thanks tech, thanks [MENTION=410007]Nut[/MENTION] !:good::good:
[Xperia Z2 Original Android Development] mik101:
Edit: Completely removed the recoveries and reflashed 2.8.9 and it seems fine this time. Not sure why it broke on the last flash coming from 2.8.3.

The XZDR Installer apk is a godsend for fixing these issues quickly and easily.
[Xperia Z2 Original Android Development] draqkin:
I am using dual recovery in 4.4.4 (locked bootloader) twrp is fine but in philz touch there is no extsd . is it bug or did i do something wrong while rooting?
[Xperia Z2 Original Android Development] [NUT]:
That has nothing to do with rooting.

Can you send me the logs from /cache/recovery after booting to philz please?
[Xperia Z2 Original Android Development] Arafeh94:
after successfully installing nothing happen I press vol down when device vibrate on reboot and nothing happen :(
[Xperia Z2 Original Android Development] [NUT]:
What version?

Does the led light up green and do you feel a DOUBLE vibration when that happens?
[Xperia Z2 Original Android Development] Arafeh94:
latest version . i feel a vibration than click the down or up vol but nothing happen tried it 4 times
[Xperia Z2 Original Android Development] xshunin:
Please delete this post.
[Xperia Z2 Original Android Development] tex321:
Bug report

Thanks for your time to code this nice solution.

I do have root, the installation goes ok but I could not log in to the recovery, it goes straight to system.

Z2-lockeddualrecovery2.8.10-RELEASE.installer

D6543_17.1.2.A.0.314_Generic.ftf

SuperSU

The only thing I could figure out was in /sdcard1/XZDualRecovery:

"The recovery file does not exist, exitting with a visual warning!"

Have I missed something?

Here are the log files:

https://drive.google.com/file/d/0B6fizvIHKndqc3N1bmMtSTVDWGs/view?usp=sharing

Thanks in advance.
[Xperia Z2 Original Android Development] thlinh130295:
I flashed the 2.8.10 with installer, but it didnt reboot into recovery, it reboot system, i dont know what i missing?

when try to press up when boot, it green,then red.
[Xperia Z2 Original Android Development] mik101:
Find the XZDR 4.0 Installer, uninstall, and reinstall recovery using the app, then reflash the latest version from recovery and you will be fine. Theres a bug in the installer in versions above 2.8.3 that nut hasnt found yet. What you also haven't noticed is you no longer have write access to /system.

I suspect remounting it has something to do with the error as the recovery installer apk is able to fix it. Hopefully that info will help Nut debug it a little.

I currently have 2.8.9 running perfectly fine on Kitkat after doing the above. The first time it wouldn't boot into recovery and just showed the red LED when it tried, the same as others are reporting.
[Xperia Z2 Original Android Development] spencerchong:
as with everyone else, I'm trying to flash Existenz on LB, and following instructions I downgraded to 0.134, rooted, and flashed NUT 2.8.10. obviously it didn't work. tried 2.8.7. nope doesn't work too. dunno/can't find this XZDR 4.0 installer either so I'm stuck mdan it I really want it rooted with custom rom
[Xperia Z2 Original Android Development] mik101:
Attaching the XZDR installer. I think this one is modified by Monoified(?) for the Z3, but it works fine on my D6503 Z2 as well. View attachment 3264529

That worked to fixed my messed up recovery install. I used it to remove it, then either flash using nuts installer from android, or install again using the apk, then reboot into recovery and install nuts flashable zip. The latest one .10 on nuts site is working for me on KitKat now.
[Xperia Z2 Original Android Development] spencerchong:
thank you that worked for me. I managed to boot into TWRP from XZDR installer. I then flashed the ExistenZ rom and now Im in a bootloop :confused: I'll direct my questions to there, thanks so much for your help though!!
[Xperia Z2 Original Android Development] Abadroza:
Is this working for 23.1.A.0.690 builds? And I have locked bootloader Z2

Or any full guide to root locked bootloader for Z2 Lollipop, I can't find reliable source. Thanks in advance.

[Sorry, I'm new in Xperia world]
[Xperia Z2 Original Android Development] [NUT]:
Not without root, and rooting lollipop directly is not possible yet.
[Xperia Z2 Original Android Development] Abadroza:
OK than, I'll back to kitkat stock firmware, and root. Thanks Mr. NUT
[Xperia Z2 Original Android Development] avrano1:
TWRP won't mount storage since it's encrypted. I'm on 23.1.A.0.726 with encryption.

When booting to TWRP the pattern appears but entering the right pattern won't mount the storage. "E: Failed to decrypt..."

Changing to PIN or password doesn't change anything.

Tried with Z2-lockeddualrecovery2.8.14 and 2.8.12.

Is there a fix for this? Or any other way to flash the newest update without losing data?

EDIT:

I assumed I am not able to flash an update because of this, but now I think I was wrong.

Am I right thinking that only /data is encrypted and this should not affect the firmware update?

EDIT2:

I flashed the update successfully. After flashing, wiping cache/dalvik showed me the message "failed" but booting to system was fine. Android did the "optimizing apps" thing in the beginning and everything seems to be working.
[Xperia Z2 Original Android Development] slipknat:
removing recovery

is there any app to remove all kind recovy from rom ?
[Xperia Z2 Original Android Development] [NUT]:
Not that I know of... But for xzdr I have the removal tool online in the tools folder.
[Xperia Z2 Original Android Development] Eanan:
I dont really understand the website were supposed to download the file off: http://nut.xperia-files.com/

Which is the one for Xperia Z2 4.4.4?

Thanks
[Xperia Z2 Original Android Development] [NUT]:
Download the Z2 version mate, it should work on both KitKat and Lollipop.
[Xperia Z2 Original Android Development] slipknat:
hi bro

can you give me that link bro ? i will be gratefull
[Xperia Z2 Original Android Development] [NUT]:
Really? :rolleyes:

Visit http://nut.xperia-files.com

Click XZDualRecovery

Click XZDualRecovery 2.8.15

Close pop-up warning after reading it

Look for the 2 files with the names STARTING with "Z2-lockeddualrecovery"

Click on the file you want (installer or flashable)

Click DOWNLOAD to start downloading it.

It's no rocket science, right? :silly:
[Xperia Z2 Original Android Development] slipknat:
hi

i want a software or app or a tool for remove all recoverys i cant find that and bro i try your tools but they dont have a kernel remove option
[Xperia Z2 Original Android Development] millerma1:
Will this work on SGP561 Verizon tab that is already on 4.4.4 and the latest firmware?
[Xperia Z2 Original Android Development] [NUT]:
The only way to know is to try... Might be that giefroot could work to root it, which will allow you to install xzdualrecovery.
[Xperia Z2 Original Android Development] tornido067:
does latest version 2.8.15 works on Z2 5.0.2 ?
[Xperia Z2 Original Android Development] ALp TR:
yes it works great
[Xperia Z2 Original Android Development] am6000:
hello I wanted to know if you can delete and let Philz TWRP Touch

You tell me how I can do. many thanks

salve volevo sapere se e possibile eliminare TWRP e lasciare PhilZ Touch

mi dite come posso fare. Tante grazie
[Xperia Z2 Original Android Development] MetalOllie:
Is it possible to add support for the Xperia M4 Aqua please? Desperately trying to find a way of rooting the phone, or installing a recovery to flash a prerooted firmware.

Any help would be very gratefully received! Thanks!
[Xperia Z2 Original Android Development] hafizulpijul12:
Is this method support Lollipop?
[Xperia Z2 Original Android Development] Bruce666:
Hello

Im using ur DualRecovery and got a problem. I'd like to flash MoonWalker ROM based on .28 firmware and like it is in tutorial I enter into PhilZ recovery and do Factory reset. Formatting data done and recovery freezes at formatting cache and I can turn my phone on only via hard reset button.

Can sb help me? Maybe I'm doing something wrong ? :)
[Xperia Z2 Original Android Development] celsior360:
I am running 5.0.2 23.1.A.1.28 with try to install via adb, but there is no response. My phone is not root and it has a lockboatloader. any idea how I can install the dual recovery as I don't have any custom recovery installed before. thanks all
[Xperia Z2 Original Android Development] TechMod:
There is no way without rooting man
[Xperia Z2 Original Android Development] whalesplaho:
i cant get viper4android to work cos each time i open, it says i should install driver, so i notice its from busybox, i tried installing busybox & it remove my recovery & some apps until i flash tha recovery back! busybox was installed initially but tha location was system/bin instead of system/xbin cos this was where busybox installer installs it.
[Xperia Z2 Original Android Development] ppaphyo:
Kingroot 4.1 apk is can root D6503 23.1.A.1.28 but dual recovery is Not working on D6503 23.1.A.1.28. I need to install CWM.
[Xperia Z2 Original Android Development] [NUT]:
It does, but you need to replace kingroot with SuperSU. There is a guide to be found on XDA.
[Xperia Z2 Original Android Development] Samwest1:
Can anyone tell me how to completely uninstall dual recovery, so I can then reinstall dual recovery without issues cause by some files left over from original install. I'm trying to reinstall because it worked first time I installed it. But after I quit. I cant get back into recovery. I reboot (rooted) phone, but when light flashes I press down and nothing happens. Also I reboot to recovery thru an app made to do that. And nothing happens. It just sits at the Sony screen an doesn't do anything for a few minutes,so I have to hold down button and power till it reboots. I've been told to uninstall it and re install. But I'm not sure if I will do that right. I Need to know the process and I have been reading threads for two days and asking how also, but no answers given accept to uninstall then re install. I'm using a rooted xperia z3v d6708. Can anyone help me or guide me to a thread that clearly gives me the uninstall process please.
[Xperia Z2 Original Android Development] [NUT]:
If you can still access recovery itself: XZDR Removaltool

If not, http://xdaforums.com/showthread.php?t=2261606 in the OP, you will see 'How to remove:'.
[Xperia Z2 Original Android Development] deftoner:
Ok, I know that I'm going to sound like a little stupid, but I'm trying for days with no luck.

I cant make the dual recovery works.

- Im on unlocked bootloader

- I flashed the stock 5.1 rom 23.4.A.0.546 via flashtool

- Rom boots without any problem. No root, not recovery (due to the flash of the stock obviously)

- Downloaded the kernel with dualboot from http://nut.xperia-files.com/?a=xzdr

- Flashed via: fasboot flash boot boot.img (boot.img I took from inside the zip donloaded)

- Phones boots ok, but no volume + or volume - working to enter to the recovery.

What I'm doing wrong?

Thanks for your time guys! and thanks NUT(s) for the great (and hard) work.
[Xperia Z2 Original Android Development] [NUT]:
When did you create the kernel? Because I fixed it just last night :angel:

http://xdaforums.com/showthread.php?p=62075425

EDIT, pasted the wrong link there :silly:

http://xdaforums.com/showpost.php?p=62087348&postcount=6027
[Xperia Z2 Original Android Development] deftoner:
You are awesome

Now is working like a charm :) THANKS (I cant get tired hitting thanks button on your post)

Have a great day.
[Xperia Z2 Original Android Development] [NUT]:
Good to know, I was right to assume it has been fixed, though I had this tested on my own Z2, you can never really rely on results on a single device :)

Enjoy and you're welcome :cool:
[Xperia Z2 Original Android Development] irishrally:
I just updated to .546 stock on my Z2 and lost recovery and root. What are my options to get XZDR back on the phone with locked bootloader and no root? Is building a pre-rooted image the only option?
[Xperia Z2 Original Android Development] [NUT]:
I'm afraid it is, there is no known root method for 5.1 yet which is working on recent Xperia's...
[Xperia Z2 Original Android Development] skizzo_d:
Help !!

if I remove the XZDualRecovery 23.4.A.0.546 is like having the original cell, right?

I lost the DRM and I have to send the phone in assistance for replacement of the screen,

I installed the latest ROM XZDualRecovery, I flashed restore DRM to evade any checks, once started, I removed XZDualRecovery and Root.

What do you think ???
[Xperia Z2 Original Android Development] [NUT]:
If you have no TA backup to restore, they will see it's unlocked.

Turn off your device, then turn it on again. Notice the red led before the screen turns on?

That only happens when the bootloader is unlocked...

Otherwise: flash it using flashtool to the latest version or use pc companion. Make sure you wipe everything while doing that. That's better then a cleanup.
[Xperia Z2 Original Android Development] Rajaasim1980:
Can we flash this recovery in stock lollipop with LB on 5.1.1( .546 build )without root?

Or root is must
[Xperia Z2 Original Android Development] [NUT]:
No. Root is a musthave on that rom.