I’d like to play around Cordova to build cross platform mobile application. So, I took out my 3 years old Samsung Nexus S – the 1st phone I bought by the time I came to Australia. Tried to install CyanogenMod 11 which is based on Android 4.4 KitKat and design for better performence on low-end devices.
So I followed the instruction here. I’ve downloaded the rom and Andriod SDK. Managed to unlock the phone and then stuck at pushing the room via sideload method. It keeps complaining the protocol issue. And no luck with push method as well for very generic error.
So I asked the Google which led me to upgrade the rom manager. So I downloaded the one from this site. Then did the following to flash the manager
fastboot flash recovery recovery-clockwork-184.108.40.206-crespo.img
Started over again with sideload, still with some random protocol issue. But this time, I was able to mount /data folder and ran the following command to push the rom.
adb shell "mkdir /sdcard/0/"
adb push update.zip /sdcard/0/
After the waiting for the installation. Reboot the device and here we go. New OS was installed.