Sony Xperia Z5 is the Fifth generation in Sony Z series released into the market with features like 5.2 inches display, Qualcomm snapdragon 820 SoC processor, 23 mega pixels camera and 5 Mega pixels front facing camera, 3 Gigs of RAM, 32 GB Internal memory and many other features.
This device comes with its bootloader locked and it is not even Rooted which does not give you access to many custom features. However no phone has Root access we need to manually do it at our own risk.
Rooting the device gives you access to installing custom recovery, flashing custom ROMs, flashing Gapps, and many other custom features.
To Root Sony Xperia Z5 you need to follow the below mentioned steps .
Preparing your phone:
- A working USB cable.
- USB drivers and ADB & Fastboot drivers for Xperia Z5 Premium.
- Phone should be fully charged.
- Enable OEM unlock from developer options.
- USB debugging mode should be enabled on the device. Go to Settings > Developer options > USB debugging mode.
Procedure to Root Sony Xperia Z5 phone:
- Make sure you have bootloader unlocked on your Xperia Z5.
- Install ADB and Fastboot on your computer, from this link .
- Open the folder where you saved the modified stock kernel (z5_stock_fixed.img), TWRP (recovery.img) and SuperSU zip file on your PC.
- Now 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.
- Connect your device to the PC.
- Type the following commands in command window to boot your device into bootloader/fastboot mode:
adb reboot bootloader
- To flash modified stock kernel:
fastboot flash boot z5_stock_fixed.img
- To boot your Xperia Z5 into recovery mode type the following command:
fastboot boot recovery.img
- In recovery, use ADB to 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
ERROR mount: mounting /dev/block/platform/soc.0/by-name/system on /system failed: No such file or directory
- Now to install SuperSU.zip file give the following commands.
adb push UPDATE-SuperSU-v2.46.zip /data/media/0/ adb shell twrp install /data/media/0/UPDATE-SuperSU-v2.46.zip adb shell rm /data/media/0/UPDATE-SuperSU-v2.46.zip
- To reboot the device.
That’s all. You should have root access on your Xperia Z5 now. To verify, download root checker app from the Play Store.