How I flashed my HTC Dream (T-mobile G1) with CyanogenMod 6.0.0-DS

Remember that post I made on changing the google account of HTC Dream? Then you will remember me saying “I bought a fairly new G1...”

Well, there was this day I posted a tweet on twitter saying I had issues with data usage of my G1, and a friend (@kenniy) responded and told me to mod my G1 for optimum performance and recommended Cyanogen Mod. Since that day (which should be 6 months ago), after reading about the benefits, I decided in my mind that I was definitely gonna mod my G1. Then after reading about doing it on several websites and discovered that most of them had very different ways of doing it with a common recurrent warning that my phone might get bricked, I finally gave it a trial 5 months ago. I choose a website that explained very well with detailed snapshots of the process, then I discovered that I couldn't go past the first stage because my G1 has android 1.6 (donut) and the steps will only work for 1.5 (cupcake). I searched for ways of modding my G1 running donut, and the only site I found that seems to explain it well didn't have a single snapshot and had too much warnings. So I suspended my desire to mod the G1 till when I have used the phone for a considerable time, when I won't be too bothered if the phone bricks.

Well that time came yesterday, I just couldn't put up any longer with the restrictions of the small internal memory and the fact that some applications are now being built for OS 2.1 (eclair) and above. So I braced up and faced my fear, and believe me I'm glad I did. I now have the latest android OS (froyo) running on my G1, can now send files via Bluetooth and even operate a swap partition on my phone.

So in case someone might need a more recent post by a more current user, I decided to share my experience, step by step and with snapshots. So let's go!
NOTE: I'll assume you are also using the android 1.6 on a G1.
First you will need to boot into the bootloader of the G1 to record the radio type and ROM type of your G1.
There are two ROM types,
PVT, and
There are two radio types also,
To boot into this mode you will need to switch off the phone first. Then press the camera button and almost immediately, without leaving the camera button, press the power button. Below is a snapshot of how I did it with my phone. Now note the multicolor screen that comes up and record the ROM type and the radio type of your phone (it will show at the upper part of the phone screen).

Now you are going to download all the necessary files you will need for the whole modding process.
Firstly, you will download the DREAMING.nbh RC29(US) or DREAIMG.nbh RC7(Europe) file that will downgrade the android 1.6 to 1.0 which is necessary for the whole modding process (actually you won't be able to root the phone without this downgrade, that is why it is necessary).
Secondly, you will download Amon_Ra's Recovery which is the actual rooting image file. 
Thirdly, you will download the appropriate radio for your G1, or
Fourthly, you will download the appropriate SPL file, depending on the ROM type of your G1. If your ROM is PVT, Haytou's SPL is recommended. But if your ROM is DVT, you have to make do with HardSPL to avoid bricking your G1.
Finally, you will now download the Cyanogen Mod 6.0.0-DS and the tiny gapps files (you need this google apps zip file to pre-install the market app during the installation the Cyanogen Mod, this will be very useful)

Get a MicroSD card (the small external memory card the phone uses), format it with FAT32. Copy only the DREAMING.nbh file into it.
Power off the G1 and like you did earlier on in step 1, boot into the bootloader. Follow the instructions to apply the DREAMING.ngh which will downgrade the phone to android 1.0. Now press MENU, HOME and POWER buttons all at once to power off.

Put a SIM that has active data plan or GPRS/EDGE/3G enabled (with enough money in it to access the internet). Power on the G1, it will show you a screen with the Emergency call dial button. Press the MENU button to reveal APNs, select your SIM Provider's APN or create a new APN entering the correct APN setting for your SIM Network provider. Now return to the initial screen, touch the middle of the screen and configure your Google account to gain access to other functionality.
Press the home button and slide the phone to reveal the keyboard. Press ENTER twice, type telnetd and press ENTER (do not bother about the contact screen that comes up and the apparent nothing that happens after pressing ENTER). Go to the market app and install telnet by clockworld, launch the telnet app you just installed and make sure localhost is in the first textbox and 23 in the small textbox to the right. Press ENTER.

Remember the Amon_Ra's Recovery file you downloaded? Rename it to recovery.img and copy it to the MicroSD card and disconnect the phone from the computer. Now open the telnet application you installed earlier on and type the following  flash_image recovery /sdcard/recovery.img  and once this is successful you will notice # # on the screen showing below the command you typed. If you got a "permission denied" prompt, type su flash_image recovery /sdcard/recovery.img

Power off the phone and remove the MicroSD card, copy the radio file you downloaded ( or, the SPL file (a .zip file), the Cyanogen Mod 6.0.0-DS (mostly likely named as the gapps file into the card. Replace the memory card.


You will now boot into the recovery mode by pressing the home and power buttons at the same time.

Once the phone has boot into the recovery mode, scroll to "apply zip from sdcard" and select the radio file, press the home button to confirm. The phone will reboot during the installation, once the installation is complete select the reboot option (first on the list).
Now boot into the recovery mode again by pressing the home and power buttons at the same time, scroll to "apply zip from sdcard" and select the SPL zip file, press the home button to confirm. Again you will be requested to reboot, select the reboot option to complete the installation.
Again boot the phone into the recovery mode, select the "apply zip from sdcard" and select the Cyanogen Mod 6.0.0-DS zip file, press the home button to confirm and the phone will say update successful. Now scroll again to the "apply zip from sdcard" and select the gapps zip file, press the home button to confirm. Then reboot the phone and power off if it boots back to the recovery mode (power off is the last option on the recovery mode list).
Now you are through installing the Cyanogen Mod 6.0.0-DS which is built on the android 2.2 (code named froyo). Just power on your phone and it will now boot into the new OS that makes your phone operate like a Linux computer with the much needed root permission (or superuser capability).

Just like it happened to me, if you notice that the phone after booting to the new OS only shows the lock screen and a black screen with notification bar, and does not detect network or show home screen. Just reboot into the recovery mode and select wipe, apply all the wipe options (wipe data/factory rest, wipe cache and wipe Dalvik-cache) and reboot. That should solve the problem, I don't know why it happened to me but I suspect it's that my cache is full and the /system is also full. But whatever the reason is, wiping did resolve it.

If you need any further clarification or help, feel free to use the comment. I will try to monitor this post's comments as often as possible.


    I followed everything, you only missed the part where I needed to use the spl file, but I tracked that down on one of the many android forums.
    I also had to do the wipe to get it to work.
    I really appreciate your thorough step-by-step approach.

  2. Thanks Mike, I have seen how and where I omitted the spl. I will make the correction. I am grateful for your encouraging comment.

  3. I have made the correction. Thanks again.

  4. sir, i followed your steps and my phone is working correctly with my new cyanogen mod 6.1.0, but the problem is that my Bluetooth is not working. please help, thanks

  5. I have not yet encountered such a problem. So I can be of little help.

  6. Mike, i cannot seem to find the site to download the cyanogen mod. any other recommendations?

  7. bt let me give u an insight of the problems i had. my o.s used to be 2.2 and i tried getting it to 2.3 but it backfired. wat happened was dat after downgrading and rooting, etc. i had to install da os 2.3 and it gave me a message of certificates not found/missing. something of that sort. pls help me out cos am now stuck on 1.0

  8. Visit


  10. Since you are already on android 1.0, just go ahead.

  11. This comment has been removed by a blog administrator.

  12. sir,I am also using HTC t-mobile g1 which Is usually refered as '32b'.and I m in way to follow these steps and upgrade.I jus want to ask 2 simple doubts,1)will this steps work for my 32b device.2)I have seen in many upgrade instructions thatthe sd card has to be partitioned I.e ext2 and ext3,so Is there no such partitioning step here.

  13. Hello Arjun, that's the exact phone I use(d). You can go ahead as it will work for you. And you don't need to partition or format the SD card as ext2 or ext3.
    You are good to go!


You can be sure of a response, a very relevant one too!

Click on Subscribe by Email just down below the comment box so you'll be notified of my response.