- Oct 11, 2009
- 5,577
- 2,816
- 113
This method is pretty much standard for Samsung phones, but much credit to josby at XDA for verifying it works with the Sidekick
Read this. It very much applies here. If you're good to go after that:
[warn] This can screw things up badly. Once you decide to try anything that T-Mobile hasn't approved, whatever happens is your responsibility. Not Android Central's. Not mine. Especially not mine. This is in a big red box, so don't even try to say you didn't see it. [/warn]
Install the Samsung USB drivers and Android SDK. If you can't get those up and running, you should probably quit now before you break anything.
[TIP]If you can't get a root prompt (#) after you re-enter adb, try rebooting your phone. [/TIP]
If you can't make heads or tails out of this, don't try it.
Read this. It very much applies here. If you're good to go after that:
[warn] This can screw things up badly. Once you decide to try anything that T-Mobile hasn't approved, whatever happens is your responsibility. Not Android Central's. Not mine. Especially not mine. This is in a big red box, so don't even try to say you didn't see it. [/warn]
Install the Samsung USB drivers and Android SDK. If you can't get those up and running, you should probably quit now before you break anything.
- Download both attachments, and unzip them. Place the files "rageagainstthecage-arm5.bin", "su", and "Superuser.apk" in your Android SDK/platform-tools folder. Credit for these files goes to their original authors. Source code for RATC is included in the zip file.
- open a command window
- cd to your SDK/tools folder
- reboot your sidekick
- plug it into a full speed, primary, USB 2.0 port on your computer.
- in the command window, enter the following, one line at a time:
Code:adb push rageagainstthecage-arm5.bin /data/local/tmp adb shell cd /data/local/tmp chmod 755 rageagainstthecage-arm5.bin ./rageagainstthecage-arm5.bin
- Eventually you'll get kicked out of adb and back into your command window. that's a good thing. When that happens, enter the following, again one line at a time:
Code:adb kill-server adb start-server adb shell mount -o remount,rw /dev/block/stl9 /system exit adb push su /system/xbin adb shell chmod 4755 /system/xbin/su adb push Superuser.apk /system/app adb shell echo "root::0:0:root:/data/local:/system/bin/sh" > /etc/passwd adb shell echo "root::0:" > /etc/group adb shell mount -o remount,ro /dev/block/stl9 /system exit
- Reboot your phone
- Enjoy the root.
[TIP]If you can't get a root prompt (#) after you re-enter adb, try rebooting your phone. [/TIP]
If you can't make heads or tails out of this, don't try it.