yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] kunaltyagii:
hello, so is the recovery exactly working or not? or is it not working only for some specific models? i have xperia z2 D6502, locked bootloader, rooted with 2.8.3 recovery working properly on Kitkat ROM, should i use the flashable zip or the installer to flash the new recovery?
[Sony Cross-Device General] ravdo:
Here's mine.
[Sony Cross-Device General] sgiannouris:
What if I want to keep SELinux status to permissive? Will running byeselinux again after 2.8.5 do the job? It was suggested elsewhere that setting SELinux to permissive is one good step towards making Xposed work so I want to keep that option open... Or stay with the "fixed" 2.8.3 ?
[Sony Cross-Device General] [NUT]:
You can set SELinux to permissive once the ROM has finished booting. Just download SELinux mode changer from Play.
[Sony Cross-Device General] ravdo:
I tried running byeselinux after 2.8.5 installation.

The phone vibrates after the SONY logo, and when I pressed up or down, the LED became purple for 1 sec, but still couldn't boot into recovery. Just booting normally.

Then I tried using the NDR Utility, same thing happened.

After that, i installed 2.8.3. And everything's working again
[Sony Cross-Device General] [NUT]:
&

Both of you, do not reboot and copy and attach the XZDualRecovery.log and XZDualRecovery.log.old from the XZDualRecovery folder here.
[Sony Cross-Device General] trevinshu:
Lollipop Support?

Does this work on the Sony Xperia Z3 running the Sony 5.0.2 ROM and on a locked bootloader?
[Sony Cross-Device General] Tuberomix:
In theory yes (as long as you are already rooted), but right now me and some others are still having issues with booting to the recovery.
[Sony Cross-Device General] ravdo:
Sorry, I already rebooted and using 2.8.3 again :(
[Sony Cross-Device General] Sun_:
i have the same issue , but i can´t boot my D6603 , only SONY logo...

i wont lose my Data :crying:
[Sony Cross-Device General] [NUT]:
As long as you didn't reboot again after the initial reboot because of the installation, you can still send me the .old log.
[Sony Cross-Device General] [NUT]:
Which ROM do you use?
[Sony Cross-Device General] ravdo:
I did reboot again after that ^_^;
[Sony Cross-Device General] Sun_:
23.1.A.0.690
[Sony Cross-Device General] [NUT]:
I've placed XZDR 2.8.3 back online, but kept 2.8.5 online too because I really need your guys help to debug this.

For me, only the flashable zip is causing issues (which means I was testing an older one, for some weird reason). But it is clear the installer still has issues performing all the tasks needed to get XZDR to work on all devices, while it did work without issues on my Xperia Z and Z2 ...

Which is extremely mind-boggling :eek:
[Sony Cross-Device General] linkazoid:
Hi ,

I've just tried using the 2.8.5 installer over the top of the 2.8.4 release and can still not access the recovery. Going back to 2.8.3 and using the fix works.

Where are the XZDR log files saved I cannot see them except for a folder on my SD card that hasn't changed date stamp. ? Could it be something as stupid as some people not having SD write access in Lollipop?

I'm willing to anything to help you solve this issue for others.

As per the post above, this was also the same message that was displayed in the CMD window.
[Sony Cross-Device General] hamfactorial:
Running the byeselinux patch, followed by a reboot, and then running the 2.8.3 installer results in a working recovery and a /system that allows mounting R/W.

I tried 2.8.5 after getting set up via byeselinux + 2.8.3, but it fails in the same way as my previous post.

:eek:
[Sony Cross-Device General] GoDExtremE:
Sorry [MENTION=4904057][NUT][/MENTION] :(
[Sony Cross-Device General] Parul.Prabhat:
Guys, can we flash pre rooted lollipop zip through dual recovery like we could on 4.4.4?
[Sony Cross-Device General] espaciosalter20:
[MENTION=4904057][NUT][/MENTION] i have been checking your flashable zip version of 2.8.5 package and i have noticed:

byeselinux.ko it's the module that you have compiled for this version, right?

also, you have removed "mhl_sii8620_8061_drv.ko" which it's a version of original hacked module on byeselinux fix and have been replaced with the original module.

It's possible that the kernel doesn't load the module that you have compiled because it's not checked on default boot? maybe that what is preventing that this version working ok.
[Sony Cross-Device General] tribemac:
Yes
[Sony Cross-Device General] adi55:
[MENTION=410007]Nut[/MENTION] I attached 2 files.

I renamed XZDualRecovery.log.old to XZDualRecovery.log.txt because I received an error at upload.

Hope to be useful for debugging.
[Sony Cross-Device General] Linkinsoldier:
Short question from my side: does this mean, the complete byselinux changes are removed or is just one module removed? I read something about "potential security issues" with the byeselinux solution and was concerned ;)
[Sony Cross-Device General] FlyingCheese:
I have just tried flashing 2.8.5-flashable from my current 2.8.3 setup. My phone is still running .77 KitKat firmware, and the installation was interrupted with the following error:

set_perm: some changes failed

E:Error executing updater binary in zip '/sdcard/Z3-lockeddualrecovery2.8.5-RELEASE.flashable.zip

Thoughts?
[Sony Cross-Device General] Inceptic:
Same error on my Xperia SP 4.3
[Sony Cross-Device General] ojukiyo:
It really WORKS Z2

Probado, funciona en mi Z2. Ya tengo Lollipop 5.0.2 + root + DualRecovery. :o

Tested, working on my Z2. :victory:
[Sony Cross-Device General] juanpirulo:
on z1 (kk .157) also its not working. So i guess its only working on z2?
[Sony Cross-Device General] dani010:
Hi i use v2.8.5 windows installer and perviously i have 2.8.3 that i cant use it and i dont have installed fix , but when i install 2.8.5 i cant use recovery same as 2.8.3
[Sony Cross-Device General] akkufix:
Just as an idea - maybe someone knows this better...

A question to the guys, which couldn't installed the recovery...

Did you flashed your roms as a zip in recovery (and maybe from 4.4.4) or as ftf with Flashtool?

I'm asking this, because there could be some changes in partiontable (between JB and LP) or something else in file-structure (i.e. /data), which were only made by updating with an ftf and Flashtool? :confused:
[Sony Cross-Device General] Zwulf:
Same here on D5803 Lollipop (Z3C official firmware). Also installer from PC doesn't work. Had to revert to 2.8.3 with byeselinux.

[MENTION=3792300]akkufix[/MENTION] Steps I took (coming from CM12):

1) Installed .93 with Flashtool

2) Rooted with giefroot v3, restored TA, installed recovery

3) Full wipe (including internal storage)

4) Flashed pre-rooted Lollipop (http://xdaforums.com/z3-compact/development/stock-firmware-23-1-0-690-generic-t3056413)

5) Flashed debloat/deodex zip (http://xdaforums.com/z3-compact/development/23-0-1-5-77-debloated-deodexed-zipalign-t3015281) -> version is correct, just link shows old fw version

6) Tried to flash 2.8.5 recovery -> Error (see above)

7) Tried PC installer -> seems to be installed (no error) -> Reboot -> no green light appears like its the case when recovery is installed (at least was with 2.8.3), only red LED shows up -> not possible to enter recovery

8) Tried to fix with byeselinux -> green light appeared again and after pressing volume button turned to violet for about half a second (so it seems to try to enter recovery) but then turns to red again and system boots up normally

9) Reverted to 2.8.3
[Sony Cross-Device General] trevinshu:
Not Working On Lollipop

Still doesn't work on Android Lollipop pls fix this
[Sony Cross-Device General] thecrunked:
any idea why i cant get this to boot into recovery mode on my z2 tablet sgp511

after successful install the tablet reboots and just goes to system. i tried booting into recovery via ndr utils to the same effect.

the device never vibrates while restarting and if i hit volume down it just lights a red led shortly and boots to the system

im running a balkan .690 ftf
[Sony Cross-Device General] ondrejvaroscak:
Go back to version 2.8.3 and install byeselinux. New recovery 2.8.5 have some issues...
[Sony Cross-Device General] bdithug:
I'm confused. From what I'm reading, 2.8.5 works only on the z2? Is that the flashable zip or the installer? Has anyone successfully made a pre-rooted flashable lollipop zip using 2.8.5 flashable zip?
[Sony Cross-Device General] ravdo:
Doesn't work on my Z2 (D6503)
[Sony Cross-Device General] caythanhgia:
Xperia Z2

Checked xperia Z2, thanks you.

Run byeselinux

reInstall Z2-lockeddualrecovery2.8.3-RELEASE.installer
[Sony Cross-Device General] luiscarlospv:
Como hiciste para que te funcionara? Tienes R/W en System? si pudieras decirme brevemente que hiciste te lo agradeceria! :fingers-crossed:
[Sony Cross-Device General] caanda45:
It is a English only site....
[Sony Cross-Device General] caqo71:
He Said: "How did you do to make it work?. Do you have R/W on System?. I`d be very Thankful if you explain it to me briefly!
[Sony Cross-Device General] juanpirulo:
[MENTION=4904057][NUT][/MENTION] its seems 2.8.5 only works on z2, i check in spanish forum and everyone reported is working only on z2. Cheers
[Sony Cross-Device General] wolfwolf:
[MENTION=410007]Nut[/MENTION]

have you checked the entry from zxz0O0 ?

http://xdaforums.com/showpost.php?p=59879026&postcount=3837

Hello guys,

I noticed there are some problems getting dualrecovery to work on Lollipop. I created a small hack to bypass the SELinux enforcement (wonder why no one else created it already). Anyway I attached a little bat file to fix dualrecovery again (tested on Z3C).

Source will be released in the next days and probably also integrated in the official dualrecovery

BR
[Sony Cross-Device General] FcukBloat:
you are just a little late.... :p
[Sony Cross-Device General] wolfwolf:
sorry I have found no infos that this is solved - but ok

:crying::o
[Sony Cross-Device General] [NUT]:
If you would have read the changelog's I've posted, you would actually have known I do...
[Sony Cross-Device General] [NUT]:
To everyone who posted the logs and tried to provide me with as much info as possible, thank you: you have helped me a lot.

I'm working on a solution and I am now not expecting it to work as I did with 2.8.5, but I will be trying to fix the problems first by releasing a version which provides me with more information on why it MIGHT not work as intended, including some modifications which I hope will make it work.

Consider 2.8.6 a BETA once released, it's a debugging release.
[Sony Cross-Device General] ondrejvaroscak:
Bingo.
[Sony Cross-Device General] m_k1815:
2.8.5 is not working on Andoird 5 NUT
[Sony Cross-Device General] RaiLRaZ:
Bingo n. 2 :good:
[Sony Cross-Device General] [NUT]:
I didn't know that yet ... :silly:

:angel:

----

Upload of 2.8.6 in progress.

IMPORTANT NOTE:

I modified it a bit to help it along towards a fixed version, but I am not YET expecting it to actually BE fixed.

Please test and send in the installation results. This version SHOULD actually fix the flashable zip version to allow flashing the update again.

2.8.6 IS TO BE CONSIDERED A BETA!
[Sony Cross-Device General] ondrejvaroscak:
Flashed 2.8.6 in TWRP, no errors in output. After reboot there is double vibration but doesn't boot in recovery. However when I pressed volume up, it changed primary recovery to Philz Touch as detected by NDR Utils. ES Explorer takes again long time to display content of / and system RW is lost.
[Sony Cross-Device General] ejstubbs:
XZDualRecovery Advanced Stock Kernel

I can't get the kernel builder to work, it seems to fail every time at the repacking phase.

This is for a Z3C using the kernel.sin extracted from the Customised UK .77 ftf using 7zip. (The ftf was created using Flashtool, from the standard Sony download files obtained through the embedded XperiFirm function within Flashtool.)

I don't have a copy of the builder output to hand right now. As soon as I do, I'll post it here.

I'd really like to get a close-to-stock kernel with recovery so that I can get my DRM functions back without having to use a highly-modified/featured kernel like that kindly created for us AndroPlus.
[Sony Cross-Device General] [NUT]:
Thanks guys, this also helped me narrow it down. I will not be uploading the next attempt with it's own version number, instead I will be re-using 2.8.6 for further testing.

I have replaced the 2.8.6 files which where online, some more debugging info included and a few byeselinux modifications included. Please delete the current 2.8.6 on disk right now, re-download and try again.

To make sure you notice you will be downloading a new version, the folder which contains the files is renamed to '

2.8.6 Attempt X

' where X marks the incremental number of replacements.
[Sony Cross-Device General] [NUT]:
My priority is on the LB version now, once that has been fixed I will turn my attention towards the kernel builder. I'm expecting it to fail because of a similar issue.
[Sony Cross-Device General] multima-alex:
2.8.6 does not work on xperia z3 copy of the cmd window desoler for my English I'm French
[Sony Cross-Device General] [NUT]:
Can you pack up and attach the xzdualrecovery folder and attach it here?
[Sony Cross-Device General] Tomatoparty:
Of course.

Here it is, but I already rebooted.
[Sony Cross-Device General] [NUT]:
Thanks.... special request though, can you attempt to install again and then after the installer rebooted your phone, can you do the same again and attach the packed up folder here?
[Sony Cross-Device General] Tomatoparty:
Yep.
[Sony Cross-Device General] [NUT]:
Thanks!

I see something weird happening there in the preparation phase... once that bunks out it will probably fail to continue...

On the other hand, I also see it fail to remount rootfs in the second stage... which is odd, because the first stage didn't have any issues... these 2 things could very well be related though...
[Sony Cross-Device General] Dolphin Trainer:
Flashable version of 2.8.6 attempt 2 worked fine on my Z3TC (SGP612).
[Sony Cross-Device General] [NUT]:
Just the flashing or did you keep a working recovery?

-- EDIT --

Also, Kitkat or Lollipop?
[Sony Cross-Device General] Dolphin Trainer:
Everything worked. Flashed it, and tested TWRP by making a nandroid backup. I had 2.8.3 with byeselinux.zip installed prior to this.. if that makes any difference.

Edit: Lollipop!
[Sony Cross-Device General] wolfwolf:
sorry ashes on my head - how can I have missed only 100 pages :confused::crying:

I believe in your work. many thanks and I'll be better
[Sony Cross-Device General] [NUT]:
Crap... the mystery deepens ... how the ... what the ... *CLICK* BZZZzzt
[Sony Cross-Device General] [NUT]:
Actually... the changelog is on page 1, post 3 :p ... it has always been, because it's easy to find ... *ahem*
[Sony Cross-Device General] drorcun:
2.8.6 didn't work with my z3c..
[Sony Cross-Device General] [NUT]:
Okay... I think I finally found out what might have been causing the problems with the installer which where skipped by the flashable update package.

2.8.6 Attempt 3 is now online, please try it and let me know if that works OK this time.
[Sony Cross-Device General] [NUT]:
Thanks, but can you try once more and then also zip up the XZDualRecovery folder?
[Sony Cross-Device General] russel5:
I realy not understand why are you using wp_mod.ko and sysrw.sh in flashable zip?

In recovery we don't have r/w permissions? why are you copy wm_mod.ko in system, you are don't have disableric? for what all this files?

And i wrote you that mr file now exist in /sbin/ not /system/bin/, but you use old place for this files

And i not understand why are you invent the wheel again? why not using [MENTION=3975929]zxz0O0[/MENTION] patch as it is? for what this byeselinux.ko if we still have original whl (selinux) driver, which does not allow use byeselinux.ko?
[Sony Cross-Device General] Bird40:
zip after the first and second attempt
[Sony Cross-Device General] pr0jesse:
Attempt 3 doesnt work on my Z2 (*03).

When i was searching for the recovery files in /system/bin/ they werent even there...
[Sony Cross-Device General] [NUT]:
Simple, I do not like the wheel zxz0O0 invented, I don't want to replace more then I strictly need.

The installation of wp_mod might not be required, but it's in the installer because sometimes the remount fails, this might help to fix that. I am actually slowly stepping over to the wp_mod method to disable the kernel based system remount protection, because it does it the same way, every time.
[Sony Cross-Device General] gb37270:
2.8.6 Attempt3 dont work on my Z3 (5.0.2 Generic FR pre rooted)

i can't post xzdr log, i'm noob...
[Sony Cross-Device General] russel5:
i wrote again, if you are NOT delete or properly disable stock mhl_sii8620 driver, no one other files will be executed [MENTION=3975929]zxz0O0[/MENTION] made this properly and this works perfect

your "new" wheel steel not work.
[Sony Cross-Device General] [NUT]:
Eh... where's the output of the CMD window then? I can't imagine the installation would have finished without a single warning...
[Sony Cross-Device General] [NUT]:
Actually, it does. My Z2 with the byeselinux.ko (and without replacing the mhl driver) is working perfectly. The problem is in the installer.

There, proof it works. Now stop questioning my decisions because 'zxz0O0 did it differently and you do not need to reinvent the wheel'. He is no god, I am grateful for his work, I see him as a friend but he made a PATCH which worked to get 2.8.3 up and running. I am doing the same thing but from a different vantage point. I want to alter proprietary files as little as possible with XZDR, because it can cause future problems I want to avoid.

"My MHL doesn't work [NUT], I installed XZDR on it and now MHL is broken and it's YOUR FAULT [NUT], YOU fix this SH*T!"

No thanks.
[Sony Cross-Device General] jerflash:
so the 2.8.6 installer is not working but the flashable is?

Are people trying the installer on pre .77 roms or is this an attempt to get it to work on lollipop?
[Sony Cross-Device General] Sun_:
2.8.6 Attempt3 failed :(

please see Attachment....
[Sony Cross-Device General] flipside101:
Now I know [nut] is a grown up and capable of answering their own criticism but I have to say I don't understand your argument

Your perfectly able to stick with 2.8.3 and zxrO0O excellent fix . If nut wants to put time and effort into perfecting their own version then so be it. Without people building on others ideas we'd still be using horse and carts.
[Sony Cross-Device General] [NUT]:
I'm not entirely sure yet... so far it has been tested on a kitkat release by [MENTION=3577628]Bird40[/MENTION] and on lollipop by various people.

I'm almost to the source of all this evil, it's not the byeselinux itself... that is working just fine.
[Sony Cross-Device General] [NUT]:
I modified my post which replied to that. I am glad at least some people understand. :good:
[Sony Cross-Device General] juanpirulo:
[MENTION=4904057][NUT][/MENTION]

Well i try attemp3 2.8.6. not working on z1 kk .157 but now i still have r/w Access. cheers

I added the logs from installer and flashable.

after that I reinstall 2.83 with no problem.
[Sony Cross-Device General] [NUT]:
Thank you, did you perhaps also copy the CMD window contents somewhere?

When the installer finishes, right click the window, select 'mark' and then type ctrl+a to select all. Press enter to accept the selection. Open notepad and paste it all there or directly here inside a HIDE box.
[Sony Cross-Device General] juanpirulo:
I think there is people that is trying to install with no r/w accesss so probably its confusing everybody maybe?.cheers
[Sony Cross-Device General] juanpirulo:
here you have. cheers
[Sony Cross-Device General] juanpirulo:
sorry [MENTION=4904057][NUT][/MENTION] first cmd log i think was wrong i repeat the process because the device power off before finishing the script. here is the new one.
[Sony Cross-Device General] ondrejvaroscak:
Quite agree, everybody hapy with 2.8.3 and byeselinux can stay and go spitting anger somewhere else. My problem with byeselinux is, while it is cool tool do temporarily work in recovery, it disables selinux and thats what I dont like.

So if [MENTION=4904057][NUT][/MENTION] manages to overcome difficulties with 2.8.6 it would be great, if not, I will stick with 2.8.3 and disabled selinux when I need recovery, but I will not accuse someone of not being inventive enough or being overinventive or require anything ...
[Sony Cross-Device General] pr0jesse:
Sorry! here it is:

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

= =

= PhilZ Touch, CWM and TWRP Dual Recovery =

= Maintained by [NUT] =

= =

= For Many Sony Xperia Devices! =

= =

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

1. Installation on ROM rooted with SuperSU

2. Installation on ROM rooted with SuperUser

3. Installation on unrooted ROM using the TowelRoot method

4. Install ADB drivers to windows

5. Exit

Please choose install action.

[1,2,3,4,5]?1

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

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

Waiting for Device, connect USB cable now...

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

Device found!

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

Getting ro.build.product

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

Device model is D6503

Firmware is 23.1.A.0.690

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

Step2 : Sending the recovery files.

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

cannot stat 'dr.prop': No such file or directory

cannot stat 'chargemon.sh': No such file or directory

cannot stat 'mr.sh': No such file or directory

cannot stat 'dualrecovery.sh': No such file or directory

cannot stat 'NDRUtils.apk': No such file or directory

cannot stat 'rickiller.sh': No such file or directory

cannot stat 'byeselinux\byeselinux.ko': No such file or directory

cannot stat 'byeselinux\byeselinux.sh': No such file or directory

cannot stat 'byeselinux\wp_mod.ko': No such file or directory

cannot stat 'byeselinux\sysrw.sh': No such file or directory

cannot stat 'byeselinux\modulecrcpatch': No such file or directory

cannot stat 'disableric': No such file or directory

cannot stat 'busybox': No such file or directory

cannot stat 'recovery.twrp.cpio.lzma': No such file or directory

cannot stat 'recovery.philz.cpio.lzma': No such file or directory

cannot stat 'recovery.cwm.cpio.lzma': No such file or directory

cannot stat 'installrecovery.sh': No such file or directory

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

Step3 : Setup of dual recovery.

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

Unable to open /data/local/tmp/recovery/install.sh: No such file or directory

Unable to open /data/local/tmp/recovery/busybox: No such file or directory

Look at your device and grant supersu access!

Press any key to continue AFTER granting root access.

sh: /data/local/tmp/recovery/busybox: not found

Druk op een toets om door te gaan. . .

sh: /data/local/tmp/recovery/install.sh: not found

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

Installation finished. Enjoy the recoveries!

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

Druk op een toets om door te gaan. . .
[Sony Cross-Device General] ptmaniac:
While i do agree with you i'm wondering why so many people want selinux enforced on their already "hacked" devices. are you afraid of a rogue app exploiting permissions and stealing your data thats it? Because selinux was only enforced by sony in android 5.0.2, you never needed it before and i think we won't need it now.

I'm kinda of afraid that having enforced status may conflict with exposed and it's modules and apps like viper4android that require full access to system. I don't see a real benefit of having selinux enforced, can someone please enlighten me why it's better to be enforced?

And once again thanks [NUT] for the work you are doing for us all, hope you can fix the recovery whatever method you use :)
[Sony Cross-Device General] pr0jesse:
You can flash the flashable zip on lollipop via flashtool?