Cyanogenmod 10.1.2 (Android 4.2.2) on Nexus S

Hi,

I recently upgraded my Samsung Nexus S to Cyanogenmod 10.1.2 as there won’t be factory images from google anymore. The phone has to be unlocked as described in previous posts in this category.

First I downloaded the following files:

Then I copied the two zip-file to the sdcard of the phone and bootet into the bootloader (Hold louder and on/off button to power on) to flash the recovery image from the connected notebook (you may need superuser rights on your local pc):

After a reboot again into the bootloader I first made a factory reset, mounted the sdcard and flashed the two downloaded zip-archives beginning with cyanogenmod (the order is important). Then I rebootet my phone and it started nicely into my new cyanogenmod.

Notice! I’m not responsible if you brick your phone while following my instructions.

Android Jelly Bean 4.1.1 on Nexus S [I9023]

OTA asked me to upgrade to 4.1.1 Jelly Bean today but as in all previous attempts to upgrade via OTA it failed again. So here is the manual way to upgrade from 4.0.4 to 4.1.1. How to get there can be found in previous posts in this blog. Of course you follow my steps on your own risk.

I first downloaded all files I needed

Then I rebooted my phone into bootloader and flashed the recovery image to the actual version via

Then i directly started recovery mode, mounted the sdcard and installed the OTA package followed by the SuperUser package. Then I mounted /system and moved the install recovery script as usual by

Then just reboot the phone into the new 4.1.1 Jelly Bean which updates your apps at first boot and all your config and apps should stay in place and the recovery is still working after a boot of the system and is rooted. So my phone is working as expected and the upgrade took me about 30min including searching for the needed files.

Manual Android 4.0.3 to 4.0.4 Update

I already described my full rom upgrade to 4.0.3 in a former post https://blog.coffeebeans.at/?p=208. This time I chose not to loose my apps+configuration and downloaded an official 4.0.3 to 4.0.4 patch from google as the OTA-update failed without an error message and the hourly message that there is an update available was a bit annoying.

If you follow my steps you do this on your own risk and I’m not responsible if you brick your phone or loose warranty.

I found an officially signed update package under http://forum.xda-developers.com/showthread.php?t=1445635 (Android 4.0.3 (Build IML74K/XXKI1 Radio/KL1 Bootloader 4.0.3 -> 4.0.4) and copied it over to my sdcard. I also copied the SuperUser-zip I used the last time. Then I rebooted into bootloader and started recovery mode. There I just installed the downloaded patch and the superuser package in this order.

Then I checked that there is no install-recovery.sh in /system/etc. I had to rename it again, as I did the last time. Then i booted my new 4.0.4 without any problems. Also the recovery mode is still working after a reboot.

 

Manually update Google Nexus S I9023 with Android 4.0.3 Ice Cream Sandwich and root it

There are lots of forums explaining how to upgrade or root a Nexus S but it took me hours to find all needed parts and get it running with ICS and rooting it afterwards. So I decided to summarize my experience – of course you follow my steps on your own risk and I’m not responsible for bricked phones or lost warranties:

ICS

First I was waiting for an OTA update but nothing happened and after looking for a way to manually do it I found some links to Google full ROMs under http://forum.xda-developers.com/showthread.php?t=1445635 and decided to try the update. I chose the “Android 4.0.3/IML74K/XXKI1 Radio/KL1 Bootloader” full rom and downloaded the package.

With this image on the sdcard of my phone, copied over USB, I rebooted my phone into the bootloader by holding power and up button to power it on. As I’ve already unlocked (fastboot oem unlock) my bootloader before I skipped this step now and there are dozens of howtos for this – but mentioned that most of these forums told me unlocking the bootloader voids warranty. In the menu I chose recovery, mounted the sd card and installed the downloaded package. After a reboot i had ICS 🙂

Custom Recovery

But trying to get back into recovery I had to find out that the upgrade broke my recovery image. So I looked for the latest recovery image for crespo under http://download.clockworkmod.com/recoveries/ which was recovery-clockwork-5.0.2.0-crespo.img. I downloaded this file and flashed it with fastboot which only works if you are in the bootloader. I copied the image to my plattform-tools folder of the Android-SDK before

Now it was possible to get back into recovery. But only till next boot of the phone. There is a script installing the broken image on every boot. This can be stopped by renaming install-recovery.sh in /system/etc of the phone. I mounted /system in the recovery menu then run these commands:

Now the phone was running with stock ROM without root access.

Root

I downloaded Superuser-3.0.7-efghi-signed.zip from http://androidsu.com/superuser/. There are different versions but only one for ICS. Icopied this file into the plattform-tools folder of my SDK, booted the phone into recovery, mounted the sdcard and then run this command to copy the file to the phone:

Then I installed the file over the recovery menu and rebooted it. Now I have a rooted Nexus S with Android 4.0.3 and custom recovery.

Lessons learned

I shouldn’t have booted ICS after every single step to see if it is still working and to appreciate my work. All steps should be combinable by copying all needed files mentioned above to the sdcard (no matter how) and then doing the following – every step is explained above:

  1. Boot into bootloader and choose recovery in the menu
  2. Install new ROM
  3. Reboot the phone into bootloader or get back to bootloader in another way
  4. Flash recovery
  5. Choose recovery in the menu
  6. Rename install-recovery.sh
  7. Install Superuser package
  8. Reboot the phone normally