Step by Step to Root your Android Phone

in #technology8 years ago

benefits-of-rooting-android.jpg

Hi all. i have been working tirelessly to Root my phone and have searched all over the internet for methods that work. I was thinking about it and figured I would share the info with you, this will save you from having to search all over like I have done.

Below I will walk you through with Step by Step instructions as well as links to safe downloads you will need for this process.

First you will need a Computer With either Linux or Windows with Fastboot or ADB...I used Ubuntu.

If you use Windows then you will need to download the drivers needed for your particular phone

For those who are completely new to the process, you will need a USB cable to have your Phone connected to the Computer during this process

It is Vital that your phone is charged before starting this process. The phone needs to be over 50% charged to ensure it will not die during the process

Next is downloading the Supersu. Which can be found here... https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip.

** Now we start the actual process of setup and rooting**

android-rooting.png

  1. I suggest you first go to Settings/General/About Phone/Software info and tap on the "Build number" until it says"You are the developer". Then back out of until you are in Settings/General and go to "Developer options" and turn on "Enable OEM unlock". This is to allow TWRP recovery to be able to boot. Also turn on "USB debugging" while you are there.

  2. Download the SuperSU-v2.65-20151226141550.zip to your device. You will need to move the zip file from your Downloads folder to somewhere on your external SD card as it wont be deleted from there when you use the "fastboot oem unlock" command in step #6.

  3. Download the recovery.img to your computer. If you do not have adb and fastboot setup globally for linux or in your path for windows you need to move the recovery.img to the directory your adb and fastboot is in and open a terminal or command line (depending on your OS) in that directory or cd to that directory. If you do have adb and fastboot globally or in your path you just open a terminal or command line in the directory you have the recovery.img or cd to the directory you have the recovery.img.

  4. Once you have the terminal or command line open run the command "adb devices" to make sure your devices is detected by adb. You may get a toast pop up on your device asking if you to "Allow usb debugging". Accept this as this is the RSA key you need to allow your computer to communicate with your device via adb. You should see something like "(yourphone631dffacad9 device" in your terminal or command line. If you see "unauthorized" instead of "device" you have not excepted the RSA key.

5.Next type the following command in your terminal or command line. Type "adb reboot bootloader". This will reboot your device to fastboot mode. Now in fastboot mode use the "fastboot devices" to make sure your device is recognized by fastboot. You should see something like "dffacad9 fastboot". If you have Linux and get a error message you may have to use "sudo fastboot devices" for fastboot to work. (If you are using Windows and are having trouble with fastboot recognizing your device you need to install the device drivers using. If it still doesn't work install the drivers again with your device connected to your computer in fastboot mode.)

  1. To fully unlock the bootloader you need to use the command "fastboot oem unlock". You have to do this or this root method will not work. But be warned that if you do use this command it will factory reset your device. Plus you will get a line of text saying the bootloader is unlocked on the splash screen when you boot your device.

6-1: If you want to use Kingroot to root your device you can reboot your device now. Open the Kingroot app and let it root your device and then use Flashify, Rashr, or a similar app to flash the recovery. Then boot to recovery and flash the SuperSU.zip in recovery and it will remove Kingroot and have SuperSU installed on your device.

  1. Now you can do this two ways if you do not want to keep the stock recovery you can use the command "fastboot flash recovery recovery.img" to install the recovery and then use the command "fastboot reboot recovery" to boot to the TWRP recovery. (If this command gives you issue like it seems for many then just use the the following method and then use Flashify or Rashr app to install TWRP after you are done rooting.) If you want to keep the stock recovery you can use the command "fastboot boot recovery.img" to boot to the TWRP recovery.

  2. Once you are booted to the TWRP recovery you should make a full backup first so you have a backup to restore to in case things go bad. After you make a backup then select install and then find the SuperSU-v2.65-20151226141550.zip and install it. Once it is installed reboot your device to system. If TWRP gives you a warning about the su binaries missing and asks if you want to install thee su binaries before you reboot select no or it will interfere with the rooting process of the SuperSU.zip. When your device reboots it will boot to splash screen and then reboot again. But then it will boot to the OS but it will take a minute. Make sure you let your device reboot all the way to the lockscreen or home screen depending on if you have a lockscreen enabled or not. You should be fully rooted after this, enjoy.

I hope this helps you all

#howto

#technology

Sort:  

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://androidforums.com/threads/guide-how-to-root-t-mobile-6-0-update.1008880/