[HTC Wildfire S] d33ps1x:
[TUTORIAL][S-OFF!]290 MB Data Partition!!! & Installing CyanogenMod 7 Step By Step!

Now with a video tutorial for download!!!

A while ago I came across a great scrip from Firerat and I figured it was time to highlight it again as he's updated it constantly.

I thought I would take the time to put together a tutorial on how to do the following:

1/ Change the size of your /System, /Data, and /Cache partitions to give you a HUGE amount more /Data space for efficiently sized ROM's like CyanogenMod 7.x

2/ Show you how to install CyanogenMod 7.x with these custom partition sizes and verify that they are as expected.

What you will need:

A prerequisite is a custom recover, preferably Alquez's Unofficial CWM Recovery 5.0.2.6

1/ To download and place on your SD Card the latest build of Alquez's CM7.x. (Do not unzip!)

2/ Google apps (GAPPS) for CyanongenMod 7.x, which you will also place on your SD card (Do not unzip!)

3/Firerat's 1.5.8 MTD Boot Script which you will also place on you SD card (Do not unzip!)

4/ Firerat's 1.5.8 MTD Recovery Script which you will also place on you SD card (Do not unzip!)

5/ The custom mtdpart.txt file that defines your custom partition sizes. Place this on your SD card in the same folder as the boot and recovery scripts. For ease of explanation let's just put all the required files on the root of your SD card.

Now you have all the files that you are going to need it's time to begin:

1/ Alter the txt file to suit your need but do not hit enter. Make sure there is no carriage return taking you to a second linein the file.

2/Now save it as "mtdpartmap.txt" (For CM7x you can use 145 20 with no worries). Don't listen to people telling you that 125 5 is a good setting. They don't know what CM7.x you are using and I do. Trust me.

3/ As mentioned earlier download and opy the recovery file, the boot file, the mtdpartmap.txt, Alquez's latest CM7.x nightly, and the latest version of GAPPS to the root of your SD card

5/Remove the rear cover of your phone

6/ Remove your phone's battery and replace it while unplugged

7/ Ensure you have a good charge before you begin (Say 30% or more)

8/ Press and hold Volume Down+Power at the same time to reboot into CWM or Razor recovery. (We will be using CWM Unofficial 5.0.2.6 for this tutorial)

9/ Perform a Nandroid backup of your current ROM to make sure you have something to go back to should you wish!!!

10/ Choose wipe data/Factory reset from the menu and follow the prompts.

11/ Go to the Mounts and Storage Menu and follow the prompts to format your system partition.

12/ Go back to the main menu and choose Install zip from SD card and follow the prompts to install the Recovery zip that will set your mount points for your partitions and give you the space you are looking for. (WHEN DONE BE CAREFUL! THERE IS ANOTHER IMPORTANT STEP TO PERFORM HERE IN THE NEXT STEP!!!)

**Notice it now says to wipe system, cache, and data partitions then reboot to recovery. Very important! This is the #1 reason why this fails for people. Read it carefully.

Now here's how to do it!:

1/ Return to the Mounts and Storage Menu

2/ Format the Cache, Data, and System partitions by following the prompts. (DO NOT FORMAT ANYTHING ELSE AND BE CAREFUL TO CHOOSE SYSTEM NOT SD CARD!!!)

Now for part three...