Here is a step-by-step guide which will allow you to unlock Nexus S bootloader and root Android 2.3 (Gingerbread) on it. For those who don’t know, unlocking the bootloader will allow you to install custom ROMs while rooting will gain you full access to Android 2.3 Gingerbread filesystem on your Nexus S.
Steps to Unlock Google Nexus S Bootloader:
- Download and install Android 2.3 SDK along with fastboot from here.
- Turn off your Nexus S completely.
- Now hold down the Volume Up + Power key simultaneously.
- Now you should be in standard recovery mode.
- Open Command Prompt on Windows (Terminal on Mac) and type the following command to confirm if your device is connected via USB cable or not.
- If fastboot is showing your device as connected, use the following command to unlock the bootloader of your Nexus S.
- Thats it! Now your Nexus S’ bootloader is unlocked and you can easily install custom ROMs on your device.
fastboot oem unlock
Steps to Root Nexus S on Android 2.3 Gingerbread:
- Reboot Nexus S into bootloader mode. To do so, use the following command at terminal or press the Volume Up + Power key simultaneously.
- Unlock the bootloader using the following command:
- Download recovery-clockwork-herring.img from here.
- Now install Clockwork recovery image on Nexus S by using the following command:
- Reboot into recovery mode by using the following command at terminal or choose recovery from fastboot menu
- Download Koush’s unsecure boot image (rootboot.img) from here and put it in your /sdk/tools/ folder
- Now boot into fastboot and use the following command to install the rooted boot image:
- Download CHainsDD’s Superuser zip (su-188.8.131.52-ef-signed.zip) from here.
- Open the zip file, place the su binary and Superuser.apk in your sdk/tools/ folder.
- Now use the following set of commands at terminal to install Superuser app
adb reboot bootloader
fastboot oem unlock
fastboot flash recovery recovery-clockwork-herring.img
adb reboot recovery
fastboot flash boot rootboot.img
adb push su /system/bin/
adb push Superuser.apk /system/app/
chmod 6755 /system/bin/su