Installing donut in Android Dev Phone on Mac OS X, fasboot method.

Last May(2009) I wrote the steps I followed to upgrade my Android Dev Phone(ADP) to the latest version then called cupcake(1.5) but never published that note, this time I don’t want to let that happen. 😉

I’m using:
Snow Leopard v 10.6.1
Android SDK v 1.6 r1
ADP Firmware v 1.5(cupcake)

1. Install latest SDK, currently 1.6 r1 from here.
Add the android directory to ~/.bash_profile

#  Adding Android path to global PATH
export PATH=${PATH}:~/android-sdk-1.6_r1/tools

2. Install fastboot, download from here, get the fasboot-mac one. Put it on your tools directory. And Change permissions:

$ chmod 744 fastboot-mac

3. Download _Radio Image_ and _System Image_ from the table in here.
4. Pushing Radio Image:

$ adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attachedHT92XXXXXXXX    device

$ adb push ota-radio-2_22_19_26I.zip /sdcard/update.zip
992 KB/s (9181622 bytes in 9.038s)
$ adb shell sync$
  • Reboot and hold home while turning on.
  • The ! sign will appear, slide the keyboard press ALT-l now upgrade with ALT-s, finally Home+Back button to write and reboot again.
  • Next boot will update the radio image.
  • 5. Flashing System Image.

  • Reboot the device in fasboot mode, press Back button when turning on. (Fasboot message will appear)
  • Run from the Terminal:
  • $ fastboot-mac update signed-dream_devphone_userdebug-img-14721.zip -w
    archive does not contain 'boot.sig'
    archive does not contain 'recovery.sig'
    archive does not contain 'system.sig'
    --------------------------------------------
    Bootloader Version...: 0.95.3000
    Baseband Version.....: 2.22.19.26I
    Serial Number........: HT92XXXXXXXX
    --------------------------------------------
    checking product... OKAY
    checking serialno... OKAY
    checking version-bootloader... OKAY
    checking version-baseband... OKAY
    checking version-cpld... OKAY
    sending 'boot' (1838 KB)... OKAY
    writing 'boot'... OKAY
    sending 'recovery' (2088 KB)... OKAY
    writing 'recovery'... OKAY
    sending 'system' (58570 KB)... OKAY
    writing 'system'... OKAY
    erasing 'userdata'... OKAY
    erasing 'cache'... OKAY
    rebooting...

    -w option will wipe out all the applications and cache.

    That’s all you need to get the donut… ADP firmware is now v 1.6.

    —-
    As I don’t have a data plan to Sign-in I used the following command to sign-in over wi-fi instead.

    $ adb shell
    $ am start -a android.intent.action.MAIN -n com.android.settings/.Settings
    Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.Settings }

    References:
    HTC Developer Center
    Android Developer SDK 1.6.
    How to register an Android Dev G1 over WiFi

    Installing Snow Leopard

    Just want to share the steps I did to upgrade, nothing out of ordinary, pretty straight forward.

    Insert disk:

    Double-Click on Install Mac OS X, then few more clicks…

    Accept the terms otherwise you can’t go on…


    Sure, Install!


    Oh well yeah, do it in the only HD I have 🙂

    Finally use your account/password..

    Installation will start, it took about 1hr, will restart at some point and continue the installation.

    When done, you will get back to first window shown above with that amazing video you see when booting first time your mac.

    Looking at the version now I’m on the Snow Leopard!

    Something I realize is that the spotlight has to re-index, few more minutes and you are done.