Xperia Z2 is now being updated t0 the latest Android 5.0.2 Lollipop update. The new build number is 23.1.A.1.28. If you have updated your device and you happen to be an Android power user, you must be missing the root access on your device. Updating to the latest firmware wipes off the root access. If you’re eager to root your device once again now, you may calm down as you have already spotted the right place. We are going to root and install CWM + TWRP recovery our beloved Xperia Z2 D6503 & D6502 on Android 5.0.2 Lollipop 23.1.A.1.28 firmware keeping the bootloader locked/unlocked. The method is a little bit longer, all you need to do is, you need to follow the guide being very careful and it will go successful.
1. This is only for Sony Xperia Z2 D6503, 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.
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 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 (Optional)
Use the following guide to unlock the bootloader of your Xperia device before proceeding.
Disclaimer: The methods involved in flashing custom recoveries, roms and rooting your phone are highly custom and may result in bricking your device, and has nothing to do with Google or the device manufacturer that is SONY in our case. Also rooting your device will void its warranty and you will be no longer eligible for any kind of free device services by the manufacturers/warranty providers. In case of any mishap we may not be held responsible. Follow these instructions to the letter to avoid any mishap or bricking. Make sure that whatever you do, you are doing it at your own responsibility.
Contents
Steps For Rooting Xperia Z2 D6503, D6502 23.1.A.1.28 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 .28 FTF
- Download PRF Creator and install on your system.
- Download SuperSU zip and place anywhere on PC.
- Download .28 FTF and place it anywhere on PC. [For D6502 | For D6503]
- 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.
3. Root and Install Recovery on Z2 D6503/D6502 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 .28 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 .28 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
I’m a n00b, so I’m sorry if this question is foolish. You say that unlocking Bootloader is optional, but in your rooting guide of .167 you say it’s mandatory. If I unlock it to root .167 will it stay so after upgrading to .28 or will it reset to locked?
Thank you
@dart779:disqus once you unlock it, it will stay unlocked unless you lock it by yourself.
Ok, so it’s not optional for rooting, but reversible. Thank you.
Other way to do it without unlocking bootloader?
@oppugno:disqus if you have rooted previous version of Android without unlocking bootloader, you can install dual recovery and flash pre-rooted .128 firmware
Sir Im using sony Xperia z2 and i have upgraded my phon to Android lollipop 5.2 15 days ago and
my build number is 23.1.A.1.28.
Sir i really want to root my phone so please please please sir tell me how will be root myphone please tell me the full process.
I’ll really thankful to you for this
@azamkhan444:disqus the process is explained above.
This process is too long because i have already uploaded my phone to lollipop 5.2
Sir, is there any other method for this