How to flash a custom recovery and get root with an unlocked bootloader.
Perfectly understood. My unique question is how to flash superuser.
I found this:
http://xdaforums.com/showthread.php?t=682828
It have versions for 1.5/1.6 and 2.1/2.2. I am running 2.3, since Google automatically updated mine weeks ago.
So, the missing link is how should I get root on this device. I was told to flash something thru Recovery to do so, but I cannot get to recovery since I cant remove that .sh because I cant go root.
Am I being too n00b on this? If so, sorry. SGS i9000B was a real pain, and I did it. I am somehow stuck on this tricky point.
Ok, let me try and make this clear, as you are obviously not understanding something, depite all the information/guides available:
Step-by-step:
1) Download the Eclair/Froyo version of Superuser from here:
http://xdaforums.com/showthread.php?t=682828 and place it on the root directory of your sdcard.
2) Ensure the Android SDK and USB drivers are properly installed on your computer.
3) Reboot your device into fastboot mode and plug into your computer.
4) Open a terminal window on your computer and navigate to the directory that has the fastboot executable.
5) Type
fastboot devices. You should see your device. If not, redo step 2.
6) Place the custom recovery you want into the same directory as the fastboot executable.
7) Rename the recovery to recovery.img (to keep things simple).
8) Type
fastboot flash recovery recovery.img
9) Reboot your device into recovery
DIRECTLY.
DO NOT reboot into the main ROM.
10) Reread step 9. Now you should be in Amon_RA's recovery.
11) Go to "flash zip from sdcard" or whatever the menu is called.
12) Turn OFF signature verification.
13) Find the Superuser zip file that you downloaded, and flash it.
14) Reboot. Now you have root.
15) Now, you can remove the install-recovery.sh either via your device or through ADB if you want. I will tell you how to do it via ADB.
16) Open a terminal window on your computer and navigate to the directory that has the adb executable.
17) Type
adb devices. You should see your device. If not, redo step 2.
18) Type
adb shell. You should now see the $ prompt.
19) Type
su, and then look at your device: You should see the Superuser prompt. Give it permission.
20) Type
mount -o remount,rw /dev/block/mtdblock3 /system to mount the /system partion as r/w.
21) Type
rm /system/etc/install-recovery.sh to remove the file.
22) Type
mount -o remount,ro /dev/block/mtdblock3 /system to mount the /system partion as ro.
23) Type
exit.
24) Type
exit again.
25) Type
adb reboot-bootloader
26) Do step 4, 5, and 8
AGAIN.
27) Finished.