[G1 Android Development] here.david:
6 steps to Fastboot in Ubuntu (Linux) =<15mins to correct what usually takes hours!

READ everything 1st before doing...!!!!!!!! Two sections - 1st what you need and the 2nd "6 steps on How to"

1st what you need -

While the actual restore is a very easy 6 step process, who knows what has been done to all the million of G1's out in the wild...and YOU REALLY NEED TO KNOW WHAT YOU HAVE...therefore you have been warned...so I will explains it all before the below 6 steps...

When I 1st started, I just flashed, way to many issues happen, so I did some trial and errors -

1st I just flashed the new ROM over the current one, got many issues, next I reformatted the SD then Flash to the Base ROM -EACH- time and re-install everything (80+ apps) and then Themes no issues, then the new ROM flash would have issues, start all over with the time consuming apps (80+) again, and then Themes, then start all over again each NEW ROM...I know might be over-kill. just needed to "learn" so after 100's of hours (OCT 09 - pre-order) I am now ready to "have fun"...=< 15mins to get back to a fully enjoyable G1 vs. hours...

Assuming you have a "rooted G1 phone" all you needed is the the G1, a correctly formatted SD card (for whatever ROM you are using), a usb cable, your Nandroid backup (I use a "clean ROM install" e.g. now on CM-3.4, without any added Themes, e.g. Hero 1.x), and the fastboot binary (you can search for it, a little work is good for the soul...<grin>).

Put the fastboot file in the folder with your Nandroid back up of the "clean" G1.

Go to your fastboot file, right-click it, go to the permissions tab, and make sure the box for "make executable" is checked.

Unplug the phone and turn it off.

Boot into your bootloader by holding the camera button and pressing the power button.

You will see three androids on skateboards (my G1 has DREA100 PVT 32B at the top - Warning it has been reported if your G1 does not have PVT, it gets bricked) then plug your G1 back up with the computer (I always leave my G1 plugged in, however, some say that does not work for them).

You should now see the word FASTBOOT, if not, hit the back button until you do (mine had Serial0 until I pressed the back button).

2nd "6 steps on How to"

Now follow these six (6) steps

1. Open a terminal, become SU, and cd to the directory your Nandroid backup files are in (I have a directory called HTC).

2. root@a6110n:~# cd HTC

(were I keep my Nandroid current backup)

Warning !!! (be sure to wait for the *second* OKAY before typing the next commands, some systems do not need the "./" in front of the fastboot)

3. root@a6110n:~/HTC# ./fastboot flash system system.img

sending 'system' (63298 KB)... OKAY

writing 'system'... OKAY

4. root@a6110n:~/HTC# ./fastboot flash userdata data.img

sending 'userdata' (24735 KB)... OKAY

writing 'userdata'... OKAY

5. root@a6110n:~/HTC# ./fastboot flash boot boot.img

sending 'boot' (2560 KB)... OKAY

writing 'boot'... OKAY

6. root@a6110n:~/HTC# ./fastboot reboot

Thanks to everyone for all the HELP these past months...! JK, CM, and all!

try DarkriftX's precompiled fastboot (compiled on kubuntu x86) : http://android-dls.com/wiki/index.php?title=Fastboot