Friday, 12 February 2010

Android ADP1 Firmware to CyanogenMod

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

Friday, 5 February 2010

My favorite android applications

Multimedia


From Google
Goggles : Use pictures to search web, just amazing. A visual search application, instead of using words, take a picture and search. Works very well with logo's. one of my top favorites. More info
Google Goggles

Ringtone
Ringdroid : Easy way to make ring tones from songs we have. More info ringdroid

Picture editor
Picsay : Quick and effective way to add effects to pictures from mobile. More info Picsay

Radio
A Online Radio : Excellent way to listen online radio stations aor



Communication



SMS
Handcent SMS : found it better than the native message application. More info handcent

SMS Backup : useful to backup sms messages to gmail with a separate label android-sms


Voice
Sipdroid : SIP/VOIP client, very useful application especially to connect and make calls with your sip provider like action voip. : More info : sipdroid.org



Networking and System tools


SSH
Connectbot An easy way to establish ssh connection, support ssh key generation and public key authentication.connect bot

Monitoring
NagMonDroid Nice application to connect to your nagios instance and display short summary. I found it very useful to get my server status while i am on road :) More info :nagios page

CIDR
CIDR calculator Very useful IP subnet calculator. More info : CIDR Androidlib