yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] BlaqkAudio:
Has anyone tested GPS with BFS #10? Does it still get "stuck" every once in a while?
[Hero CDMA Android Development] Decad3nce:
GPS really doesn't drain that much battery. It'll maybe shave an hour off a 24 cycle. The applications polling to USE gps will have much more of a power draw.

I personally don't have anything actively sync'ing aside from Launcher Pro Friends widget and BW. So you should be fine. You can also set BW to use your network location instead of gps.

It should still 'hiccup'. Unless it fixed itself.
[Hero CDMA Android Development] theimpaler747:
Once in a while it does, but it's still pretty accurate!
[Hero CDMA Android Development] BlaqkAudio:
Ah ok :D

I guess I'll just update to CFS #2
[Hero CDMA Android Development] CrashV2010:
Yup, I kept all my notes on how to install it...

File has to be on root of sd card

su

flash_image recovery /sdcard/RA-Darchstar.img

reboot recovery
[Hero CDMA Android Development] theimpaler747:
Except mine is just named RA, so it would be:

su

flash_image recovery /sdcard/RA.img

reboot recovery

:D
[Hero CDMA Android Development] CrashV2010:
RIGHT ON !!!!
[Hero CDMA Android Development] stayclean:
#5 works flawlessly.
[Hero CDMA Android Development] ssolomon:
What order should this kernel be applied in relative to flashing the rom and googleapps?
[Hero CDMA Android Development] The Mac:
Honeybun

just for the heck of it, i flashed #5 to Iced Honeybun (de-oxed sense 2.1 rom)....so far works...

although, it isn't consistent with audible selection sounds...inside, so i cant verify GPS. Network based location does work however.

i had over overclockwidget already installed from the prior UV2 kernal, anyone know if will it pick up my settings and overide the defaults? should i uninstall the widget and reflash to get the benefits of the default OC and sleep settings?

Wi-fi is broke as well....
[Hero CDMA Android Development] feefeeboomboom:
Ty Deca. This is just what the nightlies needed ;)

Sent from my HERO200 using FROYO.
[Hero CDMA Android Development] Decad3nce:
OC widget should auto detect and be fine. You'll need the wlan.ko from cm6 for working wifi. Its in system/lib/modules.
[Hero CDMA Android Development] lilmikeyv:
Running cm6 rc1 with new stable kernel and v10 batt twk...rom runs great...but my wifi is broke...states error...same thing on 08/18 nightly with same setup...anyone else having wifi problems...any suggestions are greatly appreciated
[Hero CDMA Android Development] Decad3nce:
Looks like I'll have to compile a wlan.ko, I'll have it up in post 2 in a sec.
[Hero CDMA Android Development] R2D2-AKU2:
Hi. I downloaded #5 and everything works perfectly except for gps, which gets a lock right away then cuts in and out and then just dies for a long time before coming back to life later.

I ran the code on the 2nd post in adb shell:

mount -t debugfs none /sys/kernel/debug
echo "NORMALIZED_SLEEPER" > /sys/kernel/debug/sched_features
echo "NEW_FAIR_SLEEPERS" > /sys/kernel/debug/sched_features

I didn't get any errors but it doesn't seem to have helped. Are there any other suggestions to fix this?

I'm also running the collins battery script with clock set to 768 and CFS enabled. Is this a kernel issue, a rom issue or collins battery script issue? Thanks a million in advance!
[Hero CDMA Android Development] Decad3nce:
The Beta10 of collin_ph battery script loads CFS tweaks automatically. Setting NORMALIZED_SLEEPER to NO_NORMALIZED_SLEEPER and NEW_FAIR_SLEEPERS to NO_NEW_FAIR_SLEEPERS, this kicks up performance, but it also hinders how gps works.

The disable/enable feature in the script doesn't work either in beta10. The command uptop eradicates that but only temporarily.

Bug collin_ph about releasing the RC1 which has this fixed :p
[Hero CDMA Android Development] theimpaler747:
You said you have cfs enabled? Its clearly posted on the first page that cfs will break GPS

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] R2D2-AKU2:
Thanks for the superfast reply! I will bug him. ;)
[Hero CDMA Android Development] Decad3nce:
CFS is completely fair scheduler. It is present in every android kernel(hell maybe even linux. Tweaking it, like I showed above, will give priority to new tasks and 'idle' running tasks such as gps, which means that libgps doesn't 'refresh' like it's supposed to.

I've stopped tweaking the sched_features, it is evident in my github commits. If people would like to do it, they can use collin_ph battery tweak script.

I don't want to 'break' something to increase performance.
[Hero CDMA Android Development] lilmikeyv:
Sweet, I'll wait patiently...u always do great work...thank u...and thanks for the quick response!
[Hero CDMA Android Development] The Mac:
will i be able to flash ur new wlan.ko for my broke wifi on 2.1? (i extracted it from cm6, but cant figure out how to push it)
[Hero CDMA Android Development] Decad3nce:
yep. 10char
[Hero CDMA Android Development] Visionikz03:
i get random reboots with "stable" release... i was scaling cpu to 768 with oc but im not using collin battery tweak... had to nandroid back :(
[Hero CDMA Android Development] theimpaler747:
Were you running the #5 kernal? No reboots for me... maybe your phone can't handle 768?

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] Decad3nce:
I can't help you unless you can grab me a last_kmsg/logcat with the reboot.
[Hero CDMA Android Development] Decad3nce:
Added stable #7 (note it is different from the experimental #7). It has the wlan.ko in the update.zip, it flashes clean, and wifi works. promise.
[Hero CDMA Android Development] The Mac:
#7 fully functional (except for audio selection issue) Iced Honeybun (2.1 sense) now for batterylife testing....
[Hero CDMA Android Development] nspot:
After reading the many posts throughout this thread on how BFS offers a noticeable performance boost, I was wondering if anyone who uses this branch of the kernel has noticed any noticeable battery life improvements. Is this the case?
[Hero CDMA Android Development] theimpaler747:
Battery is about the same on BFS and CFS... which means that it's great :D
[Hero CDMA Android Development] arodey:
Keep up the good work Decad3nce!!! Hope the arm heals fast.
[Hero CDMA Android Development] nspot:
Alrighty; thanks for the quick reply.
[Hero CDMA Android Development] TP2DH1:
I can deal with loosing an hour off a 24 cycle. Was using network location before since the GPS in prev kernals would drain the batt.

#10 seems to have fixed that issue! :)

Tested it inside & outside using different mapping apps & this is a win!

On another issue, any idea why 2.2 would only utilize the Sprint Airave during a phone call and not stay connected to it when not in a phone call as 2.1 did?
[Hero CDMA Android Development] madeSICC:
So im pretty new to rooting and have been reading up on kernals, i had originally put #8 on when i first flashed cm6, and now i have upgraded to this newer version. I used setcpu to OC it 710.

I have been searching but have yet to find a good post that says the pros/cons about overclocking, like if setting it to max had any repercussions . If you guys could let me know or tell me where i can find it i would appreciate it.

also everyone seems to just talk about the max setting, what about the min level? should that be left at the lowest or what?

You guys have dont some amazing work on this phone, its a completley diffrent tool compared to what i was using just a few days ago.
[Hero CDMA Android Development] theimpaler747:
There's really not a con to OCing, the only possible one is if you push your phone to high and it cant support the frequency, It'll reboot randomly. I would put the screen on min pretty high for performance reasons (710-500mH), and then set a low screen off (354-245). Let me know if this helps, or if you need anything else :D
[Hero CDMA Android Development] brokentoaster24:
Great work as always deca. Newest bfs works well for me
[Hero CDMA Android Development] madeSICC:
Ill give it a shot. Thank you.

So is 710 a good number to keep it at or should i just max it out?
[Hero CDMA Android Development] hotaru:
i'd max it out, but make sure set on boot isn't checked and see how it runs for a few days (you'll have to set it again each time you reboot). if it seems to be running ok (no random reboots), go ahead and check the set on boot option.
[Hero CDMA Android Development] madeSICC:
Thanks ^, yea i was also wondering if i should check the boot option. I will see how it runs for a while. Its doing great so far.
[Hero CDMA Android Development] theimpaler747:
Only max out if you can: if you have any random reboots or lockups, lower the frequency after boot, so make sure you don't set frequencies at boot unless you are 100% sure they're good for your phone :)
[Hero CDMA Android Development] theimpaler747:
Yeah if it's running well then you're probably good, but give it a full day to see :D
[Hero CDMA Android Development] scott2020:
What is the ramzswap.ko for?

(tried search, it is down!)
[Hero CDMA Android Development] Decad3nce:
It's for compcache.

Push it to system/lib/modules

go to terminal

compcache start

then type

free

to see if its running.
[Hero CDMA Android Development] edisonalvarez:
Just wanted to say thank you once more for all the work you put into this. I thinkvi speak for many here when I say your work gets better and better just like the CM roms!
[Hero CDMA Android Development] theimpaler747:
+1 to that

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] lilmikeyv:
I want to try out the ram swap, because I saw someone post that it allows the phone to run smoother with Pandora, which I use a lot. I downloaded the file to my sd card and tried to flash, but it wouldn't. It gave me a bad sig error. I tried searching the thread and back on page 50(or close) they mention about adb pushing to a certain file.Sorry, but this seemed confusing to me. Is there any way to do it with terminal emulator? or can I move it somehow with astro file manager? Plz any suggestions are greatly appreciated. I have a class 6 card and it has been partitioned which I saw seemed to be pre-requisites. Thanks in advance...these kernels are awesome! I want to take full advantage.
[Hero CDMA Android Development] Decad3nce:
The zip isn't flashabled, extract the ramzswap.ko module from it and push it via adb.

adb remount
adb push ramzswap.ko /system/lib/modules/
[Hero CDMA Android Development] t12icky0:
im assuming the " Enabled USB_DIAG function for you CDMA workshop users" is for the Sprint sense roms? or can the diag be used for like CM6 rc1?
[Hero CDMA Android Development] Decad3nce:
Should work on both. Check below from hotaru.
[Hero CDMA Android Development] lilmikeyv:
Sweet, thanks man!!! I love your kernels and really appreciate you taking the time to respond to my question...that why you developers and this forum rocks!!! Thanks again!
[Hero CDMA Android Development] theimpaler747:
It should work on cm6

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] bray424:
Does the new RC2 of Collin_ph battery tweak supersede the one in the in the second post of this thread, or are they pretty much the same thing, with the one in this thread having a few more options?
[Hero CDMA Android Development] Decad3nce:
Just about the same thing. Different defaults, but that's about it.
[Hero CDMA Android Development] chinkster:
which one of the stable kernels saves the most battery? im taking a guess with #7 because its cpu governor is set on interactive?
[Hero CDMA Android Development] theimpaler747:
The one with the schedule set to noop should be best on battery

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] rhotondm:
Just switched from #9 to the new #10 (691 Capped). Also reflashed the battery tweak. I am a happy camper. My quadrant scores are higher and my GPS locked instantly within 3 meters, no fixed needed. Thanks Decand3nce! Nice Work!
[Hero CDMA Android Development] fifedogg:
Is Interactive mode not stable yet on the BFS Kernel? My phone runs excelent with the #10 except I have an annoying lag when I try to unlock my phone and or answer a phone call. I dont use SetCPU or the battery tweak so I cant change the governer...

I would love to have a verison that has interactive enabled without using SetCPU or the battery tweak as I've had problems with both. SetCPU always defaults to 480 no matter how many times I reinstall it and mess with the settings after about 15 mins my phone gets slow and when I check the app it says its at 480 and as soon as I set it back my phone is back to being super fast. The battery tweak made my phone last 2 days but when I try to browse the web or do anything else that requires a lot of cpu it lags real hard.
[Hero CDMA Android Development] theimpaler747:
See the first post, there's a way to change to gov. Without set CPU

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] fifedogg:
Is there supposed to be a conformation message? I did what it said and it doesnt say anything or give me a conformation. I'm doing this running the terminal emulator.

I typed:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[Hero CDMA Android Development] Decad3nce:
just

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

again

It should say 'interactive'
[Hero CDMA Android Development] fifedogg:
It just relists the available governors and doesnt show me anything else...I'm using the emulator to type this in btw.

Edit:

Nevermind, I had to type "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" and it showed up 'interactive'.

Thanks for the help
[Hero CDMA Android Development] Decad3nce:
lol, fail on my part

I meant

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[Hero CDMA Android Development] realtalk87:
I just unlocked my alltel hero 2 days ago..i know what all this mean but I dont know how to do it. Whats the simple yet straight to the point way of doing this what do i need? I downloaded #5 if #5 isnt good one is the best?
[Hero CDMA Android Development] fifedogg:
Thanks for the halp Deca! My screen lag is 95% gone.
[Hero CDMA Android Development] stayclean:
Any of the BFS kernels slow down my phone, whereas any stable runs fast as hell. Weird..
[Hero CDMA Android Development] fifedogg:
have you tried to benchmark in between the two?
[Hero CDMA Android Development] stayclean:
No, I don't do any benchmarks.
[Hero CDMA Android Development] theimpaler747:
Just flash this zip from recovery like any rom, I'm on the bfs #10 and its working great :)

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] Atticustrd:
is it safe to flash this if i dont have ramzswap?
[Hero CDMA Android Development] fifedogg:
Yes it is...
[Hero CDMA Android Development] Atticustrd:
Thanks.

What should i keep my set cpu at ondemand or interactive?
[Hero CDMA Android Development] nspot:
Really odd problem

So I was using the latest Stable when I decided to switch to BFS. Flashed the latest BFS and deca's batt tweak. Ran fine, then went into recovery to flash stable again. Rebooted, and lost root access. I think that is what happened because i could no longer run "su" in terminal emulator, or any other root actions (tethering). Also, Superuser was running fine, so that wasn't the problem. Can someone explain how this could have possibly happened? NAND-ing back to an earlier backup, hopefully I keep my shell that way.
[Hero CDMA Android Development] davec1234:
I've switched back and forth a million times (bfs won't work for me), never had that problem.

CM6 Android 2.2 Froyo Darchstar

Radio 2.42.01.04.27

*Bite me Sprint!
[Hero CDMA Android Development] davec1234:
Interactive runs choppy on mine, I use ondemand.

CM6 Android 2.2 Froyo Darchstar

Radio 2.42.01.04.27

*Bite me Sprint!
[Hero CDMA Android Development] Vandelay007:
+1 to this, my phone runs nice and smooth with setcpu set to on demand
[Hero CDMA Android Development] nspot:
Did a system wipe, wiped EXT partitions, re-flashed everything, got my shell back. FML for all the work -_-
[Hero CDMA Android Development] CrashV2010:
Before you go into recovery, did you turn off jit and compcashe ? Try that !!!!
[Hero CDMA Android Development] nspot:
I was never using either.
[Hero CDMA Android Development] bravo1565:
Been running bfs#10 and I must say its very fast great job decad3nce
[Hero CDMA Android Development] Brandito:
can anyone give me a rundown of what the gps hiccup issue is with the bfs kernals? i've been running #14 and now #2 and things are great, but if bfs is faster i'd like to check it out, just wondering what issues i might find.
[Hero CDMA Android Development] CrashV2010:
What tweaks are you using, sir ?
[Hero CDMA Android Development] nspot:
I was running deca's battery script as well as darktremor's Apps2SD script.
[Hero CDMA Android Development] theimpaler747:
You may have a situation where gps appears to lock, but then in about 5 minutes it freezes and losses its like, then regains it. Gps is working fine for me though with bfs #10 :)

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] CrashV2010:
The apps to sd card is built into Froyo just use that don't use the tweak, sir...
[Hero CDMA Android Development] nspot:
I prefer to user the script because it allows me to install apks on an EXT4 partition, which gives me journaling and other goodies. Also, gives me easy management over swap and lowmem paramaters. Plus, auto zipalign of every apk.
[Hero CDMA Android Development] CrashV2010:
So the tweak works great ?
[Hero CDMA Android Development] nspot:
As I mentioned earlier, my phone is running smoothly now. To answer your query; yes, darktremor's Apps2SD script runs perfectly.
[Hero CDMA Android Development] nspot:
As I mentioned in an earlier post, my phone is now running smoothly. To answer your query; yes, darktremor's Apps2SD script is running perfectly for me.
[Hero CDMA Android Development] t12icky0:
awsome..used your second post for the GPS fix and got a lock within 30 seconds...awsome. it took about 2-5 minutes before i did the fix. thanks man. really didnt feel like going back to fresh just to get a GPS lock..lol.

ALSO will your battery tweak(DECAMOD) work with the orignal RC1(running 8-24 nightly)?
[Hero CDMA Android Development] fifedogg:
Deca... I noticed even with Interactive enabled on BFS that my phone still has the lock screen lag upon wake as well as when I answer my phone calls. The Stable kernel has no lag upon wake but isnt as near as fast doing everything else. Is this always gonna be this way with the BFS kernel? I believe when I used that same kernel a few releases back there wasnt any lag for me but with the last few releases it has been. I also notice nobody else saying anything about there devices laging on the BFS. Just something I'm curious about as I'm now using the stable version.
[Hero CDMA Android Development] madeSICC:
I do get the occasional wake up lag as well. I notced too that everyonce in a while it wont register when I hit the end key to wake it up too. No complaints though as that is the only thing that I have noticed and it falls far short from the problem sI had before rooting. So I'm a happy camper.

But do you guys have any clue as to why my end key doesn't register all the time? Is that more of a rom issue rather then kernal?

Froyo!
[Hero CDMA Android Development] fifedogg:
I've also had this same problem since using CM6 but I just thought I was crazy. But yeah like you said these minute things are a small price to pay when my phone is running way better than it was before froyo.
[Hero CDMA Android Development] Decad3nce:
I'll be pushing some i2c(touchscreen) changes/fixes for the next builds. Might even be today. Might.
[Hero CDMA Android Development] fifedogg:
Your the Man Deca! Always trying to improve things for us! When I get paid friday I'm gonna send you a donation :D
[Hero CDMA Android Development] Pwn3d:
What do you think is the best BrainFuct kernel for the fastest speed and best battery life.

Should I use an uncapped or capped?
[Hero CDMA Android Development] dirkyd3rk:
This might not make any sense(pun intended) lol but I'm using the latest CAPPED 691 BFS KERNEL and I tried it for a day with jit on and decas batt mod and I could only get 8 hrs off full charge it was crazy now I'm trying same kernel with out jit enabled and decas batt tweak and so far off full charge I'm at 16 hours so that's my test so far.
[Hero CDMA Android Development] Pwn3d:
So I should get these 2?

Battery Mod

Capped 691 BFS
[Hero CDMA Android Development] fifedogg:
you'll just have to try them out see what you like best. I'm using the latest stable uncapped no battery mod and I was able to get 30+ hours out of my phone when I wasnt using it much. Maybe just a few texts and a few 3 min phone calls.
[Hero CDMA Android Development] Pwn3d:
Can I get rid of the Battery Tweak?

-If I ever want to-

Btw, what exactly does JIT do?

I added it at one time and didn't see a difference with anything, so I just disabled it; it can't hurt my phone can it?:confused:
[Hero CDMA Android Development] Vandelay007:
Go to terminal emulator

su

batt-rm.sh

Hit enter and it's gone

Type batt-cfg to verify, if you choose
[Hero CDMA Android Development] theimpaler747:
Thank you so much man for managing this when I'm busy, I appreciate it so much, you may have to go one more day lol :)
[Hero CDMA Android Development] Decad3nce:
Updated. Found some bugs while doing .34. Some help from s0be.
[Hero CDMA Android Development] theimpaler747:
Cool thanks man, will flash in a minute :D
[Hero CDMA Android Development] Vandelay007:
I just don't want to step on your toes! I guess I just wanted to repay you for all the help you have given me!
[Hero CDMA Android Development] Vandelay007:
So now #5 is better than #14?
[Hero CDMA Android Development] Decad3nce:
Sorry, it's not really in numerical order. But yes, it has the most up to date changes.
[Hero CDMA Android Development] theimpaler747:
No, please keep going! I won;t really be available until tomorrow, so please by all means keep it up, I really mean that and I appreciate it man :)
[Hero CDMA Android Development] Vandelay007:
Anytime!
[Hero CDMA Android Development] stayclean:
Just flashed #5, so far so good.
[Hero CDMA Android Development] gidkid:
Oh no! Latest BFS release drops all the frequencies under 245 mHz! I liked 160... It saved me a lot of battery... RIP. Now I have to make a big decision - switch kernels, stay with my current BFS, or take the upgrade and sacrifice my beloved low frequencies...
[Hero CDMA Android Development] Decad3nce:
It really won't affect battery life much.. if at all.
[Hero CDMA Android Development] theimpaler747:
+1 I've never actually noticed savings under 245-354, and trust me, I've tried them all :D
[Hero CDMA Android Development] laie1472:
A Dec u out did urself on the latest bfs my GPS locked asap stayed for my whole 3hr trip and its insanely fast thanks for all the hard work

Root-Hack-Mod-Always™
[Hero CDMA Android Development] mrinehart93:
Guys, stop whining about the dropping of 145mhz min. From my experiences, the battery did not drain any slower than it did at 245, and when I had the phone at 145, the lockscreen took FOREVER to unlock... sometimes taking 3+ seconds.
[Hero CDMA Android Development] mrinehart93:
Wait what? I just downloaded the #11 that was closest to the top of the page for BFS. That's the newest right? I would assume so since it says 9/28/2010, but ya never know :P
[Hero CDMA Android Development] Vandelay007:
It depends on if you want the bfs kernels or not...I don't because I am yet to get a lock on GPS with it....
[Hero CDMA Android Development] theimpaler747:
Correct, that's the newest, the other numbers are referring to the stable :D
[Hero CDMA Android Development] theimpaler747:
I know, these are really amazing :)
[Hero CDMA Android Development] Vandelay007:
Were you able to get a GPS lock on previous bfs? I am hesitant to try it because I've never been able to on any other ones