How To: Flash a Custom Recovery Image on the HTC G1 / Dream

OBSOLETE: SIMPLY DOWNLOAD ROM MANAGER FROM THE MARKET AND SELECT FLASH RECOVERY TO FLASH A RECOVERY INSTEAD OF THIS PROCEDURE. THEN HEAD TO SECTION IV TO CONTINUE.

I. Before You Begin

1. You must have done our How To Root (AndRoot Method) procedure.

II. Setup ADB

1. Head over to our How To Setup ADB procedure, once done and you can see your phone’s serial number, come back to this procedure and continue.

III. Flash a Recovery Image

1. Download the custom recovery image for your phone and flash_image and save them to your computer.

G1/Dream
Roger’s Dream

Flash_image (Updated 09.24.10)

2. Copy the recovery image and flash_image to the C:\AndroidSDK\Tools folder you setup during the ADB setup procedure. (Its the same folder that has adb.exe in it).

3. Plug your phone in via USB cable and make sure USB debugging is still checked on from the ADB procedure. Do NOT mount the sd card, just leave it unmounted.

4. Open a command prompt on the computer by clicking on the Start menu and typing cmd and hitting enter.

5. In the command prompt type the following with hitting enter at the end of each line (if you get an error after the “adb push flash_image” line below, make sure you downloaded it and copied it into the tools folder of the AndroidSDK as instructed in steps 1 and 2 of this section):

cd\
cd c:\androidsdk\tools
adb push recovery.img /sdcard
adb push flash_image /sdcard
adb shell
su
mount

6. When you hit enter after typing in mount it will give you a list. Look in the list towards the bottom for a line that looks like “/dev/block//vold/179:1 /sdcard”. It may be slightly different but it will have /dev/block at the beginning and /sdcard at the end. We are going to now type mount [AndTheLineWeJustFoundThatLooksLikeTheOneAbove].

mount -o remount,exec /dev/block//vold/179:1 /sdcard

(Again keep in mind yours maybe be slightly different than mine here, make sure to change what you type here according to what you saw in the options after typing mount originally)

7. Then continue typing with hitting enter at the end of each line:

cd /sdcard
./flash_image recovery /sdcard/recovery.img

6. You should now have a custom recovery image! Turn off the phone and turn it back on by holding down Home and Power until the recovery screen comes up. Once it is up, head to the next procedure to load a ROM.

IV. Loading a Custom ROM

1. Head to our How To Load a Custom ROM procedure to continue.

  • Derrek

    keeps telling me adb is not…. bla bla what gives? Im about to throw this piece of junk G1 out the window

  • Frandoom92

    The link to the flash image is gone

  • Frandoom92

    on CMD when I type Adb push recovery.img /sdcard

    IT just stays there and I cant type anything else PLEASE HELP

  • Oscar

    I can not download the flash_image by saying that this method is obsolete and I have a g1 want to install the rom manager did not appear on the market as I have with Android 1.6

  • Louie

    been trying to install recovery on my G1 having major issues, and also the links up top there on the Video arent anywhere or atleast i cannot see them, please help, thanks!

    Louie