How to Install TWRP and Root Xperia Z5

Root It For Me.

Root Xperia Z5

The latest Xperia Z series smartphone from Sony is a high-end flagship killer. If you have got one for yourself and want to extend the boundaries of performance and customization, you might want to root it. So today, we are going to guide you through the easy process to, Install TWRP and finally Root Xperia Z5.

Root on the Xperia Z5 could be attained using Chainfire’s SuperSU, but requires an insecure boot.img (kernel), which in this case would be AndroPlus kernel. But flashing anything would first require TWRP installed on your Z5, so we will head there first.

Before you begin with rooting, you will require to unlock the Xperia Z5 bootloader in order to flash files via fastboot. To do that, you can follow the tutorial linked below.

How to Unlock Bootloader on Xperia Devices

Now when you have unlocked the bootloader successfully, you can read ahead and root Xperia Z5, pretty easily.


Rooting the Xperia Z5 is considered risky and may leave your device exposed to malware, if done wrong. Each and every step in this guide is essential in order to root Xperia Z5, so do not miss anything. DroidOrigin shall not be held liable for any such damage to phone. However, we will definitely help you out if any such situation arises.



 Flash Insecure Kernel

  1. First off, download
  2. Extract the downloaded file using WinRAR or 7ZIP. You will now have the boot.img file, which basically is the kernel itself.
  3. Open the folder where the ‘boot.img‘ has been extracted. Press SHIFT key and right-click on an empty space inside this folder. Select Open command window here from the pop-up menu that appears.
  4. Now, boot into fastboot mode – Power off your Z5 completely. While pressing and holding the Volume Up button, connect the USB cable to the device. Now when the blue LED lights up, release the volume key, and your Z5 should now be in fastboot mode.
  5. When your phone has entered fastboot mode, enter the following command to confirm that the device is ready for fastboot access.
    fastboot devices

    The command should return a device ID. In case it doesn’t, re-install Android SDK and reboot your machine.

  6. Time to flash the kernel. Use the following command:
    fastboot flash boot boot.img
  7. It will be done in a few seconds. You can reboot back your device using the following command:
    fastboot reboot

It is necessary to boot the phone once after performing this process, in order to verify that everything is in its place and working. In case you get a bootloop, try flashing the kernel again.

Install TWRP Recovery

TWRP for the Z5 is unofficially available via XDA-Member AndroPlus, and could be installed using a simple fastboot command. We will then use TWRP to further proceed with the guide.

  1. Download TWRP v3.0.0-0: twrp-3.0.2-0-E6653-20160504.img
  2. Boot your phone into fastboot mode – Power off your Z5 completely. Connect the USB cable to the phone, while pressing and holding the Volume Up button. When the blue LED lights up, release the key, and your Z5 should now be in fastboot mode.
  3. Make sure that your phone is still connected to the PC.
  4. Open the folder where the ‘twrp-3.0.2-0-E6653-20160504.img‘ file has been downloaded. Press SHIFT key and right-click on an empty space inside the same folder, and then select ‘Open command window here‘ from the menu that appears.
  5. A command-line window will open. Flash the TWRP recovery using the following command:
    fastboot flash recovery twrp-3.0.2-0-E6653-20160504.img
  6. When it is done, you can disconnect your phone.

After the first boot, it is advised to reboot the device to recovery mode in order to mount the partitions properly.

Root Xperia Z5

  1. The most easiest part of the guide is to root. Download the latest SuperSU flash-able zip, and transfer it to your Z5’s internal storage.
  2. Make sure your your device is connected to the PC. Now enter the following command to reboot into recovery mode:
    adb reboot recovery
  3. While you are in the TWRP recovery, go to ‘Install’. Navigate your phone’s storage and select ‘‘. Now, swipe the ‘Swipe to confirm Flash‘ button.
    Flashing SuperSU 2.76 using TWRP
  4. When the flashing process is complete, tap on ‘Reboot System‘.

Your Xperia is now rooted, running AndroPlus kernel. You can now tweak the kernel using Kernel Adiutor, or install apps that require root, its your call.

Kernel Adiutor (ROOT)
Kernel Adiutor (ROOT)
Developer: Willi Ye
Price: Free

If you have queries related to the process, drop a comment below. Also do let us know how rooting has helped you customize your Z5.

Also read:

  • DC

    no matter how many times i flash the kernel i keep getting stuck in bootloop. I have sdk, and appropriate drivers installed. I’m using a xperia Z5 E6653.

    thank you in advance for taking time for this.


    • Hello DC, we have updated the TWRP recovery and kernel links yesterday. Are you sure that you are using the latest one?

      • DC

        yes i used the latest kernel version, i even tried some different kernels but none works for me.. i dont know why tho

        • Just to be sure. Your device is bootloader unlocked, right? And also, you are flashing the boot.img extracted from the downloaded zip?

  • NY

    Thank you so much! I was searching now for a while and it finaly worked!

  • Elias Rocha

    ola nao consigo mais acessar a rede do sim e nem o cartao de memoria nao funciona o que fazer????

  • Elias Rocha

    funciona no z5 e6633????

  • Nadine Cruz

    This is the clearest instructions I’ve found. It worked perfectly. God bless you

    • Thank you Nadine. We hope to bring you more for your Z5. I have any other questions, let us know.

  • amin tahertalari

    Hi. pls help me. when i type the command and press Enter, it says that the comand not allowed

    • Hello Amin, did you enable USB debugging in Settings > Developer options? The problem is common with Xperia users and is majorly caused if USB debugging is not enabled or if the drivers are not correctly detecting the device.