What little known feature of Android do you use the most?  - 
 
Universal Android Rooting Procedure  
---------------------------------------------------
#android   #androidrooting  
I am a happy user of Nexus 7 (JB 4.2.2) and Motorola Razr HD (JB 4.1.2) rooted devices.

When I rooted the Nexus 7, I used the easy Nexus 7 Toolkit (http://www.skipsoft.net/?page_id=205).

But for the XT925 under JB, it's a totally different story. Many people say that there is not exploit currently available to root this device. There is one under ICS, or for the Droid Razr/MAXX (by Dan Rosenberg), or a possibility to keep root after an OTA update from ICS to JB, but none for my specific device under JB.

So I decided to take my chances and did it my way. Everything worked at once, I did not encounter a single error during the whole process which was smooth, because I was very cautious and patient. When I finally gained Root privilege, I was surprised and happy it worked out so well, and realized this could be potentially helpful to the whole Android community searching for a clean way to root their device.

The point here is that I believe this procedure is not dependant on my specific device, firmware or any exploit, although I cannot test it on all smartphones to be sure. So now, it's your turn and let me know if it worked!

There are a few pre-requisites though:

* this is like off-piste skiing, so let yourself be cautious
* your must have a complete understanding of what is explained in this post; if you're unsure, you should study first
* you'll have to do some research, for example how to unlock your bootloader, and to locate the USB drivers and CWM available for your device.

Good luck!

1) Java JDK:
It is necessary for SDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

2) Android SDK:
It is necessary: http://developer.android.com/sdk/index.html

3) USB Drivers:
From the manufacturer of your device.

4) USB Debugging:
It must be on.

5) Backup of your apps and data:
It is necessary to perform a backup of all your apps and opt in Google automatic account backup ("Settings>Privacy>Back up my data") and perform syncing ("Settings>Google>Accounts>Sync"). Since your device is not rooted yet, it is not possible to backup much more that that...

6) The bootloader:
It must be unlocked. For Motorola, HTC and Sony phones: the official site shows you the way.

7) Wiping user data and cache:
It is done through 'fastboot - w' which erases all your data.

8) OPTIONAL Fresh Firmware:
It is possible to flash a JB firmware or any other Android version, but what's the deal in not using the last release?

You can choose whatever firmware you like, as long as you use the official radio for your operator. I chose Australian Telstra version of JB with SFR radio.

My advice is to avoid flashing an unofficial ROM which could interfere with the rest of the procedure. Once your device is rooted and Nandroid backed up with CWM, you'll have the opportunity to flash different ROMs. 

I flashed a fresh Jelly Bean firmware (the Telstra one with SFR radio which are available here for XT925: http://forum.xda-developers.com/showthread.php?t=2032284).

On Motorola phones, you can use RSDLite (6.1.4 with MTK 20 patch).
You need to remove 2 lines from the XML file: the one with "getvar" and the following one with "oem". You can replace "modem_signed" and "fsg_signed" with the ones specific for your phone operator/region (there are different radio frequencies). In that case, you'll need to find the "regional" firmware and extract these 2 files from it.

9) ClockWorkMod Recovery:
Flashing CWM is done in fastboot mode: 'fastboot flash recovery image-name'. 

The 6.0 image is available for Razr HD: http://forum.xda-developers.com/showthread.php?t=1973904).
Some digging is necessary for other devices: http://forum.xda-developers.com/wiki/ClockworkMod_Recovery.

If CWM Recovery is not available on your device, you can use TWRP or MobileODIN instead, but I haven't had a chance to test them in this situation.

10) Rooting step: SuperSU
The installation of SuperSU is done from CWM in recovery mode with this UPDATE-SuperSU-v1.25.zip file available from this thread: http://forum.xda-developers.com/showthread.php?t=1538053. Do not take into account Chainfire's warning "!!! SuperSU requires a rooted device !!!"

Et voila!

You can test if you really gained root privilege with this application: https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5qb2V5a3JpbS5yb290Y2hlY2siXQ..

Thanks to the developers +Emerson (CWM for Razr HD) and +Chainfire (SuperSU) and of course Google ;)

#android #root
5
1
jean-christophe manciot's profile photoMuhammad Abdul Mujib's profile photo
Add a comment...