13 August 2015

Rooting Android Phone : A Complete Android Rooting Guide To CyanogenMod






Backup whatever data and apps you will need after installing new Custom ROM.


I tried rooting on Micromax Android One.

Before rooting install following softwares/files in your PC:

1. Install JDK (Java Development Kit). If its already installed, well and good.


2. Install ADB (Android Debugging Bridge) Driver so that you can communicate with your phone.  Download ADB from http://adbdriver.com/downloads/ in PC.
 
Enable USB debugging mode in your phone. For this go to Settings--> About Phone--> Build number. Click it 5-6 times continuously and thus you will enable your developer options.
             
Go back and select Developer Options. Scroll down to Android Debugging           Bridge(in Kitkat) OR USB Debugging(in Lollipop). Turn it ON.

Connect your phone via USB cable to PC. Launch the AdbDriverInstaller.exe and click install.


3. Now it's time to download the SDK in your PC. Get this from                       http://developer.android.com/sdk/index.html.  You'll see downloads for Windows, Mac OS  X and Linux. Pick the appropriate category and download the file to your desktop.

Unzip the download and extract it to C drive. Go to the folder android-sdk-.... which was created after unzipping. Double click on SDK Manager.

A window will open and the manager will detect stuffs need to be installed. Just check the box besides Tools at the top and click Install Package.

In the new wizard check everything in the left box and click Install.

After installing is done go back again to android-sdk-... folder and open 
platform tools folder. You will find here the tools required for rooting.


4. Now you need to download a recovery. I would suggest you to download
TWRP Recovery. Link: https://twrp.me/

Copy downloaded recovery file to platform tools folder and rename it as recovery.img


5. Now comes downloading the custom ROM.  I would suggest you to download
CyanogenMod11/12/12.1 as it is the most stable ROM with lots of customization & themes. 

Download device specific (i.e the device's model name) ROM from cyanogenmod official website: http://download.cyanogenmod.org/. Custom ROMs come in zipped file.



6. Download  Google Apps (zipped file) according to the android version you are installing. GApps 4.4.x for kitkat and Gapps 5.0.x for lollipop. Link:
https://s.basketbuild.com/



Steps for Rooting:

1. Switch off your device. Now press power button and volume up button simultaneously. You will be taken to boot mode. Watch out the instruction:
VOLUME_UP is to select. VOLUME_DOWN is OK. Make sure your device is connected to PC.

2. By pressing the volume up button go to [Fastboot  Mode] and select it by pressing the volume down button. Now you are in fastboot mode.

3. Again its time to open the "platform tools" folder. Now press Shift+Right Click buttons. A menu list will open. Select open command window here.

4. Now type the following Commands as it is and press 'enter key':

a.) fastboot devices  -> This command ensures weather your phone is                                                   connected to your PC. If it displays some numbers                                           and fastboot, then your device is connected. If not,                                           connect it again properly and follow step 1,2,3.

b.) fastboot oem unlock  -> An instruction will be displayed in your phone                                                   asking for your choice. Select YES by volume up                                               or down key as instructed. After this your                                                         bootloader will be unlocked.

c.) fastboot format userdata   -> Deletes all user data from your phone.

d.) fastboot reboot    -> Reboots your phone with OEM(Bootloader) unlocked.

Disconnect your device from PC. Close the Command Prompt Window.

Now comes flashing the recovery.img file. Follow the following steps:


5. After booting is over switch off your device and follow step 1 to go to fastboot mode. Connect your device again to PC.

6. Do step 3 again. Type the following commands as it is and press 'enter key':
   
a.) fastboot devices

*Make sure the recovery you downloaded is named as recovery.img and is present in "platform tools" folder

b.) fastboot flash recovery recovery.img

c.) fastboot reboot

7. Download SuperSU file from https://download.chainfire.eu/396/SuperSU/ and copy it to your SD Card.

8. Copy the downloaded Custom ROM and Google Apps to your SD Card.

9. After booting is finished switch off the device and press power button and volume up button simultaneously. You will be taken to boot mode. Select
[Recovery   Mode] this time. You will see recovery screen as shown in image:





 
10. Select Wipe option. Then, swipe to factory reset and wait for its completion. 

11. Then select Install. Click 'up a level' and choose external_sd. Go to the Custom OS file which you have copied. Select it and swipe to confirm flash.

12. After installation of OS is over, install Google Apps in the same way following the options.

13. Now Go Back and select reboot and then system.


THE DEVICE WILL REBOOT TO THE OS YOU INSTALLED. FEED THE USER DATA REQUIRED AFTER BOOTING IS COMPLETE AND ENJOY YOUR CUSTOM ROM.


* If again you need to install another ROM then copy the downloaded zipped ROM file into your SD Card and also the version specific Google Apps and start from STEP 11.




                                               THANK YOU.
In case you incur any problem/error do write to us. Your queries will surely be entertained. Stay tuned with our blog. Video coming soon.
                                                                

                                               

No comments:

Post a Comment

Ads Inside Post

Contributors