Root & Recovery

How to Root Xperia Z5

Xperia Z5 is a very good phone and today we will be looking into the Rooting procedure of Sony Xperia Z5. Just follow the detailed Guide we have and you will be able to successfully Root Xperia Z5.

Problem is we don’t have a fully compatible Xperia Z5 TWRP recovery yet. The one we have from AndroPlus is partly broken, but thanks to nilezon, we now know that with the help of ADB even that broken TWRP recovery is sufficient to install SuperSU on Xperia Z5 and get root.

Also, just flashing SuperSU via TWRP won’t do enough to get your Z5 rooted. You’ll need a custom kernel as well, thankfully, Tommy-Geenexus Zombie kernel would suffice for that.

Note: As we said before, this isn’t a pretty way to root your Xperia Z5. If you can wait for a few days/weeks more, then you probably shouldn’t go through this process. But if you’re like someone, you shouldn’t even be reading this silly notice.

without further ado Let’s get started…


You can Download Xperia Z5 modified stock kernel from here.

 Download Xperia Z5 TWRP recovery (partly broken).

 Download SuperSU.

How to Root Xperia Z5

  1. First, of all, you have to make sure you have the bootloader unlocked on your Xperia Z5.
  2. Setup ADB and Fastboot on your PC, follow this link.
  3. Enable USB debugging on your device:
    1. Open Settings » go to About phone and tap seven times on Build number, this will enable Developer options.
    2. Now go back to Settings and you’ll see “Developer options” there, open it.
    3. Tick the USB Debugging checkbox.
  4. Open the folder where you saved the modified stock kernel (z5_stock_fixed.img), TWRP (recovery.img) and SuperSU zip file on your PC.
  5. Then open a command window inside that folder. To do that, “Shift + Right click” on any empty white space inside the folder and then select “Open command window here” from the context menu.
  6. Connect your device to the Computer And type the following into the command window we opened in step 5 above to boot your device into bootloader/fastboot mode:
    adb reboot bootloader

    └ If your device asks for permission to “Allow USB debugging”, tap OK.

  7. As soon as your Xperia Z5 is in bootloader/fastboot mode, issue the following command to flash modified stock kernel:
    fastboot flash boot z5_stock_fixed.img
  8. Now boot your Xperia Z5 with the partly broken twrp recovery.img file using the following command:
    fastboot boot recovery.img

    └ This will boot your Z5 into TWRP recovery but you may not see it on screen since it’s broken. This is okay.

  9. When you are in recovery, use ADB to first mount system and userdata partitions with following commands:
    adb shell mount
    adb shell cat /proc/partitions
    adb shell mount /dev/block/platform/soc.0/by-name/system /system
    adb shell mount /dev/block/platform/soc.0/by-name/userdata /data

    └ In case the above commands give you the error (below), just wait for a while and try again.

    mount: mounting /dev/block/platform/soc.0/by-name/system on /system failed: No such file or directory
  10. Once you have the system and userdata partitions mounted, issue the following commands to push SuperSU zip to your Z5 and install it:
    adb push /data/media/0/
    adb shell twrp install /data/media/0/
    adb shell rm /data/media/0/
  11. Reboot your Z5 with the command below:
    adb reboot

That’s all. You should have root access on your Xperia Z5 now. To verify, download any root checker from the Play Store.

Huge thanks to nilezon for the “Dirty ROOT solution” for Z5. Happy Androiding!

About the author

Huda Zaidi

Leave a Reply