[G1 Android Development] gameulove:
Can i partition my 16 gb micro sd? is this possible? If it is can someone help me out please. I am running HTC dream from rogers, it is rooted, however the jac hero rom is very slow and i would like to try this one for which i need to partition my sd card. Can i do below steps. Please help.

**********************************************************PLEASE READ BEFORE INSTALLING**********************************************************************

Please use Cyanogen's recovery image it is awesome!

First step for 2.63 is to setup our SDcard...back your stuff up and lets go!

Formatting you SDcard

You only need to do this once folks..if you already have 3 partitions including linux-swap move to step 2

You need Recovery image 1.31 to do this folks!

To format card SD card with linux-swap WARNING!!! this will reformat you entire SD card!!

You can use the recovery console and parted to format SDcards with 1.31 folks, no more going through hassles you have the tools on you G1!...here is an example of how to do this in recovery console using parted. DO NOT USE MORE THAN 32MB SWAP!!!

Example for 8GB card (this example plays it safe and will leave a small amount leftover regardless of the 8GB card)

Reboot and enter recovery

Enter console

#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 7200

mkpartfs primary ext2 7200 7700

mkpartfs primary linux-swap 7700 7732

#print (to verify we have the 3 partitions)

Example for my 4GB card

#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 3420

mkpartfs primary ext2 3420 3932

mkpartfs primary linux-swap 3932-3964

Example for a 2GB card playing it safe

#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 1200

mkpartfs primary ext2 1200 1700

mkpartfs primary linux-swap 1700-1732

"End?" you need to place the last value for the linux swap eg.3964 for my 4GB card

#print (to verify we have the 3 partitions)

Next we need to "quit" parted and upgrade our ext2 partition to ext3

#upgrade_fs

Swap value is set to 30 currently, you can change this by modifying the "echo" value for swappiness in the a2sd.sh script

For a longer more detailed parted turorial read this

Flashing the ROM

The second part is getting the ROM on our phone

Copy the ROM to you sdcard as update.zip, enter the recovery console via home+power and lets flash, Check ext filesystems first, if it tells you to go to console to manually check do it! After I've repaired the EXT partition or if it didn't need repair I will now wipe and then apply the update and reboot...Done!

See this thread for a FAQ/Walkthrough a forum member created about Hero and installing it on your G1 http://xdaforums.com/showthread.php?t=534461

Configs

****************************************************************************************************************************************************************