Saturday, 26 January 2013

Andriod - Gingerbread 2.3 root access

While I've briefly covered how to gain root access from my previous post, this new post serves as an alternative with additional steps on setting up ADB. If you have already set up, go straight to the last step.

1) Installing Android SDK

a - To install android SDK, you will first need the JAVA Development Kit(JDK), download it and install it in your PC, if its already installed, move to next step.

b - After installing JDK, download Android SDK from here: http://developer.android.com/sdk/index.html. Install it. It is recommended to install it in root directory. My path looks like this:- C:\ android-sdk-windows.



2) Downloading ADB(Android Platform Tools)

a - Now, that you have installed SDK in your PC, open SDK Manager.exe from C:\Program Files\Android or wherever you installed it. In this window, you will be asked to download the development packages to install. Select the Android Platform Tools and the Google USB Drivers Package under "Tools", if you don't have your device's drivers installed in your PC.

b - Now click on "Install Packages". After the download completes, it will ask you to restart ADB, do so. Now your window should look somewhat as below.




3) Setting Path Variable

For an easy access to the ADB and other Android SDK tools using command lines, we need to set their path to the path environment variable. To do so, follow the steps below.
NOTE: This method is only for windows users.

a - Right click on the my computer and click on "properties". In this window, on the left panel, select "Advanced System Settings", and in that click "Environment variables". The following window will appear:



b - In this window, add a new System variable. click "New...". Create the following:
Name: <android_sdk>
Value: <C:\Program Files\Android\android-sdk> or wherever you installed it

Name: <JAVA_HOME >
Value: < C:\Program Files\Java\jdk1.7.0_07> or wherever you installed the JDK.


c - Find "Path" in the system variables and click on "Edit". Be careful, don't delete the existing entry. Add this path at the end of the existing entry:-

;%JAVA_HOME%\bin;%android_sdk%\tools;%android_sdk%platform-tools


Click on OK and close the window and restart your PC.

Now, we are done setting up Android SDK and ADB, and here starts the method for rooting.



4) Rooting Devices With Android 2.3 Gingerbread

a - First of all connect your device to your PC. Be sure that USB Debugging is enabled in your device(Menu>Settings>Applications>Development>USB Debugging).

b - Download the latest version of SuperOneClick by ShortfuseCL 

c - As we have set the path variables for ADB, we can now access it directly through command prompt [start>search>cmd]. Open command Prompt and type the following commands: "adb devices". You will get the ID of your connected device. Now, Type in "adb shell". The $ sign will appear. Now, copy the command below in your window and hit enter:-

echo 1 > /data/local/lge_adb.conf


Now your window should appear like this:



Note that I have got the "#" sign as my device is already rooted instead of "$", so don't worry.

d - Now open SuperOneClick, and select exploit as "zergRush". This is the new exploit added in SuperOneClick, which, for me, worked for rooting my device. Click on "Root" and wait for the process to complete. During the process, you may be asked to install Busybox if its not already installed, accept it if it's asked.
NOTE: Rooting process may take long time. For me, it took 8-10 minutes. So don't interrupt it in between, Especially on step 5.

                           
You're done!!!  Congrats!!! Enjoy your Root!!!


Here's how it looked during root process in my device:-



And Here's how it Looked when my device was Succesfully Rooted:-








No comments:

Post a Comment