yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] tatsu91:
it's the rw permission, try using this

SGP621-RICDefeat.zip

---------- Post added at 05:08 PM ---------- Previous post was at 04:51 PM ----------

Man!!!!

Before you try that, first try reinstalling nut's Dual recovery 2.8.3 once installed it will boot up on twrp go to mount and select system too, once you boot to system then go check with root explorer or es file explorer check if system is RW, i did it and it worked
[Sony Cross-Device General] Eduardo.xperiaZ1:
CONGRATULATIONS ON!

WORK BEAUTIFUL!

Operating in Xperia Z2 (D6503) !!
[Sony Cross-Device General] Avengeme:
Awesome, works like a charm!
[Sony Cross-Device General] Eduardo.xperiaZ1:
Created and effected backup restore, system operating normal, Rom Device preroot: Xperia Z2 (D6503)

CDA: 1282-0827

Market: Baltic Generic

Operator: Customized BAL

Network: GLOBAL-LTE

Release: 23.1.A.0.690 / R3C

---------- Post added at 11:54 PM ---------- Previous post was at 11:23 PM ----------

Congratulations on the job!

Testing done in D6503 and is operating with regular

Rom Bal. 23.1.A.690

backed up and the excellent restoration
[Sony Cross-Device General] JohnnyBlack10:
I doid all what you say.

I check with root explorer and file explorer and system is RW. But when i go to recovery mount system is uncheked. Then i check and flash LP firmware got message:

assert failed: package_extract_file ("system.ext4","/dev/block/platform/msm_sdcc.1/by-uuid/F9CDF7BA-B834-A72A-F1C9-D6E0C0083896")

If i dont check mount system and then flash LP, got error can not mount system!

root, recovery, firmware... i test its fine.

Flashing with flashtool tft, kk D5803_23.0.A.2.93 successful , then root,then recovery....successful....LP Faild.

I doing this all time and no problem, today i flash byeselinux fix , downgrade to kk and try LP flash again got assert failed: package_extract_file if mount system in recovery, and got Can NOT System Mounr error if i dont check mount system i recovery :(
[Sony Cross-Device General] tatsu91:
The I don't know what's going on its really wierd
[Sony Cross-Device General] RJASSI21:
Will this work for xperia z2 if im rooted on lollipop and if so do I need to flash recovery again using Windows method on locked bl?
[Sony Cross-Device General] tatsu91:
Yes it does work on z2, some users did it, also on z3 and z3c it's working I did it in z3, it makes the dual recovery start working if you didn't unistalled it, but you will loose the RW permission to system, so you have to install again once you installed the fix and you will be OK with everything
[Sony Cross-Device General] RJASSI21:
Ok thanks for that so this will work if I have that red led come up at boot?
[Sony Cross-Device General] tatsu91:
Exactly!!!
[Sony Cross-Device General] RJASSI21:
Ok thank you so much
[Sony Cross-Device General] fabfor:
Since I installed xzx0O0's fix, bluetooth is not working anymore.

Anybody experiencing the same?

Any fix?

Happy Easter
[Sony Cross-Device General] akkufix:
No problem with BT on XZ2, locked BL on Lollipop.

I can copy files from PC to phone. Haven't checked headset, yet.

Edit:

Headset is also working fine.
[Sony Cross-Device General] fabfor:
I cannot even turn it on... [emoji20]
[Sony Cross-Device General] ciccio80:
Hi Guys:

I modified installer of NUT Lockdualrecovery with Fix of zxz0O0.

Before start installer we must have firmware on your Z3 Prerooted with recovery installed and debug usb activated

click on install.bat

https://mega.co.nz/#!qFcTmQzS!Prc78y6ujjQdJwdtQUwy6dzrgVp-sD_V2ZcfkYcWzzA

tested and worked on my Z3

Ciccio80
[Sony Cross-Device General] [NUT]:
I will allow this once but I want it removed once 2.8.4 is released.

Note the request on my signature.
[Sony Cross-Device General] akkufix:
You could use BT before you did the script?

What phone and which rom do you use? LB or UB?
[Sony Cross-Device General] ciccio80:
Sorry [NUT] absolutely did not want to disrespect to you...

if you want to remove this change to your installer do it right away.

sorry again

---------- Post added at 12:47 PM ---------- Previous post was at 12:47 PM ----------

Sorry [NUT] absolutely did not want to disrespect to you...

if you want to remove this change to your installer do it right away.

sorry again

Ciccio80
[Sony Cross-Device General] fabfor:
Yes I could use BT before

I'm on D6603, Baltic Lollipop pre rooted.

I flashed the script and installed dual recovery again.

BT is dead...

I noticed also that if i try to turn the torch on in quick settings, a systemUI crash occurs. Never happened before the script.

I really cannot say if these problems can be related to the script, but I didn't apply other major changes.
[Sony Cross-Device General] akkufix:
Maybe this is the reason. You installed recovery AFTER you did the script.

So, first recovery, then the script.

Check executing the "fix-script" again.

Also, try a clear cache, if above don't help.
[Sony Cross-Device General] snurre:
Thank you, nice work!! :)
[Sony Cross-Device General] zohan99:
Major noob here.. I installed the recovery but I can't actually get into the recovery.. Nexus devices are alot easier..
[Sony Cross-Device General] Space_pilot:
Your device is?

On my Xperia Z3 its a volume up/down (each key for one recovery)which you hold after you see green led on start after boot, if its changes to lila you on the right way there.

Also you should have app called NDR Utils, check it.
[Sony Cross-Device General] Pandemic:
Yes finally installed Dual Recovery on my Z2 with Lollipop and R/W works also :D

Big Thanks to [MENTION=3975929]zxz0O0[/MENTION], [MENTION=5878028]FabianLaRose[/MENTION], Brother [MENTION=5717533]Ambor[/MENTION] and ofcourse [MENTION=4904057][NUT][/MENTION] !!
[Sony Cross-Device General] zohan99:
Z2 Tablet LTE

I power on, then hit VOL DOWN and the LED turns blue, but the screen stays black
[Sony Cross-Device General] RJASSI21:
When it boots the green led comes up but when I press vol up it does nothing I have to press reboot to recovery but if I bootloop I cant get into recovery so how do I fix this?

Edit: works fine now
[Sony Cross-Device General] Pandemic:
Here the recovery works fine on Lollipop

when i reboot my z2 and when the Sony logo appears then i start pressing volume up

the led turns into purple and tadaa ! there is Cwm recovery :D
[Sony Cross-Device General] FabianLaRose:
? Vrolijk Pasen bro?
[Sony Cross-Device General] Pandemic:
Thanks man, jij ook :D
[Sony Cross-Device General] ptmaniac:
Same, huge thanks to everyone involved, everything is working fine (didn't try xposed yet, will wait till it gets more stable)
[Sony Cross-Device General] Linkinsoldier:
Short question [MENTION=410007]Nut[/MENTION]: Unfortunately it looks like I waited one day too short for this fix and installed lollipop with root and the unpatched 2.8.3. yesterday :)

Will it be possible just to install 2.8.4. with the install.bat as long as I have root on Lollipop?
[Sony Cross-Device General] [NUT]:
Even better, run the fix and then install 2.8.3 again. That should make it work.
[Sony Cross-Device General] tatsu91:
Glad to know that!!!
[Sony Cross-Device General] akkufix:
I have also installed unpatched 2.8.3 after i installed rooted Lollipop and only executing the script brought it up.

So, there was no need to install TWRP again.
[Sony Cross-Device General] am2222:
Do this new version works on Locked bootloader android 5 z2(rooted)?:confused:

There is not any bootloop?
[Sony Cross-Device General] ondrejvaroscak:
Stupid question, but your files are not published under some open license, so that anyone could modify them (providing credit to you)?
[Sony Cross-Device General] akkufix:
Yes, if your XZ2 with Android 5 is rooted, it works with locked Bootloader. See also some pages earlier in this thread.

So, install Dual-Recovery and then execute the patch.
[Sony Cross-Device General] fabfor:
Thanks for the hint but unfortunately it didn't work: I applied again the "fix-script" again and cleaned caches, still unable to turn on BT. (Torch is working now though)

Any idea is appreciated
[Sony Cross-Device General] [NUT]:
Actually, they are open source without licence. Which means true open source. Anyone can use my code or packages in their own project without asking. But only I can release 'official' project releases. The packages I create are safe and secure, which is something I can never promise on a modified package. The trouble is that MANY people use the packages repacked by someone else like they came from me, and blame me subsequently if it installed some malware, blew up their phone, caused a split in their hair or caused a nuke to launch at the neighbouring country...

I'm ok with USING my code in any other project. I'm not ok with RE-RELEASING entire packages on an active project, like xzdualrecovery is.
[Sony Cross-Device General] FlyingCheese:
can't wait for 2.8.4.... I will hold off on updating for now.

Another question, I know I should create a full nandroid backup of my phone prior to the update, but in case I restore it (supposing I don't like LP), will it get rid of all Lollipop traces in my phone?
[Sony Cross-Device General] Guto ViP:
Bye, SELinux... Loved this app name!!! :D
[Sony Cross-Device General] Space_pilot:
Wipe all from recovery befor installing?
[Sony Cross-Device General] ondrejvaroscak:
Ok. Thank you for explanation and for alk your work... I love dural recovery... Which is actually triple recovery in fact. :)
[Sony Cross-Device General] FlyingCheese:
actually I meant that if I did not like Lollipop and would restore my KitKat nandroid backup, if all possible traces of ever having Lollipop on my phone would be wiped.
[Sony Cross-Device General] tribemac:
Yes if you restore it all goes back as it was before lollipop with no trace.
[Sony Cross-Device General] karrouma:
how to install .

Dear

Hiw to install befor lollipo or after updating pr-rooted to lollipop

Or instal selinix and intall this patch
[Sony Cross-Device General] tatsu91:
Root and install Dual recovery on your device on kk upgrade to lollipop with the prerooted over dual recovery, install the patch bye by zx0o0 then reinstall the dual recovery and thats it
[Sony Cross-Device General] zohan99:
another noob question, do I have to be rooted for this to work?
[Sony Cross-Device General] gamer649:
Anything what modifies the /system partition needs root to work. This modifies the /system partition, so yes it does.
[Sony Cross-Device General] zohan99:
Ok, thanks.

So how would one go installing a custom recovery if the unit isn't rooted? Or actually rooting the unit itself?

Z2 Tablet LTE 5.0.2

When I had 4.4.2 installed I used Easy Root, but obviously that doesn't work with 4.4.4 or 5.0.2
[Sony Cross-Device General] tribemac:
You have to downgrade then root, install costum recovery and then flash a prerooted lollipop.
[Sony Cross-Device General] akkufix:
Or use this one to create easily yourself a pre-rooted rom.

http://xdaforums.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904

To get a rom, "xperifirm" is your friend. :good:
[Sony Cross-Device General] Pandemic:
Well i wonder how some of ya'll people install recovery on your z2..

No problems here with bluetooth or torch in quicksettings or with R/W in root explorer, all works awesome how it should to be on my Z2 with LP 5.0.2 on locked bl ^^

Sent From My Z2 On LP 5.0.2 Fully Deodexed With Dual Recovery !
[Sony Cross-Device General] akkufix:
Maybe them guys flashed some "not-proper-made-roms"?

I also haven't any probs. All things are working fine in my "selfmade-pre-rooted-nordic-stock-Lolli-rom" on z2, locked.

[MENTION=2709131]fabfor[/MENTION] - i sent you a pm yesterday in the evening. Have you read it?

Maybe you should look for another rom and flash it again?
[Sony Cross-Device General] fabfor:
No, I did not read it because I had not seen it

Thanks, I'll read it better later at home in evening and try your advices

Thanks mate!
[Sony Cross-Device General] butman:
How can install it if the problem is that i can't access to recovery? Thank you! I have a Z3 btw.
[Sony Cross-Device General] tribemac:
It's not a zip to flash. Unzip it on you're computer and run it from there.
[Sony Cross-Device General] rpk12:
So i am already on Lollipop. Is there any way to move those file into phone,changing permission.after that if i install twrp via twrp tool.will it work?
[Sony Cross-Device General] Edwrib:
2.8.4 will disable PIE (position-independent executables) too?
[Sony Cross-Device General] FabianLaRose:
just download file on pc and extract it. connect phone and run bye.bat file

Or don't
[Sony Cross-Device General] rpk12:
I get that wrong.sorry
[Sony Cross-Device General] belloni:
When downloading his ZIP I don't see a .bat file?! All I have is below..

byeselinux.c

byeselinux.ko

Makefile

README.md
[Sony Cross-Device General] esps:
are you sure that you have downloaded the attachment in this post?

http://xdaforums.com/showpost.php?p=59879026&postcount=3837
[Sony Cross-Device General] belloni:
Ah thanks, I was downloading the source, doh! :)
[Sony Cross-Device General] [NUT]:
From the chargemon.log I can see I fubarred something on the key check. I'll fix and upload the patched version within 2h, thanks for sending the logs!

Probably yes, but you might get lucky :)

Just give it a try and see :cool:
[Sony Cross-Device General] [NUT]:
[DUAL RECOVERY] Version 1.4 released

Well, it took a little longer :p found some other stuff... 1.3 feels like a rush job now, while it was far from it :o

Change log:

Version 1.4:

Since the step up to the .cpio.lzma archives it stopped working for some, while for others it kept working... this was due to busybox versions lacking the lzcat for the unpacking process. This recovery now flashes/installs a busybox into /system/bin which supports it.

Loads of various and tiny tidbits in the scripting.

Fixed a small bug in the SDCard1 mounting functionality.

When an SDCard1 is found, it now cleans up /cache/chargemon.

Switched the keycheck file location to /dev (as it is actually a tmpfs filesystem)

Added a vibration to signal it's time to punch a button.

All files are now available on http://www.fun-industries.nl/xda/

Well, enjoy!
[Sony Cross-Device General] RoberM:
Just installed 1.4 over standard CWM and now no recovery works, it doesn't matter if I use vol up or vol down, all I get is purple led forever.

19700123 122045: ### SDCard1 FS found: FAT32 with code 'Win95'.

19700123 122045: ### Not mounting SDCard1!

19700123 122045: ### Logfile rotation...

19700123 122045: /system/xbin/busybox mv /cache/chargemon/chargemon.log /cache/chargemon/chargemon.log.old

19700123 122045: RET=0

19700123 122045: /system/xbin/busybox touch /cache/chargemon/chargemon.log

19700123 122045: RET=0

19700123 122045: /system/xbin/busybox chmod 660 /cache/chargemon/chargemon.log

19700123 122045: RET=0
[Sony Cross-Device General] [NUT]:
:eek:

That's what this version is supposed to fix, lol :silly:

Can you open up a terminal app and execute /system/bin/busybox

Please let me know what version it says it is and search the commands it supports if it has lzcat as a command.

I hope you created a backup of your original chargemon script as instructed in the OP, thats your easy way back to your previously installed CWM.

[EDIT]

Doh! I think i know whats wrong, you probably have a busybox inside /system/xbin ... that is probably being used, can you repeat the above instructions on /system/xbin/busybox ?
[Sony Cross-Device General] [NUT]:
[DUAL RECOVERY] Version 1.5 released

Change log:

Version 1.5:

This recovery now flashes/installs a busybox into /system/xbin and will use that. This should fix the indefinite wait problem for good.
[Sony Cross-Device General] cron0s879D:
Hi!

Thank you for your job.

I would like install TWRP 2.5.0.0 in my new Lenovo A820 (based in MTK6589).

Anyone can say me how to install it?

I don't found any tutorial for install TWRP for my phone.

Thank you!
[Sony Cross-Device General] RoberM:
Previously i had busybox 1.21.0 installed in /system/xbin/ (i used BusyBox Free app from the store to update it, because i was having some problems with a mod), after installing your package i had my previous Busybox in it's place and a new one (v1.20.2-jb) in /system/bin, but when starting your recovery script it was trying to use the busybox in /system/xbin, so i moved your busybox from bin to xbin and now i can boot into TWRP with vol-down. But when using vol-up i only get a black screen with purple led.

I will try updating from scratch to 1.5 later and see what happens.

Also, my SD card is not mounting, it is a Sandisk Extreme with factory format (Fat32), your script identifies it as "FAT32 with code 'Win95'." and refuses to mount it, see my previously posted log above. So i have the logs in cache and no new folder in sdcard1. Also i think this has something to do with CWM not booting on my phone.

BTW, thanks for your hard work.

EDIT: I took a look at your flashable install script in v1.5, it seems it is still copying busybox to /system/bin, but setting permissions on busybox located in /system/xbin/, my knowledge on linux scripting is very limited, so i may be wrong.
[Sony Cross-Device General] brockyneo:
CWM

'TWRP' is not recognized as an internal or external command,

operable program or batch file.

script created by krabappel2548, modified by [NUT]

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

Step1 : Waiting for Device.

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

adb server is out of date. killing...

* daemon started successfully *

Succes

.

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

Step2 : Sending the recovery files.

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

mkdir failed for /data/local/tmp/recovery, File exists

0 KB/s (57 bytes in 1.000s)

1952 KB/s (239920 bytes in 0.120s)

877 KB/s (8981 bytes in 0.010s)

2569 KB/s (657704 bytes in 0.250s)

2825 KB/s (2632572 bytes in 0.910s)

2833 KB/s (1479825 bytes in 0.510s)

2393 KB/s (735308 bytes in 0.300s)

79 KB/s (1622 bytes in 0.020s)

.

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

Step3 : Setting up files system partition.

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

remount rw /system

remount rw /

copy recovery.tar to system.

5141+1 records in

5141+1 records out

2890+1 records in

2890+1 records out

rename stock chargemon

copy ric

0+1 records in

0+1 records out

copy charger

468+1 records in

468+1 records out

copy hacked chargemon to system.

dd: can't open '/data/local/tmp/recovery/chargemon': No such file or directory

new busybox to system.

dd: can't open '/data/local/tmp/recovery/busybox': No such file or directory

make file for faster backup

/sdcard/clockworkmod/ already exists!

error: device not found

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

Installation finished. Enjoy the recoveries!

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

hi nut i get this when finnished flashing and it reboots but doesnt install the recoverys any ideas please

thanks
[Sony Cross-Device General] [NUT]:
Please do, just to be sure. The fact that twrp starts means cwm should actually start too... unless the archive is damaged somehow... and that makes the full set of logs more important, from straight after a failed attempt. (see OP for locations)

Well... i believe it might be busybox related as well. But to be on the safe side:

AFTER updating to version 1.5

Open up a terminal app and execute the following line, and copy&paste the contents of /tmp/XZDualRecovery/test on to this thread:

/system/xbin/busybox fdisk -l /dev/block/mmcblk1 | /system/xbin/busybox grep "/dev/block/mmcblk1p1" > /tmp/XZDualRecovery/test

This will output the information on your SDCard1. I'll need that for comparison to my own output to spot the differences.

Take a look at the system folder in there too, that's what gets extracted, you will notice the busybox executable being in the right spot there. update-script can be a bit confusing, but I gave it the order to extract 'system' from the zip and put it in to 'system' on the phone, that means all of the zip's contents, so it will extract busybox into /system/xbin/ :)

And: you are very welcome, I'm glad to be of service to the community, which has helped me a lot in the past :)
[Sony Cross-Device General] brockyneo:
flashed the standered cwm and seems to have flashed ok so tried dual recovery and still same error message lol :eek:
[Sony Cross-Device General] zlebors:
my ZL now only show blank screen and purple notif light.. :(
[Sony Cross-Device General] [NUT]:
Please re-download the installer package, there was a dumb mistake in the install script. :o

I've quick-fixed it, but its too small to do a new version as it is effectively just a release error :)

All the other lockeddualrecovery1.5.installer users should do the same!
[Sony Cross-Device General] [NUT]:
Please send me a full set of info and logs, details on error reporting are in the OP.
[Sony Cross-Device General] brockyneo:
ok mate thanks great work :angel:
[Sony Cross-Device General] zlebors:
the same as this error.. when reboot, it vibrate+grren light I pressed vol down..and now only blank screen with purple notification light
[Sony Cross-Device General] [NUT]:
Did you re download and install the installer package?
[Sony Cross-Device General] zlebors:
I downloaded on the 1st post, and update the dualrecoveries.update.zip
[Sony Cross-Device General] [NUT]:
Just to be sure, please download it again and install it without updating.

If it still doesn't work then, open a terminal app and execute /system/xbin/busybox and tell me what version it says it is.
[Sony Cross-Device General] zlebors:
at that point, there was nothing I can do to trigger the ZL for fastboot or anything else..

then I open the simcard cover and there is a small yellow button with label "OFF"

I pressed it for 3seconds using a toothpick and the ZL restart and back in normal state.. phiiuuufffhhpphhhhh:eek:
[Sony Cross-Device General] [NUT]:
Ehrr.. pressing power+vol-up for some seconds will reboot your phone too, FYI :)

Does dual recovery work now? What version of busybox is installed in /system/xbin/ :confused:
[Sony Cross-Device General] lancebuks:
Ya I already mentioned that; try physically ejecting the card and reinsert it back in, then remount it - it should work (but you need to do each time).
[Sony Cross-Device General] Mr.TheND:
Yeah! It's working now. Thank u very much! :D
[Sony Cross-Device General] atamig:
thank you it works with 4.22 and open bootloader.....
[Sony Cross-Device General] Admiral AnimE:
Mine says Waiting for Device and stays there. C6603 on 4.2.2, locked BL, SuperSU.
[Sony Cross-Device General] stephencwl:
I screwed up my 4.2.2 twice when trying to install 2.5 beta dual recovery. Can't activate the recoveries during reboot, no matter volume down or volume up. At times it even caught into bootloops.

Had to recover using Sony SU.

May be it's my problem only.
[Sony Cross-Device General] rayblo:
Is your Phone rooted with the latest version of Doomlord?

See this also please http://xdaforums.com/showthread.php?t=2342120
[Sony Cross-Device General] sidelong:
Tablet z TWRP

What is the status of TWRP on the Tablet Z? Does it work correctly now? I have used CWM to flash the BETA update, but when TWRP is entered on bootup it still comes up in landscape mode.
[Sony Cross-Device General] [NUT]:
I've moved that little how-to to the OP, now that it's clear that it's a resolution to more people. Thanks dude ;) Did the latest BETA indeed fix the problem that when the USB cable was connected it wouldn't go in to recovery? I'm positive it did :)

Please reboot your pc and phone, then try again. Just to be on the safe side: re-download the package from my files storage.

&

Actually, it might be that you downloaded the wrong installer, i noticed my uploader scripting was not removing the old beta's but moving them in to the files directory. I've removed the split in the files, its now one long continuous row and should now eliminate grabbing the wrong one by accident. I'll do a major overhaul of the download page some day, this one is also wrecking the counters from time to time, they are just too simple and easy to confuse :D

Check the SHA1 now to the only one remaining and if it matches it's the correct one.