This TWRP flash and Root tutorial is only for Sony Xperia Z5 devices running Lollipop or Marshmallow.
Compatible Xperia Z5 models are listed below:
Before you start, please check if your Note 5 is supported by going to Settings/About Phone.
• Xperia Z5 bootloader must be unlocked. This tutorial shows how to do it.
• Device should have at least 60% charge left on the battery.
• USB Debugging and OEM unlock must be enabled. Go to Settings/About/Software Information/More and keep tapping on Build number until you see that Developer options was enabled. Then go to Settings/Developer Options and check both, USB Debugging and OEM unlock.
• Skip driver installation if you have completed our bootloader unlock tutorial and/or if you have PC Companion installed on PC. If not, then go ahead and install adb drivers. It’s recommended to restart your PC after installation is complete.
- Connect Xperia Z5 to PC via USB cable.
- Using PC download:
twrp-3.0.2-0-E6653-20160417.img recovery file.
Android_711.img kernel file and extract it, so you’ll get z5_stock_fixed.img file.
BETA-SuperSU-v2.52.zip file, just do not extract this one.
- Place all files in ADB and Fastboot drivers folder.
- On PC open cmd window: holding shift key, right click on empty space in ADB and Fastboot drivers folder and choose Open command window here.
- On cmd window type fastboot devices then press enter.
- You should get a serial number approving that device is properly connected into fastboot mode. If not, try to connect cable to another PC USB port or reinstall the drivers.
- Now boot Xperia Z5 into fastboot mode by typing:
adb reboot bootloader
If your device asks for permission to Allow USB debugging, tap OK.
- When device boots up into fastboot mode, flash kernel using the following command:
fastboot flash boot_E6603_Android_711.img
- Now boot your Xperia Z5 with the recovery.img file using the following command:
fastboot boot recovery.img
Phone will boot into TWRP recovery but you may see it on a black screen, it’s ok.
- Next, mount system and userdata partitions by typing:
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 ends with the following error given below, just wait for couple of minutes and try again.
mount: mounting /dev/block/platform/soc.0/by-name/system on /system failed: No such file or directory
- Once you have the system and userdata partitions mounted,type the following commands to push SuperSU.zip to Xperia Z5 and install it:
adb push BETA-SuperSU-v2.52.zip /data/media/0/ adb shell twrp install /data/media/0/BETA-SuperSU-v2.52.zip adb shell rm /data/media/0/BETA-SuperSU-v2.52.zip
- After it’s done, reboot device by typing: