yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] 808Bill:
Don't worry about that error. It will re-write the Cache.
[Hero CDMA Android Development] Vandelay007:
Not always.....when I used to get that error I would have to wipe and start all over

Sent from my rooted evo using the xda app
[Hero CDMA Android Development] aiwetir:
I had that error and my phone bootlooped for about 15 min always getting to a different point before booting (assuming that cache filled at that point). Eventually it settled down. Maybe just bump cache up to 4 until everything is installed then go back to 2 after it settles in.
[Hero CDMA Android Development] 24601:
Wow, everybody, thx for the help. Used #513, and am now at the boot screen, so I'm one step closer . . .

Edit: OK, it booted, and I now have the dialog box, Process system is not responding - Force close or Wait options.

2nd Edit: OK, the system loaded fine . . . Holy space balls batman: Total space: 356, Available space: 244. Are you kidding me??!! Thx Firerats, and you all.
[Hero CDMA Android Development] 808Bill:
Hmmm. I've never had that. The above suggestion to increase the cache size to 4 was a good one. I set mine (for AOSP) to 80 system, 4 cache. Perhaps you should make sure your settings are good for the ROM you are using?
[Hero CDMA Android Development] 24601:
Thx. I ran df -h in terminal. Which number exactly am I looking for?
[Hero CDMA Android Development] aiwetir:
Cache is the second number in your .txt file.
[Hero CDMA Android Development] 24601:
Got it, thx. I was actually wondering which if the numbers in the df -h output I was looking for, but I think I have it figured out. It looks like the system is using 94% of the 102mb and cache is using 8% of the 2mb. I am going to increase to 4mb anyway. Thx again to everyone for shepherding me through this maze; and to firerats Time to donate!
[Hero CDMA Android Development] PRGUY85:
Been using the AOSP Froyo ROM for some days now. I flashed the Gingerbread alpha version yesterday, tested it out, yet came back to the Froyo ROM for I wasn't receiving SMS. However, later on I noticed I hadn't received an SMS on this ROM either for 3-4 days. To test this out, I sent myself right now a free SMS from the web, and have yet to receive it.

The only thing I have done recently to my phone is applying Firerat, curiously, the same day that messages appear to have stopped coming in to my phone. In order to test Gingerbread I had to delete Firerat text file so I don't know if it's active right now.

My PRL is 60672.

Any ideas?
[Hero CDMA Android Development] Twolazyg:
I read this thread a few times (not all of it) but the OP a few times and the first 10 pages so I could get an idea of how people were doing this. So I went ahead and did the deed of flashing, I'm using cwm, wiped, flashed wiped, reboot recovery. Then I get the cache error. I read Post #513 and was fairly confident that I did it right. Flashed the boot, and now stuck on my splash screen... Did I miss something?
[Hero CDMA Android Development] Vandelay007:
Were you sure to wipe everything? Also what did you set your mtd file to? Maybe its too low? If you are using an aosp rom try 115 3

I didnt use it with a sense rom so I can't make a personal recommendation on that....let me know if I can help more

Sent from my rooted evo using the xda app
[Hero CDMA Android Development] Twolazyg:
factory data reset, wipe cache, wipe system, wipe data, wipe cache partition then flashed. then re-wiped, then reboot recovery, then error or no reboot.

I'm using CM6.2 blackmod

Set the mtd file to 102 2, then 110 5.

I couldn't even restore back before I had this flashed.. I thought I broke my phone, but I pushed a new recovery image, then booted, then pushed CWM and nanded back to my previous backup. Phone works fine now, with no moderations to the partition.

Also, does this work with s-off? thats what I have
[Hero CDMA Android Development] Vandelay007:
Yup....it definitely works with s-off.... when I first tried it I failed as well....now that you are comfortable with restoring it back you could try it again with your file set to mtd 115 3

Sent from my rooted evo using the xda app
[Hero CDMA Android Development] Twolazyg:
What do you suppose I did wrong? Running cwm I should be able to reboot recovery without adb, right? When I did that I got that error.
[Hero CDMA Android Development] too.many.imails@gmail.com:
using this firerats mod, you can set the .txt file really low using aosp... i always used 110 4 when using aosp though, just to be on the safe side... using sense i used the recommended size, something like 187 4? its on the first page of this thread... i love this modification, especially compared to app2sd... with the new gb release of aosp (still in alpha) you have to go up a little more than 110 4, i used 115 4... i also use cwm recovery... but this process is just a little tricky, especially if your new to doing it... but anytime you chance the .txt file you'll have to restart the whole process from the begining over... and sometimes in cwm you'll have to go into the partitions menu of the recovery and actually format boot, system, data, and cache, along with dalvik. sometimes the wipe data/factory reset doesn't clear everything, lol... but after flashing the recovery (first process) you always have to adb reboot recovery, no other way works... has something to do with the way its writing the pratition table i think...

also, you should check out aosp 9.9.2 (its froyo) and it runs extremely fast, very reliable. highly recommended. :) you'll be happy, trust me, lol... i love cm6, was a big fan, still kind of am, thinking about checking out cm7 (which is gingerbread (2.3))... cm has a lot more customaztion options, but after a while seems to get 'bogged' down... with aosp, you never get that feeling, two weeks into it, it still runs as fast and smooth as the day you flashed it...
[Hero CDMA Android Development] Twolazyg:
I might have to do that, I have been doing cm6 since I rooted in sept.. I haven't tried any other ROM yet, not quite sure why.. Anyway, I'm not sure I want to do this again, since I tried with .txt at 102 2 then 110 5, Using cm6 I should only need it to be at 102 2 according to OP. So, I'll just say I don't know what I'm doing with this (even though I'm sure I know) and leave it alone. Thanks for your help
[Hero CDMA Android Development] jcj77d:
does this replace our current recovery image/system, ie: have ra recovery v1.6.2 recovery installed, will this get replaced by a different recovery system?
[Hero CDMA Android Development] stayclean:
No, it will not replace your recovery, it just "patches" your current recovery to run the mod, so to speak.
[Hero CDMA Android Development] jcj77d:
thanks, ill be flashing this soon, when i go back to cm6.1 stable, atm, running cm6.1 nightly
[Hero CDMA Android Development] 24601:
I flashed AOSP's newest iteration of GB last night using firerats. SMS works fine. Pay heed to too.many's advice about changing the mtdpartmap.txt file. Two things particularly: 1) If coming from a CM ROM, change the size to 115 4. If you do not, all Gapps will not load, especially Market. 2) You cannot just change the mtdpartmap.txt and then flash AOSP's ROM and the FR boot. You must FIRST go back to the OP in this thread and redo the partition instructions from the beginning, as in format, flash FR Recovery, format, etc. If you do not go back to the beginning you're new mtdpartmap.txt settings will not be implemented.

If you like space and speed, GB with firerats is awesome. CAVEAT: AOSP's GB ROM is still unstable, and a few things are not yet working, GPS, google browser, etc., but it is freaky fast. The kinks will get worked out soon enough. A couple screen shots below.

I need some assistance with one thing. I wanted to see how much space the GB system was using, and I ran df -h but came up with the message "-h: No such file or directory." Is there a different adb command to use with GB?
[Hero CDMA Android Development] aiwetir:
busybox df -h

posted via tapatalk
[Hero CDMA Android Development] lohp75:
Or use android terminal and type:

su

df -h

And that'll do. :-)
[Hero CDMA Android Development] 24601:
Thx. That did it. I also was able to get numbers without percentages with just df.

That is what I typed before and got the "No such file or directory" message. Adding busybox as above did the trick. Thx.

BTW, what I learned is AOSP's GB ROM uses 115 mb, so make sure you make the mtdpartmap.txt changes to 115 4 before you flash.

EDIT: I changed mtdpartmap.txt to 120 4 and see that AOSP's GB ROM is actually using 115.2mb. So, will need to change your sizes to at least 116 4 before you flash.
[Hero CDMA Android Development] Nilxchaos:
Okay, is there any way to do this without completely wiping? I have my GB rom how I like it.

He just put out an update, so I want to do this then update. Do you only have to write system and cache, leaving data untouched?
[Hero CDMA Android Development] Firerat:
nandbackup

configure with mtdpartmap.txt

flash recovery patcher

format system, cache and data

reboot recovery

nandrestore

flash update

flash boot patcher

honestly this question ( or slight variation on it ) has been asked and answered many times

you might like to try reading stuff in future
[Hero CDMA Android Development] Nilxchaos:
Yeah, I'm sorry. I just get lazy sometimes. I usually look through a forums' posts, but I was on my phone at the time.

Sorry for the inconvenience and headaches! I'll do this now!
[Hero CDMA Android Development] aiwetir:
I've read the whole thread a few times, and the answer is in here maybe 4x so no worries, it's nice to have it posted again as I'll have to dig around less to find it again.
[Hero CDMA Android Development] :
I'd rather just use search instead of digging through hundreds of posts.
[Hero CDMA Android Development] aiwetir:
Let me know how the search function works for you for the above referenced information.
[Hero CDMA Android Development] SweepinJR:
I bumped up to 110mb for system with good results on cm6.1 with vvm.
[Hero CDMA Android Development] :
Works great, thank you for your concern. Do you need a tutorial?
[Hero CDMA Android Development] vinnypel2ella:
Couldn't get it to boot a nandroid. Wouldn't leave the white HTC screen. Any ideas?
[Hero CDMA Android Development] Firerat:
yes

don't try this if you can't look at or post a logcat.
[Hero CDMA Android Development] revcp:
Just as not everyone has emotional intelligence, not everyone knows all of this stuff inside and out. I'm sure there are things you use, Firerat, powertools, perhaps, spelling and grammar certainly, which you don't know completely, yet you still make use of them. Seems fine to me.
[Hero CDMA Android Development] :
Right. Hence the HUGE RED TEXT (and the grey shaded text below it) on the first post. If you don't know what you are doing, then this isn't for you. Firerat's responses fit the bill. If you (or others) don't like the response, tough. Either go teach yourself how all this stuff works or move on.

edit: Speaking of the first post, it's already extremely detailed and full of information on how to use this mod.
[Hero CDMA Android Development] Firerat:
powertools?

I have a soldering iron, does that count?

spelling and grammar checkers, yeap need those

kind of required since I'm dyslexic

But if all you have is my curt nature, some spelling and grammar stuff to pick at...

go teach high school, because I'm not interested.

Honestly , its a forum not an English exam.

get off your high horse you muppet
[Hero CDMA Android Development] revcp:
Honestly, it's a forum, not an English exam. There you go.
[Hero CDMA Android Development] revcp:
Yep, I get it. SHOUTING, and in red. And yes, the directions are detailed and appreciated, clear enough even for someone like me to use, who can get these things to work without knowing precisely how they work. The question's not outrageous. There is no place in the first post where a logcat is mentioned, so the poster could have read and reread that first excellent post and would not have known to post a logcat to seek assistance. It can take quite a long time reading these sites before much of the shorthand and jargon is plain. It would have taken less time to type "Please post a logcat" than it did to browbeat the guy.
[Hero CDMA Android Development] Firerat:
http://forum.wordreference.com/

Go and make friends with other pedants.
[Hero CDMA Android Development] revcp:
Pedantry is not limited to linguistics.
[Hero CDMA Android Development] :
Standard Android debugging practice. Anyone attempting this mod is expected to know this. I'll point to the huge 'shouting' red text again.

If there wasn't such a strict warning on the front page, then maybe the responses from Firerat would be harsh.
[Hero CDMA Android Development] Firerat:
thanks,

But being somewhat of a pendent myself I already know this.

Anything else you would like to !teach me?
[Hero CDMA Android Development] revcp:
I understand what you're saying. I do. This is not a linear process for everyone. Even the xda forum, which is excellent, can be a bit difficult to navigate and sometimes people start at "G" because they don't know where "A" is. Perhaps a good stock response is not, "You're ignorant", but, "Go 'here' to inform yourself."

When I started learning this stuff a few years ago it was like wading through a foreign language, and not just because I didn't understand the terms, but also because it was often very frustrating to find adequate definitions. I've read a lot and dinked around a lot and I now get it enough to follow directions precisely.

I truly appreciate that there are experts like Firerat who are willing to share their knowledge with those of us who have vocations and avocations in other fields.
[Hero CDMA Android Development] Firerat:
They either

went back to stock MTD Layout

researched logcat

so the problem is solved.

if they come back and say

"ok, I have this logcat thing now"

"but I have no idea what is wrong"

and post the logcat..

we will look at it

there are just too many reasons for a bootloop to bother guessing what the cause is without a logcat.
[Hero CDMA Android Development] revcp:
Not sure. I don't know what else you don't know.
[Hero CDMA Android Development] Firerat:
idk, I did make that post at 05:20 AM
[Hero CDMA Android Development] Firerat:
you do know that makes no sense

what else implies you taught me something

so far you have not taught me anything

but you did teach me something, you are not observant.

I prefixed teach with ! , which is a not operator.

I also miss-spelt pedant, just for kicks.
[Hero CDMA Android Development] everydaysince87:
ok so i tried this i lost my market my home button does not work along with my search key or my talk key i have done multiple wipes and reflashes to no gain at all my screen does not lock now and none of my nandroids worked after....what can i do to reverse this
[Hero CDMA Android Development] :
Good idea to reverse this. Simply reflash your recovery of choice. If you used clockwork recovery, just reinstall it via ROM manager. Once you have the recovery re-flashed, you can restore your nandroid back up and you will be set.

Most likely the reason stuff broke was you ran out of space on your /system partition. I've lost the Market because I was careless and didn't double check my /system partition size before booting up.
[Hero CDMA Android Development] Firerat:
either

flash a standard recovery.img

wipe partitions

format system cache and data ( with clockwork )

fastboot system -w ( with fastboot if you use RA )

flash the remove customMTD zip ( any version will do, it doesn't need to 'match' )

wipe partitions

format system cache and data ( with clockwork )

fastboot system -w ( with fastboot if you use RA )

or you could try setting system to a sensible size

my guess is you have set it too small

in terminal

su
busybox df -h
[Hero CDMA Android Development] revcp:
Are your values for mtdpartmap set too low?
[Hero CDMA Android Development] lohp75:
LMFAO!!!!!!! Hey guys don't be picking on firerat, he brought us a crazy cool mod and if any of us have trouble with its our fault not his. It took me a couple tries on both my hero and desire, but when I got it to work HOLY ****! So firerat thank you very much for bringing this to all the other devices when you didn't have to!

On a different note ( everyone ) boot up a ROM straight up before you apply CMTD and go into terminal and su, then df -h to see how much system space is used so you can make the part map properly to avoid so many stupid questions and so many REPEATED questions!!!!! Do some of your own ****ing leg work before complaining to the modder!!!!!!

Sent from my HTC Desire CDMA
[Hero CDMA Android Development] :
What I do to 'estimate' the size a ROM will use, is to simply unzip the ROM to my desktop, and view the size of the folder. I'll take that number and add more if I'm adding gapps (again unzip gapps, add that folder size to your ROM size). Then I'll add maybe 2MB as padding.

Then, I'll flash the recovery patch, format the partitions, reboot recovery, and flash my ROMs.

Since you can use ADB while clockwork recovery is booted, I'll just make sure /system is mounted and adb shell, then df -h and check the sizes. If I am under or way over, I'll redo the mtdpartmap.txt and run the process again.

Never have to boot a ROM until you are ready this way.
[Hero CDMA Android Development] vinnypel2ella:
I can understand your frustration ha. But I know what this mod does, I understand the advantages, n I understand how it works. I spent all day yesterday searching xda heroc forums trying to figure it out, I even went to aosp irc (trying to boot aospGBmod) with no avail. I got it booted, sometimes the home button wouldn't work, other times everything was fine and I had 340mb but in no case was I able to gets gapps to show up. And I could not find any set of directions that included where gapps needed to be installed (which step). I tried several different versions of gapps. I'm guessing this is why I never got the "touch the android to begin." The advantages of ur mod are great and I thank u for your work and patience with this community haha, u deserve a trophy! But to assume that someone doesn't know what there doin just cause they can't get it to work, I know I should of been more specific. So:

I can boot into GB fine, I got that down pat, but getting gapps installed is another story. And when I set it all up following ur directions that u gave that kid on how to get a NAND restore working with the mod, It does not get past the white HTC screen. Perhaps because my mtdpartmap isn't big enough? Its set at 120 4. Ive read people getting it to work with less. Any help would be appreciated and I will logcat when I get near a computer. All in all I love this mod, have had it working in the past, and thank-you again firerat for your skills n patience with us ha.

Happy new year.

Sent from XDA App - AOSP 2.3.1 Gingerbread - Decafuct #589 768mhz -
[Hero CDMA Android Development] teknikalcrysis:
Awesome! It worked for me

done this mod to my HTC HERO200 CDMA

I am running Android 2.2.1 with CM6.1 STABLE APP2SD

16GB SDCARD with SD-EXT Partition setup plus SWAP

Before this MOD I had 170MB of TOTAL Space, 17MB FREE

Since I performed this MOD using "mtd 125 10" in the txt file

I now have 325MB of TOTAL Space, with 181MB FREE

I know I can prolly squeeze a bit more space out of the phone by changing the numbers in the text file and redoing this MOD a second time, but as of right now I am VERY HAPPY with the available memory of the phone... and I have noticed a bit a difference in performance for the better... The phone seems to be more responsive with less lag... much faster IMO!

AGAIN, THANKS A MILLION FOR THIS MOD!!!!
[Hero CDMA Android Development] :
@vinny

Yes, you have to include gapps in your MTD size. Ask aosp (or others who have it flashed) a suggested mtdpartmap.txt setting.

Also, your flash looks something like this:

1) firerat recovery.zip + format system, data, cache + reboot recovery

2) ROM, gapps, and a kernel (optional, but always flash kernel last)

3) once all this is flashed, then flash the firerat boot.zip

Anytime you flash something that modifies boot (new rom, kernel, etc) you have to flash the firerat boot.zip before you reboot.

Anytime you change ROMs, you may have to redo ALL the steps from start to finish if you need to change your /system (mtd) size.

mtdpartmap.txt, the number after MTD is the /system size. This has to be greater than the size of the ROM + gapps in most cases, otherwise stuff goes missing or won't boot.
[Hero CDMA Android Development] vinnypel2ella:
Thank-you for being civil in ur response, much appreciated I will thankyou when I get on a comp. I'm goin to give it a try using ur steps. Again thanks brotha

Sent from XDA App - AOSP 2.3.1 Gingerbread - Decafuct #589 768mhz -
[Hero CDMA Android Development] Firerat:
you should have been *a lot* more specific

so, all boots fine until you try and flash gapps to a GingerBread

its either

not enough space for the gapps

the gapps don't play well with the GB

the GB is broken ( surprise !! )

guessing the aospGB doesn't run boot scripts,

not that it matters, just been putting a2sdext into a GingerBread ( not script a2sdext but in the code )

while doing that I noted that dex is not put on cache, so that is not a problem

unless your aospGB dev has been smart and added that, but historically hero ROMs don't do anything useful like that

Home button not working is symptomatic of system being low on space, you get half installed gapps and it goes all screwy.

worst of all the screwy stuff ends up in settings, so if you do a Titanium backup, and then restore after fixing the size of system the broken buttons return.

people always seem to think its something wrong with cMTD, its not cMTD its the way its used , make sure system is large enough...

if you still have problems, regardless of system size, then try without cMTD

you will probably have the same issue
[Hero CDMA Android Development] 24601:
Make sure you are using the Gapps in AOSP's GB ALPHA OP. Earlier Gapps have shown not to work as nice.
[Hero CDMA Android Development] vinnypel2ella:
i got it, i have no idea what i did differently but i got it. mtd 120 4, and can go lower (system says its only using 113.4, but im gonna leave room for anything so nothing gets screwy, whats 7mb). and i know what u mean man, when ppl cant get it to work they blame it on ur work, which is ridiculous because so many ppl have gotten it to work, i wasnt blaming u i just didnt know what was goin on ha. I appreciate ur response tho, yea i was gonna try n set up apps2sd as well on GB but i dont wanna reformat my sdcard, i did not set up an ext partition when i first set up n now i have tons of music, i tried to move all my stuff from my sd card to computer but it said it would take like 2 hours(i have an old computer, no usb 2.0 haha :( ). i got everything working but my only question is this: whenever i look at my partitions using df -h, there is a tmpfs thats taking up 96.1M and none of it is being used, do u know what this is and any idea how to get rid of it and put that space towards data. obviously its a temp filesystem but i have no idea why its there lol. thanks in advance and you da man! marked performance increase after applying this mod thankyou FIRERAT
[Hero CDMA Android Development] Firerat:
that 96.1M is actually physical memory

anything you put in it will disappear on reboot

you could possibly do something useful with a small chunk of it without really effecting overall performance ( and improve the performance of "something" )

but as I currently only have a G1 I've not been in a position to play around with it
[Hero CDMA Android Development] vinnypel2ella:
I see so does every phone have this? And what is its purpose? Ha I'm still learning.

Sent from XDA App - AOSP 2.3.1 Gingerbread - Decafuct #589 768 -