yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] ondrejvaroscak:
Tried it way you said, edited both files (install.bat and dualrecovery.sh) but gives bootloop after install.... but thanks for trying :)
[Sony Cross-Device General] Wolfbreak:
Just wanted to say the same as i tried it now.

[NUT] you should take a look at the 3 Files in OP of the Root Thread, i think the Problem is something regarding that.
[Sony Cross-Device General] caqo71:
Maybe the problem is that the dual recovery installation try to install byeselinux and ricdefeat wich are already installed and by updated versions. If these zips are already flashed, it's just to disable them from the dual recovery installation.

Just thinking. :rolleyes:
[Sony Cross-Device General] juanpirulo:
Have you try to setdr.prop byselinux=true with this line " DRSETPROP dr.keep byselinux true" on dualrecovery.sh? On line 145

Enviado desde mi C6903 mediante Tapatalk
[Sony Cross-Device General] Lasantha:
if thats the case after inastalling dual revov and re flash new bye selinux and ricdefeat will solve it right?
[Sony Cross-Device General] Wolfbreak:
I dont think so, i tried Already XZDR modified with the new Files. I still loops once you installed XZDR.
[Sony Cross-Device General] [NUT]:
Actually already did that, that's why I assumed it should work fine... but it's weird... I need to find some time to tinker with my Z2 (the only one with MM beta of the devices I have).
[Sony Cross-Device General] ondrejvaroscak:
I think we have enough time. People can use workarounds on rooted phone (enhancing their knowledge of scripting). Until official Android M is out. Maybe it will be again based on dm-verity and then we can go back to Lollipop :)))
[Sony Cross-Device General] Wolfbreak:
If official has dm-verity then i will use beta as Base for a prerooted ROM. No Problem hahaha.
[Sony Cross-Device General] reking:
I just installed this on an old Xperia Z1. I have encrypted the phone storage from before. When entering the TWRP recovery, it asks me for a password. I try my phone encrypt password: it doesnt work. This is the only password I use on my phone. What gives?

Also when I boot now, it says my SD card is damaged. It used to work fine.
[Sony Cross-Device General] [NUT]:
I actually totally disagree with that statement. Linux desktops offer encryption as well and you most definitely have root on them.

Having root does not mean you should accept unsafe situations. It is the reason why XZDR does a lot to protect unwary users from harm. It is why byeselinux is unloaded by default, simply because selinux makes your device a safer environment to use. Disk encryption is something I never tested myself, but I do want all of the device features to be usable while using XZDR.

[MENTION=2597345]reking[/MENTION] I will try to find out why that fails... It won't be fixed over night, but I will put it on my 'to-do' list.
[Sony Cross-Device General] Allewar:
How I install it?
[Sony Cross-Device General] casouzaj:
Your phone must be rooted. From your PC, access nut.xperia-files.com, click on XZDualRecovery and XZDualRecovery 2.8.26, download and install the combined version for your specific phone model, unpack it to a folder with the same name, open that folder, launch the install.bat file, enter either 1 or 2 in the command window, depending on the root manager you have installed on your phone, and connect it to your PC through a USB cable. The installation process should begin. Pay attention to your phone' screen in order to grant root access to adb shell. At the end your phone will reboot and enter the recovery mode (in fact, TWRP) automatically this first time.

In all other reboot actions, there are two easy ways to enter the recovery mode:

1 - right after the first Sony logo, the notification led will flash in green, along with a double vibration. In this very moment, press either vol- (recommended) for TWRP or vol+ for Philz.

2 - the recovery package has installed the app NDRUtils in your phone. Launch it and select the primary recovery (again, I recommend the Team Win Recovery Project). Then, tap on the button to reboot in the primary recovery. This way you don't need to press any physical button whilst booting.
[Sony Cross-Device General] JuanMnz93:
Is there a way of reinstall dual recovery though terminal emulator? I have lost my recovery after installing ZyxxOS over RXSW ZX Experience without wipes because I had a problem with andropluskernel and XZDR Remove Package and now I don't have recovery, my pc recognize my z3 as "unknown USB device (descriptor request failed). I have tried a lot of things but my pc doesn't recognize it, so I'd like to make the recovery works again, at least to try with another rom. At this moment I'm on ZyxxOS rom, I have root, busybox and terminal emulator. Could you help me? I don't know what to do
[Sony Cross-Device General] :
Dual Rec. 2.8.25-BOOTLOOP

I tested 2.8.25 dual recovery...but got a bootllop... Android 6.0.1 23.5.A.0.486 Z3Compact-D5803-
[Sony Cross-Device General] juanpirulo:
Yep, dualrecovery still doesnt work under mm. Its been told allready, you Will have to wait for new versión.

Enviado desde mi C6903 mediante Tapatalk
[Sony Cross-Device General] Pandemic:
There is still no XZDR for 6.0.1, learn to read the threads where you also flashed the BETA of 6.0.1 for your Z3 Compact from !!
[Sony Cross-Device General] Rootk1t:
[MENTION=4904057][NUT][/MENTION]

Please fix kernel builder as it once again has uploading problem.
[Sony Cross-Device General] Wolfbreak:
[MENTION=4904057][NUT][/MENTION]

The SD Card doesnt get recognized anymore either by your Scripts as there is no sdcard1 in Marshmallow. Every Users SD Card has a different random Name now. If i edit your Scripts to exclude byeselinux and RIC Defeat completely then it installs and dont bootloops but i still cannot access Recovery. Theres the 2 seconds RED Led.
[Sony Cross-Device General] ondrejvaroscak:
Dual recovery is designed AFAIK to work also without sdcard1. There are people who use no external SDCard. So I doubt that problem of XZDR on MM is just not correctly detecting SD.
[Sony Cross-Device General] caqo71:
So, what if extract the SD card and try to install?, anyone tried that?
[Sony Cross-Device General] ondrejvaroscak:
You can try but I think that problem is in way how the recovery is implemented. The MM is simply different system, the boot process is similar yet not same as in lollipop.
[Sony Cross-Device General] Wolfbreak:
I know i never said SD Card is the issue why it doesnt work, but it still needs a fix. I am just trying to help NUT by letting him know some 6.0.1 Stuff because he use 5.1.1 i think.
[Sony Cross-Device General] :
Pandemic!Do not lecture me!you are 0 It can be better than you are!Thanks!
[Sony Cross-Device General] Wolfbreak:
Why you attack him like that? What he said was not wrong because there is no working Recovery on locked Bootloader yet for MM.
[Sony Cross-Device General] Pandemic:
Exactly bro but some people dont understand that or will even understand it, that guy is just hilarious ^^

“Sent From MWE V10.0.0 On My Z3”
[Sony Cross-Device General] ondrejvaroscak:
I agree, you do not need a lecture, you need a fat slap on your face and kick straight in your asshole. Not only are you a total newbie, but we were all once, but you don't give a hack about good manners in forum. Honestly, when I see post like yours, total ignorant and disrespectful, I am forgetting my good manners too. Either learn how to behave or just fo.
[Sony Cross-Device General] serajr:
Bro... NUT's dualrecovery.sh script looks for an simple boot file in the /cache/recovery/ folder to boot into recovery as well (this is how custom Power Menu Reboot Recovery action plays with it).

elif [ -f "[COLOR="Red"]/cache/recovery/boot[/COLOR]" -o -f "${DRPATH}/boot" ]; then

ECHOL "Recovery 'boot file' trigger found."
RECOVERYBOOT="true"

else

Once dual recovery was installed (apparently successfully) and the system booted up as it should, try to simply create the boot file in there with root explorer and reboot. It should work... well, in theory!
[Sony Cross-Device General] [NUT]:
Fixed :) (and this time I made sure it won't happen again).
[Sony Cross-Device General] [NUT]:
[MENTION=6351145]ondrejvaroscak[/MENTION], [MENTION=3989065]serajr[/MENTION] and [MENTION=2822871]Wolfbreak[/MENTION]

Thanks for the testing, details and helpful info. It will help me to perfect XZDR for use on MM.

Didn't want to let that slip seemingly unnoticed, I did notice :good:
[Sony Cross-Device General] ondrejvaroscak:
I tried, did nothing :)
[Sony Cross-Device General] mikeezy187:
Twrp has had a new update and wodered if u were going to put it in any future xz upda

Twrp has had a new update i just wondered if you had plans to put the new twrp update in your next xzduel recovery updates
[Sony Cross-Device General] [NUT]:
http://xdaforums.com/showpost.php?p=65177080&postcount=6773
[Sony Cross-Device General] noknok79:
is there any chance to include my E5563 Xperia C5 Ultra?

thanks!
[Sony Cross-Device General] zohaib0001:
[MENTION=4904057][NUT][/MENTION]

Xperia z5 get root with lockedbootloader all test are positive

Tomorrow zxz0O0 going to release it

Now please release your locked bootloader recovery for z5 also
[Sony Cross-Device General] serajr:
MM - Working TWRP Recovery for LB !!!

[MENTION=4904057][NUT][/MENTION]

Here is a working TWRP Recovery for Z3C with locked BL, running Xperia Marsmallow Beta fw.

Notes:

- recovery.twrp.cpio.lzma is from Z3C XZDualRecovery 2.8.26

- taimport instead of chargemon

- log at /cache/mm_twrp_recovery.log

The taimport and boot_twrp_recovery scripts are very simple, but enough to boot up into TWRP recovery successfully (volume down key and/or /cache/recovery/boot file)!

How to install:

1 - Download and install remountrebootfix-windows.zip (DO NOT SKIP THIS STEP!)

2 - Download Xperia_Z3C_MM_TWRP_Recovery_Installer_By_Serajr.zip (attached) and unpack it (THIS IS NOT A FLASHABLE ZIP)

*3 - Z3C users, proceed to installation!

*Z3, Z2 users:

Inside \files folder you will find the recovery.twrp.cpio.lzma file << THIS ONE IS FOR Z3C ONLY

You can take the proper recovery.twrp.cpio.lzma file from its XZDualRecovery 2.8.26, and replace that file before you proceed to installation.

Maybe notification led and vol down to enter recovery don't work due diffs between models, but they're fixable in the script!

[NUT] and folks, I really hope this helps you somehow!

Credits:

- [NUT]

- [MENTION=7032525]cubeundcube[/MENTION]

- [MENTION=4102242]Gustavo RD78[/MENTION]
[Sony Cross-Device General] Wolfbreak:
Very good work from everyone! I sent you a PM [MENTION=3989065]serajr[/MENTION] bro
[Sony Cross-Device General] ondrejvaroscak:
changed the recovery lzma to one from NUT's .26 version. Did as you write, everything seems installed ok, however device just reboots, no LED notification, putting "boot" file into /cache/recovery/ does nothing..
[Sony Cross-Device General] adop40:
Hello, I can't install it on my Z2. The Rebootfix worked but the recovery won't install. I change the file in the folder for installing TWRP for my Z2.

I see this if I run

install.bat

for installing recovery after the rebootfix:

waiting for device...

Der Befehl "adb" ist entweder falsch geschrieben oder konnte nicht gefunden werden.

-> In english: The command "adb" isn't written correctly or can't be found. This error was shown 12 times.

cleaning...

Der Befehl "adb" ist entweder falsch geschrieben oder konnte nicht gefunden werden.

-> error another time

finished!

rebooting into recovery...

Der Befehl "adb" ist entweder falsch geschrieben oder konnte nicht gefunden werden.

-> error the last time
[Sony Cross-Device General] serajr:
I have only my Z3C with MM for testings right now, and over here it is working like a charm!

- install part one and reboot

- install the recovery and reboot (install script does it)

- enter /cache/ and see the mm_twrp_recovery.log

There is this line in the boot_twrp_recovery.sh

busybox umount -l /storage/[COLOR="Red"]D5B3-17E4[/COLOR]	# SDCard1

In red is my SDCard1 code. I don't know if you need to change it to yours!

Ofc later Nut will write something better to handle this!
[Sony Cross-Device General] ondrejvaroscak:
I am getting already errors in remount-reboot fix zip, there is something wrong with running

adb shell "su -c /data/local/tmp/rootfix/install.sh"

because following commands from install.sh are giving errors that system can't be remounted r/w ... but I checked my root and it is ok, I can r/w over adb...

---------- Post added at 23:08 ---------- Previous post was at 23:07 ----------

You have to copy the content of installation into directory, where you have ADB binaires, if you did not set it in PATH...
[Sony Cross-Device General] dex87xda:
Hm i cannot boot again into recovery, vol down doesnt work, here is log.
[Sony Cross-Device General] ondrejvaroscak:
You should make separate thread for this :) not to mess [MENTION=4904057][NUT][/MENTION] thread for XZDR
[Sony Cross-Device General] Wolfbreak:
It works fine for me. I just installed it over the install.bat file. I will also post a ROM with Recovery included in the next Days.
[Sony Cross-Device General] ondrejvaroscak:
OK, i must do a stupid mistake somewhere
[Sony Cross-Device General] juanpirulo:
Better continúe in this thread guys.

http://xdaforums.com/showthread.php?t=3337357

Enviado desde mi C6903 mediante Tapatalk
[Sony Cross-Device General] serajr:
"to mess"... come on buddy!

People here know the real purpose of the my post. If I wanted to create a new thread for it, I'd have done! Simple so!!

But, If my help is messing up things over here... [MENTION=4904057][NUT][/MENTION], I apologize!
[Sony Cross-Device General] juanpirulo:
I dont think he meant that because of your post if not for the following posts. We really aprecciatte your job and know it will be very helpfull for nut. cheers mate

Enviado desde mi C6903 mediante Tapatalk
[Sony Cross-Device General] ondrejvaroscak:
Did you sleep bad or ate something wrong? My proposal was in no way a critique of what you did! But as I and other guy ran into problems, I simply suggested to have separate thread for it, because your recovery is not XZDR. So it will end up here discussing two separate thing and that of course creates confusion around.
[Sony Cross-Device General] casouzaj:
I can't mount system whist in TWRP as well, with serajr' solution.
[Sony Cross-Device General] vandiaz_sairavinz:
wow

Pls FLASHABLE for xperia z2 MM beta LBL
[Sony Cross-Device General] aidy.lucas:
Anyone have a link to the nut initd enabler zip can't see it at nuts webpage/downloads

Edit - found it at long last in a z2 thread, latest t2u version confirmed working on my M2 as always.
[Sony Cross-Device General] mirok80:
amazing i must try later good work thank you
[Sony Cross-Device General] pvnsai73:
Somebody plz help recently my vol down button not working bcoz of some strip problem...so how can I change to volume up button to boot into recovery
[Sony Cross-Device General] Mattx04:
Hey guys !

My phone is rooted with kingroot tool. Can I install xzrecovery anyway ? I experienced a soft brick using xzrecovery.apk so I'm a lil bit more vigilant now !!

Thank's for your answers !
[Sony Cross-Device General] Bartekreaper:
Yes, just download the newest version. Unpack and choose Install with rooted by Superuser. It will install XZDR then.
[Sony Cross-Device General] Mattx04:
thank u very much for your really quick answer ! I will try it now !
[Sony Cross-Device General] Mattx04:
I have downloaded the package, extracted it in C, lauched it but my phone isn't recognized .. Is anybody knows why ?
[Sony Cross-Device General] Bartekreaper:
What model you have and which one you downloaded?
[Sony Cross-Device General] ondrejvaroscak:
Enabled USB debug? Correct Windows drivers?
[Sony Cross-Device General] Mattx04:
I have an xperia z and I have downloaded the xz package

---------- Post added at 03:30 PM ---------- Previous post was at 03:28 PM ----------

USB debugging is enabled, adb and fastboot drivers are correctly installed because I have flashed a stock rom with flashtool this morning ! May I need busy box ? May a need to do something on my phone before to plug it on my pc ? My xz is rooted with kingroot, is it a problem ?
[Sony Cross-Device General] ondrejvaroscak:
Yes, I think, because XZDR installer requires root with Supersu or Superuser app...
[Sony Cross-Device General] Bartekreaper:
No. My friend come to me and we rooted his Z3 with KingRoot and then Install XZDR and flash SuperSu in TWRP.

If u have Kingroot you just need to choose that you have Superuser app not the SuperSu.
[Sony Cross-Device General] ondrejvaroscak:
Ok, thanks, good to know...
[Sony Cross-Device General] Mattx04:
I already tried it but my phone isn't recognized ! nothing happen when I plug it to my pc !
[Sony Cross-Device General] Bartekreaper:
Maybe you have opened Flashtool at the same time? Or second cmd window.
[Sony Cross-Device General] Mattx04:
I closed all programs but that's the same ! My computer recognize my xperia z but the installer doesn't .. Very strange !
[Sony Cross-Device General] ondrejvaroscak:
Can you just copy paste here output of cmd windows? We are cooking out of water here..
[Sony Cross-Device General] Mattx04:
Here the screenshot, my phone is currently plugged to my pc in debugging mode. Is anybody have an idea ?

thank's guys
[Sony Cross-Device General] ondrejvaroscak:
If you have working adb installation, just copy it into directory where you unzipped recovery installation files
[Sony Cross-Device General] juanpirulo:
Also tried to restart your computer, sometimes adb is still opened in background with unfineshed job.cheers

Enviado desde mi D6603 mediante Tapatalk
[Sony Cross-Device General] Mattx04:
I have tried it but nothing better. Thanks anyway !

---------- Post added at 08:53 AM ---------- Previous post was at 08:51 AM ----------

Done, but doesn't change anything :(
[Sony Cross-Device General] okij:
Please check that adb.exe isn't blocked by a windows firewall, otherwise it won't work properly.
[Sony Cross-Device General] NGbod:
I've been trying to install TabZ3C-lockeddualrecovery2.8.26-RELEASE.combined on my Z3C tablet but can't get it to install.

The batch file runs and finds the tablet but then seems to be sniffing around my win10 machine for things like Adobe license numbers etc. See picture attached. I also tried 2.8.25 and it did the same. Any ideas whats happening here?
[Sony Cross-Device General] Mattx04:
My windows firewall is disabled, maybe I need to download the android sdk ?
[Sony Cross-Device General] juanpirulo:
Another try disable USB debugging power off the phone restart and enable again USB debugging. Look if android USB sign appear and give permission.cheers

Another try disable
[Sony Cross-Device General] Mattx04:
also tried but doesn't work :( I will try to install the adb drivers thru android sdk. thanks anyway for your help guys ! I apreciate it :good:
[Sony Cross-Device General] [NUT]:
It seems the find command doesn't work properly... I know for sure my installer doesn't scan your PC for anything, it is trying to determine the android version with that command...

Detach usb, start the installer on the pc. Go to the developer options and reset the authorizations. It seems you might have denied access from your PC by accident. Then keep the device screen active, attach the usb lead and accept the connection.
[Sony Cross-Device General] [NUT]:
That's the one, check attached picture.
[Sony Cross-Device General] Mattx04:
I revoked the authorizations plugged my phone on my pc and it's written in notification center "usb debugging connected : touch to disable usb debugging". The phone doesn't ask any connection ..??
[Sony Cross-Device General] [NUT]:
Okay, let's give that one more try then: detach usb, revoke authorizations, disable usb debugging and reboot the phone. After rebooting, enable usb debugging, attach usb while screen is active.

Then use installer option 5 (adb shell) to see if it now wants to allow a connection. Be ready to accept it on your phone of course.

Last ditch effort: factory reset your phone and try again.
[Sony Cross-Device General] ostadmaster:
ExcuseMe but when time port TWRP v3 for Xperia device?
[Sony Cross-Device General] Mattx04:
I am trying it, many thanks for your help Nut !!

---------- Post added at 06:37 PM ---------- Previous post was at 05:51 PM ----------

Damn doesn't work, my phone doesn't ask ask anything when i connect it to my pc....

No custom recovery for me ..

---------- Post added at 07:00 PM ---------- Previous post was at 06:37 PM ----------

SOLVED !!! I've uninstalled java development kit and it worked, it a little bit strange that java and adb were in conflict but I'm happy because I can now flash a new rom !

Many many thanks for your help and perseverance buddies :):):)
[Sony Cross-Device General] trevinshu:
Marshmallow Support?

Hey got the 6.0.1 update for my Z3 D6603 and I'm wondering whether Dual Recovery supports it
[Sony Cross-Device General] tatsu91:
Not yet, wait for nut's update, but theres a twrp recovery working
[Sony Cross-Device General] [NUT]:
I've been trying to update my Z2 to MM but for some reason it refused to boot, even with a stock kernel and ROM...

I don't know what I did wrong, I'll give it another go but after tinkering with it for 2 hours yesterday, I'm wondering what's wrong :eek:
[Sony Cross-Device General] jijishthomas:
pls help

hello, i need to install a recovery for my z2 d6502 with marshmallow.I am having unlocked bootloader. pls help.
[Sony Cross-Device General] Bartekreaper:
Are you tried stock, pre-rooted or pre-rooted rom from niaboc79?

Maybe you make mistake with something ;p

Wysłane z mojej Z3

Compact przy użyciu Tapatalk
[Sony Cross-Device General] ondrejvaroscak:
This recovery is NOT for MM
[Sony Cross-Device General] dex87xda:
http://xdaforums.com/showpost.php?p=66324053&postcount=427

[MENTION=410007]Nut[/MENTION] great news TWRP 3.0.2 is ready for u :) do it ;)
[Sony Cross-Device General] ptmaniac:
Weird but i've seen more reports of boot failure after flashing .ftf (here http://xdaforums.com/xperia-z2/help/mm-reboot-loop-570-t3356407 for example) , try flashing the bootloop fix that niaboc79 provided in his thread ( http://xdaforums.com/showpost.php?p=66307747&postcount=974 ) as it seems to fix the problem.
[Sony Cross-Device General] eagle25884:
Moin [NUT],

I came from latest 5.1.1 (.264), rooted and your XZDR 2.8.26.

Did you try with D6503 or 6502 ? I tried fully successful with Niaboc79´s Instructios. Thread: http://xdaforums.com/xperia-z2/development/rom-official-6-0-1-23-5-0-486-beta-t3336770

DL-Link 570.zip there in Post #2

I prefered Installation with full wipe. Everything worked fine (root, XZDR and Xposed)

I´m using Z2 D6503 !!

see also: http://xdaforums.com/showpost.php?p=66309119&postcount=982

Good Luck and Success
[Sony Cross-Device General] NFS_FM:
Try to use the fsc script provided by FlashTool wheenn flashing, maybe that's the problem.
[Sony Cross-Device General] josepetit:
i came with 23.4.A.1.264 in my z3 D6653, i have root with kingroot, i can flash with stock recovery?
[Sony Cross-Device General] ondrejvaroscak:
No, you need custom recovery, for example NUT's XZDualRecovery. Stock recovery can flash ONLY stock images.

---------- Post added at 16:58 ---------- Previous post was at 16:14 ----------

Hi, tried to search, but find nothing that would help me address that problem.

I have encrypted my data partition using Android security settings, with a PIN (let's say 123456). After successfully encrypted, I can boot Android without problem, however, I can not decrypt data on TWRP. I tried also to update the TWRP included in XZDR to latest 3.0.2-0, but every time it asks for "password" - entering PIN here fails. I tried to change security to pattern, but even if I enter exactly same patern I use to lock Android, it says that pattern is incorrect. I am a bit confused of what the hell is going on.
[Sony Cross-Device General] fenie:
Times a very stupid question. How do I get into the TWRP? QuickBoot boot only in Philz.
[Sony Cross-Device General] Pandemic:
By pressing volume down when device boots up

Please read the 1s post !