Post Reply

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

OP nephron

19th August 2009, 05:50 AM   |  #11  
Senior Member
Thanks Meter: 164
 
3,201 posts
Join Date:Joined: Apr 2009
Donate to Me
Quote:
Originally Posted by usafunderdog

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

did you type parted /dev/block/mmcblk0 first?
19th August 2009, 07:39 AM   |  #12  
OP Senior Member
Thanks Meter: 63
 
732 posts
Join Date:Joined: May 2009
Donate to Me
More
Quote:
Originally Posted by david1171

did you type parted /dev/block/mmcblk0 first?

ya make sure u type that first. Also make sure u are running this in the recovery console not in terminal. U need CM Recovery 1.3.1 and above for it to work...
19th August 2009, 02:25 PM   |  #13  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Jul 2009
parted /dev/block/mmcblk0
Yes, i typed parted /dev/block/mmcblk0 first-but still nothing.
What is cm recovery1.3.1 and im not typing it into terminal, im typing after you hit Alt-X.
19th August 2009, 03:01 PM   |  #14  
vidac1rca139's Avatar
Member
Flag Lost In The Reverie
Thanks Meter: 0
 
54 posts
Join Date:Joined: Aug 2009
More
I am obviously new at this but I recently rooted my US T-Mobile G1 phone and flashed CyanogenMod 4.0.1 and have Cyanogen's Recovery 1.4.

I formatted my 2GB SD card in FAT32 and I have backed up all my data.

I tried making a partition on my SD card and had messed up and had to format the card to make it work again.

I am having a few problems following the "Partition your SD Card with EXT3 and Fat32 and Enable auto apps2sd" guide...

#1 - When typing the code do I hit enter after every line I input?

#2 - Where it says "print (to verfiy we know what size card we are dealing with, the details should be straight forward)" do I type whats in parentheses?

Again I am new to this whole process so if anyone could help I'd greatly appreciate it.
Last edited by vidac1rca139; 19th August 2009 at 03:08 PM.
19th August 2009, 03:58 PM   |  #15  
DirectMatrix's Avatar
Senior Member
Flag Norfolk, VA
Thanks Meter: 5
 
496 posts
Join Date:Joined: Jun 2009
More
Quote:
Originally Posted by vidac1rca139

I am obviously new at this but I recently rooted my US T-Mobile G1 phone and flashed CyanogenMod 4.0.1 and have Cyanogen's Recovery 1.4.

I formatted my 2GB SD card in FAT32 and I have backed up all my data.

I tried making a partition on my SD card and had messed up and had to format the card to make it work again.

I am having a few problems following the "Partition your SD Card with EXT3 and Fat32 and Enable auto apps2sd" guide...

#1 - When typing the code do I hit enter after every line I input?

#2 - Where it says "print (to verfiy we know what size card we are dealing with, the details should be straight forward)" do I type whats in parentheses?

Again I am new to this whole process so if anyone could help I'd greatly appreciate it.

1) Yes hit enter after every line of code
2) Sorry for this, but LOL.....anyways, no you don't type whats in parentheses. The print command will tell you what partition format your sdcard has before you begin. If it looks like this....

Code:
print
print
Model: Unknown (unknown)
Disk /dev/block/mmcblk0: 7969MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
then your sdcard is virgin and has no partitions.
If it looks like this......

Code:
print
print
Model: Unknown (unknown)
Disk /dev/block/mmcblk0: 7969MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      512B    7469MB  7469MB  primary  fat32        lba
 2      7469MB  7969MB  500MB   primary  ext2
then you have a fat32 and a ext2 partition

Refer to this guide for any supplementary information that isn't included in nephron's guide (although his is pretty comprehensive)

http://forum.xda-developers.com/showthread.php?t=534714
19th August 2009, 04:07 PM   |  #16  
DirectMatrix's Avatar
Senior Member
Flag Norfolk, VA
Thanks Meter: 5
 
496 posts
Join Date:Joined: Jun 2009
More
Quote:
Originally Posted by usafunderdog

Yes, i typed parted /dev/block/mmcblk0 first-but still nothing.
What is cm recovery1.3.1 and im not typing it into terminal, im typing after you hit Alt-X.

Typing it after you hit Alt+X is only the correct place to execute the command providing you have Cyanogen's recovery image which replaces the default recovery image that comes with the phone. (when you boot up while holding down power+home) If you boot while holding those key combos and you get a yellow triangle with an exclamation point, you don't have cyanogen's recovery image. If you do have it, then you will see a ghostly android bot in the background and green text on the screen.

If you have cyanogen's recovery, I'm not sure what your doing wrong. If you don't have it, get it by following the steps entitled Installing the CyangenMod Recovery IMG in the OP of this thread. More info about cyanogen's recovery can be found below.

http://forum.xda-developers.com/showthread.php?t=523558
19th August 2009, 04:27 PM   |  #17  
vidac1rca139's Avatar
Member
Flag Lost In The Reverie
Thanks Meter: 0
 
54 posts
Join Date:Joined: Aug 2009
More
When I input "print" my card looks like this...

Code:
print
print
Model: SD SD2GB (sd/mmc)
Disk /dev/block/mmcblk0: 1996MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      66.0kB    1996MB  1996MB  primary  fat32        boot
Do I continue with the guide?
Last edited by vidac1rca139; 19th August 2009 at 04:30 PM.
19th August 2009, 04:43 PM   |  #18  
DirectMatrix's Avatar
Senior Member
Flag Norfolk, VA
Thanks Meter: 5
 
496 posts
Join Date:Joined: Jun 2009
More
Quote:
Originally Posted by vidac1rca139

When I input "print" my card looks like this...

Yes, you have a 2 gb card that has one fat32 partition.

Code:
parted /dev/block/mmcblk0
rm 1
mkpartfs primary fat32 0 1500
mkpartfs primary ext2 1500 1999
quit
upgrade_fs
reboot recovery
Also note that if you are using a recent CM build, which you are because you stated you have 4.0.1, then you don't need to do apps2sd, it is done automatically when you have a properly formatted ext2 or ext3 partition, which you are going to have after you follow the above steps
Last edited by DirectMatrix; 19th August 2009 at 04:45 PM. Reason: apps2sd
19th August 2009, 05:10 PM   |  #19  
vidac1rca139's Avatar
Member
Flag Lost In The Reverie
Thanks Meter: 0
 
54 posts
Join Date:Joined: Aug 2009
More
I went all the way through with the guide but when i did
"mkpartfs primary ext2 1500 1999"
I recieved the following -
Error: The location 1999 is outside of the device /dev/block/mmcblk0.

Is that ok or should I start over and try something else?
19th August 2009, 05:24 PM   |  #20  
DirectMatrix's Avatar
Senior Member
Flag Norfolk, VA
Thanks Meter: 5
 
496 posts
Join Date:Joined: Jun 2009
More
Quote:
Originally Posted by vidac1rca139

I went all the way through with the guide but when i did
"mkpartfs primary ext2 1500 1999"
I recieved the following -
Error: The location 1999 is outside of the device /dev/block/mmcblk0.

Is that ok or should I start over and try something else?

sorry typo on my part....you should use 1996

You should really do some more reading into partitioning. It is quite clear that you are completely lost and just blindly following my responses which isn't a good thing. You should have some idea of the general commands we are doing here. These commands are fairly self explanatory. You should take a minute to look at the original output of the print command....This is exactly what you have according to your print command output...

Code:
Disk /dev/block/mmcblk0: 1996MB
1996mb means you have 1996mb available on your sd card, I inadvertently told you to input 1999mb because I simply copied it from the original post without paying much attention assuming you would figure it out. You really need to have a slightly better handle on this stuff before you continue.
Last edited by DirectMatrix; 19th August 2009 at 05:32 PM. Reason: reading

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes