yashsingh1/xdaforums huggingface dataset:
[Wildfire Android Development] 3xeno:
Start from scratch again after re-installing Clockworkmod. Sorry, but I wouldn't exactly say what you did was "wise".
[Wildfire Android Development] dud3me:
Yeah well needed to upgrade cwm anyway :D I installed cwm 5.0.2.0 but for some reason it ain't writing the mtd partitions right. I mean it boots and everything but I only have 180mb of memory although I should have close to 300. I'm using the 1.58 files.
[Wildfire Android Development] 3xeno:
Try with the 1.5.3 one's. For some reason, 1.5.8 doesn't seem to be working for everyone. (I am using the 1.5.3 files with CWM 5.0.2.0, and, it works without any issues)
[Wildfire Android Development] dud3me:
So I need to have 10 cache? I'm really starting to get tired of flashing recovery over and over again :D I'm using the latest market btw 3.2.0 anyone got that working?
[Wildfire Android Development] zexcrazy:
Im running 3.2.0 market, with mtd version 1.5.8.
[Wildfire Android Development] dud3me:
Ok I got it working! Im on market 3.2.0 and mtd 1.53. You need to put cache at 10! didn't work on 20 or 25.
[Wildfire Android Development] zexcrazy:
My cache is on 5mb.
[Wildfire Android Development] chintu_a_b:
@3xeno: Any special steps to follow if I want to flash latest CWM recovery permanently using flash_image command?

BTW I've flashed recovery from http://xdaforums.com/showthread.php?t=1112971 but setup doesn't seem stable.
[Wildfire Android Development] 3xeno:
You will have to repeat the steps in that case, since when you flash a new Recovery (Using any "permanent" method like flash_image or fastboot), Custom MTD partitions are lost.

It should work with the version you posted, I don't see why. Try with the previous version and check again (5.0.2.6). If it still doesn't work, then use an "official" build for the Wildfire, the last of which is 5.0.2.0
[Wildfire Android Development] chintu_a_b:
Thanks for the hint. BTW where can I find latest official img file. The one downloaded by rom manager or available on cwm site is zip format.
[Wildfire Android Development] phantom200580:
From Here:

http://download.clockworkmod.com/recoveries/
[Wildfire Android Development] chintu_a_b:
Thanks for the link. I just did flash_image and followed the steps again for custom mtd but now I got bootloop!

Can someone please guide me how to fix it?
[Wildfire Android Development] chintu_a_b:
I'm guessing the backup I taken before the process might be corrupt as restoring previous backup brought my phone back to normal.

---------- Post added at 09:58 AM ---------- Previous post was at 09:52 AM ----------

What's the changelog for this version?
[Wildfire Android Development] 3xeno:
Changelog can be found here:

Upto v1.5.6-

http://xdaforums.com/showthread.php?p=7061471#post7061471

For v1.5.8- (Check the README at the bottom of the page)

https://github.com/Firerat/CustomMTD
[Wildfire Android Development] Slymobi:
i had some issues with some cwm versions not restoring a nandroid from a different cwm version. eg. nandroid from 3.2.00 not restoring on 2.5.*.* so this might be the case here for you too.

not sure which versions i had the problems with so i just used the eg.versions as that !! an example.cheers.
[Wildfire Android Development] chintu_a_b:
Interesting. I'll keep that in mind for future :)
[Wildfire Android Development] Slymobi:
Hi all. I posted before about mtds not working on cwm 2.5.0.7 for me but can someone confirm this. I'm asking cos I prefer to have a cwm which will flash anything instead of having to use temp cwm for certain flashes.like I said I have tried setting mtd with cwm 2.5.0.7 but it never worked for me,however I may have done something wrong(lol very unlikely though).

P.s I'm not looking for anything else regarding mtds because i have it set up with cwm 3.2.0.0. Just want confirmation on requested cwm. Thanks,Slymobi.

sent from my wilderbeast:buzz
[Wildfire Android Development] eikcihc:
i suspect that after flashing the script i;m facing usb issues... like i can't connect my phone to usb now, it will cause a auto reboot.

Anyone else has similar situation?
[Wildfire Android Development] 3xeno:
Please remove the script in that case.
[Wildfire Android Development] eikcihc:
how do i remove? just flash my rom agn?
[Wildfire Android Development] 3xeno:
No, Reinstall Clockworkmod. It's clearly stated on the 1st post.
[Wildfire Android Development] eikcihc:
sorry for the overlook. anyway just wondering if anyone reported the same issue before? cause i'm still nt sure if it is the paritions that cause the problem..
[Wildfire Android Development] GlennBrownie:
Hello,

I have used this guide a few times and I have had no problems with it, but with my current rom and previous rom I have found conflicting partition table reports.

With my current rom, I have found the same errors and I am curious as to how I have got this?

I set my system partition to 109mb & cache to 30mb in the mtdpartmap.txt file, but please look at screenshot1.png it reports system as 114mb in Titanium Backup, but if I use the busy box command (adb shell busybox df -h) it reports 109MB as well (see screenshot3.png)

My data partition is also being reported as 2 different figures, in screenshot1.png it is reported as 341MB by Titanium Backup, and in in screenshot2.png it is reported as 326MB by Darktremors A2SD GUI, and the same again (326MB) by busybox (screenshot3.png again)?

Has anyone else had this problem?
[Wildfire Android Development] 3xeno:
TI Backup always shows numbers a bit off than the actual values (It shows me 314MB for what is a 300MB partition). The values you see in busybox, and the values in mtdpartmap.txt are correct.
[Wildfire Android Development] GlennBrownie:
Thanks for telling me that, but why? from what I understand of this script, it doesn't edit the HBOOT partition sizes, but moves the headers?
[Wildfire Android Development] 3xeno:
In a way, yes, but the precise way to put it would be that the script simply passes to the MTD what values are needed at boot. More in-depth details can be found on the original threads:

http://xdaforums.com/showthread.php?t=704560

http://xdaforums.com/showthread.php?p=7061471

The only reason I can think of the discrepancy in TI Backup is some issue in converting data from Bytes/KBytes to MBytes.
[Wildfire Android Development] suiller:
living with modded partitions from 2 weeks & all is working as expected :cool:

anyway I can confirm that is possible without issues to jump from CM to other AOSP rom (such as oxygen)

just a curiosity... if I understood correctly I have to re-flash boot zip only after having flashed a new rom, so it isn't necessary to re-flash boot zip after a restore (or backup)... am I correct?
[Wildfire Android Development] 3xeno:
Flash of the boot file is needed after a restore (not confirmed, I did get a few PM's where the user was stuck after restoring a backup, and not flashing the boot file), but not after a backup(confirmed).
[Wildfire Android Development] suiller:
thank you very much for fast response

anyway I can confirm that boot flash is not needed after a backup :rolleyes:
[Wildfire Android Development] schiznik:
I wonder if there is a way to build this into a ROM. Would love to have Oxygen set its own partition sizes correctly when flashed :D
[Wildfire Android Development] jhbakerstreet:
Oh please, can someone make this happens?

This would be great.
[Wildfire Android Development] suiller:
yep this is a good idea, anyway above all it's a bit annoying to remember flashing boot

I confirm that oxygen works with 100/5 setup (I remove some sounds & tts but it should fit in any case)
[Wildfire Android Development] bichoudandy:
get success in MTD

hi all,,

need advice:mad::mad:

i never success with this method,,my internal memory still small,,,i do all the step,,,and i have use splashmod, cm7, etc,,but after the steps , my internal memory still small,,100 mb,

i do this step,

1. instal splashmod, cm7 or zerorom then do nandroid back up,,,,

2. i go to recovery and wipe all,,then install recover bravo,

3. i go to reboot recovery again and then nandroid and install boot bravo,,,then reboot.

4. after reboot, i install terminal emulator and busybox,,and check in terminal emulator

then check in storage, it seem no change,,;(

can u give me some solution and advice

thanks

K
[Wildfire Android Development] 3xeno:
Are you sure you have mtdpartmap.txt placed on the root of your SDcard? With the proper values?
[Wildfire Android Development] bichoudandy:
yes, i put all the file boot bravo, recovery and mtdpartmap.txt on my SDcard,,,,

i write mtd 110 5

what i should write if i want to get more than 200 mb free??
[Wildfire Android Development] 3xeno:
110 is too small unless you remove apps from the ROM and decrease it's size by quite an extent, which is probably why it's not working. Put 145 5 and try again. 145/5 gives 300MB internal memory free.
[Wildfire Android Development] Scratch0805:
If you're doing it on a clean install forget the nandroid backup,

Perform all the wipes.

Flash the recovery zip.

Reboot recovery.

Install your rom zip.

Flash boot zip.
[Wildfire Android Development] bichoudandy:
thanks i'll give it a try,,,hope it will works,,,,,btw i dont like to use android 2.3,,,2.2 is better,,,,,i dont like the camera and galery,,,,do u know how to change it with froyo one?

---------- Post added at 01:58 PM ---------- Previous post was at 01:50 PM ----------

arggg it still the same,,

i do all ur way,,,and after reboot i saw my internal is small,,129 mg, i use zeroRom,,

sooo give uppppp

---------- Post added at 02:38 PM ---------- Previous post was at 01:58 PM ----------

thanks 3xeno,,,sorry i will try again ;
[Wildfire Android Development] bichoudandy:
ohh,,i got so give up now,,,i have doing MTD process for 10 x tonight and none of them were success,,here are some step i did

1. i prefer splashmod, zero rom, cm7.1 for android 2.3

2. i place in my SD, boot and recovery file bravo, + mdpartmap.txt (mtd 145 5) + rom file

3. i do clean wipe, system,cache,data and wipe factory

4. i flash recovery and reboot recovery in advance menu

5. i flash 'rom file" or no nandroid backup then flash boot bravo and reboot

6. wait a while and check in menu - setting - storage,,it sill 129 mg instead of 300 mb

please help and give advice
[Wildfire Android Development] 3xeno:
I assume you are having S-OFF?
[Wildfire Android Development] bichoudandy:
no, i have check,,,,its BUZZ PVT SHIP S-ON HBOOT 0.80.0003
[Wildfire Android Development] 3xeno:
This needs S-OFF. Check the Pre-Requisites on the first post.
[Wildfire Android Development] Alexcxvtr:
I did everything as it posted and apparently it worked. Just checking though...

In "Settings" it says...

"Total Space"

295

"Available Space"

159

Is this proof that the procedure has worked?

My values in the mtd script are...

"150 20"

Also, I'm S-OFF and rooted, running CM7 Nightly Builds of course!:)
[Wildfire Android Development] 3xeno:
Yes it worked. If it didn't, available space would have shown as 175.
[Wildfire Android Development] Alexcxvtr:
Ok, thank you. This is a really helpful and rather easy guide to follow. My phone is running pretty faster now!

One last question though: If I want to edit the values in mtd script how can I do it?

Do I have to repeat the whole process all over again?
[Wildfire Android Development] 3xeno:
No, Simply edit the values in the text file, reflash the ROM (Without wipe)(This step is not necessary, but I would still recommend it) and flash the boot attachment.
[Wildfire Android Development] schiznik:
Nice to see the placebo effect in full force here... How can using a different partition table speed things up??!??
[Wildfire Android Development] Alexcxvtr:
Apparently not. It seemed faster after first reboot but now I can see it's not. My bad...

Thanks again 3xeno!:)
[Wildfire Android Development] zhuoyang:
Will it works on RZR Recovery?
[Wildfire Android Development] jediknight111:
HTC Sense User here, I managed to set the limit at 195mb for the ROM and 25mb for the cache. I have 90mb user space now! very awesome guide. I used root explorer to see how much /system was being used, it was 193mb. 2mb extra is ok right? I'm not pushing it am I?
[Wildfire Android Development] 3xeno:
You should be fine. Obviously, you will have to think before making any additional apps as system apps, but, if you don't, a 2 MB margin should suffice.
[Wildfire Android Development] monemhamid:
Hi,

I am planning on returning to stock after using custom mtd partitions as described. I have already installed rempuzzle rom after modifying mtdpartmap.txt to 250 40. Please let me know if i need to use stock recovery still to change anything before using RUU? if yes, what version does it mean in the post

"You will then need to flash a "Stock" Clockworkmod Recovery Image"

Thanks again
[Wildfire Android Development] 3xeno:
An RUU will remove Clockworkmod Recovery by default in any case, so you can go ahead and use an RUU without making any changes.
[Wildfire Android Development] thyl_:
Thx to all for this tutorial. It's working like a charm.

Impressive storage boost using MTD 170 20.

I also noticed the "placebo" effect ;)

Edit: I forgot to say I used "revolutionary clockworkmod v.4.0.1.4" with no issues.

:D
[Wildfire Android Development] GlennBrownie:
Extra mtdblock after flashing?

Hi guys, I've just completed this process, and then confirmed it using "busybox df -h".

Can anyone explain why I've got an extra mtdblock after doing this? Heres a copy of the cmd entry.

"

C:\Users\glenn>adb shell busybox df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 156.6M 32.0K 156.6M 0% /dev

tmpfs 156.6M 0 156.6M 0% /mnt/asec

tmpfs 156.6M 0 156.6M 0% /mnt/obb

/dev/block/mtdblock3 128.0M 118.8M 9.2M 93% /system

/dev/block/mtdblock5 322.1M 158.3M 163.8M 49% /data

/dev/block/mtdblock4 15.0M 1.3M 13.7M 9% /cache

/dev/block/mtdblock5 322.1M 158.3M 163.8M 49% /cache/download

C:\Users\glenn>"

EDIT:

Also have a bootloop.. - fixed bootloop forgot wipe dalvik
[Wildfire Android Development] 3xeno:
That is CM7's 06mountDL Script at work. It binds the /cache partition to the /data partition which allows you to download files greater than the /cache partition size. (Hence, you can keep a 10MB cache size, and still download files of size a lot more than that)
[Wildfire Android Development] GlennBrownie:
oh, right I understand - so its a symlink?
[Wildfire Android Development] pauch_19@yahoo.com:
hi sir, would really love to try this. have read the process and everything and as easy as it may seem. i am really not sure how to go about it and im a little afraid that i might do something stupid in the process.:D
[Wildfire Android Development] yash_p90:
You can always take a nandroid backup incase you go wrong anywhere. I have done this and everything works perfectly. You can go ahead without worrying. Just make sure you follow the steps.
[Wildfire Android Development] pauch_19@yahoo.com:
followed the whole process and managed to get it right.:D assigned 150 for system and 25 for cache. feels good to have alot of free space on your internal memory.:D

I have a question though, 3xeno mentioned on the note that every time you flashed new roms or restore back ups, you have to flash bravo-boot-v1.5.3 to give you new partitions. I'm using cm7 nightly so do I have to flash bravo-boot everytime i update to a newer cm7 build? and also, what if i decide to assign a different value for the system, say increase 150mb to 180, do i need to do the process from the start again?

thanks and regards
[Wildfire Android Development] yash_p90:
Yes and Yes :-)
[Wildfire Android Development] pauch_19@yahoo.com:
ok noted sir. thanks :)
[Wildfire Android Development] yash_p90:
LoL. I'm no SIR!!
[Wildfire Android Development] pauch_19@yahoo.com:
force of habit i guess...lol!

thanks again.
[Wildfire Android Development] rent0n:
Thanks 3xeno for this great tutorial! It works perfectly!
[Wildfire Android Development] wishmasterdjl:
im new to all this and was wondering whats the best sizes to use, im currently using cn7 rom and have a 8 gig sd card and have seen others with over 100 apps and still over 100mb left,i was wondering what sizes would be best for that sort of set up
[Wildfire Android Development] 3xeno:
That sort of setup needs Apps2SD like DTApps2SD or S2E. Custom MTD, as described on the first page, does not enhance (Or even enable) A2SD in any way whatsoever (If an app took 6MB internal memory initially, it will still take 6MB after performing this). All it will do is increase the size of the internal memory for installing apps.

For your query, please post another thread in Q and A on the setup you need. I have given up using any sort of A2SD a long time back and can't really help on it.
[Wildfire Android Development] thyl_:
I flashed the last CWM recovery and went to make a nandroid backup.. No way!

If you change the recovery you will lost all MTD configuration,so I had to begin all process again . Lucky I made a nandroid backup last week ;)

To wishmasterdjl: I use an app called "Link2SD" without problems to symlink any app I want to the SD-ext partition... look at this thread: http://xdaforums.com/showthread.php?t=919326

sorry for my bad English ;)
[Wildfire Android Development] Lesicnik1:
Just did it on CM7.

Works like a charm :)

I did do it a bit more premissevly, leaving 35MB free for system apps and still I get 159 MB of free space!
[Wildfire Android Development] flaviusio:
A question

Hello everyone!

I use Custom MTD and have a 4gb sdcard partitioned fat32/ext/ext, my question is Do I still need the fat32/ext/ext partitioning on my sdcard or can I make it all fat32?

Thanks!
[Wildfire Android Development] Lesicnik1:
For MTD partitions, you don't even need a SD card, since it just reconfigures your internal memory. (Takes it from the /system and /cache partitions and places it in the /data)
[Wildfire Android Development] flaviusio:
Thanks for reply!

I know I don't need a sdcard to do custom MTD, as I said I've done it already.

All I am asking is if still helps having sdcard formated fat32/ext or I can better use all the space for fat32 without that cache partition on sd.

Thanks!
[Wildfire Android Development] Slymobi:
If your going to stay with the mtd setup then to be honest you don't need the partition.

However you can still use move an app to SD card method giving your system even more free space.

It really doesn't matter either way unless your running out of space on either SD or system.

I'm running sense at the moment but at times when I do switch back to cm7 with mtd I always keep my partition just for the ease of not having to re format my SD card.

regards,slymobi
[Wildfire Android Development] detz:
I removed some standard stuff from Cm7, and I made a 120/10 partition, which works great :)
[Wildfire Android Development] chintu_a_b:
Any idea what will be required partition size for CM9?
[Wildfire Android Development] topjor:
If you have cm9 on your device you can use this command: df -h

I think you need to be root

Based I that you can choose a good size
[Wildfire Android Development] Cateye:
Custom MTD Partitions for the Wildfire works with any ROMs especially oxygen? or just Cyanogenmod
[Wildfire Android Development] viro17:
Worked perfectly. Thank you very much
[Wildfire Android Development] chintu_a_b:
Well if I had it installed then I could figure out but if I already have custom size and then have to install CM9 then have to know in advance or resize size to stock and then try. So better to know in advance and resize before flashing cm9.
[Wildfire Android Development] topjor:
Try returning to stock partition size an flash, or go ask on cm forums
[Wildfire Android Development] Cateye:
i tried this method but stuck on HTC white screen any idea how to solve this issue.
[Wildfire Android Development] Kwen:
Try to reflash the boot mtd in recovery
[Wildfire Android Development] arkoze:
followed instructions worked perfectly data size now 305mb, cache 10mb and system 150mb

this along with radio and kernal and ROM mods has made my device sooo much better.

love my wildfire....sick device!!
[Wildfire Android Development] paketek:
i hawe problems whit booting when i do android backup and then restore. If i do restore i stuck on htc screen, and i muss install whit fully wipe again.

any ideas how to fix that ?

edit : wrong section post, but if you can help me
[Wildfire Android Development] 3xeno:
EDIT - Scratch it. I had no idea you had DTA2SD Problems and posting it here.
[Wildfire Android Development] lupoalberto12:
Very very useful tweak.

Thank you.

Bye!

! :) !
[Wildfire Android Development] yohanandz:
works very well!

thanks!

and idea of how much can i make the min partition running splashmod v1.8?
[Wildfire Android Development] PoohTech:
is it ok to use this trick even if im using Simple2Ext application on CyanogenMOD7 nightlies??

or should i need to uninstall the S2E first, then use this trick??

thanks bro!=)):D:D

UPDATE:

it worked!it doesnt affect the application (S2E) even if its installed!

many thanks to you!

Keep Sharing!
[Wildfire Android Development] Lucabeer:
Brilliant guide! I managed to free a whopping 150 MB of space on my Wildfire!!!! Now I have all my apps installed in internal storage (none of them moved to SD, I thing I used to have to do but which I hated because it slowed down the phone and made all widgets broken), and still have 60 free MBs left!

Thank you a lot!
[Wildfire Android Development] PoohTech:
what version of clockwork recovery do i need to flash when i want to revert on the stock memory of wildfire??

sorry to bother but im confused.=(

sorry for my bad english!

THANKS!!=D
[Wildfire Android Development] 3xeno:
Can be any version, even the version you used to make the custom partitions.
[Wildfire Android Development] jediknight111:
I need some help . I followed this guide about two months ago and it worked perfectly ,I had the system partition down to 186MB. I uninstalled some system apps a week ago so I decided to put the size down to 183MB because the system was taking up only 180MB . So I made the Titanium backup today and a nandroid one. However after following this guide this time I just get a flashing HTC logo screen!:confused::eek:

I've even put up the size to 201MB and still the problem persists. Any help? :confused:

I had this problem before aswell with the nandroid restore but i had two backups to restore from and the older managed to work, I have only the one this time

I have a Generic Sense 2.2 Rom and Titanium backup off all my apps. if that helps.

Edit: From doing the advanceed restore for nandroid it seems my boot img is messed up. Any way to repair this? Any way to replace the boot image?

Edit 2: Managed to fix it by installing a rooted rom and so I had a working boot img then doing an advanced nandroid and skipping the boot img
[Wildfire Android Development] sayemahmed:
What is the setting/nubers to get the most mb
[Wildfire Android Development] 3xeno:
Great you solved it by yourself. BTW, you could have flashed a boot.img using fastboot as well. Could have been a bit shorter, but anyway, its irrelevant now :)

Depends on the ROM Size really. There is no fixed numbers as such. If you are using CM7, then you can keep it at 145 10 to get ~305MB free. If you strip the ROM and go for a barebones install, you can easily reduce the size to around 110MB, and keep the numbers at 115 10 to get ~335 - 340MB.

Tl Dr; It depends on how much space your ROM takes.
[Wildfire Android Development] lo2ay:
I'm on cm7 build 14 with gapps and beats audio installed

Cashe = 5 MB

System = 125 MB with 8 MB free

Data = 335 MB with 68MB free

Good numbers I think :)

Sent from my still alive, ICS capable HTC Wildfire.
[Wildfire Android Development] botski:
how about 1gb internal? still working? im using stock rom. but root and clockwork recovery installed.
[Wildfire Android Development] 3xeno:
Not possible really, since the ROM Memory size itself is 512MB (Of which ~480MB is usable). Didn't get you on the "Still working" part. I mean, this was always working. :p
[Wildfire Android Development] Slymobi:
Lol,1gb internal memory,please explain how you have done this "rolleyes"

Sd-ext of 1gb maybe what you meant...... yes?