Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,879 Members 43,763 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] Downgrade, Root, Partition, Update SPL, and Install CyanogenMOD

Tip us?
 
nephron
Old
(Last edited by nephron; 25th December 2009 at 06:04 AM.)
#1  
Senior Member - OP
Thanks Meter 62
Posts: 732
Join Date: May 2009

 
DONATE TO ME
Post [GUIDE] Downgrade, Root, Partition, Update SPL, and Install CyanogenMOD

This is a Detailed Guide on Rooting your phone and installing the new CyanogenMod Roms!


Like My Guide(s)? Donate


I am not responsible for any damage that is done to your phone. You have chosen to follow and read this guide.

Here we go!

Check if you have RC29 or RC7 (UK)

1. Go to settings
2. Press on "About Phone"
3. Scroll Down to "Firmware Version" if you have RC29 or RC7 please skip the downgrading part of this Guide. If you have RC30 or higher please follow the downgrading part of the Guide.

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

Downgrade Your phone from RC30 or up to RC29 OR RC8 and up to RC7

1. Make sure you SD CARD is formated to FAT32. If it is FAT or FAT16, this will not work. So, if your SD Card is not FAT32, please format it now.

NOTE: Formating your SD Card removes all files. Please backup your files first!


2. Download the RC29 DREAIMG.nbh (USA) - HERE or RC7 DREAIMG.nbh (UK) - HERE

3. Unzip the file and place the DREAIMG.nbh in the root of your SD Card (root = not in any folder)

4. Unmount your phone from USB

5. Turn off your phone

6. Boot into your bootloader by holding the CAMERA button and the POWER button.

7. A gray screen should appear. Press POWER to start the downgrading process

8. Once its done, Press the Track Ball to continue

9. Reboot your phone by pressing Talk + Menu + Power

10. Go through the Setup Wizard as normal to setup your phone

11. Congrats! You have now Downgraded your phone to Firmware RC29/RC7. Please verify it in the "About Phone" section in your settings menu.

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

Rooting Your Phone

1. Go to Settings > Applications and make sure Unknown Sources is checked

2. Open your browser on your phone and go to www.g1upgrade.com/root.apk

3. Once its down downloading, Long press on the apk and choose to install

4. Open the Root.apk app that we have just installed and Press on Download IMG and HardSPL files

5. Once it finished downloading, press on Home

6. Press Enter, Enter, and then type telnetd, then press Enter again

Note: Ignore the Contact search

7. Go back to the Root.apk and click on "Protect my Root"

Note: If it doesnt work, please reboot and try Step 6 again

8. Once you successfully protected your root Turn OFF your phone

9. Hold Home + Power to enter recovery, You will see a yellow sign.

10. Type Alt+l then Alt+s. Your phone will reboot a couple of times.

There you go! Your phone has now been successfully rooted!

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

Install CyanogenMOD 4.0.1 (Stable)

1. Download CyanogenMOD 4.0.1 - HERE

2. Rename update-cm-4.0.1-signed.zip to update.zip and place it at the root of your sd card

3. Boot into recovery by pressing Home + Power

4. Type Alt+l then alt+w then alt+s

5. When its done it will ask you to reboot with Home + Back, if not reboot with Talk+Menu+Power

6. Done! You should now have a rooted G1 Phone with a custom Rom!

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

Installing the CyangenMod Recovery IMG

1. Open up the Terminal App on your phone

2. Type in su then press on "Always Allow"

3. Type in the following:

Code:
cd /sdcard
wget http://n0rp.chemlab.org/android/cm-recovery-1.4.img
flash_image recovery /sdcard/cm-recovery-1.4.img
4. Done! Easy as Pie

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

Partition your SD Card with EXT3 and Fat32 and Enable auto apps2sd

Note: This will erase everything on your SD Card!


1. Turn off your phone

2. Enter recovery by holding Home + Power

3. Scroll Down and press on Enter Console or press alt+x

4. Press enter

5. Type the following according to your sd card:

1 GB

Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 600
mkpartfs primary ext2 600 996
quit
upgrade_fs
reboot recovery
2 GB

Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 1500
mkpartfs primary ext2 1500 1996
quit
upgrade_fs
reboot recovery
4 GB

Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 3500
mkpartfs primary ext2 3500 3996
quit
upgrade_fs
reboot recovery
8 GB

Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 7500
mkpartfs primary ext2 7500 7948
quit
upgrade_fs
reboot recovery
16 GB

Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 15500
mkpartfs primary ext2 15500 15948
quit
upgrade_fs
reboot recovery
OPTIONAL: Upgrade EXT3 Partition to EXT4 (Thanks david1171)

Code:
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2
e2fsck -fpDC0 /dev/block/mmcblk0p2
6. Reflash your Cyanogen 4.0.1 Rom

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

Flash the New RADIO and SPL

NOTE: Please read carefully before flashing! This could BRICK your phone!!!

1. Check if you have a PVT or DVT board

a. Power off your phone and enter bootloader (Camera + Power)
b. Check look at the top and see if it says PVT of DVT

2. If you have a DVT board YOU CANNOT CONTINUE BECUASE THIS WILL BRICK YOUR PHONE!

3. For all you luck PVT board people Download the following:

OTA Radio Update - HERE
Danger SPL - HERE
CyanogenMod 4.0.1 - HERE

4. Rename ota-radio-2_22_19_26I.zip to Radio.zip. Rename spl-signed.zip to SPL.zip. Rename update-cm-4.0.1-signed.zip to ROM.zip

5. Place the 3 renamed files at the ROOT of your SD Card

6. Enter Recovery (Home + Power)

7. Scroll down and press on "Apply any zip from sd"

8. Press on Radio.zip

9. Let it install. Once done it will tell your to reboot to finish the update. Press on Reboot System now in the recovery menu.

10. It will reboot back to recovery. Once it does, Scroll down and press on "Apply any zip from sd"

11. Press on SPL.zip

12. Let it install. Once done it will tell your to reboot to finish the update. Press on Reboot System now in the recovery menu.

13. It will NOT reboot into recovery. Your phone will be stuck on the G1 screen. Once it gets there, reboot your phone by pressing Talk+Menu+Power and then hold the HOME button to enter back into recovery.

14. Scroll down and press on "Apply any zip from sd"

15. Press on ROM.zip and let it install.

16. Reboot your phone to finish.

17. Congrats! You are all done! Enjoy your Rooted phone!

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

Credit:

Cyanogen
Haykuro
youneek
 
DirectMatrix
Old
(Last edited by DirectMatrix; 17th August 2009 at 03:08 PM.) Reason: sticky
#3  
DirectMatrix's Avatar
Senior Member
Thanks Meter 5
Posts: 496
Join Date: Jun 2009
Location: Norfolk, VA
Very nice to have everything in one place and an updated guide for all the people who post on the forums thinking that all the stickied guides are outdated. I think I'm gonna unroot my spare g1 and follow this guide just for fun. Thanks again for your dedication to the n00bs and attempting to keep the threads uncluttered.

I vote for yet another sticky for nephron!!!
------------------------------------------------
T-Mobile G2 | CyanogenMod-7.0.2-vision | Radio: 26.03.02.26_M | Hboot: 0.76.0000 | VISION PVT ENG S-OFF
------------------------------------------------
Retired: T-Mobile G1 | ROM: CyanogenMod-6.0.0-DS | Danger SPL 1.33.2005 | Radio: 2.22.19.26I | Amon_RA Recovery V1.7.0
------------------------------------------------
Droid Explorer 0.8.5.1 | Custom Boot Sounds in CM
 
nephron
Old
#4  
Senior Member - OP
Thanks Meter 62
Posts: 732
Join Date: May 2009

 
DONATE TO ME
Thanks for the support hahahah . Im glad u like it
 
alritewhadeva
Old
#5  
Senior Member
Thanks Meter 12
Posts: 1,364
Join Date: Mar 2009
Great guide!
T-Mobile G1
Super D
Clockwork Mod Recovery
**A Big thanks goes out to all the Developers**
Need help? Ask for it! PM me or contact me on Gtalk - alritewhadeva@gmail.com

Follow me on Twitter!
 
nephron
Old
#6  
Senior Member - OP
Thanks Meter 62
Posts: 732
Join Date: May 2009

 
DONATE TO ME
Quote:
Originally Posted by alritewhadeva View Post
Great guide!
thanks bro! Glad u like it hahah
 
tigerhalsey
Old
#7  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Aug 2008
Default AUS htc dream

this doesnt work on the aus htc dream
when i press camera and power
i get error and Not Allow
how do i fix that?
 
nephron
Old
#8  
Senior Member - OP
Thanks Meter 62
Posts: 732
Join Date: May 2009

 
DONATE TO ME
Quote:
Originally Posted by tigerhalsey View Post
this doesnt work on the aus htc dream
when i press camera and power
i get error and Not Allow
how do i fix that?
o dude use this DREAIMG.nbh

http://koushikdutta.blurryfox.com/G1/DREAMIMG-RC7.zip
 
nephron
Old
#9  
Senior Member - OP
Thanks Meter 62
Posts: 732
Join Date: May 2009

 
DONATE TO ME
Added UK DreamIMG.nbh to Guide
 
usafunderdog
Old
#10  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jul 2009
Default mkpartfs

Hello all,
I have had my phone rooted for about a month now and have been doing the basic hings like Tethering my phone. But i want to add the Hero Rom to my G1.-Everything works when i go through the steps except when you have to put in the mkpartfs... command-it comes back and says sh: mkpartfs: not found
does anyone know how to make this work or how to add mkpartfs to the phone or how to make it recognize it?
Thanks

Tags
cyanogen, downgrade, guide, install, rom, root, spl
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes