How to Root Your Android Phone with TWRP and SuperSU

if you truly need to delve into the Android framework, you may find that some applications requires root to get access. Rooting has become less necessary over the years, yet it’s still useful if you want to run specific kinds of applications. widely supported method for rooting your device, and why you may need to.

0
2322

Android is based on Linux. On Linux and other UNIX-like working frameworks, the root user is equal to the Administrator user on Windows. The root user has access to the whole operation system framework, and can do anything. By default , you don’t have root access to your own Android gadget, and certain applications won’t work without root access. Like other modern day operating system , Android limits applications to prohibitive security sandboxes for security purposes.

What Is Root ?, and why you will need it.

The root user account always exists in Android; there’s just no built-in way to access it. “Rooting” is the act of gaining access to this root user account. This is often compared to jail-breaking an iPhone or iPad, but rooting and jail-breaking are fairly different.

Technical aspects aside, root access allows you to do a lot of useful things. With root, you can remove bloatware that came on your phone, run a firewall, enable tethering even if your carrier is blocking it, manually back up your system, and use a variety of other tweaks that require low-level system access.

Apps that require root aren’t hard to find–they’re available in Google Play, but they won’t work until you gain root access. Some apps have features that only work on a rooted device.

You just need to root your phone in the event that you need to run an explicit application that requires root access. If you don’t plan on actually doing anything with that root access, don’t bother. You can always root it later in the event that you have to.

Warnings

Android devices don’t come rooted for a reason. In fact, some device manufacturers make a special effort to prevent you from rooting. Here’s why:

  • Security: Rooting breaks apps out of Android’s normal security sandbox. Apps could abuse root privileges you’ve granted and snoop on other apps, something which isn’t normally possible. In fact, Google prevents you from using Android Pay on rooted devices for this reason.
  • Warranty: Some manufacturers assert that rooting voids your device’s warranty. However, rooting will not actually damage your hardware. In many cases, you can “unroot” your device and manufacturers won’t be able to tell if it’s been rooted.
  • Bricking: As usual, you do this at your own risk. Rooting should generally be a very safe process, but you’re on your own here. If you mess something up, you can’t just expect free warranty service to fix it. If you’re worried, do a bit of research first and see if other people report success rooting your device with the tool you’re planning on using.

In addition, rooting may void your warranty, at least for certain types of repairs.

Ways to Root an Android Phone

There are numerous approaches to root an Android phone, and which one you should utilise relies on your phone. When all is said and done, rooting will involve one of these procedures:

  • Unlock the Bootloader: Google and device manufacturers don’t officially support rooting, however they do give an official method to gain low-level access to few devices, which then allows you to root. For example, Nexus devices are intended for developers, and you can easily unlock the bootloader with a single command. You can then root your device by flashing a .zip file containing the su binary from the recovery screen. Tools like the Nexus Root Toolkit for Nexus devices automate this process. Other manufacturers also offer ways to unlock the bootloader, but only for certain devices.
  • Exploit a Security Vulnerability: Other devices are secured. Their manufacturers provide no official method to unlock their bootloaders and mess with their software. These devices can still be rooted, but only by discovering a security vulnerability on the device and exploiting it to install a su binary onto their system partition. An OTA update might fix the security vulnerability as well as unroot the device. For example, there was an $18,000 bounty for the first person who could root a Samsung Galaxy S5 running on Verizon or AT&T. A vulnerability was found, but future updates could prevent the vulnerability from working and remove the ability to root the Galaxy S5.
  • Flash CyanogenMod or Another Custom ROM: Actually, this is an extension of one of the above techniques. Unlocking the bootloader and exploiting a security vulnerability can each allow you to flash Custom ROMs like CyanogenMod, which often come pre-rooted. CyanogenMod includes a simple toggle on its settings screen that allows you to enable or disable root access. Upgrading to a new version of CyanogenMod or your custom ROM won’t unroot your device if the ROM comes with an integrated way to enable root.

In this article, we’ll be discussing users who fall into the first camp, who have an unlockable bootloader. If your phone requires an exploit, we won’t be able to help you, since the process is different for just about every phone. You’ll have to search a forum like XDA Developers for more information on how to root your specific device. This guide previously featured one-click root apps Kingo Root and Towelroot, and those may still support some older phones as well.

If your device does have an unlockable bootloader, however, then read on. We generally recommend the TWRP method over one-click root programs because you learn exactly how everything works, which will help you troubleshoot if something goes wrong in the future–one-click root programs aren’t as transparent. Before you begin this process, you’ll need to unlock your bootloader the official way, and then install the TWRP recovery environment using these instructions. We’ll then use TWRP to root your phone.

Step by step instructions to Flash SuperSU to Your Phone and Gain Root Access

Okay, so you’ve unlocked your bootloader, and you’ve installed TWRP. Fantastic! You’re actually almost there. To gain root access, we will utilize a program called SuperSU, which enables you to grant root access to other apps.

SuperSU is available in the Google Play Store, but that version doesn’t actually give you root access–in fact, you need root access to use it in the first place! Talk about a Catch-22. Thankfully, SuperSU is also available as a .zip file that we can “flash” with TWRP. Doing so will grant you root access along with the management features of SuperSU’s Android app.

So, to start, head to this link, which will take you to the latest version of SuperSU available for download. Download the .zip file to your computer, plug in your phone with a USB cable, and drag the SuperSU zip to your phone’s internal storage or SD card.

Next, reboot your phone into TWRP recovery. Doing this is a bit different on every phone–for example, you may have to hold the Power and Volume Down buttons simultaneously, then use the volume keys to boot “Recovery Mode”. Google instructions for your specific model to see how it’s done.

Once you’ve done so, you’ll be greeted with the familiar TWRP home screen. Click the Install button.

NOTE: You should probably make a backup in TWRP before continuing with this process.

trendymill_twrp

The following screen will appear. Scroll down and navigate to the SuperSU ZIP file you transferred earlier.

Tap the SuperSU zip and you’ll see this screen. Swipe to confirm the flash.

trendymill

It should only take a moment to flash the SuperSU package.  When it finishes, tap the “Wipe cache/Dalvik” button that appears and swipe to confirm.

 

When that finishes, tap the “Reboot System” button to boot back into Android.

If TWRP asks if you want to install SuperSU now, choose “Do Not Install”. Sometimes, TWRP can’t detect that you already have SuperSU, so it’ll ask to flash its built-in version. But it’s almost always best to flash the latest version of SuperSU yourself, which we’ve just done.

Managing and utilising  Root Permissions With the SuperSU App

When you reboot your phone, you should see the new SuperSU icon in your application drawer. SuperSU controls other apps on your phone to get root permissions. Whenever an app wants to request root permissions, it has to ask your SuperSU app, which will show a request prompt.

To make sure root is working properly, you can download the Root Checker app and verify your rooted status. Alternatively, download a root-only app you’ve been wanting to try, and see if it asks you for superuser permissions.

For example, if we open and try to add an app to Greenify–a handy battery-saving app for rooted phones–we’ll see this popup, asking for root access. If you click Grant and you get a success message, you have successfully achieved root on your phone.

To manage root permissions, open your app drawer and tap the SuperSU icon. You’ll see a list of apps that have been granted or denied superuser access. You can tap on an app to change its permissions.

If you ever want to unroot, open the SuperSU app, go to its Settings screen, and tap the “Full unroot” option. It will attempt to unroot your device. If it works for you, this is definitely the easiest way to unroot your phone.

You can check out our list of incredible rooting apps or install the Xposed framework for some genuinely cool tricks. Enjoy!

LEAVE A REPLY

Please enter your comment!
Please enter your name here