yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] Pandemic:
[MENTION=6513383]MaSsAcRe1992[/MENTION]

Nope stamina works fine on my Z2 with LP, Look:

So try to wipe cache of Stamina Modus in settings/apps/all and reboot and enable Stamina again !

Sent From My Z2 On LP 5.0.2 Full Debloated !
[Sony Cross-Device General] adamdvd:
http://xdaforums.com/showthread.php?t=1908687

Will it be possible on XPERIAs?? It worked on Motorola phones with locked bootloader.
[Sony Cross-Device General] Pandemic:
No

Sent From My Z2 On LP 5.0.2 Full Debloated !
[Sony Cross-Device General] MaSsAcRe1992:
ok thanks, doesnt know, what problem my phone have, but i hope the recovery will be aviable soon to flash it again, havent a pc this time to flash 4.4.2 back -.-
[Sony Cross-Device General] ISerg:
Dualrecovery on Lollipop with locked bootloader:

4pda.ru/forum/index.php?showtopic=607455&st=2720#entry39156389

Russian forum (FOR Z3 COMPACT), use google translate.

It works 100%
[Sony Cross-Device General] zohaib0001:
[MENTION=4904057][NUT][/MENTION]

Its working Locked boatloader recovery on 690

go to this page and check Post # 2723

http://translate.google.co.uk/trans...ndex.php?showtopic=607455&st=2720&prev=search
[Sony Cross-Device General] gamer649:
This method uses the restoration of the .77 kernel to be able to reboot into recovery. Then you have to flash the .690 kernel before rebooting into system. This has already been discussed in the past few pages...
[Sony Cross-Device General] mysara saad:
Well if its working simply then we might have something for the time being until we get really working one

What do you say about this [MENTION=410007]Nut[/MENTION]
[Sony Cross-Device General] spider623:
Did you tried the solution chainfire used for the nexus devices?
[Sony Cross-Device General] russel5:
But nobody did anything. And in this method we don't need flash tool, only phone.

Anybody can change the NDRUtils.apk for make this method work automode without apply script
[Sony Cross-Device General] [NUT]:
A link would help? I tried so many things already I don't know...
[Sony Cross-Device General] spider623:
this is an article about it until i find the commits http://www.xda-developers.com/supersu-beta-lollipop-root-stock-kernel/

it alters some commits to allow root but it's a start
[Sony Cross-Device General] ondrejvaroscak:
Nobody did nothing...so do you. I prefer do it manually when it comes to flashing kernel. And honestly how many times do you need to go to recovery? I didn't needed it since I installed LP.
[Sony Cross-Device General] spider623:
this is one of his g+ posts explaining how he used the install-recovery.sh to bypass the selinux initially https://plus.google.com/+Chainfire/posts/VxjfYJnZAXP

---------- Post added at 11:23 AM ---------- Previous post was at 11:19 AM ----------

here is the interesting part of the line, it does need a custom kernel but it's a start
[Sony Cross-Device General] ciccio80:
[MENTION=410007]Nut[/MENTION]

read also this:

http://su.chainfire.eu/

thanks in advance
[Sony Cross-Device General] atis112:
[MENTION=4904057][NUT][/MENTION]

Maybe this kernel change is a good solution. You just need to write a script to check kernel version (maybe in proc/version):

Check kernel version

If its kitkat kernel auto boot to recovery

If its lollipop kernel check volume key pressed

If not pressed boot to android

If pressed flash kitkat kernel with dd and reboot (and it will reboot to recovery)

And the recovery need a script too to flash LP kernel with dd before reboot when you press reboot to system

A funny way, but i think it can work :D
[Sony Cross-Device General] Desperanto86:
We can't check keypress because SELinux don't give us do it without init support. We should in working system via some app chose "reboot recovery", app will change kernel and reboot system to recovery, and now in recovery we can check kernel version and do needed things with pressing reboot button
[Sony Cross-Device General] ciccio80:
[MENTION=4904057][NUT][/MENTION]

I thought....if you read pages # 2723 there is a file who can download... one of this named kernel.sh have this command:

" #!/system/bin/sh

dd if=/sdcard/kernel/boot.elf of=/dev/block/mmcblk0p14 "

So...if to this command you insert another command can go directly on the recovery and after on twrp before reboot you could enter a command who can say "before you reboot you must fix kernel etc"...

my last phone before Z3 was Huawei Honor 6 Plus and in TWRP recovery every time i reboot asked me if I wanted to fix root, if you can change " fix root" to "fix kernel"..what do you think?

sorry for my bad english...

Thank you

Ciccio80
[Sony Cross-Device General] atis112:
Yes, it can work so. Just need an app with a "reboot to recovery" button or maybe more if you would like dual recovery. On boot chargemon script check the kernel version, and if its kitkat kernel the script boot to recovery, or if LP, boot it to rom. Just need to be sure that with kitkat kernel it can only boot to recovery because if the system start to load with KK kernel, maybe it will soft brick the phone. And then modify the recovery to flash LP kernel before reboot.
[Sony Cross-Device General] atis112:
Selinux don't allow to check /dev/input/event3?

Edit: I think we can check keypress. We just can't modify rootdir because of selinux.
[Sony Cross-Device General] ciccio80:
Hi [MENTION=3834787]atis112[/MENTION]

read this:

http://stackoverflow.com/questions/27496968/inject-touch-screen-events-android-5-0-dev-input-eventx

What do you think?
[Sony Cross-Device General] atis112:
Interesting. My selinux is enforcing, but I can read events. Can't you check event3 with "cat /dev/input/event3"?
[Sony Cross-Device General] ciccio80:
[MENTION=3834787]atis112[/MENTION]

read also here:

http://www.pocketmagic.net/injecting-events-programatically-on-android/

i think we can use this SW to read event:

https://github.com/Stericson/RootTools

What do you think?
[Sony Cross-Device General] -Ambi-:
Hi all,

I'm getting a bit confused. I do have a unlocked bootloader (Sony Z3c) and after reading through the important posts, i thought it would be possible to get the Recovery by flashing the Nut's Kernel. I used fastboot to do that (fastboot flash boot boot.img, which i extracted from Nut's flashable kernel zip). I tried with official stock firmware and with a prerooted alternative (Lollipop). With both of them i was not able to boot to Recory. Can anyone provide me some help with that or let me know if this is not possible even though Nut mentioned this in his "famous" post #3703

Thanks a lot!
[Sony Cross-Device General] funky0308:
Old post but I have to respond...

Absolutely incorrect.

Sony isn't protecting anything by locking bootloader.

That's carrier request, not Sony.. (mostly Tmobile)

Sony protect firmware and their patents with DRM protection, not LB...it's very simple.

Also, it's very easy to check which one you want simply by entering to service mod.

Every store will give you enough information to choose right.

Z3 powered by Tapatalk
[Sony Cross-Device General] spider623:
m'ericans

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

ahh [MENTION=4904057][NUT][/MENTION] private messages are broken so contact [MENTION=1050103]sykopompos[/MENTION] , he agreed to spend some time helping you inject selinux with a new commit directly

---------- Post added at 09:19 PM ---------- Previous post was at 08:36 PM ----------

[/COLOR [MENTION=4904057][NUT][/MENTION] happy reading https://plus.google.com/+SykoPompos/posts/G5k1JkAge9M
[Sony Cross-Device General] [NUT]:
FYI: Because of easter obligations I will not be responding to any posts and pm's until Tuesday. I will try to catch up and reply then.
[Sony Cross-Device General] ondrejvaroscak:
I didn't say anything about Sony protects software by locking bootloader at first place. Read my post again. Secondly you are wrong. Sony protects software by DRM keys that are deleted from your device by unlocking bootloader. All Xperia devices are shipped with locked bootloaders. Some providers are shipping phones furthermore with NON-UNLOCKABLE bootloader. Normally you can unlock bootloader and flash what you want, loosing effectively warranty and DRM keys. But on certain providers you can not unlock bootloader at all.
[Sony Cross-Device General] Pandemic:
That's why i always buy a brandfree Xperia like my previous Xperia's like: X10i, Neo V, Xperia P, Xperia Z and now the Xperia Z2 so i never have Bootloader unlock allowed "No" it is always "YES" by me ^^

Sent From My Z2 On LP 5.0.2 Full Debloated !
[Sony Cross-Device General] zxz0O0:
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.

Happy eastern.

Edit: Source available here https://github.com/dosomder/byeselinux
[Sony Cross-Device General] profprof:
You are the man, thank you a lot :fingers-crossed: :good:

I don't know what we would do without you
[Sony Cross-Device General] serajr:
Once again... Thank you!!

It does work like a charm!!!

\m/
[Sony Cross-Device General] Pandemic:
Bro [MENTION=3989065]serajr[/MENTION]

Did you test it and also on locked bl on LP ?

Sent From My Z2 On LP 5.0.2 Full Debloated !
[Sony Cross-Device General] serajr:
Yep!!!
[Sony Cross-Device General] Pandemic:
Great bro [MENTION=3989065]serajr[/MENTION]

how did you do it, can you tell us ^^ ?

Sent From My Z2 On LP 5.0.2 Full Debloated !
[Sony Cross-Device General] profprof:
I also tested it (D6603) , no bootloops no problems :) it is working perfectly
[Sony Cross-Device General] GoDExtremE:
Is the recovery working on LP with this fix???

Can't try because I am not home :(
[Sony Cross-Device General] caqo71:
Wow, it works!. at last!.:highfive:
[Sony Cross-Device General] profprof:
I wonder how many times should we answer same question.
[Sony Cross-Device General] GoDExtremE:
Calm down bro.. I asked for something really new..

I know that was not working and we were waiting for a fix...

But thanks for answering :)
[Sony Cross-Device General] caqo71:
Yes it works.
[Sony Cross-Device General] FabianLaRose:
Bro [MENTION=2902434]Pandemic[/MENTION] It really works. I'm also on LB 5.0.2

Just flash the zip from [MENTION=3975929]zxz0O0[/MENTION]

Device will reboot, after that flash latest [MENTION=410007]Nut[/MENTION] recovery. After boot it'll redirect to recovery.

Probeer het ;)
[Sony Cross-Device General] GoDExtremE:
Can you explain the steps, please?

What type of connection I need use?

Normal, like transferring files? Fastboot?

Ty
[Sony Cross-Device General] FabianLaRose:
Connection with ur pc. No you don't need flashtool

Make sure you're already (semi-)rooted and enable usb debugging in developer options

-AFter that download zip by zxz0O0

-Unzip it on ur pc with 7zip and open the bye.bat

-Connect phone. (If done it'll reboot)

-Flash latest recovery by NUT
[Sony Cross-Device General] GoDExtremE:
Perfect!
[Sony Cross-Device General] loveninecube:
Hello bro.

I tested it on my XPERIA Z2(D6503) with Lockedbootloader, Philz touch and TWRP can boot on Lollipop with stock kernel. Many thanks to you!

[Edit]

Recovery worked fine at lollipop, but I couldn't mount system on Root explorer and Terminal emulator.
[Sony Cross-Device General] ravdo:
+1

I can confirm this too. Tested on D6503 (pre-rooted Baltic ROM), locked BL. Everything works perfectly :good:
[Sony Cross-Device General] deck91:
Working! Very thx bro! XZ2 LB
[Sony Cross-Device General] CHaPoCA:
Worked on D6643 pre-rooted.
[Sony Cross-Device General] patrickbartalesi22:
Thanks very much works on d6653 as well.
[Sony Cross-Device General] Greynet:
First of all thank you for this!

However it seems i can't download the zip file. Can anyone provide a mirror? :)

EDIT: Nevermind I got it :D
[Sony Cross-Device General] Masami1975:
Thank You zxz! Can I flash your fix in the end of all? I ve a prerooted with integrated recovery, supersu, and xposed zip... Or we have to flash recovery again after...

Inviato dal mio XT1068 con Tapatalk
[Sony Cross-Device General] kris555777:
How install (use)this fix dualrecovery, I'm on niaboc79''s prerooted lollipop with dualrecovery in site. thanks for advice.
[Sony Cross-Device General] caqo71:
just apply the fix and your recovery will revive. :cowboy:
[Sony Cross-Device General] tribemac:
Look at post 3852 for a how to..
[Sony Cross-Device General] kris555777:
thanks a lot, I missed this
[Sony Cross-Device General] dani010:
for me the fix works perfect , thanks
[Sony Cross-Device General] hispanico957:
On my Z3 compact with firmware pre-rooted 690 i launch bye.bat but:

...No system mount security ??... is normal or no good flash

When you explain:

..what means ? After lauch your file bat, we must flash Z3C-lockeddualrecovery2.8.3-RELEASE.flashable.zip ? or means that if you have pre-rooted firmware LP including dualrecovery, this come back ?

In my case i have upgrade to LP with flashable zip including firmware .690, dualrecovery (to have R/W permission) and root. So after launch your file i can enter in recovery

And a questions please:

It's possible include this fix with PRFCreator in a flashable zip, with root and firmware like this idea ?

Again thank

Hispa
[Sony Cross-Device General] FcukBloat:
simply you are great man! before the root and now this... as soon as i try this will donate for sure ;)
[Sony Cross-Device General] stevuna:
You're the Man [MENTION=3975929]zxz0O0[/MENTION]

Works like a charm, thanks!

Happy Easter to you and to all.:highfive:
[Sony Cross-Device General] bgumble:
I had the same error message:

I had my Z2 flashed with Pre-Rooted D6503_Customized BAL_1282-0827_23.1.A.0.690_R3C_SuperSU_XZDR2.8.3

ran the Z2-lockeddualrecovery2.8.3-RELEASE.installer.zip, without success

ran byeselinux.zip from zxz0O0 in this post

with this error message:

But everything is working fine :cool:
[Sony Cross-Device General] Pandemic:
[MENTION=5878028]FabianLaRose[/MENTION]

I am on LP on my Z2 already on locked bl, and i dont downgrade to 4.4.4, so if we follow that we can boot into recovery ?

I need some more clearification into that.. Sorry ;)

Sent From My Z2 On LP 5.0.2 Full Debloated !
[Sony Cross-Device General] x_one:
If you have prerooted rom and installed latest recovery you will be able to boot into recovery.

You just need connect phone to your PC and run bat file to bypass selinux.
[Sony Cross-Device General] Pandemic:
Oke is cool bro [MENTION=3697891]x_one[/MENTION]

Thanks for the info ^^

Sent From My Z2 On LP 5.0.2 Full Debloated !
[Sony Cross-Device General] Dilesh Perera:
wow Recovery working again !!! :) so happy

thanks a lot zxz0O0 and NUT

:good::good::good:
[Sony Cross-Device General] nscxp2005:
I would like to ask. Once the bat file has done it's work does that mean we can always access recovery from now on?
[Sony Cross-Device General] zxz0O0:
This is not an error message, it should still work. If your base is a prerooted firmware with dualrecovery included, simply run the bat and recovery should work right after reboot.

byeselinux.zip is not a flashable zip so this wouldn't work. However, it's not hard to create a flashable zip.
[Sony Cross-Device General] [NUT]:
[MENTION=3975929]zxz0O0[/MENTION] and me had been talking over hangouts and he implemented a solution I already considered but didn't have the knowhow for.

XZDualRecovery 2.8.4 will be released in a short while (but not before Tuesday) implementing this fix.

All hail the zxz0O0, any donation should go to him instead of me, we owe him a bunch!
[Sony Cross-Device General] hispanico957:
...Thank for your great work... regarding build flashable zip with firmware, root, dualrecovery and your hack... in which way i can build it with PRF ??

Hispa
[Sony Cross-Device General] ondrejvaroscak:
You guys deserve both ;) It's Easter and magic happened again :D
[Sony Cross-Device General] jarayn:
Wow, I had thought this was never going to be possible and then a tiny download and 2 seconds later im in recovery.

I wish I had even the tiniest amount of skill in these things as you guys.

Thanks
[Sony Cross-Device General] josephnero:
Yes.i already took a back up.flashed HTC one M9 camera and xposed.everything is working great
[Sony Cross-Device General] FabianLaRose:
Thank you [MENTION=410007]Nut[/MENTION]. We knew you would've come up with some brilliant idea to bypass the security.

Take ur time on 2.8.4.

Vrolijk Pasen ;)
[Sony Cross-Device General] Ambor:
Hi There

Thanks for recovery works great

Root Explorer but not mount system

I had some time and pre-solved the problem

1.Dawnload Z2-lockeddualrecovery2.8.3-RELEASE.installer

2. open install

3 select option 1

4 Phone August reboot automatically

I tested on my Z2 and Z2 my colleagues from the Polish

Root explorer should install the system

Enjoy
[Sony Cross-Device General] Huey85:
Any decent xposed modules working? All the ones I've tried make the phone bootloop
[Sony Cross-Device General] FabianLaRose:
I fixed it by selecting mount system in recovery
[Sony Cross-Device General] [NUT]:
http://xdaforums.com/showthread.php?p=59673664

Solution for es file explorer.
[Sony Cross-Device General] Kearkan:
Thank you NUT and zxz! Feel so much more confidant being able to make and use nandroids easily now.

Now I just need closed working and I'll be a very happy chappy!
[Sony Cross-Device General] Ambor:
I have a question or Root Explorer can "mount" system.

* if it is unmounted?

Previously, as I used rom [MENTION=599722]niaboc79[/MENTION]. Root explorer is not "edited" the system. you had Uninstall app, reboot and install again.

Thanks Brother

I like Root Explorer:):)

Forget tell YOU ARE AWESOME AWESOME AWESOME AWESOME:D:D:D:D:D:D
[Sony Cross-Device General] FabianLaRose:
Yes I just checked. On both ES and Root Explorer I have mounted system

In recovery go to mount and storage and select mount system. Also make sure "mount namespace seperation" in UNselected in SuperSU
[Sony Cross-Device General] mysara saad:
[MENTION=787413]zxz[/MENTION]000 & [MENTION=410007]Nut[/MENTION] u both are great devs and many many thanks to you

I have one question after the fix I cant mount system to r/w which was (before the fix) set always to r/w how can I fix this
[Sony Cross-Device General] Ambor:
I know thanks

I mean if you can do so in Root Explorer

[YOUTUBE]cNTuf3Iv9Yk[/YOUTUBE]

---------- Post added at 04:07 PM ---------- Previous post was at 04:01 PM ----------

tray this

Hi There

Thanks for recovery works great

Root Explorer but not mount system

I had some time and pre-solved the problem

1.Dawnload Z2-lockeddualrecovery2.8.3-RELEASE.installer

2. open install

3 select option 1

4 Phone August reboot automatically

I tested on my Z2 and Z2 my colleagues from the Polish

Root explorer should install the system

Enjoy
[Sony Cross-Device General] JohnnyBlack10:
After this I got recovery in LP. Then I flash x93 firmware with flashtol and root.

Then try flash LP x690 firmware and I got message in recovery error, can not mount system and bootlop on Xperia logo.

Try some few time again, and in recovery check mount system, but result is the same, bootlop, and now I can't flash and boot LP anymore :( :( :( why? Help.me :(
[Sony Cross-Device General] FabianLaRose:
[MENTION=5717533]Ambor[/MENTION] Yes I can
[Sony Cross-Device General] TechMod:
Getting error: device not found on Z2 D6503
[Sony Cross-Device General] funky0308:
[MENTION=3975929]zxz0O0[/MENTION] [MENTION=4904057][NUT][/MENTION]

Guys you are the best...

My old recovery (from KK) worked immediately after applying this fix..

Really tnx...

Sorry for going OT but could someone point me or PM me latest info about Xposed?

Thank you all and happy Easter :)

Z3 powered by Tapatalk
[Sony Cross-Device General] FabianLaRose:
Yeah at first I got this too. Reboot device and try again.
[Sony Cross-Device General] brianpee:
I believe it works, you just have to wipe cache&davlik cache every reboot.

Source: http://xdaforums.com/showpost.php?p=59840478&postcount=4937
[Sony Cross-Device General] imam88:
which m9 camera? i got bootloop from jishnu ported m9 camera
[Sony Cross-Device General] TechMod:
Okay, I got it:

turned off SELinux changer and turned usb-debugging off and on again = recovery works ! Unfortunately System r/w doesnt work.
[Sony Cross-Device General] Ambor:
Thanks start working on rom [emoji6]
[Sony Cross-Device General] josephnero:
this one works.

http://www.droidviews.com/htc-one-m9-camera-ported-to-android-devices-running-aosp-cm-rom/

---------- Post added at 08:36 AM ---------- Previous post was at 08:22 AM ----------

bootloop is most likely caused by Xposed itself.do you wipe cache on every reboot?if not you will get bootloop and for now there is noway around it.

for now i'm using greenify,Xinstaller,lollistats and xperia ASOP nav bar
[Sony Cross-Device General] FabianLaRose:
Which Xposed are you using? Alpha 2?
[Sony Cross-Device General] yuskhayru:
So, after applying this recovery fix and flash the latest nut's recovery.. I lost R/W. Anyone had this prob too? :confused:
[Sony Cross-Device General] FabianLaRose:
Try to remount in recovery
[Sony Cross-Device General] ravdo:
Not me.

In fact, it fixed it. Before, it's automatically on r/w everytime i restarted the phone. But now it's on r/o, and I can toggle it to r/w without problem.
[Sony Cross-Device General] ap0stol:
"just open super SU and untick "mount namespace separation" and restart the phone. If you use Es Explorer, uninstall apk and install again and check root privilege and that's it, RW now should working perfectly"
[Sony Cross-Device General] imam88:
yup.. i'm using that one and give me bootloop:crying:
[Sony Cross-Device General] josephnero:
yes alpha2
[Sony Cross-Device General] yuskhayru:
Looks like its still not working dude :(

---------- Post added at 12:09 AM ---------- Previous post was at 12:07 AM ----------

Mind to share how u fixed it? ;)
[Sony Cross-Device General] serajr:
Just run (do not flash it) SGP621-RICDefeat.zip from here.

Credits go to [MENTION=615507]lowtraxx[/MENTION] and other dudes involved!
[Sony Cross-Device General] yuskhayru:
Thanks bro, its now fixed. :good:
[Sony Cross-Device General] ravdo:
Glad you've fixed it too :)

All I did was installing the fix by zxz0O0, and then re-installing XZDualRecovery 2.8.3 (by choosing option 1).
[Sony Cross-Device General] yuskhayru:
owh i see, btw thanks for your info. :good:
[Sony Cross-Device General] josephnero:
that's strange.i'm using it and tried every feature.works flawlessly
[Sony Cross-Device General] tatsu91:
you MUST/NEED to fix RW permissions on KK before update to LP
[Sony Cross-Device General] guybrush2099:
me too :)
[Sony Cross-Device General] tatsu91:
thank you man, just executed your script and dual recovery started to work again

did it on Z3 D6653 FW for D6603
[Sony Cross-Device General] JohnnyBlack10:
Can you explain to me how to do it?

Thank You
[Sony Cross-Device General] tatsu91:
First root your device, second once rooted and rebooted download Es file Explorer, go to quick acces bar and turn on root acces, super SU will request root privileges accept it

Once got SU permission give one tap to root Explorer one window will pop up, go to mout r/w and in system put the right permission and thats it
[Sony Cross-Device General] JohnnyBlack10:
:( this is wrong. After that i try flash LP and i got message on recovery:

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

I dont understand, i doing this few times and nothing like that hapens ever, after using this fix for LP recovery have this problem :(
[Sony Cross-Device General] akkufix:
You saved my day. Throw you a big thanks.

Happy eastern back to you. :good:

Works great on my pre-rooted Lolli XZ2 with locked BL.