Good news Sony Xperia Z2 owners, developers have managed to fully root the handset even if you have a locked bootloader. Credit goes to various devs over at XDA including DooMLoRD, norti and xsacha. Local root was achieved a few days ago, allowing users to back up their TA partition to retain DRM keys when unlocking the bootloader. However, the Xperia Z2 now has full root.
The exploit used to root the Xperia Z2 was patched in the latest Xperia Z2 firmware build (17.1.1.A.0.402), so it will only work with older firmware with build numbers 17.1.A.2.55 and 17.1.A.2.69. Support for rooting the Xperia Z2 Tablet is also expected very soon.
We have written a guide below detailing the rooting process. It will work on handsets with both locked and unlocked bootloaders. Once you apply the script, your Xperia Z2 will be rooted, a backup of your TA partition will be created and Busybox and SuperSU will be installed too. The TA partition backup is crucial to those who want to unlock their bootloader and retain their DRM keys.
Tutorial to Root an Xperia Z2 with locked bootloader
– You must be running 17.1.A.2.55 or 17.1.A.2.69 firmware.
– All necessary drivers need to be installed on your PC (including ADB drivers).
1) Download the Xperia Z2 Rooting Toolkit
Download the ‘Xperia Z2 Rooting Toolkit’ from here. Extract the ZIP file using Winzip/Winrar to a folder on your PC.
2) Switch on USB debugging and Unknown sources on your handset
Switch on the debugging option on your Xperia. Go to Settings > Developer options > Tick ‘USB debugging’
Also tick ‘Unknown sources’ under Settings > Security.
3) Connect phone to PC
Switch your phone on and connect it to your PC/laptop via USB.
4) Run the Toolkit
Now double click the ‘runme.bat’ file from the extracted files from step 1.
You will see the following screen appear talking about “Installing exploit app“. You don’t need to do anything at this stage, just let the program run.
You will then see that the script is copying a BIG file, once again let the script do its work.
5) Crash the Service Menu app
Once you see the following screen, you need to crash the Service Menu on your Xperia Z2. When you access your phone, you should notice that the script has opened your Service Menu. Click on Service Info > Configuration and you will notice that the screen will blink and then you will be thrown back into the Service Menu. Click any key on your PC/laptop to continue.
If successful, you will then see the following screen. Once again, the process is the same as above. Crash the Service Menu and then press any key on your PC to continue.
If successful, you will very briefly see the following screen referring to “Removing exploit app” which will then disappear.
6) Disconnect and reboot your Xperia Z2
Disconnect the USB cable from your Xperia Z2 and reboot the handset once the script window disappears.
7) Your Xperia Z2 handset is now rooted
Congratulations your phone is now rooted.