Sony released the first Android 5.0.2 Lollipop update for Xperia Z2 with build number ending in .690. This firmware had some bugs related to X-Reality Engine and other basic functions. Sony recently released the 23.1.A.0.726 firmware for Xperia Z2 D6502 and D6503. It is based on Android 5.0.2 Lollipop. This update is meant to fix the bugs that came with the first Android 5.0.2 released for Xperia Z2. Moreover, this update makes the devices much better performer as compared to before.
Those who have updated their devices to 23.1.A.0.726 5.0.2 Lollipop firmware must have lost root access. There are those who have not rooted their devices yet. This guide explains two basic things that any power Android user requires of his Android handset; Root and Custom Recovery. This guide explains how to root Xperia Z2 Lollipop Firmware and install Dual Recovery (TWRP and Philz Touch CWM). The guide is for two variants of Xperia Z2; D6502 and D6503. This guide must not be used on any other variant of Xperia Z2 or any other Xperia handset. Number of files are used in the rooting process which are specific for Xperia Z2. There are some pre-requisites for this guide as well like unlocking the bootloader. You must complete these prerequisites before moving on to the rooting process. All of the steps are explained in detail so if you are new to this stuff, you’ll find this guide to be pretty much easy-to-follow.
1. This is only for Sony Xperia Z2 D6503 and Xperia Z2 D6502
This rooting method is only for the device mentioned above. Make sure that your model number matches the one listed above. To do so, go to Settings > About Device on your device and see your model number. Flashing this firmware on any other device will result in bricking it so make sure that you meet this requirement first of all.
2. Battery should be charged at least over 60%.
Make sure that your battery is charged enough to complete the flashing process. In case your battery is low and your device goes dead during the flashing process, you may end up soft bricking your device as it won’t complete the flashing process.
3. Backup everything!
Just to be on the safe side, you may consider backing up each and everything from your Android device. This is highly recommended so that in case anything goes wrong, you still have the access to all of your data and you can restore it immediately. You may backup everything as listed below.
- Backup SMS Messages
- Backup Call Logs
- Backup Contacts
- Backup Media – Copy your files manually to your PC or Laptop.
- Titanium Backup – If already rooted, use Titanium Backup to backup all of your apps, system data and other important content. If you haven’t rooted your device previously, skip this step.
- Backup Nandroid – If CWM or TWRP installed previously, otherwise skip this step and perform this at the end of flashing.
4. Enable USB Debugging Mode on your device.
Enable USB debugging mode on your device. To do so, tap settings>developer options>USB debugging. If you can’t find developer options in settings, then tap settings > about device and tap “Build Number” for 7 times and you’ll get em’ activated under settings.
5. Install and setup Sony Flashtool.
You must have installed the Sony Flashtool. Find the full guide here.
After installing Sony Flashtool, open the Flashtool folder from the drive where you installed it. Now open Flashtool>Drivers>Flashtool-drivers.exe and install the Flashtool, Fastboot & Xperia Z2 drivers from the list. If you do not find the Flashtool drivers in Flashmode, skip this step and install Sony PC Companion instead, for drivers support. [Important]
6. Use OEM data cable to establish connection.
Make sure that you use the phone’s original data cable to establish connection between your phone and the PC. Using a different data cable might result in interrupting the firmware installation.
7. Unlock Bootloader
Use the following guide to unlock the bootloader of your Xperia device before proceeding.
Contents
Steps For Rooting Xperia Z2 D6503/D6502 23.1.A.0.726 Firmware
1. Downgrade to .167 Firmware and Root It
- If you have already updated your smartphone to Android 5.0.2 Lollipop, then you have to downgrade your device to KitKat OS and Root it.
- Use this guide to Install .167 firmware.
- Root using this guide.
- Now Install XZ Dual Recovery.
- Now phone is rooted, USB Debugging must be enabled.
- Download latest installer for Xperia Z2 from here. (Z2-lockeddualrecovery2.8.10-RELEASE.installer.zip)
- Connect phone to PC using OEM date cable and run install.bat.
- It will install the custom recovery.
- Now work here is done. Lets move on to next step.
2. Make A Pre-Rooted Flashable Firmware For .726 FTF
- Download PRF Creator and install on your system.
- Download SuperSU zip and place anywhere on PC.
- Download .726 FTF and place it anywhere on PC.
- Download Z2-lockeddualrecovery2.8.10-RELEASE.flashable.zip
- Now run PRFC and add all three required files in it.
- Then click on Create.
- Once the Flashable ROM is created, it will show the successful message.
- Do not touch any other option while creating the pre-rooted firmware.
- Now copy the pre-rooted firmware to the phone’s internal storage.
- Our work in this step is now done. Move on to next step.
Note: If you do not want to create a pre-rooted flashable zip yourself, then you can download flashable zip for your phone from one of the downlod links given below.
D6502 23.1.A.0.726 Pre-Rooted Flashable Zip | D6503 23.1.A.0.726 pre-Rooted Flashable Zip
3. Root and Install Recovery on Z2 D6502/D6503 5.0.2 Lollipop Firmware
- Custom recovery was installed in the first step.
- The pre-rooted firmware was created and copied to phone in next step.
- Now you have to turn off phone.
- Turn it on again and press volume up or down repeatedly to enter custom recovery.
- Click on install and locate the folder where you placed the flashable zip earlier.
- Tap on it and install it.
- Now reboot the phone.
- If phone is still connected to PC via USB cable, disconnect it.
- Now go back to the .726 ftf you downloaded in second step and copy it to /flashtool/fimrwares
- Open flashtool and click on lightning icon in the top left.
- Click on it and click on flashmode.
- Select the .726 firmware.
- In the right bar, in the exclude options, exclude System only while flashing. Leave every other options as it is.
- While flashtool prepares the software for flashing, turn off your phone.
- Keep the volume down button pressed and connect it to PC via USB cable.
- The button must be pressed during it.
- The phone will enter flashmode.
- Flashtool will automatically detect it and start flashing.
- After flashing phone will reboot and you will be done 🙂
- That’s all 🙂 Enjoy
- Now your phone has a dual custom recovery, root access and of course latest Android 5.0.2 Lollipop Firmware.
Got any questions? Ask me in the comments below
Can I do this with a Mac too?
Can I use my Mac instead of my PC for this?
@disqus_ZHgG5w9b3E:disqus yes you can.
THANK YOU so much ! This is the most complete, so well explained, so understandable How-to ever!
I was searching for a complete guide from A – Z… with links to alle the necessary files aso; and here I found it.No cryptic bla-bla, no secret language or geeky acronyms!
And the best thing: IT WORKS !!!
I followed the step-by-step instruction and I now have a rooted phonw with current ROM/Firmware.
Again thanks for that awesome guide!
@felsvondrago:disqus thank you for the feedback. Stay connected with us 🙂
is unlocked bootloader a must? I have rooted .167 and it didn’t need unlocked bootloader.
@arbenmyrtaj:disqus no, unlocking isn’t important for this procedure.
Pls am running on lollipop update…. 690, must I unlock bootloader before I can do the rooting/pre-rooting? And what is pre-rooting stands for? Pls reply ASAP. Thanks.
@solomonfadeyi:disqus no, you can do this without unlocking bootloader and .726 is newer then .690 firmware.
Is it compulsory to unlock the bootloader before I can get access / install d rooting packages? Am currently running on lollipop update firmwares…. 690. Pls reply ASAP. Thanks
@solomonfadeyi:disqus no its not necessary to unlock bootloader.
Please follow the procedure above carefully to get it done.
Thank you.
What of the downgrade to kitkat? Do I really need that? Reply ASAP
yea you need to downgrade to kitkat in order to root your device.
your guide is really helpful and details! But some people might not want their phone’s guarantee to be wasted by unlocking bootloader, so if you can show how to root .726 without unlocking bootloader, that’d be great! 🙂
The implication that you need to unlock bootloader for this is wrong.
This guide also works with locked bootloader. I’ve upgraded 2 versions of lollipop already using it.
hello.. may i ask where is the Advanced Stock Kernel,zip file?. Because i only found a img file.. and may i ask should i unlock the bootloader to root my phone?
my phone keep restarting after the last step even i followed the setps correctly
@obadaahmar:disqus flash the flashable.zip file properly. Also, make sure that you exclude system while flashing ftf in the last few steps.
I put the pre rooted .zip in the sd card (yes I made a mistake) and installed with it there. Will it change something? If yes, what I have to do to fix it?
@cristoferoswald:disqus if you will follow the instructions properly, nothing wrong is going to happen at all. Good Luck.
When I do it as described above I lose recovery. Everything else stays except recovery.
wow works fines now im with 5.1.1 with root
hats off thankss…..
Here is the Latest Release of it Pre-rooted with XZDualRecover Firmware for Xperia Z2 (D6503)
FW Version: 23.4.A.1.200
Release date: 25 Sep 2015
Link to Flashable File (MEGA) : https://mega.nz/#!y4RWSCDb!oIUjByL77eHz1DLHNLInDIkbcxQFo83KVLo2W9JrIro
https://uploads.disquscdn.com/images/f84208ea646905e242e7a7781cd9c942fb8563e3b08fac0c0e32981ff4a79bd2.png
I’m new to this..
And my phone haven’t rooted yet.
So i’m ready to root my phone, but unfortunately i couldn’t open NDR Utils app to “Reboot in Recovery” mode
It’s says you need root permision to access this or uninstall the app.
My question for you is how can i reboot my device in recovery mode?
I’m so confused right now..
I need some help
Thank you,
@anabellemagbanua:disqus Sony phones do not have a recovery by default. In order to be able to boot into the recovery you got to flash it first on your device. Only then you will be able to access it. Also, a new firmware for Xperia Z2 is available which is Android 5.1.1 Lollipop. I recommend flashing and rooting that instead of this.
My phone running with Lollipop 5.0.2 and i haven’t get the software update.
Therefore i’m afraid if something goes wrong then i won’t able to use it again.
I have read your steps how can i downgrade to Kitkat 4.4.4
will i able to recover it if i got messed up?
@anabellemagbanua:disqus yes you will be able to recover if something goes wrong, but you’ve to understand the method very carefully, and then use it. Best of luck.
@usamamujtaba:disqus how can i update my rooted Z2 to lollipop version my phone is running android 4.4.2. i want to update it to lollipop. but how?