yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] collin_ph:
Some ROMs work better than others. It's designed to run on CM6, so it'll work similarly on all CM6 releases. Another thing is that you can destroy your battery life by having the wrong widgets turned on, or having your apps set to poll too often. When in doubt, check the battery stats under "about phone" under settings.. look at what's the top 2-3 users. The top user should be "display"-- if it's anything else, you probably have a program ran awry. I've had certain versions of programs (I.E. a particular older version of "better alarm clock") kill battery life. Another thing, if you have the weather channel widget.. disable it for starters and see if anything improves.

You should also disable wifi when not in use, and know that if you have a terrible signal, you should probably turn off 3g unless completely necessary -- 3g sucks battery if you have a horrible signal (2g does too, but usually 2g coverage is better, and it's a little less draining than 3g)

Hope that rambling sentence makes sense. If anyone has problems, feel free to run batt-diag -v and post the results. Thanks!
[Hero CDMA Android Development] PMDColeslaw:
Currently running the beta 10 release on The 8/23 Froyo nightly. Do I need to flash the RC1b or since I'm on nightly do I need to stay with the beta 10?
[Hero CDMA Android Development] collin_ph:
I'd recommend rc1b because the CFS tweaks work better with google navigation, and that the entire user interface should look better.
[Hero CDMA Android Development] PMDColeslaw:
Ok cool! Flashing now, thanks!
[Hero CDMA Android Development] bigboidomo:
Does anyone know if the rc 1 works with firerat mod someone said it didn't?

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] mercrapper:
bug in batt.sh in collin_ph Battery Tweak 3 RC 1b?

hi, I just downloaded and flashed the "collin_ph Battery Tweak 3 RC 1b".

I was poking around and noticed that batt.sh looks like it has a typo on line 207.

case $CFStweaks in
"1") launchCFStweaks;;
*) disableCFStweals "CFS Tweaks Disabled";;
esac

Shouldn't disableCFStweals be disableCFStweaks as disableCFStweals is not found.

This is the first time I am using this, hopefully I get the same battery boost as everybody else.

Running CyanogenMod 8/24 nightly.

Thanks

Steve
[Hero CDMA Android Development] alexthearmo:
I wanted to report my experience for those who have been wondering if this works.

I flashed this last night and charged up my battery. I used ADB to set it up and chose the 719mHz option (i think...I can't remember the exact number, but it's the 700 one)...

Today, my phone has been on and unplugged for 8 hours exactly and my battery is sitting at 68%. I haven't used it too much today...5 minutes of phone calls, 5 texts, 10 minutes of reading news articles, and a few minutes on facebook....plus the occasional unlock and scroll through screens aimlessly. But it seems to be holding charge better than when I was just running RC1 stock. Also, because I'm using the 7 hundred mHz option, my phone does seem zippier, and opens programs quicker.

Those are my findings, your milage may vary. Thanks to Collin_ph for the good work!
[Hero CDMA Android Development] Decad3nce:
Nice catch.
[Hero CDMA Android Development] jigga9:
same here, i love my hero
[Hero CDMA Android Development] chefthomas99:
Does Regawmod 2.1 work with this tweak?
[Hero CDMA Android Development] churro7:
in my hero it toops out at 652Mhz

normal?

using option 2

even custom setting it limits at 652

plus i am using vanilla cm6
[Hero CDMA Android Development] tb87:
You need the uncapped kernel to go past 691. The rc1 and nightlys cap at 691.

Sent from my Hero CM6 RC1
[Hero CDMA Android Development] churro7:
indeed but it doesnt even reach 691 max ive seen is 653 now its 633
[Hero CDMA Android Development] james33440:
What is your battery at? In other words charge your battery up to see if the CPU speed goes up.

Sent from my Froyo Hero using the XDA app
[Hero CDMA Android Development] bigboidomo:
Someone told me rc 1 did not work with fire rat mod is this true?

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] gurusux:
I installed it over 8/25 nightly and my phone stopped making calls.
[Hero CDMA Android Development] mrinehart93:
I just flashed this over the #9 Uncapped kernel, only for the scaling effect. Will I have to make any changes in batt-cfg to keep all the features of Uncapped kernel working correctly?
[Hero CDMA Android Development] MBrannock:
Battery Memory wipe?

Hey guys, kind of a noob at Androids, but i am tech savy. Any ways, just a quick question here. I have a aftermarket battery on the way. The research i have done i have noticed that most people are saying that after reaching a 100% charge to reboot to recover and wipe the battery memory, and that is helping improve their battery performance once cycling the battery is done. i was wondering if by doing that, that would affect the settings of this tweak at all. i know this is something that tweaks the cpu and on the battery but i would rather be safe than sorry.

sorry if that sounds ridiculous, like i said, im a noob at Android :D
[Hero CDMA Android Development] collin_ph:
Are you on battery or on Power.. on battery, it gradually reduces the max cpu as the battery drains.
[Hero CDMA Android Development] collin_ph:
Well, in short- maybe. If you go through the battery calibration procedure (charging fully, booting to recovery, clearing battery stats, draining completely, then charging again), it'll make the battery meter more accurate-- shouldn't make the battery last longer. That being said, my tweak does react to changes in the remaining battery percentage as reported by the OS (which would be inaccurate if the battery is out of calibration).

In practice, I never recalibrate my own battery. I believe that every time you wipe your phone, you lose your full battery stats, but I believe they get built again as you run the phone. I'd say that fully charging and draining the battery every once in a while is a good idea anyway just to "exercise" it, as lithium batteries lose life if they're left nearly "full" all the time.
[Hero CDMA Android Development] MBrannock:
Thanks. maybe the above said is why people were seeing "improved" battery life. if all that does is re-calibrates the battery meter, so to speak. thanks for the advice, i will give it a shot when the new battery comes in. just for good practice when i do it should i run batt-cfg again just to be safe?
[Hero CDMA Android Development] collin_ph:
you only need to run batt-cfg if you want to change any settings. If you recalibrate battery or change batteries you don't need to run batt-cfg again, but it's perfectly safe to do so.
[Hero CDMA Android Development] collin_ph:
Did you ever get this figured out? This should have nothing to do with phone calls unless you set some seriously low frequencies in batt-cfg. Did you leave the defaults? Did it come back when you uninstalled?
[Hero CDMA Android Development] gurusux:
Yeah I left it on default. I didn't know what to do so I went back to my backup.
[Hero CDMA Android Development] churro7:
yeah i tried that it is correct thanks i was panicking!!!
[Hero CDMA Android Development] collin_ph:
you can run batt-cfg and choose a custom setting to adjust any of the behavior if it's not what you need.
[Hero CDMA Android Development] evilvoice:
collin_ph, has this been fixed? I have a version on my sdcard, and it has the same mistype. What is the prognosis? Are you going to release a new one, or should we just edit and push?
[Hero CDMA Android Development] nspot:
When using one of the default profiles (either 691MHz or 768MHz), is the lowest scalable CPU speed 19200Hz or 245000Hz? I ran batt-diag and see that my CPU never scales down to 19200Hz.
[Hero CDMA Android Development] collin_ph:
245000. 19mhz has too much of a delay to answer calls effectively imo. You can ajust or view your current settings using the custom option. -- you can also view your current settings by cat /system/etc/batt.conf
[Hero CDMA Android Development] collin_ph:
Nice catch. I have it in the queue along with a few other things for RC2. Thanks again!
[Hero CDMA Android Development] dynamicpda:
I edited batt.sh in the zip file using mc on linux then tried to flash but I got a digest error. I don't know how to re-sign the zip, so I flashed the zip with typo then pushed over /system/bin/batt.sh a copy with the typo corrected.
[Hero CDMA Android Development] jakejm79:
Here is a signed one with the corrected typo.

Collin, hope you don't mind, if you do let me know and I will take it down.
[Hero CDMA Android Development] Ezintn:
so what happened to this thread, and why doesn't "pidof batt.sh" give me a number anymore?
[Hero CDMA Android Development] applefanboylol:
so i just flashed the uncapped kernel...how do you go past 691 without using setcpu/ocwidget.. just so it wont mess up the battery tweak
[Hero CDMA Android Development] cyberdog433:
If you know your phone is stable at 768, you can do the following:

Run Terminal Emulator from the programs listing on the phone.

In Terminal Emulator, type:

'su' <return> - This grants Super User "Root" privledges to session

'batt-cfg' <return> - This runs the script to select your power/speed scheme

Option #1 will change the settings in Collins tweak to 768. Close the Terminal Emulator, you should now be running with 768 set as the max speed.

Hope this helps. Keep in mind that the actual speed at any time is controlled or determined by the govenor and isn't 100% of the time. Heavy usage/load will bump it up to 768, light draw/load will lower it.
[Hero CDMA Android Development] Ezintn:
Actually, 768 pre-set only clocks to 691 on battery power. If you want higher speeds on batt, select option #3 in terminal, hit enter, and follow directions from there. This also allows you to set ac min. to same as max. Be careful to follow on screen directions for usb settings...
[Hero CDMA Android Development] Lucky_Charms:
I'm using kaosfroyo v34 with the cfsv5 and here is what I get when I do batt-cfg either from terminal or adb-shell

C:\android-sdk-windows\tools>adb shell

sh-3.2# batt-cfg

batt-cfg

The batt-cfg utility configures the

collin_ph battery tweak. When on USB/AC

power, maximum performance settings will be

used. When on battery, more conservative

settings will be used. As the battery

drains, the CPU clock will be lowered. The

CPU Scales between min and max settings

always. Additional timing and memory

settings are adjusted.

Please choose an option and press enter.

[1] Revert to 768mhz defaults and exit

[2] Revert to 691mhz defaults and exit

[3] Customize settings

[4] Disable Battery Tweak Entirely

[5] Enable CFS Tweaks

[6] Disable LED Fix (If LED Stuck)

[7] Disable Disk Boost

[8] Enable Audio Fix (Disable Stagefright)

[9] Save Changes & Exit

[Enter]: Exit Without Saving Changes

2

2

Loading 691mhz defaults

Killing batt.sh process

Saving Settings...

Settings Saved.

Starting batt.sh

/system/bin/batt-cfg: line 96: start: command not found

NOTE: when you exit ADB or terminal, you may

have to hit CTRL-C

sh-3.2#

Any Ideas? I am able to activate and deactivate CFS tweaks without a problem.
[Hero CDMA Android Development] rideascooter:
So I have and LOVE collins battery tweak.

I'm running CMrc1.

I got tired of having to type in the whole:

su

batt-cfg

2

exit

exit

crap

so i looked into automating it a bit.

but i'm stuck!

if you go into menu~preferences~initial command

and type:

Code:

su

batt-cfg

You'll knock out the first part of the problem as soon as Terminal starts.

i'm looking to add a pause after that to wait for all of the options to load and then to hit "2" and continue on it's way.

and then pause again and have it type "exit" enter "exit"

to close the program.

i've tried the "sleep" command to no avail.

anybody have any idea how i might accomplish this?

i know it's only typing a few things, but i've got my heart set on getting it fully automated!

thanks everyone.
[Hero CDMA Android Development] rideascooter:
so i've figured it out.

all you have to do now is type in which option you want after opening terminal.

mine is option 2.

just type this code exactly as shown to get it to finish after you type in your option.

this will then exit terminal emulator the correct way and save your settings.

this will save time and make the whole process easier.

i guess it'll do until tweaktool finally comes out!

su
batt-cfg
sleep
2
sleep 1
exit
sleep 1
exit
[Hero CDMA Android Development] mainguy21:
when i try to use this..it doesnt save my settings..it says access denied when i try to save and exit?? any ideas?
[Hero CDMA Android Development] rideascooter:
are you putting su first?

did you grant it superuser permissions?
[Hero CDMA Android Development] MacinEnterprise:
I'm experiencing the same error with RC1b on my KaosFroyo 35-1 Eris.
[Hero CDMA Android Development] rideascooter:
i had to go back to using the last beta before the rc.

rc wasnt working right for me

or at all for that matter!
[Hero CDMA Android Development] theimpaler747:
On the 2nd post of the uncapped kernel thread, Decad3nce has his own modified version of the battery tweak, you may want to check it out it's pretty nice :D
[Hero CDMA Android Development] dumbwolf:
Works....?

Your tweak worked great. Battery lasted 2 days with nominal use, very impressed. One problem my phone would not play music well. ( was not the player, was not the music files). I sadly uninstall-ed the tweak now music plays great. So I will still say great job, but if you have any answers that would be stellar.

Thanx anyway for your hard work!
[Hero CDMA Android Development] theimpaler747:
There's a new version of this... this is the old one
[Hero CDMA Android Development] Abrasher:
U cannt wait to get going. Five minutes and I am in!
[Hero CDMA Android Development] Abrasher:
I love the idea of the apk
[Hero CDMA Android Development] Abrasher:
any idea on what it will cost?
[Hero CDMA Android Development] ch1naski:
I'm getting the same thing. Running latest Cm6 stable (not a nightly) for Hero cdma, it gives me:

whoami: unknown uid 10032

press enter to attempt to run as root

Or press 1 to continue without attempting to gain root access.

and when I press enter, I get the same message again. (this time, uid 0)

So, if I press 1, it runs, but I cant tell if it's actually tweaking anything....

Edit: Ran pidof batt.sh, got no number = not running. (i assume).

Gonna rm it and re-flash it.
[Hero CDMA Android Development] cheyennemtn:
I had to uninstall previous beta due to excessive battery drain I felt. I installed collin_ph_battery_tweak_v3_rc2 My question is I chose option 2 and setting were saved but when I choose option [9] to Save Changes and Exit it says not found.

Loading 691mhz defaults

Killing batt.sh process

Saving Settings...

Settings Saved.

Starting batt.sh

Started

# 9

9: not found

-------------------------update

rebooted and went into terminal and typed

$pidof batt.sh it then returned the number 90 underneath it

90

It took so the [9] option NOT necessary if you receive a number response after the $pidof batt.sh

Killing batt.sh process

Saving Settings...

Settings Saved.

Starting batt.sh

Started

..Anyone who is unsure if the tweak worked or not remember to reboot and run the command in terminal

$pidof batt.sh and you should receive a number back if the tweak took. Also NO spaces after the $
[Hero CDMA Android Development] sanjose_shark:
Hero OR Eris With metro flash kaos froyo v39?

so i just did this tweak on my droid eris i came across it on the forums and said it was functional on this fone but i tried it and not noticing a difference.. is this only working on the sprint hero??
[Hero CDMA Android Development] LiquidSolstice:
This is because using 1 or 2 will revert the settings to either a 691 with tweaks ro a 768 with tweaks, and then will exit out of the script automatically (which is why you return to the "#". You're back in the Shell mode).

the "9" to save is only if you decide to Enable the CFS Tweaks, Disable Disk Boost, or Enable the Audio Fix.

You did it correctly. You don't need to do anything once you press 1 or 2 if that's all you care about.
[Hero CDMA Android Development] m_reyna_16:
will this tweak work with gingerbread 2.3?
[Hero CDMA Android Development] dpeeps74:
Yes basically. Cm7 has CPU settings in it so you would want to probably align those (you min&Max speeds & governor)

~maybe I set it too high...
[Desire General] papalazarou:
Hey guys,

I just bought a Black (with 'Orange' branding on the back) Desire, that's otherwise unbranded and unlocked. Unfortunately the language support that I'm offered is "English - Taiwan, English - Singapore" etc.

What does this affect? I've set it to English - Singapore, I think, and the keyboard comes up fine (planning on using swype probably anyway) and everything looks like it's working.

Should I make efforts to set this to English - Australia? What are the risks in not changing it? I haven't checked the Market or anything yet (haven't put my sim in) but I imagine it won't affect market settings, regioning or connectivity?

If so, will MoreLocale do the trick? Cheers guys. It's a gorgeous phone, can't wait to load the sim in and set it up.

EDIT:

The phone doesn't appear to be picking up 3G, naturally. It's an a8181 on Vodafone here in Australia, so it uses the same frequencies, but for some reason I'm just not getting it. Any ideas?
[Desire General] cikoo:
Black Unlocked Desire

yea i thought about the nexus one but just dont like the trackball, not even sure how much id use it but i can wait another month or two, at that point if i still cant get the desire then i'll cave for the nexus one or something equivalent

>>
[EVO 4G Q&A, Help & Troubleshooting] dougdascenzo:
I just wanted to share some info here in case anyone else was having this problem. I installed a Kenwood KIV-700 with the KCA-BT300 bluetooth addon. It connected and paired with the phone just fine, however, I noticed that I could not get contacts to sync, tried deleting and reconnecting the phone from head unit several times. Then it occurred to me that it could be my ROM (was using CM6 RC1 at the time). I flashed to AVA-FROYO6, thinking that maybe since it is closer to the stock ROM, that the phonebook would sync. It worked and now I am completely syncing with the unit. To be fair, I have not updated CM beyond RC1, as I was happy with it, so didn't feel the need to update to 2 yet, so maybe this worked in the later version.

My guess is that Kenwood works off of stock ROMS and this could be the reason that CM6 did not work completely with it. Anyway, hope this helps someone.
[EVO 4G Q&A, Help & Troubleshooting] apristel:
Cool I've got that BT add on sitting in the garage awaiting my install.

Thanks.
[EVO 4G Q&A, Help & Troubleshooting] dougdascenzo:
Well back to the drawing board. Eventually I got the same Hf-68 error again with Ava's ROM. Then I went to CM6 (release version this time) with King's first CM6 kernel and it worked for the entire time I ran that (about 3-4 weeks). Then i started having some unrelated issues so I decided to try Virus's new sense ROM based off of 3.28 leak release (RC2) with King CFS7 and low and behold I get the error again every time during the point when it is downloading the phonebook.

I am going to try Virus's senseless when he finishes uploading it and try that. I wonder if it has anything to do with the sense contacts...

So frustrating when you buy an expensive piece of equipment and it works so inconsistently.
[HD2 General] THUDUK:
Does anyone know of a way to run Windows mobile on an Android device ?
[HD2 General] hagba:
Very funny ,are you serious,everybody gong the other way .However my personal choice is still lthe WM.
[HD2 General] THUDUK:
yes I am serious, I have tried Iphone, Android but I still believe Windows Mobile is what I have been used to in the past and have some brilliant software that I have collected over the years.

I tried to make my Iphone like the HD2, tried to find the OSmapping UK software as good as Memory map, tried to find a birding app as good as the Collins or the Aviasoft range, I seriously miss the ROM flashing and customisation, sorry Android just doesn't have the customisation that Windows mobile does, my old touch HD was brilliant if a little slowish at times, sync with outlook and my PC was perfect, being able to use actual office applications and I also miss Sense UI.

But just had a thought I know there is a lot of development for porting Android onto the HD2, just wondered if there was a the reverse
[HD2 General] code_monkey74:
i'll trade my hd2 for your galaxy if you want.:)
[HD2 General] me:
With the very few hardware buttons on the HD2, it is nice to be able to program them to do multiple tasks, on double press, triple press, and long press.

Most button remapper apps I've tried don't work at all on HD2--like Doublelauncher, Vito Button Mapper, etc.

H button, not exactly a remapper, but adds some nice functionality to buttons, doesn't work on HD at all either.

I've only found one button remapper app to work at all on HD2, on some of the buttons--AE Button Plus.

Not completely happy with that though. I can only get it to work on 3 of the 7 buttons. Also, it is running in the background all the time, eating up memory, shortening battery life, etc. My HD2 seems to take a whole lot longer to boot up, since installing it.

I came across a thread of what sounds like an excellent button remapping app--

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

The only catch though--it is only for the Rhodium, not for Leo or other devices.

Is there anyone here capable and interested to adapt that button mapper for the HD2? (I'm not a developer myself. Sure would be great though, if someone created that!)

(I have the TMobile USA HD2, latest stock ROM, with latest CHT. I assume such an app would work on both Leo versions.)

-------------

PS In the absence of such an app for the HD2(other than AEB+), is there a way to remap HD2 buttons via the registry, to have different functions for double-tap, triple-tap, and long press?
[HD2 General] jdwrrzmm:
http://xdaforums.com/showthread.php?t=603186
[HD2 General] me:
I am quite familiar with that thread, and participated in it a lot.

However, it does not address my question in this thread at all!

Look at the question in my OP. It says specifically--other than AEB+. The thread you pointed to is a thread about AEB+.

Also, I pointed to the thread of a particular app that is available for Rhodium, and asked if there might be a similar app for the HD2? (No, AEB+ is not a "similar app" to the Rhodium app.)
[HD2 General] Spl4tt:
there is a function to remap buttons in pocketshield too

but i dont think that its better than AEButton Plus.
[HD2 General] rkrims:
Watch this: http://www.youtube.com/watch?v=xmMU2b6TOEY#t=2m15s

On my HD2 stock it is only possible to remap: SEND, HOME*, START, BACK*.

*BACK only if not using Sense

*HOME will respond to remap action but will also take you to home
[HD2 General] treo...not!:
I second this request. The remapper for the TP2 the OP mentioned was absolutely perfect. You could remap down to the application level and could send button presses in multiple configurations to either the OS or the app in question. Fantastic. I hope that such an app can be developed for the HD2, which needs it even more than the TP2.
[HD2 General] IamSav:
I didn't get arguments against AEB+. Yes, it is in-memory resident, but this is way things work - some app must listen keys, if you want map via registry - you just configure some app to listen and run functions. AEB is a one of such apps. And yes, AEB can hook each of 7 keys on HD2.
[HD2 General] rkrims:
But I believe it has same limitations, an AEB user writes this: (http://xdaforums.com/showpost.php?p=7663680&postcount=123)