[G1 Android Development] dead2hill:
TUT, Root and Get to CuPcaKe!

i know there are plenty of tut's out there already, but im just giving a hand, i shouldn't get any slack for this, for it's all to help one another!

Notice: not trying to rip any bodies credit, in Summary i want to thank everyone here at the forum and all others that are involved with android! feel free to criticize, but flaming is uncalled for.

Also special thanx to iMbedGFx.com for providing the original posting!

Without further ado.....

-----------------------------------------------------------------------

Hello, In this tutorial i will try to be at most specific as possible, i want this to be a fastTrack to gaining ROOT and Updating to Cupcake.

All files are located at the bottom of the post, and details are in between! post any problems that occur!

(Note: This tutorial is written from my knowledge base, from multiple fails and tries, however, a TON of credit goes to the folks @ Xda-dev's and Kudo's to all Dev's and Techy's Alike!)

okokok!

Let's get familiar, when you boot your phone you see tmobile boot screen and >

When you Boot up you see >

This means you have Stock G1 Android Operating System! (boring, now outdated!)

Now that were on the same page lets get started!

(TIP: to save a couple minutes later, familiarize with the android market, and search for "telnet", telnet is a terminal emulator that allows us to gain access to SuperUser abilities.(ROOT)Must use this app or another terminal emulator to root your phone)

This is an example of "about phone" in your settings, the highlighted number you want to take note of, as it will change multiple times through this tutorial. Currently if you have the current OTA update you should have RC33 in the highlighted area.

OK! time to root!

First you must acquire several files to flash your system, the first you are going to use is

DREAIMG.NBH

to obtain this file unzip the DREAIMG-RC29.zip file, then copy this file to the root of your sdcard. or just download the file itself!.

now the steps....

1. power down your phone!

2. power on your phone while holding the camera button, atleast till you see the boot screen

3. when dreaimg.ngh responds press the power button! (this is taking you back to RC29, Do not power down, or disrupt this process, let it completely finish!)

4. depress the track ball to reboot your phone, CONGRATS thats the first part!

NEXT!

1. download recovery.img and copy to your sdcard

2.download Hard_spl.zip and copy to your sdcard (Note: leave this one zipped!)3. once files are copied to your sdcard reboot phone.

4. (important, follow closely) once fully booted press menu 2 times before you press anything else.

5. start typing, it will bring up contacts.. dont worry!. type "telnetd" with out "" then press enter.

6. press back and start the telnet app we downloaded earlier from the market.

7. you'll see >

(If you've followed directions up till now, when you press connect you will see a line displayed with different characters, if you did something wrong you will get a "connection" error!)

8. In the command line type >

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

* cd sdcard

* flash_image recovery recovery.img

* cat recovery.img > /system/recovery.img

once the last line is entered and no errors along the way you now have root!

9. Now, go back into your sdcard and rename the Hard_spl.zip to update.zip

10. Power down your phone, hold down the home key and power back up!

11. You'll see the coustom "fingerprint" recovery menu for your rooted G1. press "alt+s" to flash the update to your phone.(if you dnt see a fingerprint screen press "alt+L" to show it)

Congrats, you now have a rooted phone with Hard_spl

the hard spl allows access to ADB terminal via CMD prompt. it allows developing and much more. when you boot holding the camera button you will now see >

thus verifying your hard_spl update!

NEXT!

You are running an old version of android, so we must now upgrade!

1. Download "downgrade file for RC30.zip", (ignore the other files) Take the update.zip and place on your SDCARD.

2. Repeat the same step as before to flash, reboot phone(while holding home key) when it loads press "ALT+S" to flash the update!

3. reboot phone and now your on a workable firmaware, now we can go to cupcake!

On To CupCake!

Currently, there are 3 builds of the Cupcake Firmware.

*JesusFreek jfADP1.5

*Dudes CUPCAKE

*The H build, by hayrauko, (sorry if i slaughtered the name)

choosing a ROM is really your choice, the method's are exactly the same,

simply place the .zip of your choice on SD rename it "update" reboot holding home screen, and "ALT+S" to flash. !

Congrats you have made it to cupcake! the majority of the look is the same, but the firmware is by far different, with too many to list updates, (google's your friend)

to verify that you have 1.5 your android boot splash should look like >

OK! thats the just of it, this took a bit to put together, so i hope it helps someone!

If stuck anywhere, feel free to TXT,AIM, and of course post here!

[COLOR="Lime"]DREAIMG.NBH: [/COLOR] http://www.mediafire.com/?md4im0zemjj
[COLOR="Lime"]RECOVERY.IMG:[/COLOR] http://www.mediafire.com/?axmg4mo0xwy
[COLOR="Lime"]Hard_SPL:[/COLOR] http://www.mediafire.com/?zjm4odmoded
[COLOR="Lime"]Upgrade files RC30:[/COLOR]http://www.mediafire.com/?kezz3z4mm2n
[COLOR="Lime"]JesusFreek:[/COLOR] http://www.mediafire.com/?tmqoytmqwg4
[COLOR="Lime"]DUDE's build:[/COLOR] http://www.mediafire.com/file/axmg4mo0xwy/recovery.img
[COLOR="Lime"]Hbuild1.5:[/COLOR] http://www.mediafire.com/?mzunow5lyma