[G1 Android Development] da_jojo:
for the t-mobile g1 with 1.6 firmware and some number stuff like drc92 and other G ones that won't cooperate..

to mod it from a stock (t-mobile nl) rom.

What u need :

1 sd-card (preferably more then 128mb)

1 pc running windows (i run win 7 ultimate)

1 usb cord

1 phone-internet connection (there is a wifi version too but since i find it not neccesary i wont link it. instead if you dont have phone internet : just download the packages on pc and put them in the G1)

1 app from market called : mybackup (you can use it for backing up contacts and stuff.. backup to sdcard and copy it to pc)

Backup

-download app MyBackup from the google marketplace and make a backup of programs and contacts (if you dont have phone-internet then get it from pc)

Preparing Gold Card:

- insert sd card into G1 and format it (whatever sd card and whatever format (there is only one on G1 hehe so go find it. also format is to be found in G1.)

- attach to pc and copy the RC7 image(DREAIMG.NBH) on the sd card in the G1 (do not detach from pc, i know you wanted to)

- goto appstore and download terminal emulator (as it says like that)

- open Terminal Emulator on G1

- type:

cat /sys/class/mmc_host/mmc1/mmc1:*/cid

- write down the code somewhere, its ur CID thingy

- push backbutton

Reverse the CID:

Begin: 1c5356555344202010051cc3b7008cf4

1c 53 56 55 53 44 20 20 10 05 1c c3 b7 00 8c f4 (yes i copied it from you thnx - normal code... add the spaces so your CID looks like this (your own CID not this one )

f4 8c 00 b7 c3 1c 05 10 20 20 44 53 55 56 53 1c - reversed one (note the couples are reversed)

00 8c 00 b7 c3 1c 05 10 20 20 44 53 55 56 53 1c - now change the first two digit to 00

so you will have something looking like this: 008c00b7c31c0510202044535556531c (this is example CID so use ur own!)

- goto revskills and get a goldcard image with the code ur having now. revskills page

- now get the mail and save the attachement in a dir

Making your Goldcard:

- right-click and open as admin Hxd editor

- in HxD editor :

- goto extra menu and open disk > choose psysical disk > ur sd card

- goto extra menu and open disk image > choose the received file from mail called : goldcard.img and press ok on the popup saying some about 512

- now go to this tab goldcard and goto topmenu and edit>choose select all and then topmenu again and copy

- now go to first tab (ur sdcard) and select 00000000 to 00000170 with mouse (mark it)

- goto top menu and select edit> write

- now goto top menu and save

- pull the G1 out of pc

- yes you can :P

- ok now pull the battery out (or shutdown if u have the time)

- press camera button+power so it will give this rainbow 3 color shizzle

- you see a gray screen saying some words you probably wanna read.

- now press power to confirm overwrite the rom thing

- reboot by holding the two phone buttons (hangup and answer)and press menu or home and back (im not sure but one of these work and you see something saying it updates some stuff.

(if this dont work in ur G1 (specially latest versions) you can use a sdhc usb cardreader or a windows mobile phone or anything else with direct disk acces mode , probably nokia and sony ericsson too)

on the next boot you will have the old RC7

(if you have no internet on phone you can skip the next 2 lines and download the package and copy it to the G1 (dont know where so if anyone can tell me it would be nice to help people out )

- fill in your google account stuff

- Download Android "Telnet" application from the Market.

- Download recovery.img and copy it to your SD card. rename it to recovery.img

- Download the Hard SPL and copy the zip file to the SD card. (this is for G1 drea110 htc dream only so be carefull as this stuff can ruin your phone)

- All files must be on the root of your SD card.

- turn off the phone and detach from the pc

Rooting your G1- RC7 phone:

On RC7 Rom and lower, anything you type into your keyboard is also being run in a hidden console with root permissions.

To get root access, do the following:

- Restart your phone. Wait for your phone to start up fully and show the home screen.

- Unlock it by pressing menu after you typed code for sim and it fully started ( it will auto-lock itself)

- Hit the enter key twice,(Yes, it will start up a contact search, so you can see what you type . aint it cool) type "telnetd" and press enter.

- start telnet application you downloaded before on G1 and connect to localhost. (if you dont see localhost and connect window you have wrong app or need to reboot another time). If you connect successfully, you will have a root prompt "#".

Type the following into Telnet (these commands will give you root access for now):

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

cd sdcard

flash_image recovery recovery.img

cat recovery.img > /system/recovery.img

Power off your phone by pressing send/hangup&menu together when its done.

Now you have the modified recovery and root !

Now that you have root and stuff, you will want to apply "Hard SPL" to your phone. HardSPL includes engineer SPL and is what will allow you to apply any rom image from any other regions

(like UK on US phones, UK on dutch and vice versa), create full backups of your phone, install the latest build from the Android source, enable usb on recovery mode, usually resurrect your phone if it is "bricked" and give you allways root and ability to flash another rom. Allows fastboot. Fastbooting of images allows the flashing of 1:1 images of system, data, boot, cache, pretty much everything.

You have already downloaded the file to your SD card, so now you can apply it.

-Start up in recovery mode by holding home and pressing power.

-You will now enter recovery mode. You should see an exclamation.

-If you do not see a menu on screen, press Alt-L to show the menu. It is supposed to show the modified recovery menu.

-select update from zip to apply the update.zip (hardspl) from the SD card.

-After the update is complete, hold Home and press Back to restart.

ok your G1 europe 1.6 or whatever version is now unlocked.

Installing your modded rom:

now download this europe rom (or here: link ) and this cyanogen update mod

(here are more roms: android-roms make sure you READ what is needed for this roms as these all need different recovey and things which are all nicely written to you in the help and readme files that come with it.)

- copy both files to root of the sd-card

- detach G1 and shut it down

- press home and start to get into the menu

- wipe device

- wipe cache

- install from zip the europe rom and do not reboot or anything else

- install cyanogenMod

- after it finish press both talk&hangup button and tap menu

- its probably giving the recovery menu . take out the battery and put it in and start the phone normally

- wait a long while for the phone to setup and i donno what the heck it needs to do but let it.

enjoy...

THnx to this greatfull forum-members like myself, moneytoo, amon ra, cyanogen, mark_v, persiansown who do this coz few others can and they have a sort of happy feeling doing it.