[GUIDE] Custom MTD Partitions for the Wildfire (Increase Internal Memory Size)

Search This thread

Lmasta

Senior Member
Sep 1, 2011
61
5
Hi how do I change the partition sizes after I have already flashed previous partition, because when i try to flash radio it says I have no space in recovery?
Do I just change the mtdpart.txt script and then flash bravo boot?


Sent from my HTC Wildfire using xda premium
 
Last edited:

Slymobi

Senior Member
Jan 29, 2011
5,184
5,408
Here
tried to download Office jerk were 24.66MB from market..but still cant..
wtf happen here..OMFG! GRRR

im found something on my application manager...

Don't worry about that,its just to stop the 1st Google apps launcher thing that loads up at very 1st cm7 install when doing a clean install. This just stops it asking which Google apps you want to install every boot.


Sent from my HTC Wildfire using XDA App
 

zexcrazy

Senior Member
Dec 2, 2010
1,149
421
Zrenjanin
@Hanaki
My only idea is to do all over again. Cant think of anything else, im really sorry.

Sent from my HTC Wildfire using xda premium
 

zexcrazy

Senior Member
Dec 2, 2010
1,149
421
Zrenjanin
Yep, new nightly, no restore, just fresh install. And than try these patches again.

Sent from my HTC Wildfire using xda premium
 

Lmasta

Senior Member
Sep 1, 2011
61
5
Hi how do I change the partition sizes after I have already flashed previous partition, because when i try to flash radio it says I have no space in recovery?
Do I just change the mtdpart.txt script and then flash bravo boot?


Sent from my HTC Wildfire using xda premium
 

zexcrazy

Senior Member
Dec 2, 2010
1,149
421
Zrenjanin
Hi how do I change the partition sizes after I have already flashed previous partition, because when i try to flash radio it says I have no space in recovery?
Do I just change the mtdpart.txt script and then flash bravo boot?


Sent from my HTC Wildfire using xda premium

Yes. That should be it.

Sent from my HTC Wildfire using xda premium
 

dud3me

Senior Member
Dec 9, 2010
908
146
If I want to update this thing to the new verson do I first have to revert back to stock cwm? And does it fix the download problem on new market if it even is abotu that?
 

zexcrazy

Senior Member
Dec 2, 2010
1,149
421
Zrenjanin
If I want to update this thing to the new verson do I first have to revert back to stock cwm? And does it fix the download problem on new market if it even is abotu that?

Im not sure but i think you have to do it all over again. You dont need to revert to stock just change values in mtdartmap.txt and run whole process again.

Sent from my HTC Wildfire using xda premium
 

bittu4u4ever

Senior Member
Dec 30, 2010
180
18
Hyderabad
Google Pixel 4a
I have made a custom MTD partition of 150 40 and running CM7 Nightly working well and fine. But when i flash any sense ROM its not booting...

Please solve my problem....

Sorry guys... i didnt read the full post ....
 
Last edited:

Lmasta

Senior Member
Sep 1, 2011
61
5
I have made a custom MTD partition of 150 40 and running CM7 Nightly working well and fine. But when i flash any sense ROM its not booting...

Please solve my problem....

Sorry guys... i didnt read the full post ....

Sense rom needs 250mb of the rom space not 150

Sent from my HTC Wildfire using xda premium
 

ahac85

Senior Member
Aug 7, 2010
1,583
246
Okay thanks:)

Sent from my HTC Wildfire using xda premium

have u tried fastboot to flash radio whilst in bootloader? its works for the desire, it may well work for the buzz aswell the command is to be done in cmd in windows 'fastboot flash radio radio.img'. Just extract the radio.img from the radio update.zip beforehand.
 
  • Like
Reactions: Lmasta

Top Liked Posts

  • There are no posts matching your filters.
  • 82
    Custom MTD Partitions for the Wildfire

    WARNING - NOT recommended if you are using a Sense based ROM. Read Storage Requirements and Notes below.

    06/10/2011 - Updated version (v1.5.8) available. Check this post by zexcrazy. The version attached to this post works fine as well.

    Disclaimer - This procedure is given here in a "as-is" format. I have personally verified it and have it running, but, the ultimate responsibility of performing this lies on you. I will not be responsible for dead / bricked devices or any such similar unfortunate situations.


    This process has been tested by me using:
    - Cyanogenmod 7 Nightlies
    - Clockworkmod 3.2.0.0 j_r0dd's Mod
    - Clockworkmod 5.0.2.0

    I do NOT claim ANY credit for this. The credits all goes to the original creators of the scripts, and daedelus82 and HebrewToYou for their original how-to guides on their respective device fora. I am just recreating the thread(s) here in the Wildfire Section, (The only difference is I am attempting to make it as simple as possible) because there isn't one.

    What does this do?
    As you must know, the Wildfire ships with a 512MB ROM Image. Of this, 250MB is reserved for the /system partition (This is where your ROM is installed to), 183MB for the /data partition (This is your actual 'internal' memory for apps), and 40MB for the cache.

    Now, since no ROM for the Wildfire will ever get close to the 250MB limit of the /system partition, it is possible to 're-allocate' this extra space to the /data partition. If you want even more space, you can take around 20-25MB (Upto 35MB) from the /cache partition as well, implying you now have ~300MB on the /data partition for installing apps.

    Advantages:

    • Utilizes your internal memory better
    • Removes the needs for Apps2SD Scripts
    • Gives you a potentially smoother and stabler device (Apps will always be more "stable" when in the internal memory then when on EXT)

    Pre-Requisites:
    • S-OFF using AlphaRev X / Revolutionary
    • Clockworkmod Recovery (Preferably a version in which you know Nandroid Restore works without issues)

    The Actual Process:

    Step 1
    • First, make sure that you have backed up your entire SD Card somewhere else, like your PC. Also make sure your apps are backed up with an app like Titanium Backup (Just for insurance)
    • Now, Reboot to Clockworkmod Recovery (NOTE - Do not use ROM Manager to boot into Clockworkmod Recovery. Use HBoot)
    • Create a Nandroid Backup
    • Place the 2 attached files on your SD Card.
    • Create a new text file on your SD Card called mtdpartmap.txt (UPDATE - File Attached. Simply edit the values as per your needs) (This includes the file extension, so make sure you are not naming it as mtdpartmap.txt.txt, else, it will obviously not work)
    • In this file, type mtd followed by be 2 numbers. The first number will be the size of your /system partition, and the second number will be the size of your /cache partition.
    • Example: mtd 150 25 (Here, 150MB will be the size of the /system partition and 25 will be the size of the /cache partition)
    • There should NOT be anything else apart from the mtd text and 2 numbers in this Text file. Also, make sure that this is not placed in any folder or sub-folder.
    Step 2
    • Once this text file is created successfully, you WILL have to format your entire device. So, perform the following one-by-one
    • Go to "Mounts and Storage" in Clockworkmod Recovery
    • Here, select format /cache
    • Then select format /data
    • Lastly, select format /system
    • Then, perform a Wipe Data / Factory Reset in Clockworkmod Recovery. (Not essential, but I performed it anyway)
    • Then, flash the attached file bravo-recovery-v1.5.3-CustomMTD.zip
    • Once this is done, do NOT reboot. Go to Advanced Again and select Reboot Recovery
    • Once Clockworkmod Recovery Reboots, Restore your previously taken nandroid backup
    • Once restoring is done, without restarting, flash the attached file bravo-boot-v1.5.3-CustomMTD.zip
    • Done, then you can Reboot your Wildfire.
    • The reboot will take longer than normal, it is normal
    You should then see your new custom partition sizes. The command to check the partition (Before/After/Anytime) sizes in Terminal Emulator is busybox df -h. (After typing su, and also, you must have Busybox installed)

    Reverting back to Stock

    - Formatting all the 3 partitions. (i.e. /cache, /data, and /system)
    - You will then need to flash a "Stock" Clockworkmod Recovery Image. Links (and procedure to flash) available in the Index Thread

    To end, here's a screenshot:
    t3iUU.png
    JzU7D.png



    NOTE

    • When you flash a new ROM/Restore a Nandroid Backup, you WILL lose the new settings ("partially"). To overcome this, after flashing your new ROM, flash the bravo-boot-v1.5.3-CustomMTD.zip attachment immediately after flashing the ROM/Restoring the backup before restarting your device. This will again give you the new partitions. If you fail to do this step, you will be stuck on the White HTC Screen.
    • The standard Apps2SD Feature included in Android (Froyo and above) is unaffected. You can still move your apps to the SD Provided the app supports it. (Or use CM7's In-built App Moving Feature)
    • You can very well use this in conjunction with Apps2SD Scripts like DT, should your need be.

    ==================================================


    Storage Requirements for various ROMs (/system Partition)

    1: CyanogenMod 7 (And most probably it's derivatives/"based" ROMs)
    - 145MB (Keeping a 10MB buffer, includes GApps)
    - 10MB Cache (CM7 includes a script that automatically moves downloads (market, browser etc) to the /data partition if it is larger than the cache size)

    2: Sense Based ROM's
    - Sorry Guys, it seems Sense ROM's need ~210-225 MB, making this guide pretty much pointless. You can take the 40MB, but that will not make a substantial difference. Your best bet in such cases is to stick with A2SD Scripts like DarkTremor.

    To build this list, please post the space needed by the ROM you use. There's 2 ways:
    - Check the Graph of the "System ROM" memory usage in Titanium Backup (As you can see in the screenshot above)
    - Use the busybox df -h command in Terminal Emulator (after typing su). This will list ALL partitions and you will have to hunt a bit.
    8
    Im using 5mb /cache just fine. I just delete file 06BindCache from init.d which is created after flashing.
    Although im not using these scripts im using version 1.5.8

    boot: http://db.tt/KQRdLTce
    recovery: http://db.tt/rE99ivOy

    Sent from my HTC Wildfire using xda premium
    3
    yesterday i have tried custom mtd partition..!!but still the internal storage was 265 only..then i revert back to stock....formatted \cache, \data and \system...and then restore my nandroid backup...but from then my phone is stuck on white htc screen....i keep it whole night but still it is white screen only...

    then today in the morning i flashed cwm 4.0.1.4 and then tried to restore my nandroid then again it is stucked at white htc screen and its more than 4 hours...


    now plz tell me what to do??

    plz help me anyone..!! i thnik my phone is bricked:crying:..!!!
    Really, if you don't want to or can't read or don't understand what you're doing - why do you try out things? Do you like Russian Roulette also? :confused:

    Looking into your posts it turns out that you might have problems to understand even any basics. But instead of trying to learn, to understand how things work, you seem to try out all the stuff you stumble against - just to mess up any- or everything in the end. Then you come back with your problem, not letting us know what exactly your problem is. Furthermore you seem to not to respond to any questions of other members to understand your problem. Instead you open new threads for the same problem in another section of the forum - you mess up your phone, you mess up the forum, you're not willing to learn, you ignore questions and suggestions. You shouldn't be too surprised if nobody is willing to help you anymore.

    If you're not able to understand anything you're doing with your phone you should stay away from that. You'd probably feel better and it would free up the time of all the voluntary forum members for helping people who are a bit more thankful and value the help they get in here (and accept the fact, that this is not a user help desk but a place where you can kindly ask for help but shouldn't expect to get help for every problem - or poop or missing socks...)

    Regarding your problem - a perfect example for things mentioned above: If the custom mtd partitions didn't work for you could you please tell us, how it came to your mind to revert to stock - why did you do that? Just for fun? Because you thought you should give us yet another challenge?

    Regarding a solution for your problem: it's all in the forums here - just use the search. I'm not willing to do it for you (anymore) - besides giving you a last hint: if you still can boot into recovery your phone is not bricked (although I'm not sure if that wasn't just better for you and us).

    Have a nice weekend - good luck!
    3
    Anyone seen my sock?:p
    3
    hey eventcom...dont try to be over smart..u r nothing..!! i hv not askd for ur help...jst get lost if u dont wnna help me....!!

    and dont you get it twisted! you HAVE asked for his help,alongside asking the whole wildfire community for help,because thats how it works here....you ask 1 your adking us all and in your case its asking 1 too many times. now everything has been explained to you numerous times and cant be explained to you any simpler. so just stop and think to yourself that maybe its not us providing corrupt guides etc but in fact that it must be something YOU and YOU alone are missing.

    Damn now im getting pissed because youve made me post again where i said i wouldnt. :mad::mad: lol

    sent mysteriously via OTA