I’m using the following tools:
android-sdk-linux-1.5r3
cm-hero-recovery.img
fastboot
su
superuser.apk
First step is to install the sdk, I’ve installed it in ~/bin/android-sdk
and I have added the tools folder to my PATH.
I’ve copied fastboot, recovery.img, su and superuser to the tools folder.
Shut the phone down and turn it on by pressing both the powerbutton and the back button.
The phone booted a fastboot bootscreen and I plugged in the usb-cable and ran:
fastboot device
(should return you phones productcode if everything is working)
And then
fastboot boot <path-to>/cm-hero-recovery.img
This boots the the phone with the recoveryimage, I used this oppetunity to make a backup by choosing nandroid backup.
It makes a snapshot of the filesystem on the sdCard and can be used like this to recover your phones original software:
fastboot flash boot <path-to>/boot.img
fastboot flash system <path-to>/system.img
fastboot flash userdata <path-to>/data.img
fastboot reboot
The above steps are “just” prep. Now to actally root the bastard π
The adb-tool sends commands and files to the phone, I did this:
adb shell mount /system
adb push su /system/bin/
adb shell chmod 4755 /system/bin/su
adb push Superuser.apk /system/app/
adb shell reboot
….waiting for the phone to boot
Then I do:
adb devices
(to make sure the phone is talking with my computer)
adb shell
su
(Click Always allow on the phone)
All the above keyboardgymnastics was to get paid apps in Market, this will help me do just that:
btw, the stock firmware will not be replaced by this! This will just add the su and superuser.apk tools.
Hi Magnus
Cool that it worked for you π
Maybe you could link to the DL site (http://code.google.com/p/market-enabler/downloads/list) instead of the apk direktly because v.3.0.0 is not working for the US Market anymore and v.3.0.1 is the actual one.
regards rac
Done π
Where do you get the ‘su’ binary?
I can’t remember anymore :-s I’ll look around for it. But It’s a lot easier to use use one of the modaco images, there are some that are more or less generic but with root build in.
http://android.modaco.com
You can find it here: http://forum.xda-developers.com/attachment.php?attachmentid=211569&d=1249225060 If not, let me know.