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
Code:
adb devices 
Now copy busybox, su, superuser.apk to /data/local/tmp/ using adb.

Code:
adb push busybox /data/local/tmp adb push su /data/local/tmp adb push Superuser.apk /data/local/tmp 
[​IMG]

Now run adb shell

Code:
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:

Code:
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.

[​IMG]

Done?
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:
Code:
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:
Code:
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
device

[​IMG]

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

[​IMG]




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

Time

Blogger TemplatesMy Blogger TricksAll Blogger Tricks

LIKE , SHARE AND TWEET

Contributors