yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 General] :
In my case, I've used the patched version which only contains this :

#!/sbin/sh

cp /tmp/disableric /system/xbin/

chmod 755 /system/xbin/disableric

exit 0

In the first post, it is said :

So I've just done that. I'll take a closer look later, but I wonder if this is a security update from Sony.

EDIT : I confirm, I've just checked the script on the normal Z2 recovery and it does basically the same thing while comparing the firmware version with hardcoded values. So Sony may have updated the security on the Z2, I've no idea what it is.
[Xperia Z2 General] _mysiak_:
I'm sorry, I was checking the latest official NUT's flashable file and the older version of patched recovery, both contained ROM check. Seems that ROM check has been removed in the patched version already.
[Xperia Z2 General] CrisAtal:
camera problems

on my xperia Z2 camera just works on V. 17.1.A.2.55 No Branding even updating with Pc companion, flashing other versions or with a pre rooted, just work on that version, can someone help me? *when i take a photo flash freezes and the HUD dissapear, but camera stil working without taking photos
[Xperia Z2 General] CrisAtal:
I flashed the drm restore and all perfect!
[Xperia Z2 General] norti:
GOOD! ;)
[Xperia Z2 General] kamalmawa:
No he's also having the RIC issue, he went and said on an another thread that he can't mount system RW after posting above.comment . Don't know what's going on as it's pretty random. Some people have no issue with the full root/RIC killer while some of us do.
[Xperia Z2 General] ravdo:
I've fixed the Mount R/W problem by re-installing Dual Recovery 2.8.3 from Windows (choosed option 1).

After that, i have no problem with Mount R/O and Mount R/W
[Xperia Z2 General] kamalmawa:
Thanks, gonna try this again.

Update: now I have the full root. Didn't even have to install the dual recovery. Only thing I did differently was installing superSU through recovery instead of play store version before I flashed the rom.
[Xperia Z2 General] norti:
That is always recommended with SuperSU, the Play Store installer can't do as much as the recovery version.
[Xperia Z2 General] kamalmawa:
But I don't see that making any difference since system partition getting wiped during the installation :-S
[Xperia Z2 General] norti:
Unfortunately I can't see the whole Lollipop update process, until I get my provider's update (or at least I won't try another region version - I have very limited time now because of my work. Mostly I'm in read only mode here... :( Hopefully that's gonna change in several weeks.). Until then please feel free to experiment with different updates and recovery/SuperSU installers/flashable zips.

UPDATE: since I read [NUT]'s recent posts, there is no working dualrecovery for Lollipop at this moment, so we must have to wait until he figures out a fully working solution. Until then you'll have only partial root on Lollipop.
[Xperia Z2 General] yavhin:
Hi, sorry for the question, i'm still a newbie in rooting and flashing.

In step 11

11. Start Flashtool and with the Flash device icon flash the kernel and other baseband files from the FTF in Flashmode.

Which Kernel and other baseband files I will flash?
[Xperia Z2 General] norti:
Just read the rest of the steps and what to exlude from flashing and you're good to go.
[Xperia Z2 General] V4LKyR:
Well, I'm using CM 12 ROM on my Z2 at the moment and XZDR is installed. Version 2.8.3. Working perfect. So, XZDR can work on Lollipop at the moment, your statement is false.

Unless you mean Sony Stock Lollipop ROM :D
[Xperia Z2 General] norti:
Since this thread is about stock rom, yes, I mean it ;)
[Xperia Z2 General] norti:
Some - bad - news from [NUT] for LP locked bootloader recovery (and full root):

For now: if you want recovery, stick with KK or unlock your bootloader if you can to flash the XZDR kernel. I will be patching the kernel builder soon, to use the init hijack used by CM/AOSP/Omni so you can still enjoy LP ROM's on unlocked bootloader devices. I was already working on that, once it is released it should be able to repack any custom kernel to include XZDR.

--- UNRELATED ---

I have been testing the LP rom since I installed it on my D6503 (Z2), there are some annoying bugs still in the ROM which I encounter during day to day usage:

1. The sound system stops functioning at random without any error messages, a full reboot is the only fix.

2. The Calendar app will start a notification sound for an appointment but it will fail to STOP that alarm from sounding when you suspend or ignore the warning. Again, a full reboot is the only way to fix this...

3. The notification area on the lock screen will show you that the dialer app is active, all the time, not just when you have missed a call.

4. Some widgets will at some point be removed, without warning or valid reason or any kind of plausible reason.

There are quite some improvements too, one of them is the WiFi, the driver actually does not crash anymore from what I can tell, on the other hand, the other bugs prevent me to reach more then a 24h uptime on the device, so maybe it has not yet reached the breaking point...

I'd wait for a new Lollipop firmware and stick with KitKat if you need the full root and recovery.
[Xperia Z2 General] bdithug:
[MENTION=838895]norti[/MENTION]

Since Nut and zxz0O0 have figured out recovery and r/w for LP, does this guide need to be updated to work with lollipop? Or are the steps the exact same as in the op?
[Xperia Z2 General] ravdo:
I used this guide to create pre-rooted Lollipop ROM from my country.

Works perfectly :)
[Xperia Z2 General] Light_Sephiroth:
Good morning everyone!

Yesterday i tried to downgrade from lollipop to .314 and then install a pre-rooted version of .167 but, when i tried, i obtained a boot-loop on the Sony logo.

I used :

Customized IT .167

0.8 version of PRFCreator

2.46 SuperSu

patched dual recovery

Then i flashed the .ftf excluding Partition and System (TA not included)

Should i try something different?

Should i just skip the .167 and try a pre-rooted lollipop?

Thanks in advance
[Xperia Z2 General] norti:
We have to wait until [NUT] will release the hopefully working v2.8.5 dualrecovery, and then you can use this tutorial as it is now ;)
[Xperia Z2 General] DannyB513:
I am new to doing all of this on the Z2. I have not messed with root and flashing ROM's since putting 4.4.2 on my old Galaxy S2. However, everything I have read in the guides for packaging your own pre-rooted ROM, you should use PRFCreator v0.5 in order to not run into any potential problems. Downgrade your PRF Creator to 0.5 and try again.
[Xperia Z2 General] illphone:
[NUT] has released v2.8.5 dualrecovery :good::)

Edit:

This versions still seems to fail for some users so I think we have to wait a bit if it is working or not...
[Xperia Z2 General] V4LKyR:
So, these are the bugs on 23.1.A.0.690 Stock Lollipop ROM??? :crying:

Can anyone confirm this?
[Xperia Z2 General] norti:
First: please edit your post, no need to comment the whole OP in it ;) Thank you.

To answer your question: we're waiting for a fully working dualrecovery from [NUT] on Lollipop (he is working hard on it!), until then if you want full root and recovery, stay with KitKat. After a working dualrecovery is released, you can use this tutorial just as with KitKat updates.
[Xperia Z2 General] VaLee:
I used this guide together with zxz0O0's fix and got root, working dual recovery and r/w system. Rolling on a fully debloated 5.0.2 atm, tho be aware that for some reason you need to restart the phone after uninstalling system apps else you won't see the change.
[Xperia Z2 General] loonlekim:
I have working dual recovery, but my R/W is not. :( what did you do to make it work?
[Xperia Z2 General] VaLee:
The only thing different than this guide, after I finished with it I applied zxz0O0's fix the again NUT's installer to get the working BL, then loaded the BL and mounted system and reboot. Not sure if any of those contributed to r/w system tho, might aswell try it. Also don't forget to disable Mount Namespace Separation in SuperSU and reboot after. I upgraded straight from 4.4.2 to 5.0.2 btw.
[Xperia Z2 General] loonlekim:
Can you explain further the steps you did after zxz0O0's fix?
[Xperia Z2 General] VaLee:
After you apply zxz0O0's fix you should have working dual recovery, you will know if it's working since you'll see a purple notification light followed by 2 small vibrations. Spam the volume down key when you feel the vibrations and you'll enter the recovery. There go to Mount and check the System box, then go Reboot -> Reboot to System. Once the phone booted up open SuperSU and uncheck the Mount Namespace Separation checkbox and reboot your phone again. I also ran this file taken from here, but that's because I didn't get working recovery from the first time, not sure if it's necessary. That's basically all I did.
[Xperia Z2 General] loonlekim:
Tried that but didnt work :(
[Xperia Z2 General] rubbebandman:
i hope this thread would be updated soon. i'm really excited to update my phone to lollipop but i dont want to lose root. :(
[Xperia Z2 General] bdithug:
The thread doesn't need to be updated really, the process will still be the same. The recovery is what needs to be updated to work properly with lollipop. But yes I'm in the same boat as you. Would like to upgrade to lollipop but I need a working recovery and root to work first.
[Xperia Z2 General] Parul.Prabhat:
Guys, NUT has released new version of dualrecovery. Is all ok now?

---------- Post added at 03:56 PM ---------- Previous post was at 03:55 PM ----------

I mean can we go ahead and flash 5.0.2?
[Xperia Z2 General] loonlekim:
Z2-lockeddualrecovery2.8.6-RELEASE.installer Attempt 8 (so far, the latest) is working. You have to flash XZDR-removaltool.zip first before you can install the latest recovery. Working Recovery, Working r/w
[Xperia Z2 General] norti:
I'm following [NUT]'s thread and still waiting for a fully working recovery both on KK and LP (preferably flashable.zip to include it with the pre-rooted update package). If it's final, I'll update the OP
[Xperia Z2 General] loonlekim:
the windows installer is working but the flashable zip seems to have some problems
[Xperia Z2 General] bdithug:
Yea Nut said he'll work on the flashable tonight, so hopefully we can use this guide this weekend :)
[Xperia Z2 General] Parul.Prabhat:
how can i flash XZDR-removaltool.zip. cud u tell me how to do it via flashtool? :o:D

---------- Post added at 09:40 PM ---------- Previous post was at 09:13 PM ----------

guys [NUT] has released 2.8.7..does it work via direct flashing with 5.0.2..??
[Xperia Z2 General] loonlekim:
It is flashable via recovery.

Prior to flashing XZDR-removaltool.zip, i have 2.8.3 XZDual Recovery working (but r/w doesnt work) via byeselinux. So, flashing XZDR-removaltool will just delete any traces of 2.8.3 so you have fresh installation of 2.8.6.
[Xperia Z2 General] ryan42680:
heh

well i downloaded the new 2.8.7 installer for windows , it's installed on my z2 but none of the recoveries seem to work :(
[Xperia Z2 General] Parul.Prabhat:
I have flashed prerooted 5.0.2 with 2.8.7 bundled in the flashable zip file on my Z2 from India with LB. root working, r/w working, had found the Image enhancement system files missing in the update. applied niaboc79's image enhancement fix and all is well!!

i had uninstalled xposed framework and modules before LP update. the things i have have heard abt xposed bootloop on LP make me apprehensive. anyone running on xposed without bootloop? i wud love to have extra functionality and modifications of xposed!
[Xperia Z2 General] norti:
Updated OP with the instructions for latest ZXDualRecovery and Lollipop. If you have root, system mount or recovery problems after this, please head to [NUT]'s ZXDualRecovery DEVDB thread - link is in the OP - and provide feedback. Thank you.
[Xperia Z2 General] Parul.Prabhat:
I want to give confirmation that [NUT]'s DualRecovery 2.8.7 works fine. I had bundled the flashable zip in prf creator. I can boot to recovery from ndr utilities, from volume buttons just fine. Made a nandroid backup of system via TWRP successfully.

Thanks norti! Ur method works! I have full root, r/w, recovery,??

---------- Post added at 10:31 AM ---------- Previous post was at 10:29 AM ----------

Shud i upload screenshots?
[Xperia Z2 General] norti:
No, thanks, your confirmation that it is working should do for now ;)
[Xperia Z2 General] ryan42680:
hey

hello mate can you give me a hand ? :confused:

i have rooted my 4.4.2 (d6503) when trying to reboot in one of the Recoveries, it doesn't work ,so i can't flash my pre-rooted 5.0.2 ftf
[Xperia Z2 General] norti:
Did you install the latest recovery (2.8.5) on 4.4.2? If you have still root, try to install it again via the PC installer and see if this helps.
[Xperia Z2 General] ryan42680:
thx for quick reply

i only have 2.8.7 , and it's not working on 4.4.2, i can't find 2.8.3 version so i can install recovery on my 4.4.2 then flash my ftf with 2.8.7

can you provide me 2.8.3 sir, pls :fingers-crossed:
[Xperia Z2 General] norti:
I'll upload it asap, but please report that in the dualrecovery dev thread so [NUT] can fix it on 4.4.2.

UPDATE: because the installer is too big I can't attach it here :( Try to check if you have full root on 4.4.2 then install the latest recovery via PC and check for errors during the process and report it with logs to the dualrecovery dev thread. Others have reported on 4.4.2 that it works so you must have another problem.
[Xperia Z2 General] ryan42680:
Re

thank you friend , i just reported to NUT

thx for all, cheers
[Xperia Z2 General] bdithug:
Haven't flashed the flashable zip yet, but I did notice something odd here.. I used PRF Creator Version 5 and Version 8 to build pre-rooted flashable zips (Lollipop USA/Canada). When I look inside the zips, there are some differences:

Version 5 has busybox file, where as Version 8 has utils folder which contains busybox file as well as a few other files. I uploaded screenshots of it. I'll try flashing version 8 first, if it doesn't work, I'll try version 5 and update this post in case others have the same issue.
[Xperia Z2 General] norti:
This is not an issue, in v0.8 this is the new folder structure ;)
[Xperia Z2 General] kinsah:
D6543 working 23.1.A.0.690

Hi, I can confirm working root, system R/W and recoveries with [ROM] D6543_Customized_BR_1281-5466_23.1.A.0.690_R5C (downloaded with Xperifirm).

I have flashed with Flashtool previously version [ROM] D6543_Customized_BR_1281-5466_17.1.2.A.0.314_R6A, root with Easy Tool root, recovery 2.8.7 by Nut.

So I've applied method from here.

Thank you.
[Xperia Z2 General] irishrally:
This worked me for. Downloaded .690 USA with XperiaFirm, created FTF with flashtool, used PRFCreater to package the FTF, dual recovery 2.8.8, and SuperSU 2.46, flashed in twrp on stock 4.4.2 rooted with locked BL. Everything works, root, r/w, didn't lose any data.

Thanks again, Norti.
[Xperia Z2 General] rfilipoiu:
Notice for the win8.x users. You will have troubles with the step 1.2 but realize that in step 11.

Installing the flashmode drivers requires "Disable Driver signature Enforcement". (Settings ...update and recovery... advanced startup etc.)
[Xperia Z2 General] Shawn1201:
Hi, just want to ask and see whether this method applicable to Sony Z1?
[Xperia Z2 General] norti:
With the proper recovery files for Z1, yes, it'll probably work :)
[Xperia Z2 General] Shawn1201:
Thanks. It works like a charm :D
[Xperia Z2 General] tiesco:
d6543 brazil
[Xperia Z2 General] bdithug:
Just curious, I have 690 working with root, recovery, etc. If I use prf creator to create a 724 flashable zip to upgrade, could I essentially just dirty flash it over 690 and not lose any data? Would I still have to use Flashtool to flash the kernel, baseband and boot from the 724 ftf?

[MENTION=5427336]tiesco[/MENTION]

Sorry I'm not sure.
[Xperia Z2 General] Envious_Data:
I flashed right over 690, i even use the same kernel

Only did cache and dalvik wipe
[Xperia Z2 General] bdithug:
So you did the exact steps in the op but didn't wipe any data, and you successfully upgraded from 690 to 726?
[Xperia Z2 General] Envious_Data:
yup

made a prf zip

flashed it

wiped caches

flashed my kernel again(ub stuffs as usual)
[Xperia Z2 General] bdithug:
Nice... Ok.. Maybe you can answer my next question?:

http://xdaforums.com/showthread.php?p=60141830

:)
[Xperia Z2 General] Parul.Prabhat:
[MENTION=838895]norti[/MENTION], i want to confirm that i have flashed 5.0.2 (.726 firmware released via OTA in India) using your tutorial and i have root, r/w and recovery working on my Z2 D6502 Indian variant. Thanks!!

---------- Post added at 04:08 AM ---------- Previous post was at 04:07 AM ----------

Thanks to [NUT] for his latest dualrecovery too!!
[Xperia Z2 General] dani010:
Hi , i use .690 rooted with dual recovery and now i want to update to .726 but i dont want to lose my data and my apps and i know that i dont have wipe but i dont know in which part of this method i dont have to wipe , plz some one tell me , thanks
[Xperia Z2 General] bdithug:
My guess would be don't wipe before flashing the zip in recovery, and don't wipe when flashing the kernel, baseband and boot from Flashtool if you choose that method. Just a guess though, I haven't had a chance to try it yet.
[Xperia Z2 General] dani010:
My guss was that also , but i wnat to be sure , anyway thanks
[Xperia Z2 General] Parul.Prabhat:
I flashed. 690 without losing anything..then came. 726 and i used the same norti's method..i have root, r/w n recovery without losing any data apps..all working..just that i haven't tried Xposed yet..its in alpha stage n what i have heard is that it causes bootloops
[Xperia Z2 General] Lagamorph:
Crap.....Just tried this process for the UK 5.02.....followed the instructions, but my phone wont boot up now. Just hangs at the animated wavy lines ;(

I've got TWRP installed, but I can't actually power off the phone in order to reboot into recovery.

Am I just going to have to wait for the battery to run out then prey I can re-flash something on there?

EDIT - Nevermind. Turns out it was just taking bloody forever to get through a first boot.....:o:o:o:o:o
[Xperia Z2 General] mishooo:
So I did all according to the manual but I can't seem to be able to boot in recovery? All else is working but the recovery and the utilities for the recovery say no zd.prop any ideas?
[Xperia Z2 General] Gralalo:
Can't R/W system storage after update

Hey guys, I've recently flashed the new .726 firmware for the D6503, i made pre-rooted and everything as listed, but for some reason my system just stays R/O.

I have full root access but i cant change, for eg. the build.prop or hosts file. :(

I have tried remounting the system as R/W in Recovery, I have tried doing a fresh install, wiped all data... i even tried this with the .690 firmware, but for some odd reason i just cannot R/W to system, i cannot uninstall system apps or change any files, but yet i have root access ??:confused:

I have also made sure that the Firmware custumization number is the same (Currently using Canada/USA - unbranded - 1281-9709)

Please help me, I'ts not THAT urgent because i have my 4.4.4/.167 nandroid which i am still using, but its just frustrating because I've done this MANY times in the past without any problem and i just want Lollipop SO bad (With full root of-course).

Any suggestions appreciated,

Thanks in advance:)
[Xperia Z2 General] eagle25884:
Read Post#1 Point 1.1

You must start with a rooted 4.4.2 intead of a 5.0.2 (.726)
[Xperia Z2 General] Gralalo:
I Tried that as well, i have a .314 ftf (4.4.2) and i rooted it with rootExploit and installed recovery ( that's how i got root on my 4.4.4 anyways)

But still i cant mount system dir as R/W on 5.0.2(.690/.726).:(

Can't unistall system apps, change build.prop etc. on lollipop but kitkat has no problem at all:confused:
[Xperia Z2 General] Lilachina:
Hi, i used this method to update my Z2 tablet to rooted 5.0.2, great! thanks a lot!
[Xperia Z2 General] sublinker:
Try installing superSU again from play store and busybox. This worked out for me sometime ago.

Or reboot to recovery and flash busybox and superSU zips.
[Xperia Z2 General] Gralalo:
Xperia Z2 Lollipop Finally working!

Thanks man, so much!

I tried flashing SuperSU and BusyBox in Recovery, but still it didn't work.

I thought I would try to do it from app store, I only installed BusyBox and also re-installed ES File Explorer... and it WORKED!:D:D

After long struggle i didn't think the solution would be that simple.

Thanks once again

PS. I also have my my new nandroid backup for .726 and am now officially moved to Lollipop:)
[Xperia Z2 General] dalla96:
I'm on 4.4.4 rooted , for this update i need to return on 4.4.2?
[Xperia Z2 General] rfilipoiu:
No return needed. 4.4.4. with recovery is good, too.

Tapatalk
[Xperia Z2 General] dalla96:
Great thanks!!
[Xperia Z2 General] sublinker:
You're welcome friend, glad it helped.
[Xperia Z2 General] bacardiandwatermelon:
I had this problem too. Root but only RO system access on lollipop. The thing that fixed it for me was rerunning the philz touch recovery installer, but this time I ran the option for installing it with supersu already installed.
[Xperia Z2 General] loonlekim:
Try updating your XZDR
[Xperia Z2 General] daxcimix:
customization

Hello,

i'm planning update my Z2 from 23.0.1.A.0.167 (brand TIM IT, custom-id: 1282-0823) to the latest release 23.1.A.0.690. But i can't find an 23.1.A.0.690 with same customization. It's dangerous update with a no brand custom?

Thank you

Sorry for my eng.
[Xperia Z2 General] norti:
No, it's not, not branded firmwares are almost always better (less pre-installed bloatware, no visual branding and so on).
[Xperia Z2 General] daxcimix:
And can i rollback from unbranded 23.1.A.0.690 to brand 23.0.1.A.0.167?

Thank you
[Xperia Z2 General] norti:
You can, but you need to flash the kernel from .0.167 too.
[Xperia Z2 General] waleed.619:
What if i have an unrooted z2 with lolipop? I won't be able to do what's in the tutorial.... So what should i do?
[Xperia Z2 General] Magdy Yassen:
Look Here Might Help :)

http://xdaforums.com/xperia-z2/development/stock-d6502-23-1-0-726-complete-guide-t3085893
[Xperia Z2 General] norti:
Downgrade to a rootable firmware (you'll need to wipe data unfortunately), root it, install the recovery and do an upgrade. There is no other method at this moment.
[Xperia Z2 General] ced360:
It's great that works.

But I can not find any to close the application by a key.

No not notice when we pass under the 15% battery. I took the version uk
[Xperia Z2 General] caslubas:
Hello everybody

I did the upgrade to Lolillop, but did not like.

I want to go the kit kat, simply restore the backup made by TWRP or need to record a ftf and apply root and install recovery?

Thanks!
[Xperia Z2 General] prakashsinghbamal:
Issues when upgrading from .314 to .726

no issue now
[Xperia Z2 General] norti:
You can restore the backup in recovery, after that don't reboot just turn the phone off and be sure to flash kernel, baseband, modem, etc with flashtool back to the KitKat version.
[Xperia Z2 General] caslubas:
I did as instructed and worked perfect.

Thank you!
[Xperia Z2 General] daxcimix:
Today i receive the update notification to 23.1A.1.28. I read the first post, do you confirm i can't preroot with this steps?

Sorry for my english

Inviato dal mio D6503 utilizzando Tapatalk
[Xperia Z2 General] hanosky:
The thing is working! But man, he's not saying anything about how to get busybox in your ftf. How can I get busybox in ftf?

Busybox missing from the list.
[Xperia Z2 General] norti:
Why do you need busybox? For the recovery it is included, otherwise you can install it as usual.