Sunday, November 15, 2009

Part Your SD card with Cyanogen's Recovery 1.4

***NOTE: I AM NOT RESPONSIBLE FOR YOUR PHONE AND ALL CREDIT GOES TO THE DEVS

Just thought that this would help people using cyan's roms, they tend to run better when you part your sd card to ext2/ext3..






Thanks to simms22 and kitsunisan for putting this together.

Gparted is a part of Cyan's latest recovery console.
disclaimer THIS WILL ERASE EVERYTHING ON YOUR SD CARD!!!! so back up first!!!

go into recovery (turn on the phone with home and end call), open the console , type....
su (press enter)
parted /dev/block/mmcblk0 (press enter)

(You'll need to know the maximum amount of mb on your sd card so type):

print (press enter it will then enter your total mb on sd card, recommend you write down the max amount of mb for the card)

Then you want to delete the existing partition:

rm 1 (press enter)

Then create your primary partition, the numbers you input will vary depending on how many mb your card has:

mkpartfs primary fat32 0 xxxx

*(where xxxx = how much mb you want on fat32 part of sd card, example... " mkpartfs primary fat32 0 3584" [4096mb(total)-(512mb for ext2 partition)])

Then create the ext2 partition:

mkpartfs primary ext2 3584 4096

*(4096 being the total amount of mb on a 4gb card,
assuming thats the total given to you on the initial #print command)

And you've partitioned your memory card, no outside application needed.


also if you want, you can add a linux-swap...helps some people...

mkpartfs primary linux-swap XXXX XXXX

(this usually does NOT need to be more than 32 kb)

Anyways , I just updated the guide to include updating your ext2 to ext3 !

In recovery go to the terminal , type ......

su
upgrade_fs
reboot recovery

Press repair ext filesystems , reboot , and you are at ext3

No comments:

Post a Comment

There was an error in this gadget