Rooting your Sony Xperia Z running Android 5.1.1 is super easy as long as a custom recovery is up and running on your phone. The root method described below takes help of the custom recovery to flash SuperSU, which in turn uses an exploit to gain root access on the phone. And tada, your Xperia Z is rooted!
Here’s how you can go about doing that:
Files You Need
- You must have a custom recovery installed on your phone before doing this tutorial. If you have not installed a custom recovery on your phone yet, do so now using our how to install a custom recovery on the Sony Xperia Z running Android 5.1.1 tutorial. Once that is done, come back here and continue.
- This should flash SuperSU on your phone to achieve access to the root.
- Download SuperSU to your computer. It will then be transferred to your phone for it to be installed.
Rooting the Sony Xperia Z running Android 5.1.1
- Make sure you have not extracted the SuperSU archive. It must be in .zip format for it to be flashed through a recovery on your phone.
- Connect your Xperia Z to your computer using a compatible USB cable. Ensure that your phone can receive files from your computer.
- Copy SuperSU .zip from your computer over to the internal SD card storage on your phone. Place it on the top so it can be easily found at a later time.
- When SuperSU is copied, unplug your phone from your computer.
- Turn off your phone.
- Turn your phone back on in the TWRP Recovery mode. To do that, you need to hold down Volume DOWN and Power buttons at the same time on your phone.
- It should get your phone into the custom recovery mode.
- Once in the recovery mode, select the option that says Install. What this option does is let you install a custom file on your phone.
- You should now be prompted to choose a file to be installed on your phone. Navigate to the internal SD card storage, select the SuperSU .zip file, and proceed with the installation process.
- Confirm the installation prompt by tapping Swipe to Confirm Flash.
- Wait for TWRP to install SuperSU on your phone. It should not take too long as you are only flashing a small zip file and not an entire firmware on your phone.
- When TWRP is done flashing SuperSU, reboot your phone. You can reboot your phone directly from the recovery menu by selecting the option that says Reboot followed by System.
- Your phone should now reboot.
- You should now be rooted!
Hurray! Your Sony Xperia Z running Android 5.1.1 is now rooted, all thanks to TWRP and SuperSU for making it super easy.
Now that root access has been achieved on your phone and you also have a custom recovery, it is time that you go ahead and get the most out of your phone by running root-requiring apps on it, flashing a custom ROM, giving a try to a custom kernel, and doing literally everything that comes in your mind. However, be careful while doing so as overdoing things may cause trouble to your phone.
Have fun and play safe with your rooted and custom recovery equipped Sony Xperia Z!