yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] 24601:
They have been for me. I started with 1.5.3 and graduated to 1.5.7, and the market issues are the same. With gb 2.3.3, I am having more issues with Market. I flashed overtop of aosp2/27 build and market is a constant fc whenever I try to d/l anything or update anything. When I try the market fixes in the wiki, I get a message that the operation is not allowed. This may be more appropriate for the aosp thread (and I will post this there, also) but to the extent the market issues may be related to using firerat, I would accept any insight. Thx.
[Hero CDMA Android Development] aiwetir:
I had market issues on 1.5.8 too, but it's an easy fix and sticks between flashes so no biggie.
[Hero CDMA Android Development] vayman:
When you say "it sticks between flashes" are you doing a full wipe or just wiping the caches & dalvik before flashing?
[Hero CDMA Android Development] revcp:
I'm guessing he means it "holds" or "remains" between flashes.
[Hero CDMA Android Development] vayman:
I appreciate your response and I understand what he said when he said "sticks". Maybe my question wasn't specific enough or worded correctly. My market is borked regardless if I just flash the update after only wiping the caches and dalvik then flash the update or if I do a fastboot wipe and wipe everthing then flash the update. Regardless of which way I do it I still have to apply the market fix. :(What I was asking is that since his market is "sticking" between flashes I was wondering if he was doing a full wipe or just wiping the caches and dalvik.

I hope this is more clear.

**Edit: Sorry revcp I came across a little harsh in my original reply** :o
[Hero CDMA Android Development] aiwetir:
Um dang you guys.

What I meant is that I perform the market fix and then flash a rom the market stays fixed. When I flash a rom, I always wipe cache and dalvik. As far as I can tell, I actually should have to do the market fix each time but I don't for some reason, so I stay happier that way. I know you don't care how happy I am, but I do. ;)
[Hero CDMA Android Development] vayman:
Thanks for the clarification. I'll try your way and see how it works out. :D
[Hero CDMA Android Development] aqualls:
The market fix only continues to work if I wipe only cache and dalvik and update same rom. If I flash different rom I need to apply the fix again. This only happened since trying GB. Strange...
[Hero CDMA Android Development] 24601:
OK, this makes more sense to me. Just wiping cache and dalvik I usually don't have market issues with a new rom. But, if I do a full wipe of data and system and reinstall market with gapps, I have to do a market fix. Vayman, is that what you were wondering?

*EDIT* ^^^What aqualls said^^^
[Hero CDMA Android Development] vayman:
Yes, this is exactly what I was talking about. Thanks man! :D
[Hero CDMA Android Development] jaymack24:
Can I get some input on what values to use this is what I have

export PATH=/data/local/bin:$PATH

$ export PATH=/data/local/bin:$PATH

$ su

# busybox df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 95.3M 0 95.3M 0% /dev

tmpfs 95.3M 0 95.3M 0% /mnt/asec

/dev/block/mtdblock3 170.0M 62.3M 107.7M 37% /system

/dev/block/mtdblock5 159.5M 100.7M 58.8M 63% /data

/dev/block/mtdblock4 130.0M 6.0M 124.0M 5% /cache

/dev/block/vold/179:1

1.3G 406.4M 958.5M 30% /mnt/sdcard

/dev/block/vold/179:1

1.3G 406.4M 958.5M 30% /mnt/secure/asec

#
[Hero CDMA Android Development] 24601:
^^^These are the numbers you're most interested in.^^^ Your system is using 62.3mb, and your cache is using 6mb. You can safely set your mtd to 66 10 and be in good shape. This will free up over 100mb for your data. And I mean this in the kindest way . . . If you are unsure on what these numbers mean, or how they are used, go back and read the op of this thread again, and jump over to firerat's thread and read some more. If you get your settings wrong because you're not sure about the numbers, you can end up banging your head against a wall because your phone isn't running correctly. :)
[Hero CDMA Android Development] jaymack24:
So 66 10 gets me 200 mb for data?
[Hero CDMA Android Development] 24601:
The way I see it, you have 460 available, 66 for system, 10 for cache, the rest for data. Try 66 10 and post your results.

Sent from my Gingerbread Hero on XDA App!
[Hero CDMA Android Development] aiwetir:
You will gain 224 in data. Data will end up at 384.
[Hero CDMA Android Development] vayman:
Anyone having market issues w/ this mod and running aospCMod try a larger cache partition. I set mine to the one in my sig and it's been working fine for me. I'm even able to update/install multiple apps at a time which I was unable to do until now without applying the fix. YMMV ;)

http://xdaforums.com/showpost.php?p=11887083&postcount=9139
[Hero CDMA Android Development] aiwetir:
tried it, didn't help, but only tried 16 mb

sent via tappa tappa tappa
[Hero CDMA Android Development] jasonmaloney:
Guys,

The reason firerat's mod is having issues with CM7 is because the two are fighting against each other.

Firerat's mod contains a script to bind the /cache partition to the /data partition. But CM7 already contains scripts to do this if necessary. The problem is that firerat's script gets called too late. It isn't really needed.

After applying fr-boot, if you remove /system/etc/init.d/06BindCache, CM7 should take care of the rest.
[Hero CDMA Android Development] aiwetir:
I'll give this a try. Thanks.
[Hero CDMA Android Development] aiwetir:
Sorry for the double post, but has there been a discussion on this somewhere that I could catch up on ?
[Hero CDMA Android Development] jasonmaloney:
No, I just went ahead and looked at what it was actually doing.
[Hero CDMA Android Development] aiwetir:
I was guessing that it was something with the cache causing one of my gps apps to reboot the phone after about 45 seconds. Just ran it sitting in my house for about 7 min, by far the longest I've been able to get that particular app to run. I'll test it tomorrow outside.
[Hero CDMA Android Development] SammyM00782:
Alright...I've never removed stuff like this before. Is there instructions somewhere for this? I THINK I've seen that particular line mentioned somewhere before but I thought nothing of it. Ty.
[Hero CDMA Android Development] jasonmaloney:
Immediately after flashing fr-boot from recovery, you can run this before rebooting:

adb shell rm /system/etc/init.d/06BindCache
[Hero CDMA Android Development] SammyM00782:
I guess since I've already booted and went through the restore process I should hold off. I'm sure tomorrow I'll be flashing a new one anyway lol. Thanks.
[Hero CDMA Android Development] SammyM00782:
Nm, I said eff it and did a full wipe. Let's give this a go :-) I'll post tomorrow on how this all works out cuz I'm going to sleep.
[Hero CDMA Android Development] RVDigital:
Im with you, backing up right now. Going to jump right in. The lingering Market issue is buggin me
[Hero CDMA Android Development] RVDigital:
Thats it! aosp0308 + Firerats + This and Market Fix = Problem solved

Nice catch!
[Hero CDMA Android Development] dsMA:
I look forward to the edited post for Heros. It has been a bag of hit or miss for me when it comes to getting this to work. Yesterday I had to fake the spl in order to boot past the htc screen on final reboot but today I had to remove the spl line in the mtdpartmap.txt file in order to boot past the htc screen on final reboot.

Do you have any thoughts on why sometimes I have to include it and other times I don't?
[Hero CDMA Android Development] Foo_Blyat:
Srsly, you need to learn how to group your posts together man, your clogging the thread with questions that have been answered already.

and yes, the new edited first post is up.
[Hero CDMA Android Development] roadster92:
First Post question

Isn't step #13 and the FYI section: the file name is suppose to be "FR-boot-v1.5.3-CustomMTD_S.zip" ?

I got a question.. How come every time I wipe Cache (under RA Darch Recovery 1.7) I have to re-flash The recovery file and do the setup again. Is this normal for RA-Darch 1.7 recovery ?
[Hero CDMA Android Development] Foo_Blyat:
good eye, i typed that all up really quickly so i guess i didnt copy and paste the file name correctly, its fixed now.

as for cache, no idea, i have my phone and my buddies hero cdma rooted with amon ra and i clear cache and davlik-cache every 3 days when the phone starts to get sluggish and ive never had to reflash the recovery file or boot file to keep my custom MTD Partitions.
[Hero CDMA Android Development] Rivas123:
Yeah same here, ive wiped cache and everything is just Dandy.
[Hero CDMA Android Development] laie1472:
Fyi for those running the bx theme and rc1 don't flash the latest nightly right over with out doing a wipe it screws up a lot but that's y I love nandroid
[Hero CDMA Android Development] roadster92:
I just upgrade my PRI to 2.20_003 by re-rooted the phone. My new Hboot version is now 1.47. Guess what? No matter what I do I can't get this mod to work. It was working with the old PRI 1.70_003 and the old hboot without problem :(

Anyone got this working on PRI 2.20_003 with Hboot 1.47?
[Hero CDMA Android Development] dsMA:
do you have to reflash the boot file if all you are doing is flashing things like apps or bootanimations or themes?
[Hero CDMA Android Development] roadster92:
I think it stated in the first post. You will only needed if you flash a New Kernel or New Boot Image.
[Hero CDMA Android Development] Big-O-Devil:
hey out of curiosity after you do this mod and everything is fine and dandy do you need to keep the txt file or any of the file in our sd card... i know that we need to reflash the boot file if we make changes but do they need to sit in our sd card or can we delete them and put theme back in when we need them...:confused:
[Hero CDMA Android Development] Rivas123:
If you want to flash a kernel and or ROM those files need to be there so you can do the setup all over again. Im a flash whore so its easier for me to just have them there so I wont go crazy looking for them. But if you arent a flash slut then sure I see no reason that it would cause any problems to remove them from the sd card. And if im wrong I am terribly sorry.
[Hero CDMA Android Development] Big-O-Devil:
lol:D.... i am kinda of a flash whore... but for the moment i can fine anything new to flash so im thinking about going to flash rehab...:D.. i will let you know if anything bad happens by removing the files..... :cool:
[Hero CDMA Android Development] Amz95:
Wow the speed my g1 has gained , thank you
[Hero CDMA Android Development] Rivas123:
Heeehee (naughty). Sounds good.
[Hero CDMA Android Development] roadster92:
Big-O-Devil and Rivas123,

What is the PRI and Hboot version are you running on?

I am on Pri 2.20_003 and Hboot 1.47. I can get this mod working.

I used to have Pri 1.70 and Hboot 1.41 and It was working fine.

Could you let me know? Really appreciated.

Thanks
[Hero CDMA Android Development] Rivas123:
Thats my PRI , H boot i have no clue.
[Hero CDMA Android Development] roadster92:
Thanks, I figured it out.

I downgrade my Hboot from 1.47 back to Hboot1.41 and the mod is working again.

In case you don't know. To get to Hboot: Power OFF your phone then Hold the Down Volume Key and press Power button.

Now I know that on my phone hboot 1.47 won't work with the mod.

:)
[Hero CDMA Android Development] Foo_Blyat:
i guess you dont "need" to keep the files on your sdcard however i do on both mine and my buddies phones. you never know when a new rom might come out that you really want to try but need to repartition your /system for.

plus im always trying new kernals or flashing nightlys of CM6 so keeping the BOOT file on there for me is crucial. Not to mention on the mytouch 3g and the G1 we didnt even need to create a .txt file because the standard "90 2" the recovery file flashes works perfectly.

basically for heros id say keep all 3 files on your sdcard, for my phone personally i only need the boot file.
[Hero CDMA Android Development] Rivas123:
I keep all three. Just because I just flash so many kernels and Roms its not funny.
[Hero CDMA Android Development] Death by Andy:
When this was first posted it was confusing and I avoided the mod. After the new write up, it made alot more sence and I had to try it. I just got done flashing and it gave me a huge increase. Thank you.
[Hero CDMA Android Development] vayman:
Jason, just curious but does this have to be done on a fresh install/update before booting up or if we're currently booted into the ROM can we just remove it w/ root explorer?

+1 Very nice catch man!!!
[Hero CDMA Android Development] jasonmaloney:
Remove and reboot. No market fix required.
[Hero CDMA Android Development] vayman:
I figured you could just remove it and then reboot but I wasn't sure. Thanks! :)
[Hero CDMA Android Development] SammyM00782:
Well, my phone is being a bastard and giving me the "Insufficient Stoarge" nonsense it did before hand but the market downloaded fine.
[Hero CDMA Android Development] i@jim:
Terrible time being had here. Any help appreciated!

I followed the directions in the OP here, but ended up stuck at the boot animation screen. Then, when I removed the battery and rebooted into recovery (holding down the home button while turning on), I saw a series of error messages:

And several more lines, all relating to "cache" partition.

So I tried Firerat's advice, and ran fastboot:

But that gave the following error message:

So...am I bricked? Yikes.

Seriously, any help appreciated.
[Hero CDMA Android Development] aqualls:
Fastboot needs to be s- off with Eng-spl in order to run fastboot commands.
[Hero CDMA Android Development] aqualls:
Also I have had those cache errors with cwm 2.5.0.7. I rolled mine back to 2.5.0.1. Not sure which version you're using.
[Hero CDMA Android Development] i@jim:
Is there any way I can get to s-off in my current "disabled" condition?
[Hero CDMA Android Development] i@jim:
I'm using 3.0.0.5. I had no problems with it until I attempted this mod.
[Hero CDMA Android Development] aqualls:
Try the remove zip and load up a rom without firerat mod. Here is the post for ENG-SPL. You can also try remove and then redo it all. And if you're running GB with firerat you'll have to run the script posted earlier in here to fix the market downloads. Just a heads up...

http://xdaforums.com/showthread.php?t=765237
[Hero CDMA Android Development] i@jim:
Thanks, but what does "try the remove zip" mean?
[Hero CDMA Android Development] aqualls:
http://www.mediafire.com/?i0wdvvon1za6pza

It removes the partitions so that you can flash a radio, sense rom to update profile and prl, etc. without have to resize the .txt file every time.
[Hero CDMA Android Development] i@jim:
Thanks! So I'm guessing the proper procedure is as follows (please edit or correct this as needed!):

Boot into recovery

ADB push remove zip to SD card

Flash remove zip

ADB reboot recovery

Wipe, wipe, full wipe

Flash my ROM (I'm using aospCmod 2.3.3)

Flash gapps

Reboot system

Do I have this right?

Most importantly: will this work even if I do not go the s-off/flashboot route? I'd like to avoid that if possible. But if I need s-off to do this remove procedure, please let me know! Thanks much again.
[Hero CDMA Android Development] aqualls:
1. Put file on sd card

2. Boot into recovery

3. Wipe data, cache, dalvik

4. Flash zip file

5. Wipe all again

6. Reboot recovery

7. Apply rom

8. Apply GAPPS

9. Reboot

Now this will remove the mtdpartmap. You will have standard sized partitions and will not gain the extra space for apps. I would suggest a different recovery version and try again. I love this mod.
[Hero CDMA Android Development] i@jim:
All set. Thanks again. I'm up and running again! A little gun-shy of trying anything like this again for awhile tho.
[Hero CDMA Android Development] dirtylarry10:
does this work with slide 3g too?....
[Hero CDMA Android Development] aqualls:
Glad you got everything back to good. When I first did this it took a few tries.
[Hero CDMA Android Development] xjayman:
this works great 239mb free on new liquid sense rom,very easy to perform after reading a bit. Thanks A Ton!!!
[Hero CDMA Android Development] SammyM00782:
Whenever I try to do this my gapps don't install properly and do not load at startup. This is on CW 3.0.0.5 and CM7 3/10. Sometimes it wouldn't boot up at all so idk...I gave up on FR's for now. I can't get Sense roms to install properly anymore either. I've wiped the entire phone, redid the sd card 3 or 4 times and it's still acting weird. Hey, you think there comes a point where the phone just says "F you man" and gives up lol. I've been tearing up this poor phone for just over a year now and I'm really impressed. CM7 by itself right now is working perfectly after a complete wipe except for that dumb "Insufficient Storage" error the market constantly gives me. Any clues on that one?
[Hero CDMA Android Development] aqualls:
Same issue here. After installing CM7 and doing the market fix and script removal, now none of my sense nands will restore. And market still doesn't work on CM7. No problems before CM7. Makes me wonder...
[Hero CDMA Android Development] 808Bill:
If your sense nands were made with an earlier version of Clockwork, I think you'll have to flash the earlier version in order to restore.
[Hero CDMA Android Development] 24601:
There's been some discussion on aospCMod thread about conflicts between FR and market cache. See post here and subsequent discussion. I removed the 06BindCache file and my Market interaction "appeared" to get better, but I still have the occasional Insufficient storage issue. YMMV

*EDIT* Appears this actually originated in this thread, a few pages back.
[Hero CDMA Android Development] aqualls:
Tried that many times before I posted. Also the market fix in conjunction. None of the above worked. Just went back to sense since I know it works.
[Hero CDMA Android Development] aqualls:
Nope. Same version. I think maybe the phone just got stupid on me. Just backed one up, checked MD5 sums, tried to restore, and no go. Had to start from scratch. Probably the fairly new SD card. That would be my luck.
[Hero CDMA Android Development] vayman:
I have also removed the 06BindCache and my market seems to be better than before I removed the file. I don't get the insufficient storage but when downloading an app it will hang on "starting download" and then I just go into manage applications and force stop market and clear market cache. This will get it working again for a little bit. When it starts acting up I just repeat this process. YMMV ;)
[Hero CDMA Android Development] realmccoy813:
I noticed if I watch the dl through the app's page on market it will go through without an issue.
[Hero CDMA Android Development] Pyr0TeK:
Same here... seems I get the insufficient storage space error if I exit the market and just watch it through the notifications when it fails. I go back and click on it to manually install again and it works... weirdness.
[Hero CDMA Android Development] genuser:
I could use some help...

I have been running ASOP GB fine with 130 4 settings. Looking to flash the

[ROM] NFX-Sprint.STOCK.2.32.651.2.ODEX.A2SD so that I can update PRL and PRI, etc. But I cannot get past the white HTC screen. I restored my Nand and can get back to GB fine, but cannot get NFX-Sprint.STOCK.2.32.651.2.ODEX.A2SD to flash.

changed mtdpartmap.txt to 190 4

boot recovery (CWM 2.5.0.7)

wipe data/factory reset

wipe cache

M&S format boot, system, data, cache

advanced wipe Dalvik

flashed ROM

flashed fr boot

no go. :confused: I verified the checksum on the ROM using TE. Have tried multiple times with extra wipes :-D

I think 190 4 should be safe, I got a recommendation of 184 4 from a post on that thread.

Any ideas? :confused:
[Hero CDMA Android Development] 808Bill:
I think eclair requires a larger cache. Just use the remover, and remove the partitions, flash the sense rom, then use firerats to set up the GB partitions before you restore your nandroid.
[Hero CDMA Android Development] 24601:
Maybe I missed it in your steps, but did you flash FR recovery? My steps are:

1. Change mtdpartmap

2. Boot into recovery (I, too am using 2.5.0.7)

3. Clean out the partitions - system, data, cache, dalvik

4. flash fr recovery

5. Clean out partitions again

6. reboot into recovery

7. Clean out partitions again (gets rid of dingleberries)

8. flash rom

9. flash fr boot

When reading your steps, it looks like you didn't flash fr recovery and that means your new mtdpartmap settings did not take effect.
[Hero CDMA Android Development] vayman:
Thanks man, I'll have to try that.

I use the same sense ROM when updating PRL and profile. I had the same issue when I first flashed it w/ FR. After a few attempts I just use 220 10 :eek: I know right, probably overkill but hey you're not going to be using the ROM for more than just a few minutes anyway. ;) Try that and see if it works for you.

Oh, and like 24601 mentioned, if you're not flashing FR-Recovery then that may be the issue.

Sent from my sweet gingerbread Super Hero
[Hero CDMA Android Development] realmccoy813:
Try doing the steps you did as usual then when you get to the screen where it freezes do a batt pull and boot into recovery. Then do a data/cache wipe + dalvik. Reboot and see if that works for you.
[Hero CDMA Android Development] trip187:
If you are just updating prl and such why bother with flashing Firerats at all? Just backup, wipe wipe wipe, flash rom, update whatever then restore backup. Or am I retarded?
[Hero CDMA Android Development] genuser:
If anyone's retarded here it's me. ;)

So just to confirm my understanding (or lack thereof :eek:) The mtdpartmap.txt is used by FR-recovery-v1.5.3-CustomMTD_S.zip when that is flashed? If so, there is my miss. I thought that mtdpartmap.txt was used by FR-boot-v1.5.3-CustomMTD_S.zip in the second flashing.

If that's the case, then I agree that flashing standard recovery, flashing rom, getting updates, then going back would be same amount of effort.
[Hero CDMA Android Development] 24601:
If present firerat settings are not sufficient to flash the sense rom needed for updating, you need either 1) new firerat settings, 2) remove the present firerat settings altogether, or 3) reset the firerat settings to a level necessary to flash the sense rom.

*EDIT* @genuser - yes, the mtdpartmap is "grabbed" by FR-recovery when it is flashed. The FR-boot allows your phone to boot properly if you have firerat installed.
[Hero CDMA Android Development] Drunkpilot:
I think I remember Firerat saying if you miss miss one of the flashes (fr-recovery) it won't read the mtd partmap sizes and you will get the default of : mtd 90 2. It was awhile ago that I saw this. Flashing a new recovery will wipe out your custom partitions so you can flash a sense rom as well.
[Hero CDMA Android Development] 24601:
+1, if you just want to flash the sense rom to get the updates, then flashing a new recovery and wiping out firerat is the simplest way to go, imho.
[Hero CDMA Android Development] genuser:
Worked like a charm after I flashed over the recovery.

So I am updating PRL, Sprint VVM and Sprint Nav while I am over on a Sense ROM.

How do I update PRI? I noticed others are at a higher PRI.

Anything else I should update?
[Hero CDMA Android Development] vayman:
I think in-order to update PRI you have to accept a software update. Be careful though b/c I remember seeing a post somewhere that there is a possibility of losing root if you update PRI. ;)

You should be good to go once you update PRL, profile, VVM (if you use it) and I guess Sprint nav (if you use it). You may want to also send a couple sms and receive a couple just to be on the safe side as well. ;)
[Hero CDMA Android Development] 24601:
Earlier, I attempted to update PRI using dialer codes and ended up regressing my PRI. I flashed .7 ruu and allowed the system to update everything including the PRI (which was 2.65.003). I did lose root, but I was s-off so flashing a recovery and getting back was easy. So, for me, yoda speaks the truth -- flashing back to a ruu and accepting software updates lost root.