5,598,233 Members 46,993 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
david1171
Old
#11  
Senior Member
Thanks Meter 162
Posts: 3,202
Join Date: Apr 2009

 
DONATE TO ME
Quote:
Originally Posted by usafunderdog View Post
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?
Device: Nexus S 4G
ROM: CM7
CM7 Theme Engine: MinimalBread
App Mod: Demotivators Protips Widget
My Icon Sets: Minimalist and Minimal
Twitter: david1171_
Google Chrome Theme: Minimalist
PayPal: If you would like to donate
 
nephron
Old
#12  
Senior Member - OP
Thanks Meter 61
Posts: 732
Join Date: May 2009

 
DONATE TO ME
Quote:
Originally Posted by david1171 View Post
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...
 
usafunderdog
Old
#13  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jul 2009
Default 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.
 
vidac1rca139
Old
(Last edited by vidac1rca139; 19th August 2009 at 03:08 PM.)
#14  
vidac1rca139's Avatar
Member
Thanks Meter 0
Posts: 54
Join Date: Aug 2009
Location: Lost In The Reverie
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.
 
DirectMatrix
Old
#15  
DirectMatrix's Avatar
Senior Member
Thanks Meter 5
Posts: 496
Join Date: Jun 2009
Location: Norfolk, VA
Quote:
Originally Posted by vidac1rca139 View Post
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
------------------------------------------------
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
 
DirectMatrix
Old
#16  
DirectMatrix's Avatar
Senior Member
Thanks Meter 5
Posts: 496
Join Date: Jun 2009
Location: Norfolk, VA
Quote:
Originally Posted by usafunderdog View Post
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
------------------------------------------------
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
 
vidac1rca139
Old
(Last edited by vidac1rca139; 19th August 2009 at 04:30 PM.)
#17  
vidac1rca139's Avatar
Member
Thanks Meter 0
Posts: 54
Join Date: Aug 2009
Location: Lost In The Reverie
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?
 
DirectMatrix
Old
(Last edited by DirectMatrix; 19th August 2009 at 04:45 PM.) Reason: apps2sd
#18  
DirectMatrix's Avatar
Senior Member
Thanks Meter 5
Posts: 496
Join Date: Jun 2009
Location: Norfolk, VA
Quote:
Originally Posted by vidac1rca139 View Post
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
------------------------------------------------
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
 
vidac1rca139
Old
#19  
vidac1rca139's Avatar
Member
Thanks Meter 0
Posts: 54
Join Date: Aug 2009
Location: Lost In The Reverie
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?
 
DirectMatrix
Old
(Last edited by DirectMatrix; 19th August 2009 at 05:32 PM.) Reason: reading
#20  
DirectMatrix's Avatar
Senior Member
Thanks Meter 5
Posts: 496
Join Date: Jun 2009
Location: Norfolk, VA
Quote:
Originally Posted by vidac1rca139 View Post
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.
------------------------------------------------
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

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

Advanced Search
Display Modes


TRENDING IN THEMER...