This note is more specific to mac os x, more likely the same steps will works with any OS.
CyanogenMod is a customized, aftermarket firmware distribution for the HTC Dream and Magic cell phones, and the Google Nexus One.
Based on the open-source Android operating system, CyanogenMod is designed to increase performance and reliability over Android-based ROMs , such as FLAC Lossless Audio, multi-touch support, the ability to store applications on the microSD card, and support for tethering.
Here are the steps I followed to get my ADP1 installed with Cyanogen mod.
– Backup your data if required, this steps will completely erase your mobile applications and settings.
Step 1:
Create a source directory:
$ mkdir ~/cyanogen
$cd ~/cyanogen
Download fastboot to your computer:
Refer this url to get the correct fastboot.
HTC Developer site
Download the latest compatible version of Cyanogenmod:
$ wget http://cyanogenmod.com/download/recovery/cm-recovery-1.4.img
Step 2:
Boot the android device in fastboot mode.
To enter fastboot mode, reboot the device while holding down the BACK key.
Once it is in to fast boot mode, flash the Cyanogen recovery image:
$ cd ~/cyanogen
$ ./fastboot-mac flash recovery cm-recovery-1.4.img
sending ‘recovery’ (4002 KB)… OKAY
writing ‘recovery’… OKAY
Then place the phone in to flash boot mode
$ ./fastboot-mac boot cm-recovery-1.4.img
downloading ‘boot.img’… OKAY
booting… OKAY
$ adb shell mount -a
* daemon not running. starting it now *
* daemon started successfully *
$ adb shell
/ # mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.disabled
Reboot back to fastboot mode.
$ ./fastboot-mac flash recovery ../cm-recovery-1.4.img
sending ‘recovery’ (4002 KB)… OKAY
writing ‘recovery’… OKAY$ ./fastboot-mac reboot
Download the Android 1.6 Recovery Image (signed-dream_devphone_userdebug-ota-14721.zip) if dont have:
From HTC (or) android website – This is just to get the adp tool
Download the latest CyanogenMod ROM for your device:
Dream (G1): Latest version (stable)
update-cm-4.2.14.1-signed.zip
Export the CyanogenMod ROM to SD card.
$ adb push update-cm-4.2.14.1-signed.zip /sdcard/update-cm-4.2.14.1-signed.zip
But this was not working properly for me, for some reason the adb tool was not able to detect the device. So i just copied it over.
$ cp update-cm-4.2.14.1-signed.zip /Volumes/SDCARD/
* no need for this step if adb tool worked
Now are all set to install:
– Turn your phone off.
– Get in to recovery mode my holding Home button while booting
– select wipe data/factory reset and press home to confirm.
– select apply any zip from sd
– Pick signed-dream_devphone_userdebug-ota-14721.zip.
– Press home to confirm and wait for installation to complete
– select apply any zip from sd again
– Pick update-cm-4.2.14.1-signed.zip.
– Press home to confirm and wait for installation to complete
– reboot
That is it!
Reference : Full_Update_Guide_-_ADP1_Firmware_to_CyanogenMod
Leave a Reply