Monday, August 1, 2011

Rooting manual android

REQUIREMENTS : - Linux *of course! 8-) - Android SDK with  - busybox binary - Superuser.apk  - psneuter exploit binary - su-v2 binary You can find all the files listed above from SuperOneClick installed directory in M$ WINDOZ.
On Linux machine :
!! Make sure adb server is running as root. !!

$./adb push psneuter /data/local/tmp
$./adb push su-v2 /data/local/tmp
$./adb push busybox /data/local/tmp
$./adb shell
On android console :
$ busybox chmod +x /data/local/tmp/psneuter
$ /data/local/tmp/psneuter /* you will get logged out from android console and just run*/
$./adb shell /* again to get android shell back as root. */
# mount  /* find entry for '/system' mount */
/dev/stl12 /system rfs ro,relatime,vfat,log_off,check=no,gid/uid/rwx,iocharset=utf8 0 0
# mount -t rfs -r -w -o remount /dev/stl12 /system /* change the command according to your device. */
# busybox mv /data/local/tmp/su-v2 /system/xbin/su 
# busybox chmod 06755 /system/xbin/su 
# busybox chown 0.2000 /system/xbin/su 
# busybox ln -s /system/xbin/su /system/bin/su  
# busybox cp /data/local/tmp/busybox /system/xbin 
# busybox chmod 0755 /system/xbin/busybox 
# busybox chown 0.2000 /system/xbin/busybox 
# exit 
$ exit
Back to Linux machine :
./adb install Superuser.apk 
There, ur droid is rooted! :D

No comments:

Post a Comment

Feel free to comment all my posts.