My Wiki!

Preparing nexus s device for dev

Unlocking the Bootloader

Warning: Unlocking the Nexus S's bootloader will void the warranty.

If the Bootloader on the Nexus S has already been unlocked, you may skip this section.

You will need fastboot on the computer to unlock the bootloader on the Nexus S. Follow the Android SDK guide, to get the fastboot on the computer.

  • Power the Nexus S down, and hold Volume Up & the Power button until booted into the bootloader. You should see a white screen with three skating androids.
  • Connect the Nexus S to the computer via USB.
  • On the computer, open terminal and run as root:
      fastboot oem unlock 

On the Nexus S, a prompt will open up asking you if you are sure you want to unlock the bootloader and again warning you that doing so will void your warranty. If you agree to these terms, press Volume Up to select Yes, and then press the Power button to confirm.

NOTE: Unlocking the bootloader wipes the device.

The Nexus S will reboot.

Installing the ClockworkMod Recovery Image

If you have already flashed a custom recovery image, skip this section.

Download the latest version of the ClockworkMod Recovery: ClockworkMod Recovery 5.0.2.0: Download

md5: dfbc5814b776bd5a45b52d626810d192

  • Place the ClockworkMod Recovery Image in the same folder as fastboot (the /tools folder with the Android SDK folder).
  • Power the Nexus S down, and hold Volume Up & the Power button until booted into the bootloader. You should see a white screen with three skating androids.
  • Connect the Nexus S to the computer via USB.
  • On the computer, open terminal and run (as root):

    fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img

The ClockworkMod Recovery should now be installed on the Nexus S.

Rooting Device

Not needed if Cyanogenmod rom is being flashed

* Install clockwork recovery as above.
* Download Superuser-3.0.7-efghi-signed.zip: 
  downloads.androidsu.com/superuser/Superuser-3.0.7-efghi-signed.zip
* Copy that app to sdcard
  adb push Superuser* /sdcard/
* Boot into clockworkrecovery and install that app.

Source


Navigation