Sony released Android 5.0.2 Lollipop update for Xperia Z3 Compact few days ago with the build number 23.1.A.0.726. In this post, we are discussing the D5803 variant of Xperia Z3 Compact only. If you have any other variant, then you should not be reading this guide because this build number is available for D5803 only at the time of writing. So the rooting method and recovery installation method is for this model number only.
In this guide, you will go through the steps to root Xperia Z3 Compact D5803 variant on 23.1.A.0.726 Andorid 5.0.2 Lollipop Firmware. It is repeated many times in this post so that users do not make any mistakes while using this guide. If users try to flash file of one variant on another variant, then it can damage the device. The recovery that will be installed in this guide will be Dual Recovery by NUT who is a recognized XDA Developer and a leading developer for large number of Xperia devices. SuperSU will be flashed as the SuperUser application. The rest of the required tasks and the installation steps are explained below.
1. This is only for Sony Xperia Z3 Compact D5803
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 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 Z3 Compact 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 Z3 Compact D5803 .726 Firmware
1. Downgrade to .77/.93 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 Flashtool Guide to Install 23.0.A.2.93 firmware.
- Root using this guide.
- Now Install XZ Dual Recovery.
- Now phone is rooted, USB Debugging must be enabled.
- Download latest installer for Xperia Z3 Compact from here. (Z3-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 Z3-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 your own pre-rooted firmware and skip all these steps then you can download the pre-rooted flashable zip from the link given below.
D5803 23.1.A.0.726 Pre-Rooted Flashable Zip
3. Root and Install Recovery on Z3 Compact D5803 .726 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. It means that tick System only there. 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
Will this work with Build number: 23.1.A.1.28
@andy_ely:disqus here you go; https://techbeasts.com/2015/05/06/cwm-twrp-root-xperia-z3-compact-android-lollipop-231a128-firmware/
Thanks man
Do you lose the DRM keys with this method?
@disqus_eUwDogvZMd:disqus if you unlock bootloader, you will loose DRM keys, if you root without unlocking, you won’t loose DRM keys.