How-to- Root, Hack, and Flashing your G1/Dream Read first!!

Search This thread

cboy007

Senior Member
Aug 13, 2008
232
32
HOLY ****. HELP.

is there a limit to how many times you can activate your device in a certain time period?

because an hour or so ago i went back to RC29 and activated and then i messed around with root and put in some commands and so i reformatted to RC29 and now it says "THERE IS A PROBLEM COMMUNICATING WITH THE GOOGLE SERVERS".

HELP!
 

cboy007

Senior Member
Aug 13, 2008
232
32
geeze i hope it's jsut network congestion.

also, are recovery.img files generic? could someone make one and then have me put it on my own device? because thats where i got stuck last time.
 

jashsu

Senior Member
Nov 15, 2008
1,849
20
geeze i hope it's jsut network congestion.

also, are recovery.img files generic? could someone make one and then have me put it on my own device? because thats where i got stuck last time.

They are generic in the sense that everyone flashing any given version is using the same code. But there are different versions of recovery.img. The one in the sticky is v1.0, which came with the obsolete Mod RC30 v1.0. If you want you can just directly flash v1.3 by downloading any JFv1.3 file and unzipping it.

By the way try to avoid using capslocked "HELP OMG" text in the future ;)
 

jgu71424

Senior Member
Jul 20, 2008
186
1
Phoenix
Can anyone help me with this step by step because im a beginner with this g1. right now my build number kila-user 1.0 TC4-RC30 116143 ota-rel-keys,release-keys. I had a shadow once but this is a different language. please help my e-mail is jesusguzman62@gmail.com
Thank You....
 

aron4588

Senior Member
Jun 14, 2007
169
0
Ok 1 question if after I downgrade get root then upgrade, will be able to install the dev bootloader
 

hetaldp

Senior Member
Jun 26, 2007
318
24
Nashik
Ultimately same old .nbh file flashing method is doing the Tricks

so as long as HTC Dont Change the Bootloader / SPL we can downgrade to RC29 at any time from Future Upgrades.

HTC / TMobile may Patch Bootloader / SPL to stop downgrading, but i think there is no Version tracking logic in HTC Proprietory nbg flashing system.

Hurray now all Remaining guy got option to go to JesusFreaks 1.3 Version and join the Upper League
 

cboy007

Senior Member
Aug 13, 2008
232
32
ok guys i've done everything and now have the modded 1.3 RC30. my quesiton is how do i telnet now? i just tried telnetting from my vista pc like i was before and it didn't work...sorry if this has been answered already or is a really stupid question.
 

mattcam3

Member
Dec 3, 2008
19
25
Odd...

Odd thing happened while i was doing this... I was downloading a new app (atrackdog) before i decided to do the upgrade. So while the app was downloading/installing i formated my SD card, rebooted, and upgraded back to RC29 (i was at RC30) and after it finished, it asked me to sigh into my gmail account like it was a new phone, but after i did that, it told me that it just finished installing atrackdog, which now appears in my app list and runs fine. i open the market to see what was going on, and it was new aswell, and needed me to click "accept".

So somehow, my half-installed app carried over from before the 30-29 'upgrade' ... is this usual behavior?
 

Razor1973

Senior Member
Jun 23, 2006
682
31
Florida
Koush, am I understanding correctly? Is this the release people with OTA RC30's have been waiting for for a long time now? If so, this is great news. I'm already rooted (got an exchange G1), but was once in that predicament and could not wait to see the day in which OTA RC30 would be cracked.
 

veda_sticks

Senior Member
Dec 6, 2006
326
1
Glasgow
www.myspace.com
This allows people with OTA rc30 or tc-8 that has root locked out, to downgrade to rc29 or tc7. giving root back. Which you can then install the modified rc30 or modified tc8 so you can keep root.

I have succesfully done it. Downgraded insstalled tc8 then i saw the new jf 1.3 and installed teh adp1 :)/ Took me just over 30 minutes to work out how to do it and install the updates. For me i had to take my memory card out and format at to fat32 using my card reader.
 

ali_alex

Senior Member
Oct 19, 2007
96
35
paris
If you have RC30/RC8 or later, you must FIRST flash your phone to RC29/RC7 or lower to be able to exploit root access using the following steps. RC29 and lower users can skip this section.
  1. Format the SD card to FAT32 mode (this is sometimes needed. The image is not always found if other files are on the sd card).
  2. Unzip the RC29 or RC7 image file DREAMIMG.nbh to the SD card. (RC29 for US, RC7 is for UK)
  3. Turn the device power off and insert SD card.
  4. Hold Camera button, and press Power button to entry bootloader mode.
  5. Press Power button to start upgrade procedure.
  6. After finish, perform the soft reset to reboot.


Follow these steps once you have RC29 or lower:
On your G1, anything you type into your keyboard is also being run in a hidden console with root permissions. More information regarding that at the bottom of this post. But, to get root access, do the following:

Instructions:
  1. Restart your phone
  2. Type telnetd and press enter - Yes, it will start up a Contact search, do not worry about this, just type telnetd and press enter (the enter button on the keypad).
  3. Download an Android Telnet client (I have one on the Market) and connect to localhost.
  4. you now have root!

Alternatively, if you want to do this without rebooting your phone (not gauranteed to work if your console shell is in a blocking call):
  • On your phone, press enter to clear out the hidden console of any commands.
  • Type telnetd and press enter.
  • telnet into the phone.

Notes:
  • If you want to telnet into your phone from a computer, run netstat on your phone using either pTerminal or Telnet (telnet into localhost) to get your IP address. Both applications are available on the Android Market.
  • Direct download link to the Android Telnet Client.

I verified this by remounting the /system partition as read write and changing files around:
mount -oremount,rw /dev/block/mtdblock3 /system

Warning/Notes as I've been playing with this:
http://www.koushikdutta.com/2008/11/how-get-root-access-on-t-mobile-g1.html

Original Threads/Posts:
http://xdaforums.com/showthread.php?t=441081&page=2

Why this works:
http://android.jim.sh/index.php/ConsoleShell


TC5 RC7 missing, Please upload... or a mirror to be able to download, THANK YOU!
 

rrstx

Senior Member
Apr 22, 2006
83
0
Houston
I have done everything the OP listed. I can reboot the phone by typing reboot, but when I go into terminal and type SU, I get a permission denied message. :confused: I also get the same message when trying to use adb shell. I would like to update to JF's ADP1 version, but without the root access via terminal, it does not work. Of course I could be missing something obvious, but I followed the steps at least 4 times last night with the same result each time. Any assistance is appreciated. I have verified that I am running kila-user 1.0 TC4-RC29 115247 ota-rel-keys,release-kyes.
 
Last edited:

veda_sticks

Senior Member
Dec 6, 2006
326
1
Glasgow
www.myspace.com
You don't type su to get root. Read the instructions. Reboot phone. Once booted type telnetd. Then press enter. This will give you root. Now you can mount your sys partition as rw and copy the test keys ove.

Telnetd will bring up a contact search. This is ok as all key presses r echod to a hiden terminal . Once yu have done that then u can use telnet to connect to local host. U will have root.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Why should you root your Dream/G1?

    Well, hopefully one of those reasons convinced you to get root access on your phone!


    Preparing to Get Root on your Phone
    Getting root on your phone involves exploiting a security hole that existed in an early version of Android. The versions with the security holes are known as RC19, RC28, and RC29 (or RC7 or lower for UK phones). As of RC30 (RC8 on UK), Google patched the security hole so that your phone can not be rooted (don't worry, we can still root it!).
    To check your version, go to the Home Screen, click your menu button, choose "Settings", and then click "About phone". You will then see the following screen:
    RC30.png


    If you have US-RC30/UK-RC8 or higher, you will first need to downgrade your phone to a previous version. (Skip these steps otherwise)
    1. Format your phone's SD card to FAT32 mode:
      • Hook your phone up to your computer using a USB cable and then wait for the notification to show up in your title bar of your phone.
      • Click the notification, and then click "Mount".
      • A new removable disk should show up on your computer. Right click it and select Format, and select FAT32 as the file system type.
    2. Download and unzip the RC29 or RC7 image file. Copy the DREAIMG.nbh file to the SD card. (RC29 for US, RC7 is for UK)
    3. Turn the device power off.
    4. Hold Camera button, and press Power button to entry boot loader mode. You should see a gray/white screen with instructions to flash your phone with the update on your SD card. If you don't see that, make sure you followed the instructions properly.
    5. As per the on-screen instructions, press the Power button to start upgrade procedure. DO NOT DO ANYTHING TO INTERRUPT THIS PROCESS.
    6. After it is finished, perform the restart your phone.


    Rooting your RC29 or lower phone:
    On RC29 phones and lower, anything you type into your keyboard is also being run in a hidden console with root permissions. More information regarding that at the bottom of this post. But, to get root access, do the following:

    Instructions:
    1. Download recovery.img or the new version by Amon recovery-RA-dream-v1.5.2.img and copy it to your SD card (see the previous instructions on how to copy from your computer to your Phone's SD card).
    2. Download the Hard SPL and copy the zip file to the SD card.
    3. All files must be on the root of your SD card.
    4. Restart your phone. Wait for your phone to start up fully and show the home screen.
    5. After your phone starts up, hit the enter key twice, type "telnetd" and press enter. (Yes, it will start up a contact search, don't worry. Just type it.)
    6. Download an Android "Telnet" application from the Market and connect to localhost.
    7. If you connect successfully, you will have a root prompt "#".
    8. Type the following into Telnet (these commands will give you root access easier in the future):
      • mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
      • cd sdcard
      • flash_image recovery recovery.img
      • cat recovery.img > /system/recovery.img
    Now you have root!

    What To Do Now That You Have Root
    Now that you have root, you will want to apply "Hard SPL" to your phone. HardSPL is what will allow you to apply flash images from other regions (like UK on US phones, and vice versa), create full backups of your phone, install the latest build from the Android source, and usually resurrect your phone if it is "bricked". You have already downloaded the file to your SD card, so now you can apply it.

    1. Power off your phone.
    2. Start up in recovery mode by holding home and pressing power.
    3. You will now enter recovery mode. You should see an exclamation.
    4. If you do not see a menu on screen, press Alt-L to show the menu.
    5. Press Alt-S to apply the update from the SD card.
    6. After the update is complete, hold Home and press Back to restart.

    And now, the last step! You are still running an old version of Android, but you want to upgrade to the latest and greatest update! You can do this, and not lose root by downloading modified versions of the updates.

    First, choose a modified image from the list below:

    ADP1.1: (md5: bacc58302e0b239d66c7bcc8db6c434b)
    http://jf.odiness.com/v1.41/JFv1.41_ADP1.1_BuildEnvironment.tar.gz
    http://android-dls.com/forum/index.php?f=24&t=241&rb_v=viewtopic
    http://andblogs.net/2009/01/jesusfrekes-14-images-are-out/

    RC33: (md5: f24b6c237775147cb4bc42efc2393973)
    http://jf.odiness.com/v1.41/JFv1.41_RC33_BuildEnvironment.tar.gz
    http://android-dls.com/forum/index.php?f=24&t=241&rb_v=viewtopic
    http://andblogs.net/2009/02/new-rc33-based-images-from-jesusfreke/

    RC8: (md5: de2d0d34adbb4015ee3aa5e4e7ca3c07)
    http://jf.odiness.com/v1.41/JFv1.41_RC8_BuildEnvironment.tar.gz
    http://android-dls.com/forum/index.php?f=24&t=241&rb_v=viewtopic
    http://andblogs.net/2009/01/jesusfrekes-14-images-are-out/


    1. Download the image.
    2. Rename it to update.zip.
    3. Copy it to your phone's SD card.
    4. Turn your phone off.
    5. Start up in recovery mode by holding Home and pressing Power.
    6. Press alt-W to wipe your device. (You need to do this, or the device may hang at the flashing Android screen)
    7. Press alt-S to apply the update.

    And that's it! Remember to check the links up top to learn how to use root to do the advanced things I mentioned.
    3
    Rooting, Hacking, and Flashing your G1/Dream

    Reserved for future posting
    1
    I have att, I cannot get to the home screen because I do not have a t-mobile data plan so my gmail gets rejected.

    Read this thread http://androidcommunity.com/forums/f41/how-to-use-your-g1-on-at-and-t-without-a-data-plan-8735/
    1
    try this: http://files.lucidrem.us/jf/ROOT/g1_root.txt

    i made some abbreviated directions that some people have found very useful

    So, I have a Dev Phone1, and stupidly let it apply an OTA update to 1.5. It appears that this (of course) didn't use the rooted version, so here I sit with a Dev phone that's not rooted on version 1.5. My question is does this procedure work with 1.5? My thoughts are to use this to downgrade it to a rooted version of RC33, then get JF's 1.5 build.

    Sound about right?
    1
    dream_devphone-userdebug 1.5 crb21 147201 test-keys



    can i root??????

    you are already 'rooted'
    you just need to read http://xdaforums.com/showthread.php?t=831139