Device: Unbranded Android tablet
Android: 2.2
I was trying to root my tablet using my Ubuntu 11.10 machine.
I followed the following instructions from a site:
1. adb Install Superuser.apk
2. adb push busybox /sdcard/
3. adb push su /sdcard/
In the same terminal, now we open adb:
adb shell
Enter the command for superuser
su
Now, you will copy and paste these commands:
1. mount -o remount,rw /system
2. mv /system/xbin/su /system/xbin/oldsu
3. cp /sdcard/busybox /system/bin/busybox
4. cp /sdcard/su /system/bin/su
5. chmod 06755 /system/bin/su
6. chmod 0755 /system/bin/busybox
7. ln -s /system/bin/su /system/xbin/su
8. exit su (may say something about a bad number
9. exit
10. adb reboot
I could not run the first mount command, but still continued with rest of the 9 commands. Then, I ran a root checker app after reboot to check whether my device was rooted. It indicated no root access.
I then again ran adb shell, and then on running su, it gave an error:
su: 1: Syntax error: "(" unexpected
Now, I am not even able to delete this file. I am stuck and since it's my first time trying to root an Android device. I have no idea what should be done now to resolve this problem and successfully root my device.
adb shell
he issuessu
– which is not yet there. Not being root,mount
cannot work, so the stuff cannot be copied to the/system
partition. What confuses me a little is step 2 – which implies there is asu
available already before rooting. I never checked that; is that the case? So one could get root permissions via ADB on a not-rooted device? I doubt that, since why then do we need exploits to root devices?