yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] aiwetir:
+1

I would do this too, flash cwm recovery and move the nandroid to the sdcard/clockworkmod/backup folder
[Hero CDMA Android Development] 24601:
BTW, when you flash a new CWM recovery, you will blow away your FR settings, so you will need to go through the firerat setup process from the beginning. You should still have your mtdpartmap.txt file on your sdcard so you won't need to redo that, but you will start from a fill wipe, then flash fr-recovery, etc.
[Hero CDMA Android Development] texas83:
Can someone point me in the right direction to download cwm?
[Hero CDMA Android Development] 24601:
As I recall, you're using a Hero with either CM7 or aosp gb. Check ninja's thread here, or you can grab the latest from aosp in his gb thread here in the op.
[Hero CDMA Android Development] aiwetir:
Try the one in the first post of this thread

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

edit: 24601 beat me to it.
[Hero CDMA Android Development] ch1naski:
OK, let's say for some reason adb isn't working on my machine....

would step 9:

"9. Once its wiped, plug ur phone in and pull up command to adb reboot recovery (if you try to reboot into recovery any other way itll mess up the partitions and ull get cache memory.log errors and that will mean the mod didnt work correctly) by using this

Code:

adb shell

reboot recovery"

work without adb if my phone has eng-spl and is s-off?
[Hero CDMA Android Development] aiwetir:
cwm should have an option advanced > reboot recovery. this works fine.
[Hero CDMA Android Development] texas83:
i downloaded the CWMod img from aosp post - but how do i install an img file? I know how to flash zips only. thanks
[Hero CDMA Android Development] il Duce:
"adb shell flash_image recovery /sdcard/nameofrecovery.img" assuming you put the recovery on your sd, and replace nameofrecovery with the name of the recovery.
[Hero CDMA Android Development] ch1naski:
thanks, I wasn't sure if using that option in cwm would cause a problem...

gonna finally take the Firerat plunge....
[Hero CDMA Android Development] texas83:
I have never used / dont know how to use adb. I did find a flashable zip below, but it gives me an error because it says "No Signature" "Verification failed". Anyone know where I can get a signed flashable zip?
[Hero CDMA Android Development] stayclean:
Just use ADB. Put the .img on the root of your flash card, hookup your phone to computer, open up Command Prompt, go to the android-sdk-windows/tools folder, type in "flash_image recovery /sdcard/whatever.img", done in about a minute or less.
[Hero CDMA Android Development] il Duce:
You sir, need to STOP flashing things you *think* will work. You just tried to flash an hboot zip made only for s-off (which you aren't) in recovery to overwrite your recovery, from the wrong recovery (cwm can flash unsigned zips, amon ra cannot). I am concerned you do not read enough, and at some point you will bork something important. The only way you can flash a recovery is the way I told you (since it seems you cannot boot your ROM, and therefore cannot use terminal emulator or rom manager). Either start reading or cease and desist.
[Hero CDMA Android Development] texas83:
Currently googling on how to set up adb on my computer. The phone will not boot up past HTC screen but I can get it to recovery. Once I get adb set up, can I even use adb if my phone wont boot?
[Hero CDMA Android Development] 808Bill:
This is where I got the information I needed to set it up.

http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
[Hero CDMA Android Development] il Duce:
In theory, yes. It depends on whether adb will recognize the device. Go to this thread for adb setup and command info: http://xdaforums.com/showthread.php?t=879701
[Hero CDMA Android Development] texas83:
I got adb set up on my computer, but when I plug in my hero the computer wont prompt to install drivers or recognize it. I can get in to the ra 1.6.2 recovery and toggle usb - any other suggestions?
[Hero CDMA Android Development] il Duce:
You need to DL the drivers, it's been a LONG while but I'm pretty sure you can grab them from HTC, as a part of HTC SYNC.
[Hero CDMA Android Development] 808Bill:
I believe the article I posted has a tutorial that covers setting up the drivers.
[Hero CDMA Android Development] il Duce:
try "adb shell"
[Hero CDMA Android Development] 24601:
Once you type "adb shell" you should get a # prompt. It is at this prompt that you type "flash_image recovery /sdcard/recovery.img"
[Hero CDMA Android Development] texas83:
GOT CWM TO INSTALL!!!

Followed these directions

Flash recovery using: ADB

NOTE: This method will work while you are booting into the current recovery on the phone.

Download the ClockworkMod Recovery: HeroC Download Optimus V Download.

Copy the recovery.img to root of the SD card.

Boot the phone into recovery.

Open command prompt, cd to the Android SDK directory & type the following commands:

adb shell

mount /sdcard

flash_image recovery /sdcard/"name of recovery".img

reboot recovery

Your phone should now
[Hero CDMA Android Development] il Duce:
try this:

cd C:\android-sdk-windows\platform-tools\

then if that works type adb devices again

if that works type adb shell
[Hero CDMA Android Development] genuser:
Texas, don't forget to send some love at Duce for better live support than you can get from the best of companies. He doesn't even live in India :-)

As a matter of fact, buy him a parka. It snowed a few days ago here. :-O
[Hero CDMA Android Development] aiwetir:
glad you got it figured out.
[Hero CDMA Android Development] texas83:
I fully intend to love everyone! I am back to square one, will attempt to install this MOD tomorrow!
[Hero CDMA Android Development] texas83:
I did the mod now using cwm recovery. I set mtd txt at 100 4.

I am getting the "E: Error in CACHE: recovery/log (no space on device)" error in recovery. If I just reboot it, it now shows free memory of 356mb. But the error is still there. My market now can not download anything. How to fix?
[Hero CDMA Android Development] 808Bill:
Don't worry about the Cache error statement, you can ignore it.

To fix the market, do this... http://xdaforums.com/showpost.php?p=11055157&postcount=4650
[Hero CDMA Android Development] texas83:
I ran the df -h command in terminal and One item that stands out is that everything under the Use% column is under 100% except for /dev/block/mtdblock4.

This one size is 4.0M, used 4.0M, available 0, use 100%, mounted /dev/cache

Is this bad?
[Hero CDMA Android Development] texas83:
Market now downloads! But I am getting a "Installation Error" when installing. Says "couldnt install on USB storage or SD card".
[Hero CDMA Android Development] 808Bill:
I believe this means that your cache is running at 100% of the memory allocated to it. This is not bad. :)

Don't worry about the "insufficient storage". That does happen every now and then, but re-download and it will be fine.
[Hero CDMA Android Development] c00ller:
One odd quirk about the market is you need to keep the market (and sometimes screen on) while it downloads and installs for it to be successful. If you start a download then return to the homescreen or go somewhere else, it has a chance of being unsuccessful.
[Hero CDMA Android Development] texas83:
You're right. If I stay on the market app, it downloads and installs.
[Hero CDMA Android Development] andythegreenguy:
I, finally, took the plunge and got Firerat's - followed all instructions, got everything to flash properly... device booting right now. But, got the same error as texas83.

I know, I can ignore the error... but is it because of setting the cache size too small? Would it impact the performance in any ways? Thoughts?
[Hero CDMA Android Development] dpeeps74:
I've never seen anyone ask for the cached recovery log that error is about in all my trolling.

~maybe I set it too high...
[Hero CDMA Android Development] The Fer-Shiz-Nizzle:
Its possible that you have some (old) cached market downloads in /cache/download/ and/or un-needed recovery logs in /cache/recovery/

Delete those with root explorer as needed and your cache partition should stay at 1.14 mb
[Hero CDMA Android Development] ch1naski:
Lmao.

π

sent from GB hero.
[Hero CDMA Android Development] texas83:
I used root explorer and opened the /cache/download and /cache/recovery folders but they are both empty. What else?
[Hero CDMA Android Development] aiwetir:
go to cwm recovery and wipe cache, reboot, eventually you should see cache go down to lower than 4.
[Hero CDMA Android Development] The Fer-Shiz-Nizzle:
Hmm...sorry that's all Ive got. Lol wish I could help ya more
[Hero CDMA Android Development] texas83:
Did this. Just ran the df -h command and it dropped down to 1.1M or 28%. Thanks!
[Hero CDMA Android Development] aiwetir:
It should stay there forever now afaik. This is why some people put it down to 2, but I found that sometimes on a fresh install it goes wacky crazy with bootloops at 2.
[Hero CDMA Android Development] texas83:
Two follow up questions regarding ADB - I posted in a related forum but no response!

1. ADB works on my computer. But, when I hit adb devices, it list my device as serial number 0000000000. DOes this means something did not install right?

2. Can I uninstall HTC sync and HTC drivers once adb is set up?
[Hero CDMA Android Development] il Duce:
You can ignore that, if it works it works. Mine was showig that and now shows correctly, but I used adb while 0000000000 was shown too, no issues. I think that number is either determined by your hboot version or your recovery, altough I'm not sure which. I think mine started showing correctly when I flashed a new version of CWM.
[Hero CDMA Android Development] texas83:
Can I uninstall HTC sync and HTC drivers off my laptop once adb is set up?
[Hero CDMA Android Development] c00ller:
No, you need the HTC drivers to use adb, unless you plan on only using adb wireless, then I think you don't need drivers. You should be able to uninstall HTC sync though.
[Hero CDMA Android Development] ch1naski:
Has anyone tried the "portable" adb? (I don't mean it can be ported, but portable in the layman's sense of the word...."in the parlance of our times".....)

π

sent from GB hero.
[Hero CDMA Android Development] fallonjp:
Can I apply firerats mod and then restore a nand backup that was made prior to using firerats?
[Hero CDMA Android Development] il Duce:
Yes you can.

sent from a series of tubes.
[Hero CDMA Android Development] ch1naski:
That's how I installed fr, myself.

π

sent from GB hero.
[Hero CDMA Android Development] vayman:
This is probably understood (well I hope it is) but just ensure that your .txt file is sufficient for the nand's /system. Otherwise it won't boot. ;)
[Hero CDMA Android Development] fallonjp:
So if my nand backup is showing 78.87MB for /system and 39.12 MB for /cache do I need to go with at least 40 for the /cache size and 80-90 for the /system size?

Thanks for the help.
[Hero CDMA Android Development] vayman:
Unless you're planning on adding anything like a theme or anything else that will add to the size of /system 80 should be good to start with. As far as /cache goes, and someone correct me if I'm wrong, if you set it to a low number like 2 or 4 the remaining will go to /data if there is a need. TBH though, my experience w/ FR ha always been trial and error to see what works best for the ROM/nand that you're installing. Think of FR as a woman, start high (at the top) and work your way down till' you find that sweet spot! :eek:;):D
[Hero CDMA Android Development] kyouko:
LOL I've seen stuff about Firerat's for almost 8-9 months now :eek: and just decided to try it out today.

First time I went through I set the partitions a little too small, all seemed fine except I and couldn't receive any texts - sending worked fine though, go figure.

But.. after playing around with the values it all works now, you certainly can't go wrong listening to that last statement ;)
[Hero CDMA Android Development] il Duce:
Same thing here, kept reading it, and thinking "nah I'm good" then I did a week ago or so, and it's pretty sweet :) Hey are you like "back" to heroC land? I learned a lot from you in the "early days" of my heroC, hopefully you'll be trollin around and helping out. Hey maybe you'll even publish some dev work?
[Hero CDMA Android Development] HEROEVO:
You're back?!?!?

*does happy dance*

Please stay :)
[Hero CDMA Android Development] kyouko:
Off Topic

I've been popping up here and there on occasion to help out via Tapatalk - more so in Android Dev & Hacking than here lol

But this whole year has been really crazy. Earlier in January I had to travel quite a bit - close friend was really sick. Got a concussion, then in March I got hurt again haha and was in the hospital for some time. All the while trying to balance classes and work :p .. which is what I've been up to most of the time lately :rolleyes:

Unfortunately I never got around to finishing that Pink Theme either, then once I saw that UpwardSpiral made a pink and purple theme for the TMous Theme Chooser I gave it up.

As for personal dev work, I put Arch on a new laptop a little while ago and set up eclipse, adb, CM and all that good stuff. Basically to play around with the apps/java. Project wise I'm hoping to set up a little branch and submit some application mods to gerrit (two of them specifically for mms.apk)... I just need to learn exactly how the java strings should be set up first :D... trial and error hasn't done it for me yet :rolleyes:

But I should be poking around more often now that classes are coming to an end if the semester. And because there seems to be a lot of drama lately lol; be it people kanging, personal attacks, stupidity, etc.

More drama = more entertainment for me
[Hero CDMA Android Development] il Duce:
\o/

||

/ \

woot. More sanity in the threads will be nice :)
[Hero CDMA Android Development] zwizzle:
Now there's some great advice... :D

I've been using Firerats for quite awhile, and whenever I set the Cache to 2 or 4, market apps refuse to download unless I use a market fix. However, when I set Cache to 30 or above, the market works correctly from the get go.
[Hero CDMA Android Development] vayman:
Thanks guys! I thought that the analogy fit nicely! :D

@zwizzle Good point on the small /cache, I forgot to mention that. :)

@kyouko Nice to see that you'll be hanging around HeroC land again! As duce stated, some sanity around her will be nice! :D
[Hero CDMA Android Development] Riff76:
Can step 9 of the installation be performed in the terminal emulator instead of via ADB? I cannot install ADB at my work workstation.

9. Once its wiped, plug ur phone in and pull up command to adb reboot recovery (if you try to reboot into recovery any other way itll mess up the partitions and ull get cache memory.log errors and that will mean the mod didnt work correctly) by using this

Code:

adb shell

reboot recovery

I want to try Firerats and see for myself if its better than data2ext.

Thank you all in advance for your help
[Hero CDMA Android Development] 808Bill:
I reboot into recovery direct from Clockwork.
[Hero CDMA Android Development] aiwetir:
it's under advanced > reboot recovery
[Hero CDMA Android Development] Houndog101:
How do you undo this, It doesn't work for me (long story) and I can't boot any rom now..:confused:
[Hero CDMA Android Development] aiwetir:
How do you do what?

EDIT

Ugh my eyes are on sideways today you said UNdo. Flash a different recovery is the simplest way. If you can't get a recovery flashed you can change your mtd to 170 130 which is the stock sense setting.
[Hero CDMA Android Development] vayman:
To remove this mod either reflash your recovery using adb, terminal or HERCIMG.zip or follow this link and select the version of the mod you're running and grab the remove.zip. ;)

http://www.mediafire.com/?lifib6a9ptj5j
[Hero CDMA Android Development] Houndog101:
Thank You Much,, that Fixed my problem ... :)
[Hero CDMA Android Development] vayman:
No problem man! Out of curiosity, what method did you use?

**Edit: Input the correct quote that I was responding to. I can see why you were confused Tibson. I really wasn't having a conversation w/ myself. LMFAO!
[Hero CDMA Android Development] Tibson:
Wait, what?
[Hero CDMA Android Development] vayman:
LMFAO ROFL! Thanks for pointing that out! It's been one of those days. :D
[Hero CDMA Android Development] Houndog101:
RUU, then reflashed recovery..
[Hero CDMA Android Development] Riff76:
I guess its obvious but I need to ask so I can rest assured. Once I install firerat's, I format my SD to get rid of data2ext or is there an extra step there too?

EDIT: Does anyone use swap? More likely to fry the SD using it, right?
[Hero CDMA Android Development] Vandelay007:
I haven't had the hero in a while, but there may be an option in recovery to wipe sd-ext...

.........at 8 am today someone poisons the coffee....do not drink the coffee. More instructions will follow.

Cordially,

Future Dwight
[Hero CDMA Android Development] aiwetir:
I was using swap a bit back and went through a couple of cards in a couple of months, but sometimes cards are just bad. Ymmv.
[Hero CDMA Android Development] gigermunit:
I have 2 Questions regarding this.

1. I have already fireratted my phone and its working fine, but if I were to update my prl using a sense rom, how do I go about doing that since I am fireratted?

2. How do I load a nandback up that I took when I was fireratted and load it again and be able to boot, when I tried before it boot looped over and over :[

thanks in advance.
[Hero CDMA Android Development] Riff76:
I think I may have bricked my phone. I finally got Firerat on there and my market doesn't open at all. Amazon errors out when installing apps but it opens and lets me download.

I did Sobe's market fix, cleared the cache/download folder in root explorer and tried to boot to recovery. I get stuck at the HTC screen before the boot animation, stay for 5 minutes and pull the battery. I would hate to get an EVO now when the 3D is just around the corner. What should I do?

EDIT: Waited 10 minutes after battery pull, that did the trick to boot to recovery. Going to try normal boot one more time before I nandroid. I need to get to a usable state but I don't want to clean install a rom until the new AOSP drops

EDIT: Unbricked. Did not realize I had to flash firerats boot after a nandroid restore. Lesson learned
[Hero CDMA Android Development] il Duce:
1) look a back a page in this thread, that was recently discussed.

2) after sense, start from step 1 in firerats, then where it says flash stuff, just nand restore, flash FR-boot after that, and then reboot.
[Hero CDMA Android Development] aiwetir:
It's probably more like 4 pages (depending on your settings, mine are default)

And it's been repeated many times in the thread, but basically

nandroid

undo firerat (new recovery or manually mtd 170 130 or fr-remove)

flash sense

update

reboot into recovery

start at the beginning of firerats like the first time

instead of flashing the rom, restore nandroid

flash fr-boot

reboot

eat ice cream
[Hero CDMA Android Development] texas83:
if i want to flash kifno's universal scripts, do i then flash this firerat mod? will they be compatible together on cm7?
[Hero CDMA Android Development] il Duce:
if you already have firerat and cm7 installed (and "tweak" will fit into /system) :

in recovery, wipe cache, wipe dalvik cache, flash "tweak", flash FR-boot, reboot.
[Hero CDMA Android Development] texas83:
i followed your directions. How can I tell if "tweak" will fit in to system? I have 92mb used out of 100mb right now. Also how can I tell if that tweak is working?
[Hero CDMA Android Development] Riff76:
The "tweak" is kifno's thing, ask him. Sounds like your firerats didn't go through tho. If you used the suggested setting for CM6 (even if you are on a different rom) you should have 2xx mb used out of 3xx mb.
[Hero CDMA Android Development] texas83:
I am using CM7.02. My firerat's seems to be working, shows 356 storage with 267 free. My MTD.txt document is set for 100 4.

Could the firerat's not be working and still show the free storage of 356?
[Hero CDMA Android Development] il Duce:
Well you have 8mb free, so if his zip is smaller than that (I'm sure it is) then you're good.
[Hero CDMA Android Development] il Duce:
Obviously it is working.
[Hero CDMA Android Development] texas83:
Thanks just wanted to double check!
[Hero CDMA Android Development] Riff76:
I agree with Duce, Firerats is working. In my earlier post I meant 2xx mb free out of 3xx, not used.
[Hero CDMA Android Development] ch1naski:
Is the FR removal zip in the original fr thread (for the G1) the same zip for the heroc? Or is the another i've managed to miss in this thread?
[Hero CDMA Android Development] DominoDoug:
Can we confirm this is true for everyone?

Also is this working with Clockwork?

Sent from my Hero CM6.
[Hero CDMA Android Development] hunterd13:
works on mine with 1.47
[Hero CDMA Android Development] bigboidomo:
Yea it also works with mine

Sprint Htc Hero

CM6 Froyo 2.2

Firerats recover mod 368 Internal Memory

Uncapped Kernal

Overclock to 710

Collin_ph battery tweak

Envy Port Theme

I Love My Phone
[Hero CDMA Android Development] danaff37:
should work on any recovery. However, when you apply it to clockwork recovery, you can't do all the cool stuff in rom manager. But I prefer to just boot into recovery and do it all on my own anyways
[Hero CDMA Android Development] Antdro!d:
hey when i did the firerat part. it worked prefect, but when i helped my friend on his hero its said in recovery mode "Error in CACHE : recovery/log (no space left on device" , i tried to nandrestore but when i rebooted at the it got stuck in a loop at the boot image, any help?
[Hero CDMA Android Development] Rivas123:
Try wiping everything before flashin the mod setup
[Hero CDMA Android Development] Antdro!d:
i tried that but i got it working, i guess we deleted the recovery or something so through fastboot i flashed a new one everything good now thanks
[Hero CDMA Android Development] Rivas123:
Sweet, no prob.
[Hero CDMA Android Development] KyleIsTheBeast:
WOAH! I just did this, and it says I have 257MBs free on my Internal Storage, but when I try to download an app, it says "Insufficient Storage"!?!?!?!

HELP?!??!
[Hero CDMA Android Development] jerry43812:
This is cuz we all wanna get closer to having more gee bees
[Hero CDMA Android Development] danaff37:
What numbers did you set, and on what rom? It may be talking about cache storage, which symlinks under the data partition now. But, something may have gone wrong in the flashing (in which case you may want to redo) or that rom may have an issue with the cache moving. I think I remember reading that some roms do when people started moving it and dalvik around to sd with a2sd. In which case you can try a full wipe and reinstall of the rom, or a different rom, or just do without this mod.
[Hero CDMA Android Development] KyleIsTheBeast:
Well, here is what doesn't make sense to me, On every ROM I have ever used, The apps I downloaded from the market have installed in /system... So how is this working for you all? Are you all using Apps2SD?
[Hero CDMA Android Development] Big-O-Devil:
that happened to me and i had to wipe sd ect.... now i am using froyo native and it works fine.. i have downloaded 6 app and its all good....
[Hero CDMA Android Development] hunterd13:
im using darktremors a2sd on froyo and this fix and alls good.
[Hero CDMA Android Development] zwizzle:
I'm using this mod on Fresh 2.3.3 and it left me with over 200mb of internal storage left after the initial boot. Great stuff.

PS - I am on Pri 2.20_003 and Hboot 1.47 in case anybody is wondering.