For rooting the android phone, your android debugging must be ON and you will require following things.
1. A linux machine, in my case ubuntu
2. adb - It can downloaded by following command on linux terminal
$ sudo apt-get install android-tools-adb
3. busybox, Superuser.apk, psneuter
When you have it execute the following command step-wise.
$ adb devices
This will list all the devices connected to the computer, if "no devices" is promting, check whether your USB Debugging is ON, which is present in developer options under settings.
$ adb push psneuter /data/local/tmp
This copy the file in your device and now we will execute this file.
$ adb shell
$ cd /data/local/tmp
$ chmod 777 psneuter
$ ./psneuter
now it will run
$ adb kill-server
$ adb devices
$ adb shell
now # will appear in place of $, or after typing $su
# mount -o remount,rw -t rfs /dev/block/st19/system
# exit
$ adb push busybox /system/bin
$ adb push su /system/bin
$ adb install Superuser.apk
$ adb shell
# chmod 4755 /system/bin/busybox
# chmod 4755 /system/bin/su
# mount -o remount,ro -t rfs /dev/block/st19/system
# exit
$ adb reboot
now device will reboot and device will be rooted and su app will appear in app drawer.
1. A linux machine, in my case ubuntu
2. adb - It can downloaded by following command on linux terminal
$ sudo apt-get install android-tools-adb
3. busybox, Superuser.apk, psneuter
When you have it execute the following command step-wise.
$ adb devices
This will list all the devices connected to the computer, if "no devices" is promting, check whether your USB Debugging is ON, which is present in developer options under settings.
$ adb push psneuter /data/local/tmp
This copy the file in your device and now we will execute this file.
$ adb shell
$ cd /data/local/tmp
$ chmod 777 psneuter
$ ./psneuter
now it will run
$ adb kill-server
$ adb devices
$ adb shell
now # will appear in place of $, or after typing $su
# mount -o remount,rw -t rfs /dev/block/st19/system
# exit
$ adb push busybox /system/bin
$ adb push su /system/bin
$ adb install Superuser.apk
$ adb shell
# chmod 4755 /system/bin/busybox
# chmod 4755 /system/bin/su
# mount -o remount,ro -t rfs /dev/block/st19/system
# exit
$ adb reboot
now device will reboot and device will be rooted and su app will appear in app drawer.
The command for my Debian machine doesn't work:
ReplyDelete$sudo apt-get install android-tools-adb
Is there any other way I can get the adb?
All linux pakages are available pn ububtu community
DeletePaul, maybe you need to enable more debian repos. A google search for debian adb shows lots of packages and guides...
DeleteThis comment has been removed by the author.
ReplyDeleteThese 3 are independent apps, you can easy find them on web.
Deletecan u please provide link to busybox and psneuter?also does this work on my gfive a77? thanx
ReplyDeleteon which version of android will this work?
ReplyDeleteThis may work for all versions, but I have tried it on android 4.0 and above only.
DeleteHave you tried it on 4.3? I think, the psneuter exploit doesn't work with that version. Well, it didn't work for me... Any suggestions?
Delete./psneuter won't work after I enter the shell. What could be the problem?
ReplyDeleteFirst you have to make it executable by
Delete$ chmod +x psneuter
Hello
ReplyDeleteWhen I start ./psneuter i get "Failed to set prot mask (Inappropriate ioctl for device)". Does anyone have an Idea how I can resolve this?
cheeers
sir when I run $ ./psneuter then message comes:
ReplyDeletemmap<> failed. invalid argument
and when I run $ chmod+x psneuter then message comes:
/system/bin/sh: chmod+x not found
try
Delete$ chmod +x psneuter
Tried that, didn't change anything
Deleteshows Bad mode please help
ReplyDeleteshows Bad mode please help
ReplyDelete./psneuter
ReplyDeletemmap() failed. Invalid argument