[G1 Android Development] oliverthered:
12 hours, lots o searching and a few flat batteries

Finally I feal like I actually own the G1 I purchased last month.

This is an aproximation of the process I used to liberate my G1 using information from various different sources if you follow this (memory forgiving) you can save your self a lot of time trying to get a new G1 CupCaked, not the best write up in the world (stdyed up all night, got home, thought it would be a good idea to have another crack at freeing my G1 before I went to bed!) so if your following this then make notes for a propper write-up

I started off with a G1, a laptop and a 4GB fat32 sd card.

First follow the tutorial at the begining of this thread up untill

How to install cyanogen recovery image

Next boot up your phone and download the telnet client

go to home and do crlf crlf telnetd crlf if you a dos user, adjust crlf accordinly for other operating systems.

copy or download cm-recovery-1.3.1.img onto you sdcard

fire up telnet and

flash_image recovery /sdcard/cm-recovery-1.3.1.img

copy Radio from http://code.google.com/p/sapphire-port-dream/ onto the root of the sdcard as update.zip

reboot

do the home + power on thing should boot up cm recovery

alt+s to load the update

reboot

at this point I found that cm wasn't persistant, some things mentioned cm needing a root

so I believe that I rebooted with home held down then load the rooted CM ROM version 3.6.5 from http://xdaforums.com/showthread.php?t=518851 from the normal andriod loader, it didn't seem to work?

I then rebooted and

crlf crlf telnetd crlf

fire up telnet

flash_image recovery /sdcard/cm-recovery-1.3.1.img

mount -o remount,rw /dev/block/mtdblock5 /data

cd /data

cat /sdcard/cm-recovery-1.3.1.img > recovery.img

flash_image recovery recovery.img

coppied the SPL from http://code.google.com/p/sapphire-port-dream/ on to the sdcard as update.zip

rebooted holding down home

updated SPL from cyanogen I think

rebooted holding down home

went to the console in cyanogen to partition the sdcard

instead of using any of the horrible scripts I used parted

something like

parted /dev/block/mmcblk0

rm 1

quit

reboot recovery

this removed the origional fat32 partition from the sdcard and the reboot got the kernel to pick the change up

then

parted /dev/block/mmcblk0

mkpartfs

primary

fat32

0

3300

mkpartfs

primary

ext2

3300

3800

mkpartfs

primary

linux-swap

3800

4000

quit

reboot recovery

Figures are in MegaBytes change to match your SD card / preferances.

when the recovery console comes up again go to command prompt and type

update_fs

reboot recovery

to upgrade the partition to ext3

after this reboot make sure your phone is plugged into your pc and go to the console and type

echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file

you pc should now mount the fat partition on your sdcard

copy over the cm rom (no name change) and the SPL (I couldn't remember if I'd done it earlier or not) naming the SPL update.zip

type

recovery

to go back to the menu

then update the phone to update.zip and reboot holding down home so you go back into the recovery console

when it boots back up choose the wipe option

then go to the recovery console

rename the cm rom to update.zip

type

recovery

to jump back out again

apply the update.zip

reboot

wait

wait longer

andriod pops up

wait untill your just about to start over again because you think your phone is bricked....

then....... It boots, fully rooted.