yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] Drunkpilot:
No problem. It can be confusing in the beginning, but it doesn't seem any more complicated than installing data2ext. I have learned to do it in a way that I remember to flash everything. I made many mistakes which has only caused me to learn more about android and figuring out how to maneuver through problems without crying " I bricked my phone"! Plus, I have a lot more room for apps. In fact, I have way more than I ever thought I would have or need.

Flashing IS a gateway drug!
[Hero CDMA Android Development] texas83:
I am using FR 1.5.3. Can someone outline the benefits of upgrading to 1.5.8? Hero seems a little laggy lately, especially waking up the screen when its off, and switching between screens. Could 1.5.3 be the issue? The data and cache size are set to 100 4 running AOSP 2.3.4 and old FR. What would be the optimal numbers to use for 1.5.8? Thanks.

FR 1.5.8 has disappeared? Anyone have a mirror?
[Hero CDMA Android Development] PMGRANDS:
What's your Email? I'll Send you it!
[Hero CDMA Android Development] vayman:
Check this post and there was also a discussion between Ninja (JM) and 24601 in the CM nightlies thread regarding the difference/benefits of 1.5.8 over earlier versions of FR. The difference for me and what others have reported is that w/ 1.5.8 and a /cache setting of 15-20 you won't have the market issues apparent w/ earlier versions of FR. At least this has been my experience since I started running 1.5.8 and an 18 /cache setting.

You can find all FR files here. Just click on the 1.5.8 folder and download what you need. As stated above, just make sure to set your /cache in your mtdpartmap.txt file between 15-20 and you should be good to go. ;)

Thanks to Ninja for his explanation on 1.5.8! :)

EDIT: Here are 2 posts from the above mentioned conversation that may be helpful.

http://xdaforums.com/showpost.php?p=13803531&postcount=953

http://xdaforums.com/showpost.php?p=13834661&postcount=975

Here is a post from this thread as well.

http://xdaforums.com/showpost.php?p=14048444&postcount=1448
[Hero CDMA Android Development] texas83:
Thanks for all the responses! I have 1.5.3 working fine without the market issue right now. I have it set at 100 4, with 356mb free space! I think I will just leave it alone unless 1.5.8 offers some kind of performance increase. Got to wait it out until the Galaxy S2 or the Photon comes out!
[Hero CDMA Android Development] vayman:
Yikes! That's cutting it pretty close for /system. You won't be able to apply any themes (other than theme chooser) or /system apps without changing your settings.

Since FR doesn't provide any performance increase albeit 1.5.8 or any other version I would stick w/ 1.5.3. Especially if you're not having any market issues. ;)
[Hero CDMA Android Development] texas83:
Decided to just update it anyways. Switched mtd to 120 18, redid FR with 1.5.8. The market works right off the bat! Total space available is at 322mb. Thanks!
[Hero CDMA Android Development] vayman:
No problem man. Glad everything's working for you. Market worked right off the bat for me too as soon as I booted up w/ 1.5.8! :D
[Hero CDMA Android Development] 24601:
Yoda, thx for the shout out, but all credit belongs to ninja. Here is the post where he explains what 1.5.8 does, and where he is politely correcting my incorrect explanation.
[Hero CDMA Android Development] vayman:
Thanks for the clarification. When I posted those links I didn't see his post in here, so I just grabbed the 2 posts from the nightlies thread. Edited my post for proper credit, lol. :)
[Hero CDMA Android Development] texas83:
1.5.8 has been working great for me on aosp 2.3.4 for the past few days. mtd 120 18
[Hero CDMA Android Development] vayman:
Glad to hear everything's working out good for ya man.

Sent from my Sweet Gingerbread Super HeroC
[Hero CDMA Android Development] rizdog23:
Issue

Used 1.5.8 with the instructions listed on the OP for cm6....only i used the cm 7.1.0 rom. Like many others, my market will not install...the only GAPPS that work are books and car home. Can someone please help me? I set the mtdpartmap at 120 18.

If you want the steps i did:

1) Wiped everything

2) Flashed the recovery zip

3) Flashed rom

4) Flashed boot zip

5) Booted

6) Used CWM to install gapps

7) Wen through process and then....bamn NOTHINg

8) Silently wept knowing that ill have to do everything again
[Hero CDMA Android Development] 24601:
Dude, if all you did was the exact steps you posted, you did not follow the instructions correctly. Go to the op of this thread, and do it again. For example, after flashing the recovery zip you have a few more steps before flashing the rom.
[Hero CDMA Android Development] NineInchNails:
What happened to people just plain reading?

®patience is a virtue©
[Hero CDMA Android Development] rizdog23:
I did follow the exact directions. Sorry that i forgot to post that i did the rewiping steps, etc. I was just posting my steps from memory. I did do the exact steps
[Hero CDMA Android Development] 24601:
Which gapps are you using? If using cm7, you should probably use the 3/7 gapps. If using aosp's you can use the 3/25 gapps. Also, try flashing the rom, then gapps, then fr-boot, then rebooting, and see if that helps.
[Hero CDMA Android Development] il Duce:
@ rizdog, try fix_permissions. Also, if you were coming from a sense ROM I would strongly suggest you reflash your recovery and THEN start firerats from step 1.

BANG! from my shooter...
[Hero CDMA Android Development] kyouko:
Thank you! I was thinking the same thing :rolleyes:
[Hero CDMA Android Development] AwfulFaded:
I installed this last night and it is AWESOME! I was very conservative in my approach and still managed to nearly double the size of my data partition. I LOVE IT!!!!:D I feel like an idiot for not having done this a year ago!

I'm running at 120 50, which sounds like overkill since the consensus is 18 for cache (or somewhere between 15-20). I settled on 50 because I'm consistently using 31-38Meg, even after a reboot, and I'm not the only person. METHOD911 and coffeehandle have similar numbers.

How is it that most of y'all are using only 1-2Meg worth of cache??? I'm running CM7.03 and with the home screen locked in memory or not, the cache usage seems to be the same.

If I were to set cache to 18 while my phone wants to use double that, wouldn't it seriously tank my performance or would my phone adapt to the smaller cache? That's what il Duce told coffeehandle to do. I'm not questioning Duce's knowledge or anything, he knows WAY more about this stuff than I do. I'm simply trying to understand the cause and effect before I do something I'll end up regretting.

Thank you in advance for your help.
[Hero CDMA Android Development] aiwetir:
The cache goes where it needs to, if you run 50 then it puts it in there, if you run 2, it finds somewhere else for it. 18 is apparently the sweet spot.
[Hero CDMA Android Development] jcj77d:
need help

ok i was using FR 1.5.3 w/ cm6.1 set at 110 2, & had 343mb free, but reflashed my RA 1.6.2 recovery to remove FR & it did.

then i flashed cm7.0.3 w/ gapps & setup everything like i wanted, then did a nandroid backup, set my mtd to 120 18, then flashed fr 1.5.8, wiped data/factory reset, then wiped dalvik-cache, then rebooted into recovery with adb, then did a nandroid restore, then flashed the fr boot 1.5.8, but the phone just boot loops & have to pull the battery.

what am i doing wrong?

also, since this is happening, i used the fr remove 1.5.8, followed the instructions, & phone still boot loops.

i had no issues w/ fr 1.5.3.

help please
[Hero CDMA Android Development] genuser:
Make sure you wipe all and format all after the reboot recovery step.
[Hero CDMA Android Development] laie1472:
Try redownloading the rom and try Ra1.7.

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] jcj77d:
i did.

in RA recovery, there are only 2 options:

1. wipe data/factory reset

2. wipe dalvik-cache

what order do i do it in?

i did #1, then #2
[Hero CDMA Android Development] laie1472:
Well ya might want to try the latest Ra1.7. It has more wipe options.

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] jcj77d:
where is ra1.7?

i was going to do that, b/c my pull down bar is missing the option to select usb storage, but my phone wont boot, it boot loops.

how do i fix this?

is there a flashable RA recovery, b/c i think the FR recovery is stuck in the system, even after using the FR remove
[Hero CDMA Android Development] jcj77d:
well i cant install ra1.7 b/c it wont boot:(
[Hero CDMA Android Development] laie1472:
Well you have to flash it threw adb or terminal. But one sec I'll dropbox it for you. If your s-off I have a hboot one you can flash which one would you prefer??

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] jcj77d:
not sure what s-off is, my options are reboot, recovery & bootloader.

i know how to flash threw adb, but the phone needs to be booted up, right?

b/c @ the recovery screen, ive tried to reflash RA1.6.

how do i do it if phone wont boot?
[Hero CDMA Android Development] laie1472:
Pm sent. Well a few pm's sent lol.

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] jcj77d:
no pm's in my box:confused:
[Hero CDMA Android Development] laie1472:
My bad man I just sent like 5 pm's to the wrong member lol. One sec man on there way.

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] jcj77d:
thanks, got them.

edit: when im in the market w/ cm703, when i type in something in the search, the text doesnt show up, but still searches when i hit enter.

got my cm703 nandroid to restore w/o FR, so something is wrong.
[Hero CDMA Android Development] laie1472:
Did you flash the new recovery??? If not then I'd recommended doing so. Then just do a full wipe and redownload the rom+gapps and flash'em. Then boot up and see how everything is working. If all is ok then just make a nand and redo the firerat mod. Or you could just go into settings and try clearing the market data and see if that helps. Or boot into recovery and wipe cache,davlik cache and sd-ext if you have one and see if that helps with the market. Or you can try fixing permissions threw rom manger. Hope this helpl.

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] feefeeboomboom:
hey guys need a little help.. i cant get this to stick..

wipe

flash fr recovery

adb shell

reboot recovery

wipe

flash cm7.1.0rc1

flash fr boot

reboot

mtd 128 18

is it MTD 128 18? some have insite?
[Hero CDMA Android Development] 24601:
Need a little more info to understand the issue. What isn't working? Bootloop? Etc. What recovery are you using? What FR version are you using? It appears you missed a couple steps after installing FR-recovery at the beginning. Go to the OP and check the steps again. Also, it doesn't appear you flashed gapps. If "what isn't working" is you're missing some apps, that may be why.
[Hero CDMA Android Development] zwizzle:
I would recommend using 105mb for /system running the 8/29 nightly with the 8/16 gapps. My phone needed 103.1mb on first boot.
[Hero CDMA Android Development] Firerat:
you can

nand backup

flash recovery patcher

fastboot erase system -w ( or use clockwork partition formats )

reboot to recovery

( optional use clockwork partition formats )

nand restore

flash boot patcher

it seems a lot, but honesty , its not a great hardship :)

I have to say this is where clockwork shines, its much faster to

flash recovery patcher, format data, system,cache.. reboot and format again*

than to

fastboot erase system -w ( which you must do if you use =< ra1.7.0 )

* you don't need to reformat on reboot , but I like to do this as the yaffs will be totally up to date with the new partition layout
[Hero CDMA Android Development] KyleIsTheBeast:
Can I please get some help here?

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
[Hero CDMA Android Development] Firerat:
when you reboot to recovery,

adb shell mount -a
adb shell df -h

post the output
[Hero CDMA Android Development] KyleIsTheBeast:
/dev: 97816K total, 0K used, 97816K available (block size 4096)

/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)

/system: 147456K total, 145084K used, 2372K available (block size 4096)

/data: 321664K total, 60424K used, 261240K available (block size 4096)

/cache: 2048K total, 1160K used, 888K available (block size 4096)

/sdcard: 1923068K total, 1477008K used, 446060K available (block size 4096)
[Hero CDMA Android Development] Firerat:
well, that looks good

remind me what is the problem?
[Hero CDMA Android Development] KyleIsTheBeast:
I can't install any apps. I get an error saying "Insufficient Storage" when trying to download an app.
[Hero CDMA Android Development] Firerat:
ahh, ok its probably not a storage issue, I was looking at some of the code yesterday, and they have 'borrowed' the "Insufficient Storage" storage error for something else

can't remember what it was, I'll have a quick look

errm, this was the bit I was thinking off

if (retCode != 0) {
Slog.e(TAG, "Couldn't set new package file permissions for " +
newPackage.mPath
+ ". The return code was: " + retCode);
// TODO Define new internal error
return PackageManager.INSTALL_FAILED_INSUFFICIENT_STORAGE;

but that error is returned for many things

post a pastbin link to your logcat .. I will have a better chance of figuring out what is going wrong

http://pastebin.com/
[Hero CDMA Android Development] KyleIsTheBeast:
Ok sounds good. Also, do you think we could finally get Dual Booted ROMs with this MOD?
[Hero CDMA Android Development] Firerat:
:)

just the other day was thinking of adding a donut dual boot

I'm limited to what I can do on my g1, but I might be able to squeeze in a poc

ideally need someone with a larger capacity device that understands the principles behind custom MTD

I have two ways of doing it in mind

one is to have two kernels, one in boot and one recovery ( you have to use fastboot boot recovery.img to flash )

each kernel mounts its designated system partition as system , i.e the default is in mtdpart map as system, and the secondary as system1 ( or 2 )

my other idea is to have one kernel, and switch with a script

the script shuts down android, and remounts /system with system1 and restarts android

it all works in my head, just need to get the practical working
[Hero CDMA Android Development] KyleIsTheBeast:
Ok, well here is my logcat (I added just about everything so I wouldn't miss anything LOL)
[Hero CDMA Android Development] Firerat:
hmm, maybe its because cache is not mounted correctly

try

su
sh /system/etc/init.d/06BindCache

if that works then figure out how to get bs to run that script on boot
[Hero CDMA Android Development] KyleIsTheBeast:
Where do I type that command? (Remember that I can not install a terminal on my phone because I can not install apps haha)

EDIT: I GOT IT WORKING!!!!!!!!!!!!!!!!!!!!! YES!!!!!!!!!!!!!!!!!!!!!!!!!! THANK YOU SO MUCH! U R DA MAN! xD

All I did was type

and the command prompt just whent blank (like it was waiting for another command) so I just closed it and now BAM!!!! ITS WORKING!!!! :D
[Hero CDMA Android Development] Firerat:
put that

sh /system/etc/init.d/06BindCache

in your firstboot.sh script ( looks like it runs every boot )

while your at it you might want to update the fix_permissions its old

infact, tbh you should probably update alot of things.. it currently looks like its a kang king kang
[Hero CDMA Android Development] KyleIsTheBeast:
OH NO! I just got another "Insufficient Storage" error. So I had to get out of my comfy bed and redo the command. It is, once again, working. But I do not want to experience this again. How do I update those things, and will that help the problem? And why does it go blank like it is waiting for another command? Am I doing it right?
[Hero CDMA Android Development] Firerat:
was this after a reboot?

ls /data/firstboot.sh

if you see that file

echo "sh /system/etc/init.d/06BindCace" >> /data/firstboot.sh
[Hero CDMA Android Development] KyleIsTheBeast:
No, it was not after a reboot. Also, I do not that have that file. It gave me an error saying it could not be found. I also opened up root explorer and could not find "firstboot.sh" in /data
[Hero CDMA Android Development] bigboidomo:
Has anyone gotten dark tremor to work with this?

Sent from my Sprint Htc Hero

CM6 Froyo 2.2

Firerats recover mod

368 Internal Memory!

Uncapped Kernal

Overclock to 710

Collin_ph battery tweak

Steel my elegance Theme

I LoveMy Phone
[Hero CDMA Android Development] dsMA:
Why do you need to run dark tremor...isn't it just a gui for apps2sd? 2.2 has native support for moving apps to the sdcard.

If you go to menu - settings -cyanogenmod settings - application settings:

you can check the box to allow moving apps to the sdcard, you can also pick where apps are installed to automatically.

Furthermore going to menu - settings - applications - manage applications:

if you click on the sd tab you will see all the apps installed on the sdcard. Clicking on any app either in the sdcard tab or the download tab will bring up its info and on that page there will be a button that says "move to sdcard" or "move to phone" depending on where it is currently located.

You don't need to format your drive, fat32 is supported.
[Hero CDMA Android Development] CrashV2010:
HOLLY CRAP, first of all... I thought F-ed my phone up and had to reroot my phone again, thank god for a brain to read more.... I was stuck on the HTC screen... Tried to figure out what the hell I was doing wrong.... Then I looked at the text file on the root of my sd card.. and looked at the text and oh I didn't add the spl line....

SO, I added that like then it booted up and nothing came up in the rom, I was like holly crap.... What the heck did I now....

So i rebooted flashed like about 5-6 times... Did all the damn steps correctly (not too many really), THEN this is the kicker.....

I looked at the face of the text file... And said you idiot when i copied and pasted the text for the title of the txt file I pasted all of it plus the .txt so it was reading .txt.txt... So, got rid of the dup .txt... and WHOHA ALL WORKS.. and I have ton of room in the internal storage....
[Hero CDMA Android Development] feefeeboomboom:
sorry for the post was in a hurry.. ha

i tried v1.5.3/8

CWM 2.5.0.7

basicly i run the (wipe) recovery zip (wipe), reboot recovery, flash my rom(CM7.1.0RC1), flash the boot zip and reboot. when the rom boots the internal storage lvl is stock. so either the patch isnt taking or my mtdpartmap(MTD 128 18) isnt working.

i have tryed CWM 2.5+ 3.0+ 3.1+ darchstars Amon_RA 1.7

EDIT: ok got it to work. remade my mtdpartmap.txt, flashed amon_ra 1.6.2

flash fr recovery

adb shell

wipe SYSTEM:

wipe DATA:

wipe CACHE:

reboot recovery

so for me i had to wipe with adb for it to work.. idk why clockwork wasnt working..
[Hero CDMA Android Development] jcj77d:
your not the only one, i couldnt get CWM to install on my hero either, nor could i get FR 158 to work, went back to ra162 & fr153 & it worked.

im using cm703 with gapps, & mtd set at 100 2, w/ 12mb still free in system, but i also removed some apks out of cm7 & gapps, & got 348mb total, & 179mb free

if you have troubles with the market, go into root w/ root explorer or another root file explorer & go to cache, & in cache make a folder called "download".

thats how i got my market to download right
[Hero CDMA Android Development] chalan30:
1.5.9 beta 1

Anyone else braved it yet? For all the trouble I caused myself trying to get it to play nice with OMFGB nightly 7/5, i cant see the benefit? anyone care to enlighten me? The instructions on the READ ME are a bit confusing...

[URL="http://www.mediafire.com/?lifib6a9ptj5j"]http://www.mediafire.com/?lifib6a9ptj5j /[/URL]

The mediafire link above is from firerat's G1 post/download section that is linked in CDMA HERO's firerat post. http://xdaforums.com/showthread.php?t=717874

I havent heard anyone talking about it in this thread so I figured Id ask at the risk of looking stoopid...
[Hero CDMA Android Development] NineInchNails:
It'll put a text file on your SD card of the install log and can show what might be going on. Same installation as usual of firerats but itll just output that file during a rom installation. As they said there post that file up and we can take a look at what's not playing nicely.
[Hero CDMA Android Development] NineInchNails:
No I haven't used it but they explained it
[Hero CDMA Android Development] chalan30:
Yeah I was just hoping to find someone with issues, otherwise I figure its just me and or my particular phone. Basically Im on OMFGB 7/5 and i would like to flash 7/6 without starting from scratch, but since the steps are not the same for flashing a new ROM on 1.5.9 as they were in previous firerat's versions, i get stuck on splash.

oh well, im good for now but I just wish i could figure it out, you know?
[Hero CDMA Android Development] XGodOfModzX:
I totally understand what this does but I'm only 16 and is running cm7.1 rc1 nightly 123. What do I type in for the mtd? Also, do I reflash this everytime I change to a different ROM if I want the doubled internal memory?
[Hero CDMA Android Development] GeezyAF:
Use 130 18.

Yes, you have to reflash this everytime you change ROMs, but the mtdpart values will change with each ROM.

A lot of answers to general questions like that are in the OP and OT of this mod.

Values are kind of custom, but the forum has some sort of consensus on some "default" values for each mod.

To each their own.
[Hero CDMA Android Development] ch1naski:
If you want to know what settings to use, go into terminal emulator and type

su

df -h

The number you get for system will tell you what you need to put in your mtdpartmap.txt file for the first number. If df -h shows system at 104.9, for example, you would want to set your mtd at no less than 107 18. Personally, I give an extra 5 mb to system in case I want to flash a different kernel......

nandroids are for

sissies
[Hero CDMA Android Development] 24601:
You do not need to reflash for every rom. For example, the aosp roms are all close in size. If your settings are 130 18, and you are going from one nightly to the next, you can probably leave your settings alone. However,if you go to a sense rom, they are much larger, you will need at least 170 for your system size.
[Hero CDMA Android Development] aiwetir:
You will have to reflash fr-boot every time though, just takes a few seconds.
[Hero CDMA Android Development] mtnchkn:
I recently changed my recovery image from Darch's 1.7 to the 4.0.x CWM. I got some space errors, but was wondering what the correct protocol is for changing your recovery?

Should I remove firerat, then flash the recovery, then re-do the whole firerat process from flashing firerat recovery, the other zip, reboot to recovery, flash rom/gapps/kernel, then firerat boot?

Any experience on this is appreciated.
[Hero CDMA Android Development] il Duce:
When you flash a new recovery, it kills ALL your firerats setup (except the file on your sd) so you have to redo all the steps from scratch.

BANG! from my shooter...
[Hero CDMA Android Development] ch1naski:
When you flash a recovery, it erases all firerat.

So you need to install it from scratch again.

You can restore a nandroid instead of flashing the rom and setting that up all over again, if you want, but fr needs to be reinstalled.

nandroids are for

sissies
[Hero CDMA Android Development] Nilxchaos:
Trying out the latest OMFGB, and haven't updated Firerats since 1.5.6 and CM6, could somebody point me in the right direction?

I think 1.5.8 is what I want, which I can get here: Mediafire of 1.5.8.

Am I right? If so, the system in OMFGB for me is at 107MB, what do you recommend for MTD partitions? 110 18?
[Hero CDMA Android Development] genuser:
1.5.8 is the one.

I go system + 5. So 112 18 would be my settings.
[Hero CDMA Android Development] PRGUY85:
I have been trying to use Firerat's for some hours now with no success. I'm following the guide step by step on Clockwork 2.5.0.7. I have done this in the past with success so I don't know what exactly could be wrong this time around.