yashsingh1/xdaforums huggingface dataset:
[Wildfire Android Development] vinz3nt:
Booting now, looks different as I now get the AOKP Unicorn! Must be ok now, fingers crossed. Will let you know in a few minutes

---------- Post added at 11:57 AM ---------- Previous post was at 11:02 AM ----------

Works like a charm! Thanks again.

Much faster now and more free space!
[Wildfire Android Development] Wasimk32:
happy to help. :)
[Wildfire Android Development] vinz3nt:
Now on to my quest to get even more space from the Wildfire! Rooting, changing to ICS and the custom MTD partitions already gained me a lot of speed
[Wildfire Android Development] Scratch0805:
Well that was strange, I tried this on the Dk rom and got stuck at the splash screen for like 30 mins, tried nandroid restore same thing, fresh install of cm7, same again.......

Tried to redo clockwork with unrevoked and got the "your firmware is too new" looked at my hboot and it is now alpharev s off .02, I'm sure I downgraded with a gold card to .01 before to use alpharev.......

Anyway all sorted now had to run an ruu then use revolutionary to install clockwork, then I was able to flash cm7 latest nightly and this worked perfect then.
[Wildfire Android Development] darkstep:
why didnt you use clockwork img and flash it via fastboot
[Wildfire Android Development] Scratch0805:
Dunno how? I'm still learning!
[Wildfire Android Development] 3xeno:
It's in this post. I would definitely recommend fastboot also.

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

- Download the android-win-tools.zip attachment

- Extract to any folder (Example: C:\Fastboot)

- Place the Clockworkmod Recovery.img file you want to flash in that folder

- Connect Wildfire to your PC, Enter Bootloader (HBoot) Mode, Select Fastboot

- Open Command Prompt, Navigate to the folder you created

- Type fastboot flash recovery <recovery.img filename>. Press Enter

- It will send the Recovery and will write it.

- Done

(Assuming you are on a Windows PC, Linux/Mac instructions are on that thread as well)
[Wildfire Android Development] Scratch0805:
Thanks mate, will use that next time I mess up which will probably happen one day, I definitely did it the long way but at least I'm back up and running again!
[Wildfire Android Development] 3xeno:
Fastboot is a life saver mate, as I said to Alex as well. Its what got me up and running when the new Clockworkmod couldn't do a Nandroid Restore on a bootlooping device because of a MD5 Mismatch, and the MD5 Fix also didn't work. I learnt my lesson and switched back to Clockworkmod 3.2.0.0
[Wildfire Android Development] pan_pietrek:
3xeno, are there any files on /data partition that this mod changes? If so, how can I revert them?
[Wildfire Android Development] 3xeno:
It doesn't change any files, but, it re-maps the internal NAND Memory, which is why you have to format all 3 partitions (/system, /data, and /cache) before implementing it. (And also if you want to remove it). Performing this without formatting will probably lead to dire consequences (lol).
[Wildfire Android Development] pyroblazer:
tried this with a cynogen nightly fresh install... was stuck on the splash screen for like 25 mins... i wiped everything flashed the brovo recovery then reboot recovery the the rom and then the brovo boot then booted up.... bt got stuck... anything i did wrong??
[Wildfire Android Development] t0mas_:
thanks man, this one is really great :D

and it works without any problems
[Wildfire Android Development] gmd1:
Thanks for the tutorial I did not know anything close existed for the wildfire

Can now happily report I got this working on my wildfire using CM7.0.1 RC1

I had a real problem first time I tried to install, Home button stopped working and I couldn't receive calls.

A clean install of CM7 solved the problem guess it was more a problem with my backup rather than this procedure.

By far the best reason to root your phone I've found so far! :)
[Wildfire Android Development] darkstep:
3xeno if i flash cwm 5 then do all the steps again the custom mtd will work right?
[Wildfire Android Development] 3xeno:
It should. No reason why it won't work (Unless CWM5 drastically changes something internally)
[Wildfire Android Development] rohillamanish:
HELP

I really want this and have tried it with many roms of cyanogenmod. Many nightlies and the rc of 7.1 but it never seems to work for me. I tries with values of 150 40, 160 40, 170 40 and 200 40 but it never worked for me. Always after I do everything as mentioned, I get to the home screen and have the increased memory but many of my previous apps fail to function. Sometimes even the system apps fail to function. And always I cannot get any network access and cannot access any contacts or messages. I have tried it with recovery v4 and v5. I always have to reflsh the recovery via fastboot and install the roms with standard memory configurations. And I even tried to backup and restore without flashing these files and my backups always work, ie, there are no problems with my backup. Please help.
[Wildfire Android Development] 3xeno:
I can only recommend making a fresh install after performing this (i.e. in place of restoring a Nandroid Restore, flash the Zip file of CM), and then install your backup app again (Titanium backup?) and then try to restore there. I have honestly no idea why so many functions are failing for your case, because, I am still using this guide since the time I posted this, and, have not had any problems whatsoever. (Yes, some initially installed user apps failed to show up the first time I performed it, but a clean install + Titanium restore got them back with no issues).

If you are having DTApps2SD installed, then try and uninstall that before performing this. It may just help.
[Wildfire Android Development] t0mas_:
flashing new recovery

for anyone interested, i just tried flashing a new recovery

i did a nand backup, flashed new cwm, booted in recovery, flashed bravo-recovery, rebooted recovery, restore nand backup, flashed bravo boot, and everything seems to work fine...
[Wildfire Android Development] Scratch0805:
Oh, I've just flashed new cwm 5.1 using root toolbox pro and didn't lose the custom settings.

Have you tried simply rebooting again, I have had missing apps a few times after running this and also dt a2sd script and they've always shown up again after rebooting.
[Wildfire Android Development] vimjam:
donno why but after using this method cm7-nightly176 freezes then reboots itself, & the led seems ON all the time(even after un-plugging usb) until i reboot manually

few other details:

installed applications: only adw launcher ex

MTD partition size : 145 10

CWM: 3.2.0.0

didn't install any other tweaks/hacks/kernel's

EDIT:HAPPENED TWICE(without led problem)
[Wildfire Android Development] rohillamanish:
Still not working

Okay I tried it all again. This time I flashed the rom zip instead of restoring the backup and my phone is stuck on the HTC splash screen for the past half an hour. Still waiting for it to boot. Will wait for another half an hour or 45 minutes and then if it still does not work, will lose all hope that it will ever work for me.
[Wildfire Android Development] vimjam:
does any one know what values (145 10) are to be used for MTD partition ?

i used 145.10 by seeing 3xeno's signature :p:D
[Wildfire Android Development] Wasimk32:
you could try SD-EXT and a2sd scripts for even more space. ;)
[Wildfire Android Development] atomicmak:
Hi

I am new and confused on partition making.

Here's my partition data from command busybox df -h

Using CM9 rom installed today but my cell ram fills in and says 40mb memory left in few minutes even though I dont open anything.

app_6@android:/ $ export PATH=/data/local/bin:$PATH

app_6@android:/ $ su

app_6@android:/ # busybox df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 156.2M 48.0K 156.2M 0% /dev

tmpfs 156.2M 0 156.2M 0% /mnt/asec

tmpfs 156.2M 0 156.2M 0% /mnt/obb

/dev/block/mtdblock3 220.0M 183.1M 36.9M 83% /system

/dev/block/mtdblock5 225.1M 132.0M 93.2M 59% /data

/dev/block/mtdblock4 20.0M 1.1M 18.9M 6% /cache

/dev/block/mmcblk0p2 472.5M 25.2M 422.9M 6% /data/sdext2

/dev/block/vold/179:1

1.1G 700.3M 475.1M 60% /mnt/sdcard

/dev/block/vold/179:1

1.1G 700.3M 475.1M 60% /mnt/secure/asec

/dev/block/dm-0 10.1M 8.2M 1.9M 81% /mnt/asec/com.google.android.apps.docs-1

/dev/block/dm-1 21.3M 19.7M 1.6M 93% /mnt/asec/com.google.android.apps.plus-1

/dev/block/dm-3 2.0M 436.0K 1.6M 21% /mnt/asec/com.alensw.PicFolder-1

/dev/block/dm-4 4.1M 2.7M 1.3M 67% /mnt/asec/com.google.android.gm-1

/dev/block/dm-5 2.0M 268.0K 1.8M 13% /mnt/asec/com.google.android.street-1

/dev/block/dm-6 3.1M 1.6M 1.5M 52% /mnt/asec/com.rhmsoft.fm-1

/dev/block/dm-7 8.1M 6.3M 1.8M 78% /mnt/asec/com.google.android.apps.maps-1

/dev/block/dm-8 4.1M 2.9M 1.1M 72% /mnt/asec/com.google.android.maps.mytracks-1

/dev/block/dm-2 5.1M 3.2M 1.8M 64% /mnt/asec/com.game.basketballshoot-1

/dev/block/dm-10 2.0M 572.0K 1.5M 27% /mnt/asec/mobi.infolife.app2sd-1

app_6@android:/ #

My plan is to completed wipe everything and install from scracth and make it wider so no space or memory issues comes in.

A simple guidance will really help to port the rom from scratch.
[Wildfire Android Development] atomicmak:
Here are two screenshots I am facing space issues with may be someone can guide based on screen grabs and data structure posted above.
[Wildfire Android Development] Munckster:
My suggestion is repartitioning the SD Card.

Make two partitions, both primary, one FAT32 for the other stuff, and an EXT2 one.

Install Link2SD, point to your new EXT2 partition, install the scripts asked by it and reboot the phone.

Some of the apps that you have can be transfered (including the dalvik-cache) to the second partition on your SD.

Hope it helps.
[Wildfire Android Development] atomicmak:
One question can i format existing sd from mobile itself and build new partitions and move apps to it ?

If possible what will be the steps ?
[Wildfire Android Development] Wasimk32:
I'm not sure whether formatting from phone itself would remove your old partition.

If you have no partition,simply boot into recovery,go to advanced option and then select partition sd card.

it will format your card itself and create a new ext partition.Select size as per your convenience and set swap size to 0.

and to move your apps,there is a script called chronmod int2ext+,which you have to flash in recovery and forget.

it will move apps to sd ext itself.You don't need to worry about free space again. ;)

if you already have a partition,i would suggest you to do a full format from a computer.
[Wildfire Android Development] optimusodd:
I suppose by "Stock" you mean flashing CWM v4.0.1.4 via fastboot.Right ?
[Wildfire Android Development] Wasimk32:
if you want to revert back to stock then just don't flash bravo boot after nandroid restore or a rom flash.It will reset itself to stock.

BLEED BLUE !
[Wildfire Android Development] optimusodd:
Nope,I don't want to revert to stock.I want to flash a different version of CM.

---------- Post added at 12:56 PM ---------- Previous post was at 12:35 PM ----------

I think i should just wipe everything first(Dalvik cache,system,cache,data,boot and Under main menu :user data and cache) then

>Flash bravo recovery.

>Reboot recovery

>Flash new ROM.

>Flash bravo boot
[Wildfire Android Development] Wasimk32:
i suppose you are going to flash cm9.

fot that you first need to edit values in mtdpartmap.txt and then do the procedure you mentioned above.

BLEED BLUE !
[Wildfire Android Development] optimusodd:
Yep,CM9 needs more space.

Do you have any idea about the LeWaOS ROM's size ?

Thanks
[Wildfire Android Development] atomicmak:
I am going to completely wipe everything and port cm9 again in two days.

Just need advice which mtd settting should be choose. 8gb class 6 new buy what partition sizes ?

would I need any link2sd or app2sd required later after flashing with bravo and mtd to move appz or it'll automatic go in sd partition ?
[Wildfire Android Development] Wasimk32:
lewaos takes around 130mb,so anything more than 130mb for system will do.

BLEED BLUE !

---------- Post added at 01:37 PM ---------- Previous post was at 01:33 PM ----------

mtd and ext are two different things,mtd is to alter your phones internal partitions.And ext is a partition on your sd card.

i used to use both with cm9 before ,but ever since i found chronmod int2ext+,i haven't did a custom mtd..my internal memory shows to be 496mb with 512mb ext partition.

BLEED BLUE !
[Wildfire Android Development] atomicmak:
Hey Wasim,

thanks a lot for kind prompt reply.

WOuld you please share your partition guide ? I am new to things like this and wish I can completely wipe everything and go better this time with memory.

Any chance if you can just post steps to follow ? as you are now aware am getting 8gb class6 in two/three days when get back to my town and start form 0 to make this daily as am loving CM9 running right now just that space is bit issue for me as I didnt erase dalvik while porting cm9 from cm 7.1
[Wildfire Android Development] Wasimk32:
ok I'll tell you what i did.

1.boot in recovery,go to advance and then select partition sd card,i selected 512mb and select 0mb swap size when asked.(this will erase all the data on sd card,not an issue if you have a new one).

2.now from recovery select wipe user data/factory reset.

3.now select wipe cache.

4.go to advance and wipe dalvik cache.

5.flash cm9 and gapps.

6.reboot.

7.once booted completely,reboot into recovery again.

8.now flash chronmod int2ext+,and reboot.

see in settings>storage ,you should have internal memory around 495mb. :)

BLEED BLUE !
[Wildfire Android Development] eventcom:
standard maybe yes... mine is around 113MB lol (but I'm not yet finished :D)
[Wildfire Android Development] Munckster:
Make a backup of your SD Card first... After done all the process, copy everything back :)
[Wildfire Android Development] Wasimk32:
If I remember correctly standard flash does take around 124-125mb,but its always a good idea to strip it down to your liking. :D
[Wildfire Android Development] atomicmak:
Thanks a lot Wasimk32 I just made an attempt of these steps and it worked on my 2gb old card. Besides the Internal Memory showed me 473mb instead. :)

@ErwinP

Thanks ErwinP I ported the new 20-80-2012 rom few minutes ago and looks lovely. Flashed Gapps unfortunately dont know what exactly the Gapps does as in cm 6/7 it was adding some of google apps like mail, map but here I dont get anything. Have to manually install from store.

Now looking forward to replace the Apex Launcher dont know the method.

Rest haven't got enough time to play with settings to tune it up.
[Wildfire Android Development] Wasimk32:
To replace your launcher,open cm9 zip,browse /system/app then find and delete trebuchet.apk,now copy apex launcher.apk to /system/app and flash your cm9.this would replace stock launcher with apex.

OR

Simply download apex launcher from play store,hit home button,check the checkbox asking for default launcher and select apex.
[Wildfire Android Development] atomicmak:
I've one question. I ported cm9 fresh when battery stat was 80% and when installed first boot showed 100%

afraid my battery state gone wrong :(

Any way I can re-calibrate battery properly ?

As tomorrow I am going to get new 8gb card and will port CM9 again.
[Wildfire Android Development] Wasimk32:
First of all I would like to tell you,'porting' is getting a rom of other device to work with ours.What you are doing is 'Flashing'.(Just telling you ;) )

About battery,its normal.The battery will now drain faster till the level where it actually is.So nothing to worry about.
[Wildfire Android Development] atomicmak:
thanks Wasimk32 yes its flashing. sorry for bad term ;)

Ok what I've done is put the phone in charge for longer about more than half an hour when it was saying 100% assuming its actually charged 100% and went to CWM and clear battery status.

would that affect cuz my battery drains faster really faster.

also when you say open zip and place launcher apk how can I download the apex apk to replace in zip with trebuchet ?
[Wildfire Android Development] Wasimk32:
You can google for apex launcher.apk.
[Wildfire Android Development] atomicmak:
Hi Wasimk32

getting problem flashing CM9. tried three times and still phone not up.

Here is the problem.

Followed the steps as you said but this last time did everything one by one and then phone went to the animation loop and never came up after flashing INT2EXT+

Tried CWM Fix Permissions also but no help.

Doing this again right now from scratch.

Any Help ?
[Wildfire Android Development] Wasimk32:
something went wrong while making a partition.Just do a full format of sd card from pc,and do everything from beginning.Do a partition again,do the above steps and everything should be normal.
[Wildfire Android Development] eventcom:
First of all: no offense, but would you please take care a bit of the thread's topic "[GUIDE] Custom MTD Partitions for the Wildfire (Increase Internal Memory Size)"...

If I'm not mistaken this goes about sd-ext now which is totally different from custom mtd partitions - and as this is a guide someone else might get totally confused by all those posts regarding sd-ext ;)

(I suggest to continue with those questions either in the ROM's thread, in the thread of the apps2sd script you're using or just make a new one in Q&A)
[Wildfire Android Development] Wasimk32:
lol right :D

we went too much off topic :rolleyes:
[Wildfire Android Development] atomicmak:
my apologize and will surely take care next time.
[Wildfire Android Development] elia222:
I've never used mtd and I have a question. When I want to flash a new rom (e.g. cm7) I need to:

-wipe data

-flash rom zip

-flash bravo-boot

-reboot

then:

-reboot recovery

-flash gapps

-flash bravo-boot again or not?

Thanks in advance
[Wildfire Android Development] bigga29:
Hi Elia222 anytime I flash something on my phone I always flash bravo-boot and them reboot, hope this help.
[Wildfire Android Development] Wasimk32:
It should be like this,

-wipe everything

-flash rom

-flash gapps

-flash bravo boot

-reboot

P.s-you don't need to flash bravo boot after flashing small update packages,you only need to flash bravo boot after flashing a rom with full wipes.
[Wildfire Android Development] yash_p90:
Hey if you dont want to change ur partition size then u can just wipe everything and flash the rom. I always do this and never face any issue. I follow the method in the op if i want to change the partition size
[Wildfire Android Development] 19iceman32:
hi all,

Just would like to know how can be the easiest step in changing the MTD size, I have mine default at 145 / 10.

I am now currently running on CM7 and would want to switch to CM9 which 145 / 10 is not enough.

Should I revert to default first or remove the MTD and re-do the whole process ?

Thanks and hoping for your assistance.

Thanks and regards,
[Wildfire Android Development] quack75:
you must edit "mtdpartmap.txt" and re-do the whole process but instead of restoring a backup you run the installation ;)
[Wildfire Android Development] optimusodd:
Edit the values of "mtdpartmap.txt"according to your needs and reboot the phone.

After that follow Step 2 of the guide.

(In 9th step when Clockworkmod Recovery Reboot,flash the CM 9).
[Wildfire Android Development] a_amir1986:
i follow this guide word by word but my internel memory showing Total space 85.12mb and Available space 52.15mb is there any mistake??i cant understand
[Wildfire Android Development] thyl_:
Just an advice to all who use this trick to have more memory available: CWM needs more than 10 MB in cache partition, from this thread :

I had a bad experience with CWM last night but finally saved the phone !
[Wildfire Android Development] uZzY94:
Guys I need help D:

Currently my system is 199 MB and 10 mb cache

I wipe all, flash the recovery zip, reboot to recovery, install my rom, flash boot zip, restart phone.

just like always..

but since yesterday my mtd is stuck at 199 10

i want my system to be 140 and cache should stay at 10

my txt file says "mtd 140 10" without the "

but still it it ALWAYS 199... why? :(

tried 7 times, always 199 -.-
[Wildfire Android Development] ka9090:
worked

i used the values 190 and 10

got 265 mb internal memory.

running jordfaz's cm9.1

thanks!
[Wildfire Android Development] uZzY94:
I helped you with my problem? hehe no problem bro!
[Wildfire Android Development] ka9090:
How to change the values of custom mtd partition? :)

thanks in advance
[Wildfire Android Development] Wasimk32:
change the values in mtdpartmap.txt.Do a nandroid backup of your rom.Now wipe everything,flash bravo recovery ,reboot recovery.Then restore your backup and then flash bravo boot.Reboot and you're done.
[Wildfire Android Development] ka9090:
i'm sorry, but how do i "wipe everything"? do you mean formatting the sd card?
[Wildfire Android Development] Wasimk32:
no,just wipe data,wipe cache and wipe dalvik cache.No need to format sd card.
[Wildfire Android Development] 3xeno:
I apologize in advance if I sound harsh, but did you even try and read the 1st post in its entirety? Seeing your queries, it seems extremely unlikely. Please do, in case you haven't.
[Wildfire Android Development] mrunal.zode:
help me

hey der,

i unlocked my phone using htcdev site.

now i have successfully rooted it and using cosg3 rom.

but my problem is i still have S-ON.

still to try my luck, i tried to to do mtd partition.

no luck though. is there any other way to do it???
[Wildfire Android Development] dreamkill3r:
Hey,I can't find a way to create a mtd partition....First time when I did it,I performed everything without reading all the information and I have set too big values,after that I reverted everything back to stock and I still didn't get a mtd partition.The majority of roms where I tryed it didn't boot,I just got stuck at booting animation(I waited nearly a half of an hour everytime), and I thought that I have these problems bcs I don't set the right values,nut then I used some recomended values and it didn't work again....Today I have found the updated version(v1.5.8) and I tryed it...everything worked well,even the rom booted up,it was written after flashing each file that everything was done succesful,but my internal memory didn't change at all,just nothing happened after these operations.....and I want to ask you for help,is it possible to fix this problem or where do I commit the mistake?

thnx...
[Wildfire Android Development] mlodszy:
Simple steps:

1. Download from first post: bravo-recovery-v1.5.3-CustomMTD.zip, bravo-boot-v1.5.3-CustomMTD.zip, mtdpartmap.txt (must be in main directory on SD)

2. Place files on SDCard, change values in mtdpartmap.txt

3. Go to recovery, create nandroid backup of your room (it the moust important step).

4. Now you must format System, Data, Cache

5. Go to "install zip from sdcard" -> "chose zip from sdcard" find "bravo-recovery-v1.5.3-CustomMTD.zip" and install

6. When you do it, in recovery you go to "advanced" and chose "Reboot Recovery"

7. After reboot to revocovery restore/install mod.

8. When the restore/install is over install "bravo-boot-v1.5.3-CustomMTD.zip" and reboot to system.
[Wildfire Android Development] dreamkill3r:
The problem is that I'm following this guide step by step...I will try today again,if it will not work,I will go back to cm7 or sense....
[Wildfire Android Development] mlodszy:
I use it meny times, on 3 difrent Wildfire and any problem. Allways get the MTD Partitions.

BTW - which version of CWM you have?
[Wildfire Android Development] dreamkill3r:
5.0.2.8,and I tryed also with the recomended cwm from this topic...
[Wildfire Android Development] mlodszy:
I use 4.0.1.4 and before 3.2.0.0. I'v never test on v5.
[Wildfire Android Development] dreamkill3r:
it was tested on Clockworkmod 5.0.2.0
[Wildfire Android Development] Wasimk32:
can you tell me what values you putting and for which rom?
[Wildfire Android Development] dreamkill3r:
To be sure that I'm not doing something wrong,I tested it on Mokee os ported by slymobi where I wrote the recomended values 200 40...
[Wildfire Android Development] saadislam:
http://xdaforums.com/showpost.php?p=26418335&postcount=7