We use cookies on our websites. Information about cookies and how you can object to the use of cookies at any time or end their use can be found in our privacy policy.

13 min read 30 comments

How to root Android: the complete guide

Rooting is a national pastime in Android land. It brings people together, challenging but rewarding those who partake. If you're yet to be taught how to root on Android, sit back while we explain the pros and cons of rooting an Android device, how to root Android for each smartphone manufacturer and how to tell whether your phone is rooted.

Jump to section:

AndroidPIT how to root 1
Gaining root access is easier on some devices than others. / © AndroidPIT

What is root?

The term "root" comes from the Linux world. The root operation in Android is much the same as it is there: it gets you full access to the entire file system, making you a "superuser". This allows you to make profound adjustments and changes to the software.

But for novice users, it also poses a risk, because very important system files can be just as easily deleted as less important files. This is one of the main reasons why Android smartphones are not rooted by default: to avoid innocent but catastrophic mistakes.

Root access is often gained by using a script that you install in Android's download mode, which automatically executes itself, granting root access in the process. This script often uses a vulnerability in the operating system kernel by performing a so-called "privilege escalation".

AndroidPIT SuperSU free app how to root
SuperSU is one of the best apps for managing root access on Android. / © AndroidPIT

As we said above, root privileges turn you from a regular user into a superuser with access to the full Android system. The simplest way to extend superuser permissions to apps is with a tool called SuperSU.

You can do this on a case-by-case basis, for specific situations, or on a more permanent basis, to allow an app to help you take complete control over your Android. You can withdraw superuser permissions at any time, too.

If you find any of the terminology confusing, we've outlined the most important terms in root and custom ROMs in the article at the link.

pac rom
Once you're rooted, you can flash a custom ROM on your Android. / © AndroidPIT

Will I lose my warranty if I root my Android?

Generally speaking, rooting your Android will void your warranty, but it's not always so clear cut. Some devices, such as those in the Nexus line from Google, are pretty much designed to be rooted and modified by Android developers in order to advance the platform. You can't expect the same leniency from all OEMs. 

androidpit nexus 4 nexus 5 nexus 6
Some phones were designed to be unlocked and rooted easily. / © AndroidPIT

Manufacturer positions vs carrier positions

HTC is the only manufacturer we contacted that was accommodating when it comes to rooted phones. HTC famously decided to provide all HTC devices with an unlockable bootloader that would not affect the warranty. 

Unfortunately, networks including AT&T and Verizon refuse to honor HTC's pledge by generally not stocking retail devices with bootloaders capable of being unlocked, preferring instead to offer Developer Edition devices that can only be bought outright, off-contract and unsubsidized.

HTC has a list of HTC devices with unlockable bootloaders but notes that any future repairs you require might not be covered under warranty.

AndroidPIT htc one M8 Screen root
HTC is the only manufacturer to wholeheartedly support system modifications. / © AndroidPIT

So unlocking your bootloader or rooting your phone will not necessarily void your warranty, but, as HTC told us: “If a defect is proven to be attributable to a changed software environment with regards to root, then the warranty claim will be void.”

LG recently enabled unlocking the bootloader on three devices. However, rooting an LG phone immediately voids the warranty.

Sony is less hard-line: “We look at these cases individually. If a modification [like root] is detected in the workshop that is not related to the defect being claimed, we tend to side with the customer.”

Samsung was less accommodating in its response: “Since rooting modifies the device in ways that aren't allowed, Samsung won't grant any guarantees in these cases. As for the warranty agreement between the customer and the retailer, legal regulations apply, independently of Samsung's guarantee regulations.”

AndroidPIT samsung galaxy s6 edge download mode
Samsung devices conveniently have a download mode for installing new firmware, even if the company doesn't exactly support using it. / © AndroidPIT

Is rooting Android legal?

That depends entirely on where you live. In the US, the modification of digital things like the software of mobile devices is covered by the Digital Millennium Copyright Act (DMCA). Critically, some exemptions to that law exist courtesy of the US Copyright Office and they include things like rooting.

So, while rooting in the US is technically illegal under the DMCA, one such exemption to the DMCA makes rooting Android devices legal “at least through 2015”. While this was a big win for fans of digital freedom back in 2012, the legalities of the act are still to be completely ironed out even now, in 2016.

For those in Europe, the case is much clearer: the Free Software Foundation Europe (FSFE) has worked intensively around the root issue and, after a detailed examination, came to the conclusion that rooting a device and installing unofficial software does not impact your rights to a hardware warranty.

AndroidPIT roaming travelling 1
The legality of rooting Android depends on where you live. / © AndroidPIT

According to EU Directive 1999/44/CE, even when rooting and installing custom ROMs, the owner of an Android device can make claims under warranty for up to two years after purchase. This ruling, however, only applies to claims made regarding the hardware of the device, and if a retailer or manufacturer can prove that the software modification caused the defect then you may find yourself out of luck.

The good news for those in Europe is that the burden of proof lies on the retailer or manufacturer to prove that it was a custom ROM or the root process itself that caused the problem.

In the US, things are much less well defined and basically come down to a mishmash of manufacturer, carrier and retailer positions. The simple answer is that you shouldn't root unless you're happy to void your warranty.

AndroidPIT samsung galaxy s5 root
How do you know what has been done to an Android device you just bought second hand? / © AndroidPIT

How do I know if my device is rooted?

If you've bought a second-hand Android device and want to know if it was previously rooted or modified, the simplest way is to check for root with a simple, free-to-install Android app. Fortunately, there are a couple of great apps for checking root access.

Jared Rummler from JRummy Apps is responsible for Root Check, a great app that not only tells you if your device is currently rooted or not, but also provides a nice glossary of terms and links to other good root apps by JRummy.

AndroidPIT root check app how to root
JRummy's Root Check app is a great tool for managing root access and apps. / © AndroidPIT

Root Checker, from the developer Joey Krim, is the most popular root-check app. Root Checker does pretty much the same stuff as Root Check, but some features are reserved for the pro version. The free version still provides you with an explanation of things surrounding root and links to other root apps.

AndroidPIT root checker app how to root
Joey Krim's Root Checker is the go-to root-checker app for Android. / © AndroidPIT

Benefits of rooting Android

There are myriad reasons to root: access to the best root apps on Android, the power to uninstall pre-loaded bloatware apps and the world of custom ROMs are the most common reasons. Backups are also easier with root access. With root, you will be able to grant a backup app like Titanium Backup root-level permissions and make complete backups of your system periodically, so no matter what happens to your phone, you'll always have an up-to-date backup waiting to be restored.

AndroidPIT best android root apps
There are some incredibly powerful Android root apps available. / © AndroidPIT

Root access also allows you to change the tiniest details in the Android system. Sure, you can flash a full-blown custom ROM for a complete makeover, but you can also make minor tweaks with Xposed Framework. Maybe you just want to flash a new boot animation, tweak some audio settings, or overclock your CPU a touch. All of this is possible with root.

With root access, you can also get better battery life out of your Android, by undervolting your CPU or using automatic app hibernation with apps such as Greenify. As mentioned above, removing pre-installed apps also lessens the demands on system resources, improving battery life further.

Ad blockers and full system automation with Tasker are two further reasons to root Android, but your reasons to root will be about as personal as the things you can do once you have root. Maybe you want to change everything, maybe just one thing. No matter how deep you want to go, rooting will get you there.

AndroidPIT tasker app how to root
Apps like Tasker can automate every corner of your Android life. With root, that is. / © AndroidPIT

Why you shouldn't root Android

There are a few reasons: that it will likely void your warranty, it can be complicated and dangerous, and that in many cases you'll no longer get automatic over-the-air (OTA) updates.

Once you're rooted, it is also much easier for a malicious app to take advantage of the permission level root grants. Allowing an app root access should be handled with much more care than blindly hitting Accept in the Google Play Store when the permissions list pops up. This is a responsibility you should take very seriously.

AndroidPIT greenify app how to root
Root users need to pay particular attention to which apps they grant superuser permissions to. / © AndroidPIT

If you're capable of rooting your phone, you're more than likely capable of updating your system software manually, too, but it is still inconvenient having to do this.

There are also more potential complications when updating a rooted Android device than when updating a non-rooted one. Again, these are perfectly workable, but are potentially more annoying than root is worth to the average person.

We've written about some of the other reasons you shouldn't root your Android if you're interested to know more of the disadvantages of rooting.

AndroidPIT how to root system update
With root, you'll get OTA notifications, but have to flash updates manually. / © AndroidPIT

How do I root my smartphone?

Because the process used to root individual devices varies so greatly and changes so quickly, there's little point in providing dedicated links to tutorials on AndroidPIT. The simplest thing to do is hit the search button and look for a current guide. But read on for some general rules.

How to root Samsung devices

Because Samsung devices are supported by the excellent Odin software tool, rooting Samsung devices is generally very simple. All you need to do is download the Odin program on your computer and flash the latest Auto-Root tool from the developer Chainfire.

Other root methods for Galaxy devices frequently come up and occasionally CF-Auto-Root takes a while to appear for a new Galaxy device, but it's generally one of the better and more reliable methods if you're at all unsure about the process. 

Find out how to root the Samsung Galaxy S7 and S7 Edge at the link.

It should be reiterated here that Samsung includes a flash counter on its devices. This means that if you root your Galaxy device and flash anything on it and then have to return it for repair, Samsung might refuse your claim due to modifications being made that are not covered under warranty.

root s5
It's easy to root a Samsung Galaxy phone with Odin and CF-Auto-Root. / © AndroidPIT

How to root LG devices

LG devices don't need a third-party program like Odin to root. All you need is a computer and some ADB commands with which to run a script or you can use a tool called One Click Root, if you're a little scared of the whole ADB thing.

LG notably provided official instructions for unlocking the LG G4 bootloader back in the middle of 2015 but with the caveat that you'll be voiding your warranty if you do so. 

How to root Sony devices

Depending on which kind of Sony phone you have – one with an unlockable bootloader or not – the root process will be slightly different for you. If your bootloader is officially unlockable it's much easier to get a custom recovery on your Xperia and then make further modifications by flashing zip and image files.

You simply need to check Sony's list of Xperia devices with an unlockable bootloader and, if your device is on the list, find a custom recovery for it. We'd recommend TWRP, which has a convenient supported devices page to make the search that much easier. From here, all you need to do is grab a SuperSU exploit and flash it through recovery.

AndroidPIT how to root 2
This is TWRP recovery on the Nexus 5X. / © AndroidPIT

How to root Nexus devices

Google is in the business of helping developers and enthusiasts do what they want, so you don't have to request an unlock code or anything like that for a Nexus bootloader. Simply enable OEM unlocking in the Developer settings (if it appears on your particular device), connect to a computer via a USB cable, enter Fastboot mode and apply a simple Fastboot or ADB command (depending on which Nexus you have).

We have a guide on how to root the Nexus 5, and the process remains essentially the same on any Nexus, albeit with different factory images and versions of TWRP.

How to root other Android devices

There are plenty of other ways to unlock your bootloader and root other Android phones. Motorola has an official support page to guide you through the bootloader unlock process and a quick search in Google or XDA Developers will provide the very latest root method for your particular device.

As mentioned above, HTC officially supports unlocking the bootloader and provides information for doing so on its website. Unfortunately, rooting HTC devices can be a tricky business, with a bricked phone one possible outcome if things go wrong. Again, we advise you to trawl through the XDA Developers root directory for the latest surefire root methods. 

androidpit android phones confused
To root or not to root? That is the question only you can answer. / © AndroidPIT

Conclusion: should I root or not?

As you can probably tell by this point, rooting Android is not for the faint of heart. You need to be willing to risk voiding your warranty, be prepared to manually apply Android updates, accept becoming more exposed to security risks and you will have to research the latest root method and apply it perfectly to your device to avoid any potential problems.

But the benefits of rooting Android are manifold. You'll have complete control over your system, can uninstall bloatware, apply millions of system tweaks and create complete backups automatically. If you've got this far and can't wait for the next stage, hit that search bar, do some digging in XDA and start the next phase of your Android education.

Post your questions or rooting success stories in the comments below. 


Readers' favorite comments


Write new comment:
All changes will be saved. No drafts are saved when editing

  • thenext 5 months ago Link to comment

    thanks for this guide

  • Right now the only reason I want to root my phone is so that I can use the memory on the SD card. If the extended internal memory option would work correctly on marshmallow I wouldn't need to do this. It randomly shows the SD card as not inserted. Does anyone know how I can give Google a bug complaint on the operating system?

  • I only root when the manufacturer messes up and makes the software worse (yes Samsung I am talking about you). The battery life has got steady worse and worse on my S5 with each iteration of Android. Battery life was excellent with Kitkat, got almost 2 days usage, it then dropped a bit with first iteration of Lollipop, improved after bug fixes then got massively worse under Marshmallow, and this is with me also buying a new battery but to no avail. I am waiting for the new Lineage OS to produce their official release and will then wipe Samsungs software

  • Why this article is named THE COMPLETE GUIDE for rooting is questionable because it is most certainly NOT.
    It gives basic info about root and pre's and con's but that is it.
    The most thing I miss is a good warning about ending up with a "brick" or "bricked phone" ,wich is if doing something wrong while rooting the very possibility exists your phone dies and will never ever boot up again how hard you try.
    I am senior member in the XDA-DEVELOPERS. com forum and i have seen many cries and tears the past few years from people rooting their phone without proper study or in fact just following guides wich were misunderstood.
    I can not say this enough, read read and read again before you do anything you might regret the hard way.
    peace ✌

  • Burcet Jan 9, 2017 Link to comment

    As thumb-rule I don't root my Android during the warranty period.

  • Why is one plus devices missing from this article??

  • normal users pls pls donf root ur device..... those who have good flagship phones also need not to root ur device till 2 or three years.

  • Answer> I should not root.

    Main purpose of rooting a device is to get a fast browsing quality in internet
    But now mobile data providers are giving strong and stable internet connections.

    All the other issues can solve by cleaning the device.


    So there is no need to root a device.
    Rooted devices are making problems with
    Google accounts
    Google apps
    Banking Apps
    No secure with online accounts.

  • hello friendyou may use of this simple process for root android device easily //howtorootandroid.org/

  • Hahaha.. Very true said @Sanjai Joseph No need to root device like S7

  • Eric Jul 14, 2016 Link to comment

    used to root all my devices but stopped when android jelly bean came out and i haven't rooted any new device since i do root older devices it's good to see what custom ROMs are out there and well it is fun flashing new ROMs every now and then

  • I have used Odin3 root my galaxy s5

    • jay Jan 9, 2017 Link to comment

      if you dont mind me asking what did you use to root you s5? i have one and everything i try doesn't work

  • If you want to root your android phone, I think you can try to downloan an one click root app called Kingroot.It is designed for "lazy" people, so it root your phone with easy steps.

  • rooting without have read all about it on the xda-wesite/forum is like jumping without the bungee-cord :-))

  • Nice post

  • Ahm AD Jul 4, 2016 Link to comment

    Rooting is best and it gives more usability of smart phone but if you have no concern with advance android features just ignore this thing because it may harm your device

  • Reyn Jul 4, 2016 Link to comment

    nice share.

  • Scott Jul 2, 2016 Link to comment

    In fact, it is really not terrible for rooting a phone.
    Rooting your phone gives you access to the “root” directories of your device. Manufacturers keep these root directories off-limits to users by default. They lock these directories so you can’t brick your phone by accidentally deleting a file. They also do this so you can’t uninstall their “bloatware” apps.

    Android smartphones and tablets are incredibly powerful. Unfortunately, most people only get a small taste of that power. Rooting your device lets you experience the full potential your device has to offer.

  • For best information/how_to/files/roms etc etc goto xda_developers forum.

Show all comments