Go Back   xda-developers > HTC Dream: G1 > G1 Android Development


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th July 2009, 08:09 AM
youneek youneek is offline
Senior Member
 
Join Date: Jun 2009
Posts: 122
Exclamation Easiest How To for: Root, Hero, Recovery, Partition (no computer), etc. READ FIRST!!

You can easily get to this page by going to http://G1Upgrade.com

I found tons of documents online but didn't find a place that had everything you need to wipe, update, optimize, etc. If you have any tips or shortcuts to help with stuff, add em here. Below are my steps from A-Z on the dream phone. This explains from start to finish how to root your phone, install cyanogens recovery image, create partitions, install JACHero and a few shortcuts to save you some steps.

IF YOU ASK A DUMB QUESTION, I WILL CALL YOU OUT!!! Read the whole front page BEFORE asking questions!
Dumb questions are: I didn't install the image and your steps aren't working. How do I partition my SD card? Which do I install first, the radio or SPL?
Why are these dumb questions? BECAUSE THEY ARE ALL ANSWERED ON THE FIRST PAGE!

All modifications to your phone could brick your phone. I am not responsible. If you have issues, ask around and someone will probably help.

Usually if you get caught in a boot loop or something isn't working you can repeat the last process you did and try again (re-install the rom, re-install the radio, whatever, etc).

I think the 2 things that brick most phones are: You have no technical skills and probably shouldn't attempt to modify your phone OR you didn't follow the steps exactly.

How to root your phone.

1.) Connect phone to computer with USB and select "Mount" so the phone is visible to the computer
2.) Right click the removable disk and format (fat32) (I recommend the full format and not the quick format
3.) Download and unzip the RC29 (http://g1upgrade.com/DREAMIMG-RC29.zip) or RC7 (http://g1upgrade.com/DREAMIMG-RC7.zip) image file. Copy the DREAMIMG.nbh file to the SD card. (RC29 for US, RC7 is for UK)
4.) Once the files are copied over right click on removable disk and eject
5.) Power off the phone. Once it's off turn it back on by holding the camera button and the power button at the same time
6.) Once the bootloader loads, press the power button to start the update
7.) When it's complete press the trackball to continue. Reboot the phone by pressing talk, menu and power at the same time
8.) Go through all the install steps as if you got a new phone.
9.) Download the root script from the android browser by going to http://g1upgrade.com/root.apk
10.) Tap on the root.apk in your browser download list, it will notify you that this program needs to be allowed because it is a non-Market application. Click the provided Settings button and allow non-Market apps. Hit the back button, then tap the root.apk download to install.
11.) Run the root.apk app and click Download IMG and HardSPL files
12.) Go to the home screen and open your keyboard. Hit "Enter" pause a second then hit it again.
13.) Type "telnetd" in all lowercase minus the quotes. Ignore the search that comes up and press enter again
14.) Run the root.apk file again and click protect your root. This part roots your phone. If there are any errors then the telnetd wasn't running. Go back to step 12 and try again.
15.) Power off the phone. Once it's off press the home and power button until the phone turns back on.
16.) When the yellow sign appears type alt+l then alt+s on the keyboard. The phone will probably reboot a few times. If it says press a certain button combination to reboot, do that. Otherwise press home+power+menu

You should now have root access on the phone.

Install a rooted rom
You can now install a rooted rom on your phone. You don't have to go all the way to hero, you could flash this rom and stop there. You could also flash this rom, then flash cyanogens recovery image if you want. Just be careful...

This is for the current OTA Donut build. Download :http://www.androidspin.com/downloads...ed_base_v2.zip, rename to update.zip and place in the root directory of your memory card. Boot the phone into recovery pressing home+power then press alt+s to apply the update. Now you can run root apps, etc.

How to install cyanogen recovery image

1.) Open the terminal app on your phone (download it from market) and type the following commands pressing enter at the end of each line. If you get a prompt asking to accept root permissions, click always accept.

Code:
su
cd /sdcard
wget http://n0rp.chemlab.org/android/cm-recovery-1.4.img
flash_image recovery /sdcard/cm-recovery-1.4.img
2.) Now reboot your phone into recovery console pressing home+power when you turn it on

You should now have the new recovery console. You can always get there by holding the home key and power key to turn on the phone. This lets you use the trackball and adds some new features to simplify updates later on.

If you have problems installing you can check this thread http://forum.xda-developers.com/showthread.php?t=523558

How to partition your SD card from console (This requires the cyanogen recovery 1.3.1+)

Example for my 8GB card.

Reboot and enter recovery (home+power) then go to console. Enter the below pressing "enter" after each line.

Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with. Mine was 8166 read below if yours is different)
rm 1 (if you had more than 1 partition you would want to rm them as well)
mkpartfs primary fat32 0 7622
mkpartfs primary ext2 7622 8134
mkpartfs primary linux-swap 8134 8166
quit
upgrade_fs
recovery
if your card isn't 8166 when you type print then you will need to modify those numbers to match your card size. You basically work back to figure out the totals. To figure it out, start with your cards total size. For example 8166 total, subtract 32 for swap (8134) minus 512 for ext (7622) the rest will go to fat32. Each partition starts where the other left off.

How to install the latest Radio and SPL (07/05/09)

Do the radio first then the SPL.

1.) Download the radio from http://code.google.com/p/sapphire-port-dream/ and rename to update.zip
2.) Connect your phone to the computer via usb and copy the update.zip to your phone. Power off your phone afterwards.
3.) Turn on your phone by holding the home key and the power key.
4.) Click to apply the update then reboot the phone.
5.) Repeat the steps with SPL.

If you try to reboot your phone now, you would probably just stay stuck on the G1 loading screen. You need to install Hero before it will go anywhere or reflash another rom.

How to install latest Hero (requires the 3 partitions we created earlier)

Download the latest Hero rom (most recent one I used was http://forum.xda-developers.com/showthread.php?t=563294) and rename to update.zip

1.) Turn on the phone holding the home key and power to boot. Attach the phone to your computer via usb.
2.) Open console and enter the following commands. Press "Enter" after each line.

Code:
ums_enable
3.) The phone should now be mounted for you to copy over update.zip once copied unmount using the below command

Code:
ums_disable
4.) Type recovery to go back to the recovery menu and unplug phone.
5.) Click to fix ext then apply the update.
6.) Once completed you should give it a few minutes to boot. It could take 5 minutes or so to complete then you are all set. If it stays on the G1 loading screen just be patient (no more than 15 minutes).


How to wipe ext3
if you ever install a new version, etc and need to wipe the ext3 partition just go to console enter the below commands:
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
cd /system/sd
rm -r *

Last edited by youneek; 25th October 2009 at 06:33 PM.. Reason: Added some workarounds...
Reply With Quote
Sponsored Links

  #2  
Old 6th July 2009, 08:15 AM
josharmour josharmour is offline
Member
 
Join Date: Dec 2008
Posts: 25
Default

Very good job, exactly what I have been looking for.
Reply With Quote

  #3  
Old 6th July 2009, 08:30 AM
Dror520 Dror520 is offline
Senior Member
 
Join Date: May 2009
Posts: 330
Default

Very good job!
Reply With Quote

  #4  
Old 6th July 2009, 08:32 AM
dbroadus2007 dbroadus2007 is offline
Member
 
Join Date: Aug 2008
Posts: 32
Default

Great instructions.....
Reply With Quote

  #5  
Old 6th July 2009, 08:39 AM
Fisherman619 Fisherman619 is offline
Junior Member
 
Join Date: May 2009
Posts: 7
Default

WOW!! Wish i had something like this 2 months ago when i got my G1. Nice of you to put this together. Definatly going to help out a lot of people and save them a SH!T load of time and head aches! STICKY!!
Reply With Quote

  #6  
Old 6th July 2009, 09:11 AM
Paul22000 Paul22000 is online now
Senior Member
 
Join Date: Jan 2008
Posts: 465
Default

Don't you have to downgrade to RC29?

Or is that obsolete now?
Reply With Quote

  #7  
Old 6th July 2009, 09:14 AM
stryke504 stryke504 is offline
Junior Member
 
Join Date: Oct 2007
Location: New Orleans
Posts: 3
Default

Wow this would've definitely come in handy a few weeks ago. But what took me a few hrs to gather by reading posts this one thread explains it all. Glad you took the time to write this. Hopefully a more stable hero comes out too to update this thread with.
Reply With Quote

  #8  
Old 6th July 2009, 09:18 AM
stryke504 stryke504 is offline
Junior Member
 
Join Date: Oct 2007
Location: New Orleans
Posts: 3
Default

Quote:
Originally Posted by Paul22000 View Post
Don't you have to downgrade to RC29?

Or is that obsolete now?
That's actually explained in step 3.

3.) Download DREAIMG.nbh and put copy to the phone (don't put in a folder) http://bit.ly/wfAOO

That file is the RC29. Good looking out though.
Reply With Quote

  #9  
Old 6th July 2009, 09:49 AM
mexedi mexedi is offline
Junior Member
 
Join Date: Jun 2009
Posts: 3
Default

Hi! Good!!

Quote:
When the phone reboots, you can hold home and power to boot into cyanogen. There is an option to upgrade from ext2 to ext3.
What recommends = ext2 or ext3

This partition is not created = linux-swap (32 MB)

Saludos!
Reply With Quote

  #10  
Old 6th July 2009, 12:51 PM
elzee's Avatar
elzee elzee is offline
Senior Member
 
Join Date: Jul 2009
Location: Sydney
Posts: 102
Default

OK .. I keep getting the same result.

When I restart the phone and the grey bootload screen comes up, it does a check and replies with "not allow" Anyone know what to do here?

Build number: dream_stg user 1.1 STG-RC8 128394
Reply With Quote

Reply

Tags
brick, hack, hero, partition, root

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:16 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.