The Sony Xperia Z2 has been out for a long time now, but there’s a new software version in town — Android 5.0.2 Lollipop — that didn’t have a root method available until of late.

Now we have a new bunch of goodies to flash on your device that will open your internal hardware with root access without having to downgrade to KitKat for once. Here’s how it’s done.

What Is Rooting the Android Operating System?

When you buy a new smartphone, you might not know it, but the Android operating system is in a “locked” state. For the most part, it will not make much difference to you: most apps are still available to use, and there are benefits to this locked state such as better security. When you root the Android operating system, you are gaining full administrative rights over the OS.

Why Would You Want to Root Android?

Gaining full administrative rights over the operating system has some perks to some people. For example, out of the millions of applications available on Google Play, some of them will not be able to run on your device unless it has root access. Until you have a specific need for wanting Android rooted, you probably want to leave Android as it comes out of the box. But if you need to unlock an app, then that is when you want to look into rooting methods. Using more apps is only one example of why you may want root access, here is the full list of benefits:

  • Unlock more applications. Some of the apps available for Android cannot run unless you have root access. This is because the app’s features cannot run without the root permissions because the features require the full system access before they can be useful.
  • Better battery life. Smartphones are great, but they have one caveat, which is each time you recharge the battery, it loses some of its overall lifespan. That means smartphones, in general, do not make great investments, and if your weekly paycheck is low, you will want to limit the number of smartphones you go through. One of the ways you can do that is by removing bloatware and creating a better battery life.
  • Bolster performance. If you are the budget-conscious shopper, you may want to increase the device’s performance. This can be done by removing the bloatware as well. The more processes you have running, the more memory that is used. By removing some of the apps, it can help lighten the load on your hardware.
  • Customize Android with themes. With root access, you can download and install any theme that’s at your disposal. That includes any customized theme you can find.

What Are the Risks of Rooting?

If you are buying a smartphone that is not running iOS, then it is probably the Android operating system that you want running as the ideal software to pair with your shiny new hardware. It is, in fact, the Android OS that offers you the chance to customize the OS considerably more than iOS: custom themes, run any app you know about, the works. For many users, the “openness” of an operating system is important, because it offers them more freedom which means running into fewer problems with their investments. But there is a reason iOS likes a far more locked approach: the ability to customize is not for everyone, and if you do not know what you are doing it can lead to a lot of problems which can define your time with the OS rather than freedom.

With power (full admin permissions) comes greater responsibility. Here are some of the main risk factors when it comes to rooting:

  • Malware becomes a larger threat. You might read the occasional news article about how new malware is wreaking havoc in parts of the world on Android. But the Android operating system with root access becomes considerably more vulnerable to exploits because applications are no longer prisoned off in their own sandbox environments. This means if you accidentally download malware, it can do more damage because it can spread throughout the operating system and even jump into other applications and potentially view sensitive data.
  • You can accidentally brick the smartphone. There is always a chance that you end up bricking the smartphone before you had the opportunity to use it with root access. That is because if you are going to brick it, it is going to happen during the rooting process.
  • You may void the warranty. Most manufacturers do not allow you to root the Android operating system and still get to bring it in for repairs under warranty. Whether they are legally meant to do that or not is another question, but it is now common knowledge that most do not want to help you if they find out you have unlocked the OS with root access.

Requirements

  • Only use this guide on the Sony Xperia Z2.
  • The method we have is made specifically for the Z2 running Android 5.0.2. Check your software version from the About Device menu.
  • You are voiding the warranty by following the guide.

Before We Begin

  • Download the Sony USB Drivers on your computer, so you have no worries making the connection during the guide.
  • Enable USB Debugging Mode: Settings > Developer Options > USB Debugging.
  • Enable Unknown Sources: Settings > Security > install applications from Unknown Sources.

How to Root Sony Xperia Z2 on 5.0.2 (Lollipop)

1. Download the rooting tool required from here.

2. Extract the XperiaRoot package to the desktop of your computer.

3. You should find the BusyBox, SuperSU and the Root package inside.

4. Install the Root.apk file on the Xperia Z2.

5. Tap the “root” button and wist for it to finish rooting your device.

6. Install the BusyBox APK file the same way you did the root APK.

7. Transfer the SuperSU to the internal SD card.

8. Open the Recovery app and tap the “Install recovery” for the custom recovery to install on your device.

9. Completely power off your device.

10. Boot it up in the recovery mode by pressing and holding the Power until the LED light flashes and then press the Volume Up or Volume Down button several times.

11. In recovery mode, choose the “Install’ option from the recovery menu and upload the SuperSU from the internal SD card.

12. Go back to the main recovery menu and select the “reboot system” option to boot back to normal mode and use your device.

That’s all you need. Now you are ready to flash a custom ROM from a root application or enjoy hundreds of other opportunities to do more with the Android operating system.