WARNING:
This process may erase all of your data on your device.
So, before proceeding to root your device I want you to take a backup of all your current data.
Please follow the link for how to backup all the data on your android device:
Step by step guide to take full backup of your phone data
After taking backup of your phone please make sure that you have the following things in hand to start with the rooting method.
Required things:
- USB cable and USB Driver for your Android One device
- Fastboot and adb binaries
- SuperSu su binaries developed by Chainfire
- The CWM recovery image for your Android One device
[Rooting guide for Android One phones]
STEP by STEP ROOTing guide for your Android One device:
The complete process will be split into three things as following:- Unlocking the Bootloader
- Installing a custom recovery
- Installing the ROOT package using the custom recovery
Unlocking the Bootloader:
STEP 1:---------
Turn the phone off.
Then boot it into the bootloader/fastboot mode by holding volume down + power.
STEP 2:
---------
Open a command console and go to the directory where you have extracted adb and fastboot
Type the following command in the console:
$ fastboot devicesNOTE:
This command will list the connected devices.
If your phones serial number shows up you are good to go and may continue.
If the phone is NOT listed this indicates that your drivers are not installed correctly.
In order for you to continue you must configure your drivers properly so that your phone is listed under fastboot devices.
STEP 3:
---------
If the phone has been recognized by the command above, proceed to unlocking the bootloader with the following command::
$ fastboot oem unlockWARNING:
Remember that this step may wipe EVERYTHING off the phone.
If you have not taken a backup of your phone data then do it here:
Step by step guide to take full backup of your phone data
Flashing a Custom Recovery:
STEP 1:---------
Make sure you have downloaded the recovery image.
Copy the custom recovery image file into the directory where you have kept the adb and fastboot files.
Now go to the bootloader mode by typing the following command in a console on your system:
$ adb reboot bootloaderSTEP 2:
---------
Now type the following command to install the custom recovery image onto your Android One device:
$ fastboot flash recovery <recovery_image_file.name>Make sure to place the recovery image name in the <recovery_image_file.name> field.
$ fastboot reboot
Rooting guide:
NOTE:Rooting guide will only work only after the custom recovery installation.
If you will SKIP the custom recovery installation process and perform only these steps then rooting will not be done.
STEP 1:
---------
Copy the SuperSu zip file to your SD card(By using a USB cable or via adb push command).
STEP 2:
---------
After copying the SuperSu zip file to your SD card you have to go to the recovery and there you have to install this zip file.
To do so use the following command:
$ adb reboot recoverySTEP 3:
---------
Select the Install Zip from SDcard option.
Select the SuperSU zip file where you have kept in the SD card.
After successfully completing all the above mentioned steps your device will be rooted.
Have fun and stay tuned to get more updates.