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

Search This thread

SalehCoder

New member
Apr 24, 2009
2
2
Hello

I'd like to ask, if I rooted my G1. Can I still received updates from Google for the Android like I normally do?

Thanks
 

tammersalem

New member
May 8, 2006
3
0
46
Langley
Implementing Root on a UK rc9 experience

Hello All,
just went through rooting my phone and wanted to update some of the info on here for UK users.

I was on a clean rc9 build, and wanted to root the phone.

The process was same as first post in this thread with some minor adjustments:
1. You have to bring your phone back to an earlier release (I used rc7 UK)
http://koushikdutta.blurryfox.com/G1/DREAMIMG-RC7.zip

2. You then use the security hole to root your rc7 (so this is the section about using recovery.img and Hard SPL)

This is where it failed for me. After enabling telnetd, the using the flash commands, I still didn't have root for some reason. After some digging I found an alternate approach (http://www.kyubinc.org/files/g1_rc_root.txt). Basically it's the same thing (just use UK releases instead of US releases) and this solution basically copies the su command to the shell command, so that any application requesting shell is automatically su -> so follow insturctions 8 thru 16, but swap out these two lines:

Code:
14. Type cat /sdcard/recovery_testkeys.img > /data/local/recovery.img
15. Type cat /sdcard/recovery_testkeys.img > /system/recovery.img

with recovery.img instead of recovery_testkeys.img

Then you can follow the last steps, so:

3. get rc9 modified (I used http://jf.odiness.com/v1.43/JFv1.43_RC9.zip) - Then followed the last bits of this post - and I was good to go.

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

I'm aware this info is aimed at users that can understand the linux commands, so if anyone is interested in having me produce a "how to root rc9 UK phone" then I can start a separate thread and put the exact step-by-step details.
 

death_meet

Member
Mar 20, 2009
8
0
Jite raho bangali!!!

Koushik da,
Tomar jobab nei!!!!!!

Thanks for the tutorial and the telnet app.
Running JF 1.41 on my G1 now!!

COOL!!!
 

juna106

New member
Apr 27, 2009
2
0
Rockland
Hi, don't know if you figured it out or not:
You probably don't have your SD Card formatted exactly right to FAT 32.
That is what happened to me. I use a Mac, so you can't just right click and format the card. So I went into Disk Utility, and got the idea that what i would do was partition the SD Card, one side Mac OS one side Windows FAT 32. However, it won't do that. The partition itself reverts to FAT 16. So if you are using a Mac. Go into Disk Utility and chose to format the disk with whatever the generic Windows option is: just don't chose FAT 16. IT REALLY HAS TO BE FAT 32. I bet you get a flash like the thing is about to go, and then it stops. If you could see the words on the grey/blue screen, which I got it to do at one point, it says it can't see or read or something the file. That's because it literally "can't see" the file. It's like a maddening riddle.
So rip your battery out, and reboot, it will start up as normal. Your phone is not ruined. Then you can format the SD card. I bet that is what it is.
When you do get it formatted, you are going to be starting from scratch. You will have to login again with Google, which is how they get you to have to pay that big data plan. I had to do it again to get on. About to switch back, (11 dollar Dash plan works fine with WAP) then discovered Jesus Freke's Rev 1.42 someplace. Which supposedly you can login using WIFI. So I have to find that again. If you know where it is.
Good luck.
 

steve_steve

New member
Dec 13, 2008
2
0
newbie with questions

I just bought a G1 a couple of weeks ago, and would like to root it (I have to get rid of the Amazon store). It has R33 (I don't know what ADP is).

My question is: is the sticky that describes the process still current? It's dated from last November. Do I still take the G1 back to R29?

tia,

-Steve
 

xray49er

Senior Member
Mar 13, 2009
271
59
Peekskill, NY
I just bought a G1 a couple of weeks ago, and would like to root it (I have to get rid of the Amazon store). It has R33 (I don't know what ADP is).

My question is: is the sticky that describes the process still current? It's dated from last November. Do I still take the G1 back to R29?

tia,

-Steve


It is still current you have to go back to RC29 to get root access then you can update back to rc33 or you can try one of the cupcake builds
 

discreet047

New member
Apr 27, 2009
3
0
I have successfully rooted my phone however, now I am getting system updates about 5 times a day. I tried reinstalling RC33 back on my phone but for some reason it is not working. I did everything it says to do and am still stuck on RC29.
 

ChrisDang

Senior Member
Apr 23, 2009
86
5
Thanks...

Now it's a problem with the wiping part to get RC33.

It resets the phone automatically after it's done, so I can't install the update. After it restarts automatically, I have to do the whole google account thing again. After I try ALT S'ing again after that, it says its aborted.

Edit: I removed the other update.zip that was already on there. Can I delete/do I need to delete the other files that are on the SD card?
 
Last edited:

Redestwing

Senior Member
Apr 29, 2009
98
0
Las Vegas
Finally I tell myself, "Maybe I should Root"....I find some time to do so and guess what, I am stuck! RC29 was a success but it will NOT reboot at all. Stays at rainbow screen and only way to fix is to remove the battery. Already did this once and phone worked fine with RC29 but was unable to do the rest of the steps because, well....the phone claimed I had no Sd Card, Telnet did nothing like it claimed in this post....etc. so I decided to give it a try once more. So here I sit with rainbow screen in hopes of some ideas as to why when I follow directions that was supplied here and RC29 did load, why I am not getting the same results as most. :confused:

Oh and sorry if I sound like I am being a jerk lol... just am really tired and sick (NOT SWINE FLU) lol
 

ChrisDang

Senior Member
Apr 23, 2009
86
5
Well, you did something wrong/left something out...I'm not completely successful too, but I usually follow instructions like no other.

I think they left something out on the last step on my error though, like telling me to delete files or something..
 

Redestwing

Senior Member
Apr 29, 2009
98
0
Las Vegas
well thats why I decided to do it again, I figured it was something I did wrong but for some reason I can not reboot the phone unless I remove the battery and then it will go to all the gmail crap and when I go to look, it says I am running the RC29 build.
 

ChrisDang

Senior Member
Apr 23, 2009
86
5
I'm annoyed by that too. I don't know if I got root (other than the text in the instructions saying that I have root) and I don't know what to do with the dreaimg.nbh and recovery.img still on my phone.
 

Redestwing

Senior Member
Apr 29, 2009
98
0
Las Vegas
LOL, I understand what I am supposed to do, it's just that my phone doesnt understand what it is I want it to do lol. I am sure there is something that I am missing and I just need someone to point it out to me because the directions are very good.
 

ChrisDang

Senior Member
Apr 23, 2009
86
5
Okay, as an update name under a zip file, the (modified RC33) update file can't be found. As a update.zip name as a zip file, it says that the file is bad.

I try extracting the update file and then renaming it as update or update.zip, it has the same result. Is it because I didn't install root correct? Beause I have a feeling that's it;; the # I have has a bunch of diamond shaped symbols/question marks;; there's no actual NUMBERS (1, 2, 3, etc). And it doesn't say I have root or anything either, I just guess it's already there because that's what the guy says.
 
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