yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] [NUT]:
No, not yet fixed, been trying to fix these issues of not being able to get in to recovery first. Now to fix some lingering issues in the ROM release and then I'll get back on TWRP on the Tablet Z. :)
[Sony Cross-Device General] kennethso168:
Checked the SHA1 and it matches. And the recovery works well. Thanks.
[Sony Cross-Device General] lancebuks:
Ya it's good :good:
[Sony Cross-Device General] Teknohtc:
hi, just installed the recovery and none of the options are working! I followed the instructions and nothing. I wait till the green led comes on i press up nothing same thing again accept with down button nothing? any ideas? thanks
[Sony Cross-Device General] sidelong:
Re TWRP on Tablet Z

Thanks for responding. That's all I wanted to know, and I'll keep monitoring the thread. Many thanks for your time and effort on these devices.
[Sony Cross-Device General] lancebuks:
I don't know. Are you using a custom ROM or stock? What FM are you using? What recovery version did you use?

Me personally I'm using a stock 10.3.A.0.423 and using 2.5 BETA and have no issues.
[Sony Cross-Device General] Vaith:
I als o have this problem. I just can't boot up into Recovery... Please help us... I can;t use any Custom ROM ... This is just sick!
[Sony Cross-Device General] [NUT]:
&

Please guys, take a look at the OP and get me the logs... Without them I can't help you!
[Sony Cross-Device General] MRL3GS:
Hello i cant seem to boot in to any recovery, the light goes green but when i push the volume up or down button the light wont go purple. Any suggestions?

I am running stock 4.2.2

My Log

START Dual Recovery at 27-04-1970 05:40:37: STAGE 2.

05:40:37: Checking device model...

05:40:37: Model found: C6603 (Xperia Z)

05:40:37: DR Keycheck...

05:40:37: Trigger vibrator

05:40:37: Turn on green led

05:40:37: sleep 3

05:40:37: RET=0

05:40:40: Turning off led...

05:40:40: Remount / ro...

05:40:40: Return to normal boot mode...

STOP Dual Recovery at 27-04-1970 05:40:40: STAGE 2.
[Sony Cross-Device General] [NUT]:
Check the OP about the beta changelog, download 2.5 BETA from the link there.

You are currently using 2.4 release....
[Sony Cross-Device General] MRL3GS:
could you send me a link cant seem to find it :)
[Sony Cross-Device General] [NUT]:
It's almost at the bottom... http://www.fun-industries.nl/xda/?dlid=bG9ja2VkZHVhbHJlY292ZXJ5Mi41LUJFVEEud2luZG93cw==

Install that and it will work :rolleyes:
[Sony Cross-Device General] hussein1:
Please fix R/W for XZDualRecovery 2.8.4 in xperia Z2 Android 5.02.:o
[Sony Cross-Device General] Pandemic:
[MENTION=5177582]hussein1[/MENTION]

R/W works fine for me on my Z2 with 2.8.3 on locked bl with LP 5.0.2, look the proof:

Pressed and unpressed immidiatly after eachother so no issues ^^

Sent From My Z2 On LP 5.0.2 Fully Deodexed With Dual Recovery !
[Sony Cross-Device General] yuskhayru:
Yeah, this is happened to me too after flashing the byeselinux. Flashing SGP621-RICDefeat solve the r/w problem.

Sent from my D6503
[Sony Cross-Device General] ondrejvaroscak:
RICDefeat working for me too.
[Sony Cross-Device General] tatsu91:
Also reinstalling XZDR 2.8.3 and in twrp mounting system also fix this thing, did it on 6653 crossflashed with 6603
[Sony Cross-Device General] zxz0O0:
This has absolutely nothing to do with byeselinux. I assume you reinstalled dual recovery after byeselinux so it's your own fault.
[Sony Cross-Device General] yuskhayru:
Owh, now i know. So theres no need to reinstall the dual recovery after flashing byeselinux? Im just following others, dunno thats the wrong step. Sorry.

Sent from my D6503
[Sony Cross-Device General] ondrejvaroscak:
No. Recovery works straight after running byeselinux if you have included recovery in creating prerooted FW..
[Sony Cross-Device General] tatsu91:
You HAVE to reinstall XZDR in order to restore full functionality ofrecovery and RW in system
[Sony Cross-Device General] ondrejvaroscak:
No! Stop writing wrong steps. If recovery is included in Zip with FW them it works first boot after running byeselinux!
[Sony Cross-Device General] tatsu91:
Yes it does but I lost RW in system, reinstalling XZDR solved the thing
[Sony Cross-Device General] ondrejvaroscak:
I have RW without reinstalling recovery but I run RICDefeat script..
[Sony Cross-Device General] Rajeev:
2.8.4 ? :confused:
[Sony Cross-Device General] tatsu91:
Nut it's going to update XZDR he said that maybe Thursday
[Sony Cross-Device General] yuskhayru:
+1 :fingers-crossed:
[Sony Cross-Device General] kjames2001:
Hi there, do you think you can make the flashable .zip version for this modified dualrecovery? if so please do. Thanks! even a flashable .zip for byeselinux would be appreciated. thanks again!
[Sony Cross-Device General] v7:
Here's the modified dualrecovery http://xdaforums.com/showthread.php?p=59907700

Tapped from my furious ZR ;)
[Sony Cross-Device General] kjames2001:
Thanks, but I'm looking for the flashable zip.

来自我的 D6603 上的 Tapatalk
[Sony Cross-Device General] v7:
Then you should definitely wait [MENTION=410007]Nut[/MENTION] has not integrated the fix to the dual recovery.He'll soon do it.So better wait.

Tapped from my furious ZR ;)
[Sony Cross-Device General] ThatGuyLookingForAdvice:
TYVM! Working on my Sony Xperia Z3 D6603
[Sony Cross-Device General] Linkinsoldier:
Fix confirmed on Z2 Tablet (SGP521) --> didnt even have to flash the recovery, fix worked and I could go to recovery!
[Sony Cross-Device General] FcukBloat:
I think he said maybe Tuesday? (so that would be today :o ) well hope it will come soon so I can try LP :good: (I know I could use 2.8.3 and then run byeSE script but would prefer everything integrated in one zip :p :lazy: )
[Sony Cross-Device General] cschmitt:
It's nice that we have a means for getting XZDR working on 5.x, but I'm not a fan of disabling selinux 100% of the time just so I can occasionally boot to recovery.

Would it be possible for 2.8.4 to include a feature to replace mhl_sii8620_8061_drv_orig.ko with byeselinux.ko and mv mhl_sii8620_8061_drv_orig.ko only when a recovery reboot is selected and then replace the original files after recovery so that the system normally operates with selinux enabled? [MENTION=4904057][NUT][/MENTION], I could build a script to provide this if that would help out.
[Sony Cross-Device General] [NUT]:
Don't worry about that, you will be pleased by the end result :)
[Sony Cross-Device General] belblade:
am i right i thinking i can now upgrade to a rooted Z3C lollipop rom (flashing a zip through the 4.4 dual recovery) and then in the not so distant future be able to flash the new working recovery ?
[Sony Cross-Device General] [NUT]:
I'd wait for 2.8.4 before you do if you share [MENTION=4513061]cschmitt[/MENTION]'s worries, otherwise: yes, as long as you have root and R/W access on system.
[Sony Cross-Device General] ptmaniac:
Humm i don't think this is a good idea, what would happen if by any reason your device doesn't boot or gets into a bootloop? the original modules would be in the system, selinux enforced and recovery would not boot to fix / restore your device, you would have to run flashtool and start all over again :S

Also i don't think byeselinux removes selinux completely, i think it's enabled but in permissive mode just as in 4.4.

But since nut said not to worry i guess everything will be working the best way possible :)
[Sony Cross-Device General] cschmitt:
If it won't boot, you probably can't access XZDR as it relies on a working system.

As for the selinux enforcement: open a terminal window and run byeselinux.sh directly on the device to disable enforcement, then reboot to recovery.
[Sony Cross-Device General] am2222:
When The new update with fix included will be released?I am dieng of wait:confused:
[Sony Cross-Device General] Marília de Oliveira:
Very Good :D:good:

---------- Post added at 03:06 PM ---------- Previous post was at 03:05 PM ----------

We expected so. Thanks :D
[Sony Cross-Device General] Linkinsoldier:
Is the concern valid? I am not an expert in the SELinux, but if there is any security concern I would rather turn it back on again. Can someone enlighten me and tell me if it would be possible to turn it on again ? :)

[MENTION=410007]Nut[/MENTION]: will this be possible with your 2.8.4.?
[Sony Cross-Device General] futiless:
Works Z2 thanks ! :highfive:
[Sony Cross-Device General] xperia u20i:
Hi to all

Hi, is there any chance of getting that recovery for xperia m(c1905) with locked bootloader?

Another question, if i have granted root permission, flashed that dual recovery, but locked bl, would i be able using for example cm12 nightlies?

Thanks

Great work
[Sony Cross-Device General] [NUT]:
XZDualRecovery 2.8.4 Released!

RELEASE Change log:

Version 2.8.4:

Fixed XZDR operation for Sony's Lollipop releases, a BIG thanks goes to [MENTION=3975929]zxz0O0[/MENTION] for creating the kernel module which made this possible! :highfive:

Updated TWRP to 2.8.6.0:

What’s new in 2.8.6.0:

Fix daylight savings time rules for USA and Europe (_that)

Allow mulitple overlays for popup boxes (Dees_Troy)

Add pattern style password entry for decrypt (Tassadar)

Keyboard improvements (_that)

Update AOSP base to 5.1 (Dees_Troy)

Reduce theme count to 5 and rely on scaling (Dees_Troy)

Various scaling improvements (Dees_Troy)

Improved handling of resources in the GUI (_that)

Make scroll bar size proportional to list size (_that)

Allow scoll lists to render without a header (_that)

Make console scroll per pixel with kinetic scrolling (_that)

Support styles in XML to reduce XML size and improve consistentcy (Dees_Troy)

Various other fixes and improvements (mdmower, bigbiff, codelover, etc)

The way XZDR handles the byeselinux module is different from what zxz0O0 envisioned with it, but this also does the trick. It will load the module without replacing any of the original ones and when booting the ROM it will unload it again, restoring SELinux functionality.
[Sony Cross-Device General] PVL_93_RU:
So wait, right now I have a stock lollipop firmware on my Tablet Z2 LTE (SGP521). To apply XZDR 2.8.4, I need to flash a prerooted FTF with DualRecovery built in, then run the 2.8.4 installer and I'll have root + working recovery? Does that mean I need to wipe everything in the process and start from scratch?

I do have an unlocked bootloader, by the way
[Sony Cross-Device General] [NUT]:
If you have an unlocked bootloader, grab your kernel (sin or dd img, doesn't matter), use the kernel builder and create a kernel for it. That will allow you to wipe system without losing recovery.
[Sony Cross-Device General] cschmitt:
That is a perfect solution, thanks!
[Sony Cross-Device General] PVL_93_RU:
Could you please elaborate in a step by step instruction?
[Sony Cross-Device General] espaciosalter20:
[NUT] I have already installed byeselinux mod and 2.8.3 xdrz. If I install this new version, will zxz0o0 module be removed? Any conflicts?
[Sony Cross-Device General] jamesbdx:
Tried on Z2 under lollipop, whether using flashable zip or installer, both seem to get the job done (superuser access granted when installing, reboot...) but impossible to enter recovery and grant rw accesss to system...

Obviously I'm talking about the latest version, beforehand I was using 2.8.3 with zX0O00's fix

EDIT : reflashing zX0O00's fix and the 2.8.3 installer got the recovery working again as well as rw access
[Sony Cross-Device General] dilema:
So I have 2.8.3 on Lollipop on my Z2, with r/w access already (not using any patch)

Do I just install the 2.8.4 over the top?
[Sony Cross-Device General] linkazoid:
Don't just yet!

As per the post above these, i've also flashed 2.8.4 over the top of 2.8.3 and have lost the ability to enter recovery.

I will have to flash back 2.8.3 too tomorrow as it's nearly 1am in the UK.
[Sony Cross-Device General] bdithug:
I was just about to go through the guide to build a pre-rooted flashable zip for USA Lollipop. So the newest update doesn't work as intended?
[Sony Cross-Device General] El.Guaje:
I tried but I can only grante permission for app which need ROOT. I can not mount R/W or R/O.

But after install this: https://mega.co.nz/#!qFcTmQzS!Prc78y6ujjQdJwdtQUwy6dzrgVp-sD_V2ZcfkYcWzzA

I got everything working. I did not try newest recovery yet.
[Sony Cross-Device General] espaciosalter20:
I have extracted binaries recovery and updated in /system/bin

Until nut update romversion to enable r/w system permission
[Sony Cross-Device General] FlyingCheese:
I had 2.8.3 working on my current KK firmware, and upon flashing 2.8.4 I lost access to the recovery mode. When using NDRUtilsto boot to recovery, the notification light starts as purple but it rapidly changes to red and I'm sent to the Android system. I am trying to reinstall 2.8.3 as we speak to regain recovery access. Also tried 2.8.4 installer version, but even though the install goes OK, I still have the same symptoms. Does anyone know what might be the issue?

EDIT: reinstalled 2.8.0 using the installer and got Recovery back. Flashed 2.8.3 flashable and it also worked. Thoughts?
[Sony Cross-Device General] xperiauser4433:
Hi NUT, I've been trying to download the Z3C installer from your site, but I am completly unable to do it. I have no problem with the flasher, but can't get the installer of anything. Can someone tell me what's wrong or put the file on a cloud please?
[Sony Cross-Device General] caqo71:
does the removal XZDR actually works?, should it to be used before upgrading to 2.8.4?
[Sony Cross-Device General] s8m:
Ditto here!
[Sony Cross-Device General] Sean09:
I am on the same boat as others where 2.8.4 wont let me boot to recovery and will not let system mount rw. The fix and 2.8.3 works.
[Sony Cross-Device General] AussieCable:
Running 5.0.2 on my D6503 and I get the same with 2.8.4, I am going to revert back to 2.8.3 as it worked and the new version does not.

I am sure it is something rather simple, just have yet had anytime to investigate. Also forgot to get all log files, sorry.
[Sony Cross-Device General] Tuberomix:
I had the same problem, but managed to download it after switching to another browser (the problem was only on Chrome for me). So try that.

Unfortunately though I too am still having trouble getting the recovery to work. After installing it I can in no way boot to the recovery I supposedly installed...
[Sony Cross-Device General] xperiauser4433:
Same for me, I can't reboot on recovery. NDRUtils won't even install. When I was on kitkat, I was completely rooted (with system r/w) , flashed pre-rooted firmware without recovery and now, I can't get into recovery after trying to install the recovery.
[Sony Cross-Device General] pepzin:
I have this problem too, but I cant find the 2.8.0 installer. Where did you find it?

edit: I guess 2.8.0 was a typo :) Tried installing 2.8.3, but crap, I've got root access, but I can no longer mount /system rw. I have no idea how or when that happened or how to fix it.
[Sony Cross-Device General] caqo71:
I can confirm that it doesn't work in KK neither in LP.
[Sony Cross-Device General] G-FACE:
Seems like there is a problem with 2.8.4. So stop trying it. Wait for [MENTION=4904057][NUT][/MENTION] to get some sleep and I'm sure he will find a solution for the error.
[Sony Cross-Device General] akasasori:
I tryed this one on my 5833 with 5803 5.0.2 locked bootloader. And it works , I just get boot in to the recovery.
[Sony Cross-Device General] xdayala:
I tried both 2.8.3 and 2.8.0 and i still can't get into recovery how are you guys gaining access again?
[Sony Cross-Device General] x_one:
Guys, have you heard of making backups?

Why do you need recovery if you don't use it.. :eek:
[Sony Cross-Device General] sid3091:
Hey guys, recovery ver. 2.8.4 doesnt seem to be installing properly on my z3(6653). The installer finishes its setup but it doesnt boot into recovery and just starts android again. Im pretty sure root is working fine and es file explorer says ive got sys rd/wr. can anyone upload an older version of the recovery installer please? One which will work with LB? Thanks.
[Sony Cross-Device General] netharshal13:
Grt Work will try to tonight:silly::) Thanks !!!
[Sony Cross-Device General] [NUT]:
dang... I found what's wrong... this is a GitHub repo issue caused by the .gitignore file...

Sorry folks, will fix as soon as I figure out how to work around this :eek:

-- EDIT --

also found some mistakes, which I fixed in some files but didn't fix in other files... too many sleepy changes done late at night to get it out... sorry folks :(

-- EDIT 2 --

I have moved 2.8.3 back online, will release 2.8.5 to fix .4 some time today.
[Sony Cross-Device General] yuskhayru:
Take your time dude. ;)

Sent from my D6503
[Sony Cross-Device General] gedhe:
Just to get it rigt:

It is NOT possible, to flash the latest XZDualRecovery to a Xperia Z with pabx 5.0.9 AOSP build, right?

I`m quite confused about this ???

THX, David
[Sony Cross-Device General] [NUT]:
Not yet, be patient.
[Sony Cross-Device General] gedhe:
Sir, yes, Sir! ;O)
[Sony Cross-Device General] FlyingCheese:
It was not a typo. I used the 2.8.0 installer because it was the only version I downloaded as an installer, from there on I downloaded just the flashables.

When trying to reinstall 2.8.0, despite having 2.8.4 installed, I had to manually mount my /system partition as RW, as the installer was having problems.
[Sony Cross-Device General] espaciosalter20:
Ummm, to clarify, I'm on 2.8.3 package with byeselinux fix installed but I had updated my recoveries from 2.8.4 images just extracting them from /system/bin and move it to the /system/bin folder of my z3c (D5803) and set permission (0644).

Hope the next iteration of this package (2.8.5) works properly and also, remove byeselinux from devices who already have it to prevent any conflicts.
[Sony Cross-Device General] AussieCable:
Thanks for the update [NUT], will be looking forward to 2.8.5. Make sure you get some sleep :good:
[Sony Cross-Device General] [NUT]:
XZDualRecovery 2.8.5-RELEASE released!

RELEASE Change log:

Version 2.8.5:

Sleep deprived bugs and a .gitignore problem solved (which caused some critical files to not be included in the flashable package), tested on Z and Z2, the XZDR Kernel, flashable zip and installer are all working OK for me.

By popular demand, this version removes the module installed by the byeselinux patch by [MENTION=3975929]zxz0O0[/MENTION] to make sure it doesn't cause issues.

Files are currently uploading, and will be put online in a few minutes.

Took quite some time to find and fix all the issues... there where quite a few! :eek: Just proves to show: rushing a release is not good for quality :o
[Sony Cross-Device General] drmspidi:
Still not working on LP right ?

Thanks
[Sony Cross-Device General] [NUT]:
eh... yes it is, but you either have to have a WORKING full-root system R/W or patched XZDR installed to update to this version. There is no known root exploit for Sony's Lollipop at this point.
[Sony Cross-Device General] drmspidi:
So it`s not going to work for me. I`ve updated from 4.4.4 to LP with Sony Companion :(

And now I don`t know how to downgrade

But thanks !! Love u`re work
[Sony Cross-Device General] Tuberomix:
You can downgrade using flashtool. You can follow this guide for how to get root and all.
[Sony Cross-Device General] [NUT]:
Download FlashTool and then download a stock 4.4.2 ROM from here; Flash that using flashtool; Install XZDR to on that ROM, then flash the update package you can create by using PRFCreator.

Have fun :)
[Sony Cross-Device General] ravdo:
I've installed 2.8.5

And it's not working. I even lost mount R/W :confused:

Tried flashable first, it gave me error message. And then I tried installer, after restarting it just rebooted normally without going to recovery.
[Sony Cross-Device General] nhatzkie0051:
will this work on 4.4.2? I can't boot to recovery :/ thanks.
[Sony Cross-Device General] Tuberomix:
I hate to say it [NUT] but unfortunately, I tried multiple times and the 2.8.5 still doesn't work for me (and I'm still on KitKat)... Same problem as before I simply cannot boot into the recovery :(

EDIT: Forgot to add, my device is Z3C D5803 (currently rooted and running Nordic .93 KitKat stock Xperia firmware).
[Sony Cross-Device General] [NUT]:
[MENTION=5185108]ravdo[/MENTION], [MENTION=5608868]Tuberomix[/MENTION]

How am I going to help you if you leave out just about ALL of the info I need when reporting issues?

DEVICE TYPE/MODEL, LOGS, SCREEN OUTPUT, ERRORS ... not vague 'something like bla' but copy paste info.... I NEED THEM.

[MENTION=6323375]nhatzkie0051[/MENTION]

AFAIK you can install again using the installer option 3.
[Sony Cross-Device General] yuskhayru:
Simple question, is it safe to install/flash over the previous 2.8.3? :confused:
[Sony Cross-Device General] drmspidi:
Nice. Will try now !

Mine is D4543, soI`ve downloaded the D6543_17.1.2.A.0.314_Generic.tft

Then I`ll downgrade using flashtool without select anything right ?

After that I can do root and install your recovery.

After that, just need to get the LP TFT and create using PRFTool and install trought recovery !

Is that right ?

I tought it was not possible to downgrade becouse of the baseband, kernel, etc...
[Sony Cross-Device General] ravdo:
Sorry, i was a bit sleepy :o

My Device is Xperia Z2 (D6503), locked BL with pre-rooted stock ROM.

I forgot what the error said, because I decided to go back using byeselinux+2.8.3 right away after that (which is working).
[Sony Cross-Device General] gedhe:
Tried the new 2.8.5 on my xperia z running 5.0.9 by pabx (AOSP):

- installer runs smooth to the end but no different recovery than before (NDR Utils says: "unable to read xzdr.prop, XZdualrecovery is required for this feature")

- tried the flashable .zip which gave me the following error (see screenshot)

The old recovery is still intact.

Did i miss something? Do i have to set selinux to permissive by using an app?
[Sony Cross-Device General] GoDExtremE:
As you all know, now we have the selinux exploit to allow us going to recovery.. A member asked if it's possible to selinux only be applied when you really need go to recovery..

Is that possible?

I just have an idea: one more button on NDR Utils to toggle the exploit and something to show if the exploit is active or not.

I have no experience on android programming but I think it's possible.

So we just need an update of NDR Utils and we probably have the problems fixed :)

Sorry if I said something wrong.
[Sony Cross-Device General] Tuberomix:
Terribly sorry for forgetting to mention these important bits. Device is Z3C D5803 currently rooted and running Nordic .93 KitKat stock Xperia firmware. No previous recovery installed.

XZDR 2.8.5 installer does not show any errors. Other than maybe "insmod: can't insert '/system/lib/modules/wp_mod.ko': File exists" (not sure if this is an error). Recovery does not boot after installation even when I press up while booting, NDR Utils does not successfully boot into recovery either.
[Sony Cross-Device General] [NUT]:
I found what was causing the issue in the flashable package... but I'm still wondering why the dang thing worked OK for me...

Nothing changed compared with my last comment... it is not suitable for AOSP. You need a kernel, not a locked bootloader version.

Let's just say this post was unnecessary...
[Sony Cross-Device General] [NUT]:
Can you please try to install 2.8.5 again and copy&paste me the contents of the CMD window? (right click on it when the installer is finished, then click 'mark' and ctrl+a). Save that in notepad and attach the text file to a post here.
[Sony Cross-Device General] Tuberomix:
According to what I understood from what [NUT] wrote here, the exploit is already automatically only activated when using the recovery: "It will load the module without replacing any of the original ones and when booting the ROM it will unload it again, restoring SELinux functionality."
[Sony Cross-Device General] nhatzkie0051:
Reflashed stock ROM/did not root and then tried using option 3. Still not working. I'm on rooted Z2/D6503 on my first trial.
[Sony Cross-Device General] [NUT]:
Please, copy the CMD window contents to notepad and attach the text file here...