Saturday, 30 May 2015

How to Root Any Android Device with your simple pc and command prompt ( cmd ) ?

Hey I here you go , i provide the way to root any of your android device with command prompt.

before starting:
#enable usb debugging on your android .

for android 4.2 + , tap continuously on the build number to enable debugging mode

for other version find usb debugging in application settings..

for any doubts , suggestion , feedback , dont forget to comment

To start, you must have adb installed on the OS of your choice.

click here to download adb  , install usb driver from your device 
authorised website 

To confirm your device is properly detected, in the command prompt, run
adb devices 
Now copy busybox, su, superuser.apk to /data/local/tmp/ using adb.

adb push busybox /data/local/tmp adb push su /data/local/tmp adb push Superuser.apk /data/local/tmp 

Now run adb shell

adb shell 
Note that you see a "$" sign in the command prompt. That means you are not rooted.
Next run the following commands in the shell to change permissions and get some limited privileges for the Superuser files:

chmod 6755 /data/local/tmp/su chmod 755 /data/local/tmp/busybox chmod 644 /data/local/tmp/Superuser.apk 
Note that the names of the files are case sensitive.


Turn off your Android device using the power button.

Now you need to reboot your system into a Linux distro which has Nautilus.
Android and Linux, having a similar heritage, makes it possible for us to get root access over the Android phone if you are running with root privileges within Linux. I used an Ubuntu 11.04 Live USB disk to save the hassle of installing another os.

When you have booted into Linux, open up terminal and type:
sudo nautilus 
This would open up the Nautilus file browser with root privileges.

Now put your Android device into Download mode.
For Spice MI-410/Huawei Ideos X6/CherryMobile Magnum HD/Wellcom A99 the method is to hold down the Volume up button and simultaneously turn on the phone using the power on switch.

Once in download mode, connect the Android device using the microusb cable to the computer.
Now using the open Nautilus window, navigate to /UserData/local/tmp/ folder and verify that you have the files you sent to the device viz. su, busybox and Superuser.apk

Move/cut-paste su and busybox to /system/bin/ using Nautilus.
Move/cut-paste Superuser.apk to /system/app/ using Nautilus.

Now pull out the battery from your Android device.
I swear, this was the most tedious part on my MI-410 which has such a crappy back cover.

Now simply turn on your device.
You must now have root.

Verify by running:
adb shell su 
You'll note that the "$" prompt will turn into a "#" and you'll be prompted by a Superuser permission notification on your


You have now completed your initiation brethren.
Welcome to the root club.


you can download the recovery image and su file and then use fastboot command, 
the fast boot command will be coming soon

No comments:

Post a Comment


Blogger TemplatesMy Blogger TricksAll Blogger Tricks