yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] DoubleYouPee:
Hello,

I'm trying to install adb drivers using the dualrecovery installer, but when I try to update the driver in device manager, it doesn't find any drivers in \files\adbdrivers\.

Using windows 10 64-bit.

It tells me to connect from any recovery.. but stock recovery doesn't seem to work.. I tried both Vol-down + power and vol-up.

Any ideas?

edit: Ok I got it to work by installing drivers via flashtool instead (also took me a while, driver enforcement etc.)

Anyway can anyone confirm the latest xdualrecovery works on the new 5.1.1 android for Xperia ZL?

I remember the previous version caused bootloop on ZL ... so I am cautious to install it.

Can I add version xdualrecovery 2.8.21 to PRFCreator to flash prerooted 5.1.1? (coming from 5.0.2 rooted)

Thanks
[Sony Cross-Device General] georgecarstoiu:
Just got an old Xperia Tablet Z, so please be gentle with my question :)

From what I understand there are two types of recovery for this device. One that somehow installs itself to this special Fota partition and is permanent (is not deleted when reflashing) and another one that is embedded in the kernel of the operating system and which needs to be reflashed every time the rom is flashed.

My question is why would you go with the second if the first one is permanent?
[Sony Cross-Device General] stoff212:
What do you mean by msc mtp?

Thanks for response
[Sony Cross-Device General] McBane87:
Please correct me if I'm wrong, but I think it was like this:

- The FOTA Option was introduced by Sony some months ago and needs a special bootloader to be flashed.

- The Kernel Option was there before the FOTA Option and does not need another bootloader.

=> I think both Options need an unlocked botloader and this is earasing your DRM-Keys. (Make backup of TA-Partition (DRM-Keys are stored here) before playing around with bootloader)

And as a 3rd Option there is XZDR, which does not need unlocked or different bootloader. It is not integerated into Kernel or FOTA. It is just put into the boot-process of System-Partiton by hijacking the binary /system/bin/chargemon.
[Sony Cross-Device General] Linkinsoldier:
second try, same result. Why does restoring the nandroid backup destroy the functionality of the main camera?
[Sony Cross-Device General] McBane87:
Don't know why this happens, but maybe wiping cache and dalvik cache helps. And also try to remove all data from camera app.
[Sony Cross-Device General] Linkinsoldier:
removing data from camera app didnt help. Problem: When I wipe cache and dalvic cache, there is no sense it making an nandroid backup, since all my data is gone :(

Any other ideas?
[Sony Cross-Device General] Rootk1t:
You're right in general. But as for FOTA partition it exists with the introduction of Z series (if not earlier). To flash TWRP recovery image there, we use:

dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

But when flashed you can't receive OTA updates, but this is not usually an issue.

Recovery partition which was introduced recently, as far as i understood, is the same as in Nexus=recovery partition with stock recovery.

Smth is definitely wrong, cause wiping cache and dalvik cache never erases your Data or System itself.
[Sony Cross-Device General] kt-Froggy:
As already mentioned, wiping cache and Dalvik cache should never remove any of your data. Either you are actually wiping data, or something is screwed up with your cache/dalvik wipe operation...
[Sony Cross-Device General] kkyoiori2001:
Could this support Sony xperia M5 (E5663)?

Thank you.
[Sony Cross-Device General] [NUT]:
From the first models released in 2015 up to now Sony has implemented dm-verity, which means locked bootloader root and recovery will be impossible.

So, the currently supported models list will possibly expand, but only to models from 2014 and older until a way around dm-verity is found, which I deem very, VERY unlikely.
[Sony Cross-Device General] random_n00b:
I can also confirm it works on the ZL.
[Sony Cross-Device General] Lemmi1:
I rooted my Xperia ZR with dualrecovery on Android 4.4.2 and put the two lines into the dualrecovery.sh. Then I made a flashable zip like before on 5.0.2, that worked.

I mean a flashable zip with ftf file for Android 5.1.1 with supersu and dualrecovery. In dualrecovery.sh I put the 2 lines to fix the problems. But after the flash I get into bootloop. Something may gone wrong.

What must I do, that I really get root on my Xperia ZR with Android 5.1.1 on board. Want to use Link2SD so I Need to use dualrecovery and the fix in it to do so.

Can someone help me? Right now I am again on Android 5.1.1 with my Xperia ZR and getting low on space :(
[Sony Cross-Device General] ecksdeeay:
Flash 4.4.4 > flash just kernel of .230 .......then proceed as before.

That's what I have done after messing up! (your configuration of Link2sd is up to you, though I have had that [app] destroy cards & refuse to use it as it causes more problems than it's worth!!)

Just make sure your using the latest of all the flashing tools! Flashtool,PRF, XZDR & you should be OKay.
[Sony Cross-Device General] ThemGo:
I downgraded my Z3, then rooted successfully. Afterwards I installed XZDualRecovery 2.8.21 and made a backup. So far so good. Btw, thanks for XZDualRecovery, great tool!

Now I downloaded a pre-rooted firmware zip which I want to install. Unfortunately it contains old XZDualRecovery 2.8.1.

So there will be a downgrade XZDualRecovery when installing this firmware - is this a problem?

And how could I get XZDualRecovery 2.8.21 again? In TWRP directly installing flashable zip for XZDualRecovery 2.8.21 after the firmware zip, and that way overwrite the XZDualRecovery which is contained in the zip? Or will this lead to confusion?
[Sony Cross-Device General] xgerardox:
Working perfect on Xperia ZR (5.1.1)

Thank you
[Sony Cross-Device General] ondrejvaroscak:
Yes you can reflash the XZDR.. Or just download the PRFCreator and yourself prerooted firmware with latest recovery.. It is easy.
[Sony Cross-Device General] Lemmi1:
Yes, this is the way, but do I need a modified Version of dualrecovery for xperia zr? Or is a fix already implemented in the version I can download here from NUTS?

Rooting XZR is no roblem, the problem happens when I will flash a prerooted zip with Android 5.1.1, then a bootloop appeard, when I put in the 2 lines from the thread I have quoted.

And when I take the normal dualrecovery for xzr, root is gone and recovery too.

And I only root cause of use link2sd. I am to low on memory and when all works like before on 5.0.2 I dont need a new phone right now.
[Sony Cross-Device General] ecksdeeay:
:

I used XZDR with no modification. XZDR 2.8.21

Used superSU 2.46, though you could try the Beta 2.49 (but not done this myself)

Flashtool (0.9.18.6 or was it 3? forgotten) though there is a new release now and always best to use latest!!

(I have around 70%+ internal memory Used & is fine.........long pause......another long pause:confused::rolleyes:)
[Sony Cross-Device General] ThemGo:
Thank you for your reply!

I would, but unfortunately I cannot find the needed ftf anywhere. It should be D6603_23.0.1.A.5.77_Generic_DE.ftf.

So I am stuck with the prerooted D6603_23.0.1.A.5.77_Generic_DE-Root-XZDR2.8.1-SuperSU-signed.zip which Meetdaleet stored on Mega.
[Sony Cross-Device General] [NUT]:
I will be putting a new version online soon, which has more then the odex fix included.

I got fed up with 'busybox updater apps' breaking XZDR and root access and their users not being able to read the XZDR FAQ and complaining to me about their mistake... :mad:

So this version will be available in a special folder, because so dang much has changed, it should actually be considered a beta release...

I have NOT tested this version myself yet. Make sure you know how to restore your device to working order if things crash and burn.

A changelog will come once it has been tested thoroughly and deemed safe to use for anyone.

[EDIT]

it's done, this release is in the folder BETA TESTING on my website.
[Sony Cross-Device General] juanpirulo:
I flash beta versión by recovery on z1 5.1.1 I lost sd rw and recovery.

Enviado desde mi C6903 mediante Tapatalk

Reinstall 2.8.21 everything ok again. cheers

I tried also the 2.8.22 installer version and this one is working properly.
[Sony Cross-Device General] Bartekreaper:
2.8.21 with last fix works great on Z1 and Z1 compact. Not tested beta yet but maybe today on z1c

Wysłane z mojej Z1 compact przy użyciu Tapatalk
[Sony Cross-Device General] [NUT]:
Not 100% sure why it fails, but I updated the flashable package because I did forget something.

Will be updating it again very soon: I have modified the logging facility, leaving more logs rotated away (and with that, info will survive 3 reboots of the device) and merging the preparation.log and the XZDualRecovery.log files in to one.

I will update the pop-up on the BETA TESTING folder once it's online.
[Sony Cross-Device General] [NUT]:
Oh dang, I think I know what I forgot to edit... :x
[Sony Cross-Device General] Linkinsoldier:
It can of course be, that I wipe it incorrectly. How shall I perform the wipe in TWRP:

Wipe -> Advanced Wipe -> cache/Dalvic wipe, correct?
[Sony Cross-Device General] [NUT]:
Updated the beta release folder again.
[Sony Cross-Device General] McBane87:
Yes. Should be correct.
[Sony Cross-Device General] juanpirulo:
last beta version flashable working well on z1 5.1.1. cheers
[Sony Cross-Device General] Lemmi1:
Last Beta works like charm on Xperia ZR, locked bootloader. I am now on root with working link2sd with Android 5.1.1. Best thanks ;)

But I have one more question.

Can I use this for a Xperia ZR with open bootloader too or just with locked? Friend of mine have an open bootloader and wants to install it too. Right now he is on Android 4.3 rooted.

Dont wanna make a failure, so I will ask here before I will build a prerooted and flash it, cause it is not mine ;)
[Sony Cross-Device General] [NUT]:
With the opendevices (unlocked bootloader) it's better to use the kernel builder on my website.

He can use a prerooted package without xzdualrecovery and can even wipe his system partition without losing recovery in the process as it is then included in the boot image.
[Sony Cross-Device General] Lemmi1:
Ok, then I cannot do this for him. He must search for a flashable package himself. Thought it is easier.

With my device everything works well, but I dont know how to work with kernel builder.

The only reason why I wanted to use dualrecovery for him is the remount reboot fix, that he can also use link2sd like I do.

Thought I can make this easier and build a package for him like I do for me.
[Sony Cross-Device General] [NUT]:
You can, it will work fine. Though for him the kernel builder is a better solution.

There is a YouTube movie in the changelog, to show you the general function. It is extremely easy to patch kernels to include xzdualrecovery, really :)
[Sony Cross-Device General] theduke7:
[MENTION=4904057][NUT][/MENTION] On Xperia Z on 5.1.1 I'm unable to enter both recoveries from reboot using the volume buttons, the purple light appears and then a blank black screen and then nothing it stays that way..

from NRD Utility rebooting to recovery works.

log attached.
[Sony Cross-Device General] [NUT]:
That's odd ... and very unexpected behavior :confused:

Are you testing the BETA or is this 2.8.21?

EDIT:

I have been checking the scripts (2.8.22 to be honest) and I can't find anything which might explain the behavior, it should do exactly the same when the trigger comes from NDRUtils, a boot flag file or on a key press. There seems to be a difference in your package, but in reality there isn't!

I have no clue why :(
[Sony Cross-Device General] Linkinsoldier:
I did it exactly like this, data is not lost but camera still doesnt work. I give up and sent it back :(
[Sony Cross-Device General] sauron3256:
Z1c Sd Card not mounting & TWRP not working

Hello and thanks for this awesome mod,

Since last Wednesday I became the proud owner of a Z1c and stumbled on your recovery & kernel mods. After unblocking BL and rooting, I flashed the Kernel for .368 5.1.1 firmware. Since then I encountered a couple of problems. TWRP recovery doesn't boot at all (led flashes purple and screen stays black forever) and on Philz the /storage/sdcard1 can't be mounted at all. Attached to this post are the logs I found on my device.

Any help you can provide is much appreciated.
[Sony Cross-Device General] theduke7:
well, i just tried the installer version, now TWRP works from both reboot and NRDUtils .

PhilZ in the other hand doesn't work at all, not from NRDUtils nor from from keys, purple light appear, then the soy logo disappears and stays at black screen.

and yes i t 1st tested the beta 2.8.22 flashable (from beta folder on your website) , and now the installable from the same folder.
[Sony Cross-Device General] johan23:
HI thanks for the recovery,but for some reason my recovery keep disappearing randomly. I am on ZL stock 5.0.2 locked bootloader. I am already using the latest version available. Anyone knows any possible reason as to why? Does it have something to do with BusyBox? Thanks for any help.
[Sony Cross-Device General] Bartekreaper:
[MENTION=4904057][NUT][/MENTION] I have looks like the same problem like [MENTION=3927764]theduke7[/MENTION] but After flashing dualrecovery BETA i have NDR Utils and cant enter recovery, from app or buttons. There is no led, no green, no purple, just only vibration and booting to system... and cant mount system r/w

Edit. After install BETA installer, i have access to recovery and can mount system r/w ._.
[Sony Cross-Device General] russel5:
[MENTION=4904057][NUT][/MENTION] without wp_mod.ko mount system rw not work.

Because of this flasher not work too. See upper post.
[Sony Cross-Device General] harley1rocker:
My build number is 270. BL is unlocked. Rooted using kingroot. HOW CAN I GET RECOVERY FROM HERE?

FLASHIFY? Zip file
[Sony Cross-Device General] o-l-a-v:
Use "ZU-lockeddualrecovery2.8.21-RELEASE.installer.zip". Use option one first. If it fails, try option two. Should work :)
[Sony Cross-Device General] harley1rocker:
So flash this through flashify??? Wipe??? Dalvic,cache,data???

To be clear I have no recovery so far. I AM ROOTED WITH KINGROOT.

---------- Post added at 06:36 PM ---------- Previous post was at 06:04 PM ----------

Hey Olav. Do I flash this using flashify
[Sony Cross-Device General] Hamidreza2010:
[MENTION=4904057][NUT][/MENTION] Hi

dear i want add your recovery in my boot.img ( sony xperia z ) and make custom boot.img

i know how to add one recovery ( like twpr or ... ) but dony know how can add dualrecovery at same time.

can you help me here?

thanks a lot man
[Sony Cross-Device General] harley1rocker:
Did it on a comp.... It does NOT WORK

---------- Post added at 09:56 PM ---------- Previous post was at 09:32 PM ----------

This whole shabang is horsesh!t. A person would spend days figuring all this out. AND MY PHONE CAME WITH THE BL UNLOCKED. Root was easy. But all the other garbage to get recovery is as stated above. I've ran all of it and it still fails. Fails and.........some more fails
[Sony Cross-Device General] thelegendy:
Hi guys, i have a problem with installing recovery. I'm on the stock 23.4.A.0.546 non-rooted D6503. I downloaded "Z2-lockeddualrecovery2.8.21-RELEASE.installer" and extract to C: and ran "install.bat" file. After some processes, it said "Installation finished. Enjoy...". But my device doesn't reboot and I can't enter recovery. How can I enter recovery? Please, help me...
[Sony Cross-Device General] ondrejvaroscak:
Can you copy paste the output of command window?
[Sony Cross-Device General] ondrejvaroscak:
You can not use towelroot on 546 (actually not on any Lollipop firmware). To install recovery you need to have already rooted firmware...
[Sony Cross-Device General] thelegendy:
So, should I downgrade to Kitkat and root it? If it is, how can I do this?
[Sony Cross-Device General] ondrejvaroscak:
Watch mouth. You evidently have no clue what are you doing. In flashify you can only flash "flashable" zips and not "installer" zips. The installer you unzip on your pc and run the bat/shell.

However, you are rooted using Kingroot, so must first get rid of kingroot and install SuperSU or Superuser. Installer doesn't work with kingroot.

And don't blame others for your own incapacity.

---------- Post added at 00:39 ---------- Previous post was at 00:37 ----------

Or use kingroot and then replace kingroot with SuperSu. There is plenty guides how to root Z2/Z3 on XDA just take a while and search.
[Sony Cross-Device General] T_money_third:
Okey so I had duel recovery and I installed the play store busy box thinking I'd need it to get Viper android fx working. Only when the Rom I'm using got an update I realised I can't boot into recovery. Will flashing this again work?, or is the bootloader broken? I'm asking because I'll get to use a computer tomorrow I don't own 1
[Sony Cross-Device General] thangnh:
Please help me. I installed Dual Recovery from my computer, then flash a custom ROM (Resurrection Remix), flash the recovery again before reboot (When installing custom ROMs: Be sure to flash XZ/ZL/TabZ/Z1/ZU-lockeddualrecovery[VERSION]-BETA.flashable.zip from http://nut.xperia-files.com after installing the ROM and before you reboot, this way you will not lose recovery!). Still I lost recovery ("Reboot into recovery" will go to stock recovery). Anything I've done wrong? Thanks.
[Sony Cross-Device General] sigprof:
The XZDualRecovery installer and flashable versions are not compatible with custom ROMs which are not based on the stock kernel. If you are installing a ROM such as CyanogenMod, Resurrection Remix, or any other ROM which requires an unlocked bootloader, there are two options for using a custom recovery instead of the one built into the ROM:

Go to the XZDualRecovery > Kernel Builder section on http://nut.xperia-files.com/, upload the boot.img file from your ROM, get back a kernel image with builtin XZDualRecovery, then flash that image in the fastboot mode. When you upgrade your custom ROM, repeat this process again using boot.img from the new ROM version (do not try to flash the kernel image made for an older ROM version — it may be incompatible with the updated ROM).

Many custom ROMs for unlocked bootloader devices support loading the recovery image from the FOTAKernel partition; you can look for a "FOTA recovery" image in the forum for your device. If this works, it may be more convenient, because you will not need to reflash the recovery after upgrading the custom ROM, but you won't be using XZDualRecovery in this case.
[Sony Cross-Device General] Rootk1t:
You updated busybox and broke recovery)

See first post of this thread.
[Sony Cross-Device General] [NUT]:
Waaait, I never removed that? :confused:

I'm going on a hunt for a bug... something fishy is going on...
[Sony Cross-Device General] shoey63:
Which rom or firmware do you want to add it to? Try the kernel builder, it does everything for you.
[Sony Cross-Device General] [NUT]:
[MENTION=4688377]russel5[/MENTION] I think I found a cause for the flashable package to fail...

It's caused by the fact that system is getting wiped on installation using a PRF created package... Now I need to really think long and hard how to fix this...

I also reintroduced an old bug, which I corrected already (something you helped me fix a while back), on my own kernel ric solution, the fix will be restored in the next beta version. This by itself might be the cause of the issue in the flashable version used in a PRF package... but I should fix this either way.

Expect a new BETA release today.
[Sony Cross-Device General] Hamidreza2010:
Thanks

5.1.1 build .222

Yes i know but , i,m just to learning how to add daulrecovery to my phone kernel
[Sony Cross-Device General] zippy01:
Hello, the recovery wasnt working for me so I decided to delete and install an old one. When deleting the files I didn't have

/system/bin/charger

/system/bin/ric

Is that why it wouldn't be working properly?

Thank you
[Sony Cross-Device General] [NUT]:
No. That's legacy, from the original packages on which mine are based.

Are you sure you didn't replace busybox?
[Sony Cross-Device General] zippy01:
I posted my issues in the Q&A thread but basically I tried from a 4.4.4 clean install many different combinations and still the same issues as before. Is it possible to take the old recovery out of an old CWM backup and use that instead?

Thank you
[Sony Cross-Device General] [NUT]:
I've put a new BETA version online.
[Sony Cross-Device General] zippy01:
Seems that broke CWM for me, won't start at all just a black screen. Do you want logs?

Best regards
[Sony Cross-Device General] Rootk1t:
Does this cover all models released in 2015? I mean, not only latest flagmans Z5/Z5C/Z5P, but also previous flagman Z3+/Z4, "super mid-range" M5 and C5 Ultra?
[Sony Cross-Device General] bodomfan:
Can you flash this over 5.1.1
[Sony Cross-Device General] [NUT]:
Yes please.

Unfortunately, yes.
[Sony Cross-Device General] zippy01:
Hope this helps
[Sony Cross-Device General] McBane87:
Didn't you said with a clean Image (no backup restored) the camera was working?

If yes, why would you send back your new phone? In this case it isn't a hardware fault....It's then something the backup is screwing up.
[Sony Cross-Device General] Linkinsoldier:
Yes, you are correct. I didn't send back the phone because it is defective. It was a replacement unit and I needed to send back either my old one (broken glass on the back for no reason) or the replacement unit. I am too lazy currently to reinstall all applications and settings manually (without the automatic backup), that's why I decided to send back the replacement unit and live with the broken glass [emoji3]
[Sony Cross-Device General] harley1rocker:
I thought the z ultra did not come with a stock recovery.... Which is it guys????

---------- Post added at 02:07 PM ---------- Previous post was at 02:02 PM ----------

Its not that easy. If you use kingroot your screwed. Ask kloas. I've been trying to remove kingroot for a week now. Wolfdroids method damaged my sdcard. Broke a 64 gig,80 dollar card. King root wreaks havoc with my phone. I have not found one thing that removes kingroot and I'm still on 5.0
[Sony Cross-Device General] [NUT]:
It's really easy chap.

Flash a full FTF of the ROM you want, wiping EVERYTHING.

Then download the kernel from the kernel builder for your ROM, if it does not exist, you can have it repacked on the fly by uploading the kernel.sin from the FTF you used to flash your phone back to stock.

Then extract the boot.img from the zip you download, it is located inside the tmp folder INSIDE the zip.

Then use 'fastboot[.exe] flash boot boot.img' ( things inside [ and ] are optional, you should not type the brackets!!) in a CMD window (start it by typing WINDOWSKEY+R, type cmd.exe and press OK) , inside the folder 'cd /to/path/with/boot.img' and make sure you have the fastboot.exe and the boot.img in that same folder for it to work.

From then on, you will have recovery integrated inside the kernel boot partition, you can flash the SuperSU flashable to root your device.

A warning to everyone:

KINGOROOT IS UNSAFE TO USE!!!

It will:

- Send your IMEI to an undisclosed address somewhere in China;

- Not let you know what they do with that IMEI;

- Root your device, if you're lucky, but also hijack it in such a way that it will;

- be hard to remove or replace by supersu/superuser;

It is more malware then shareware in my honest opinion and I personally will NEVER use it. It is not community made, closed source and not checked by anyone.
[Sony Cross-Device General] anas.shelbayeh:
Am on stock .546 without root

I used the installer

It gave me that finished then no restart

No recovery
[Sony Cross-Device General] Farsiris:
How about Kingroot ?
[Sony Cross-Device General] ondrejvaroscak:
you

HAVE

repeat H A V E to be

already rooted

to use installer.
[Sony Cross-Device General] anas.shelbayeh:
But there is 3 choices

1 for rooted with superuser

2 for rooted with super su

3 for none rooted devices

I choosed 3