yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] Bad--Dog:
Yes there is definitely a memory leak on the bfs kernels as I stated on 9/28 in this thread. And it was suggested that my lowmem settings were not sticking..... No the bfs kernels leak the stable ones don't leak, I've flashed them tons of times always with same results. The #14 is still the best running one, best quadrant scores best membench scores of any stable just flash it and forget it now that being said I'd still use bfs if it didn't leak and yes I've tried with and without jit same results

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] mikethechap:
Reboots and upload data from kmsg

I installed the most recent upcapped, then the most recent nightly, and the gapps, and finally the decad3nce battery fix.

It seemed to be functioning fine last night. When I woke up this am, it had shut off and would only keep rebooting. I went into recovery and reflashed the nightly. IT seems like its working again.

PEr your request, I posted the last kmsg.txt. I hope this helps!:)

Thanks for all your work!

Update: I suppose it could have been low on battery. It looks like its charging now. BUt, it was charging last night when I went to sleep, too. And, that doesn't seem to explain the boot-looping while it is charging and plugged in.
[Hero CDMA Android Development] uf20wop:
i had a similar

my phone booted, loaded CM6, then rebooted and hung on the htc screen

gonna wipe and reflash, but probably not use the current BF kernel... this has never happened before.
[Hero CDMA Android Development] umrico:
Someone can correct me if I am wrong but from what I understand...Kernel goes AFTER nightly...as the nightly writes and brings its own kernel...
[Hero CDMA Android Development] danaff37:
Yes that is correct. If you flash a rom after the kernel, it is over written.
[Hero CDMA Android Development] madeSICC:
Been using bfs #12 since the release and would have some major lag here and there. Just flashed stable #6 to give it a try since I've never used a stable version

Seems to be running really smooth right now.

Froyo!.... its whats for dinner.
[Hero CDMA Android Development] Decad3nce:
The 'major lag' may just be from the inability of BFS to utilize GROUP_SCHED which is the work around that I used for the lagtastic dalvik-spam of "Failed to find cpu subsys" in the stable branch.
[Hero CDMA Android Development] madeSICC:
Haha sorry I don't really know what that means. Fairly novice when it comes to the technical aspect of this stuff.

So with the bfs kernal it a a normal occurance to have some lag. I have enable compcache for a couple of days now. Not really sure what it does but could that of been the probelm. I really liked the previous bfs kernals and would like to go back to them

Froyo!.... its whats for dinner.
[Hero CDMA Android Development] Decad3nce:
They're still available, the previous bfs kernels I mean.

The bfs kernel will have the dalvik spam which does create lag every now and then; I'm not sure of any other consequences that the spam may have.
[Hero CDMA Android Development] madeSICC:
Yea I did think about going to #11. I didn't have any problems with that release. I just thought I would give #6 stable a try

Froyo!.... its whats for dinner.
[Hero CDMA Android Development] Stramondroid:
Trying to educate myself.

Using the latest BFS, loving it!

I was wondering what the differences are between the likes of scaling?

Which is the best to use, or are there certain situations in which different types of scaling should be used? Im using interactive, as it was the default, but ondemand sounds good too, Im torn.

Thanks for any info..

And thanks for all your hard work. After researching exactly what this was, you should be given a nobel prize... HA!
[Hero CDMA Android Development] madeSICC:
I use ondemand for both of my profiles.

Froyo!.... its whats for dinner.
[Hero CDMA Android Development] Vandelay007:
I find that the only way to get a lock on GPS with bfs is with interactive and I keep my screen off set to power save
[Hero CDMA Android Development] madeSICC:
Hmmm I've never had the GPS issue. I used interactive for a while too and didn't have any problems with running that either but I just set it to on demand now

Froyo!.... its whats for dinner.
[Hero CDMA Android Development] srthimsen:
I had issues with stable #6 and stable cm6.0.0 and battery drain. Both my friend (same setup) and I had extremely fast battery drain, 10% for him in a half hour (I use an extended battery, so it's not as dramatic). I was showing that the display was using 80% of the battery. I reverted to #5 stable and display is back lower in battery use.

Anyone else notice this?
[Hero CDMA Android Development] Decad3nce:
I can easily get 20+ hours with #6. Easily.

Check for anything that may be a holding a wake lock. Otherwise, wipe dalvik, wipe battery stats, calibrate.
[Hero CDMA Android Development] srthimsen:
I'll try reflashing and wiping dalvik, thanks. How would I check for wake lock? My configuration hasn't changed for awhile, nor my apps.
[Hero CDMA Android Development] Decad3nce:
Have your apps updated though?

And you can check via

cat /proc/wakelocks

also, you can check using ddms.

I think there's an app on the market called "watchdog" that lets you see it too.
[Hero CDMA Android Development] srthimsen:
Many thanks, not seeing anything too abnormal at this point - I'll see how the rest of the day goes with battery life, I have a feeling wiping Dalvik probably took care of the issue.

Thanks again! It's nice having a useful phone again.
[Hero CDMA Android Development] metal666fukhead:
Is this kernel under volted?
[Hero CDMA Android Development] feefeeboomboom:
Deca, is a slow startup on reboot normal with the stable #6 kernel? It takes at least 1 min for the sdcard to stop searching for errors and another to load apps. Noticeably slower then stock or bfs kernels.
[Hero CDMA Android Development] theimpaler747:
Yes it is :)

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] srthimsen:
Just an update, wiping Dalvik seems to have fixed the issue for me. Thanks again.
[Hero CDMA Android Development] metal666fukhead:
Sweet thanks I'm gonna give the stable #6 a try on nfinites stock .7 rom
[Hero CDMA Android Development] Decad3nce:
It'll be slower than the BFS kernel.. but not sure what you mean by 'stock'? Do you mean the actual HTC kernel, untouched?
[Hero CDMA Android Development] Brandito:
i'm getting some major lag and i'm assuming it's from this latest kernal, might go back to #5
[Hero CDMA Android Development] metal666fukhead:
Can I assume I don't need to run the module remover first? And are all the kernels under volted bfs and stable? Thanks
[Hero CDMA Android Development] theimpaler747:
Correct, all undervolted
[Hero CDMA Android Development] feefeeboomboom:
Well stock like the cyano kernel that comes with the rom.
[Hero CDMA Android Development] Decad3nce:
That kernel is really similar to my stable branch. A few different changes(all for the better IMO).
[Hero CDMA Android Development] theimpaler747:
I agree, your updates are better :D
[Hero CDMA Android Development] Decad3nce:
I need something to work with. If I can't recreate this "lag", I don't know what to tell you.
[Hero CDMA Android Development] brokentoaster24:
Deca, I think the memory leak may be similar to the issues with darch's 2.1 builds. I've been using the bfs and I've found using the ol "toggle auto-rotation" trick helps
[Hero CDMA Android Development] feefeeboomboom:
I don't have access to a computer so nvm.
[Hero CDMA Android Development] uf20wop:
don't know whats going on with this rom/kernel

this morning i rebooted my phone and it told me i had a UID mismatch and i needed to wipe

so i wiped, reinstalled everything, titanium backuped my apps, rebooted, and got stuck in a reboot loop

:(
[Hero CDMA Android Development] danaff37:
You can still use terminal or log cat app from the market. Don't have to have a pc to share log cat
[Hero CDMA Android Development] theimpaler747:
What settings did you have the kernel at? Because if your phone can't handle 768 without rebooting (many can't) you'll need to use the capped version of either kernel
[Hero CDMA Android Development] feefeeboomboom:
I can't get dsmeg or logcat for a boot up without a comp tho ;)

Maybe with os-monitor.. idk ill look into it.
[Hero CDMA Android Development] startak11:
is there a possibility of getting a capped 691 version of the #6 decand3nce?
[Hero CDMA Android Development] Rivas123:
What's the diff between capped and uncapped?
[Hero CDMA Android Development] Decad3nce:
Yeah, I'll throw one up tomorrow.
[Hero CDMA Android Development] metal666fukhead:
I tried the stable #6 on nfinites .7 odex rom and it worked alright till I noticed the memory kept dropping till the point that I couldn't use the phone some major memory leak cuz I didn't even have it running for more than ten minutes
[Hero CDMA Android Development] theimpaler747:
Capped allows people who can't handle 768 to boot up, and it caps your max frequency to 691

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] Rivas123:
Makes sense lol thanks
[Hero CDMA Android Development] Btaz:
Battery Drain

Anyone else noticing a huge battery drain? I am using CM6, latest BFS, and setcpu. With reading the forums around and trying many of the suggested settings I cannot get my battery to stay charged longer than 5 hours with little use (If I am using it heavily I can get by for about 2 hours). Any ideas how to check to see what it running so heavily?
[Hero CDMA Android Development] danaff37:
There's a lot of ways. But I would start by removing set cpu.
[Hero CDMA Android Development] metal666fukhead:
Has anyone else experienced a memory leak with the stable #6 I had it running for less than ten minutes and the ram dropped so low I couldn't even use the phone
[Hero CDMA Android Development] theimpaler747:
No problem man
[Hero CDMA Android Development] danaff37:
People with memory leaks, I'm curious, what rom are you running?
[Hero CDMA Android Development] Decad3nce:
Okay, it's up in OP.

Sorry about the delay, was working on other things yesterday on spaced off.
[Hero CDMA Android Development] joehunni:
So if I needed a quick rundown of cfs stable vs. the bfs kernels, where exactly should I look? I'm running aospmod rom and will be using a 691 capped version regardless so which should I use?
[Hero CDMA Android Development] theimpaler747:
BFS is faster for single tasks, but risks GPS, while CFS is better for multitasking and stable all around GPS use :)
[Hero CDMA Android Development] Decad3nce:
Thats up to your personal preference and how you use your phone.
[Hero CDMA Android Development] joehunni:
So sounds like bfs wins? Which would y'all prefer?
[Hero CDMA Android Development] theimpaler747:
I use BFS and GPS actually works 100% fine for me. But if you want 100% pure stability, go CFS
[Hero CDMA Android Development] stayclean:
BFS kernels, to me, have always been laggy compared to the stable ones. Haven't tried the latest BFS though, so maybe I'll flash that later.
[Hero CDMA Android Development] hotaru:
bfs is a lot smoother (but make sure you set it to on demand scaling instead of interactive scaling!), but i'm using the cfs one now because i got fed up with my phone rebooting almost every time i installed anything from the market.

the cfs one was horribly laggy when i first installed it, but since i switched to interactive scaling it's been running a lot better... not quite as nice as bfs, but i'm willing to sacrifice some performance to not have my phone reboot like it was doing.
[Hero CDMA Android Development] Decad3nce:
What kind of reboot? hard reboot? soft reboot?
[Hero CDMA Android Development] hotaru:
soft reboot (no htc splash screen, just the cyanogenmod one). and there wasn't anything showing up in logcat to indicate why it was doing it.
[Hero CDMA Android Development] Decad3nce:
Strange.. wish I could get a dmesg of that.

Also, that sometimes means its pegging the cpu(though that usually shows in logcat). Not sure.
[Hero CDMA Android Development] startak11:
thank you sir.
[Hero CDMA Android Development] Decad3nce:
Let me know if wifi works.. I didn't flash to check :S
[Hero CDMA Android Development] hotaru:
i just flashed the bfs kernel and tried to get it to do it again... now it won't reboot, i just get lots of "Failed to find cpu subsys" spam in logcat and really bad lag instead (with cpu usage going up and down between about 60% and 95%).
[Hero CDMA Android Development] Decad3nce:
Yeah. You'll always see that with the .29 kernel and BFS.

GROUP SCHED is eliminated by the BFS implementation and is required for the davlikvm in Froyo. That's why you see the "Failed to find cpu subsys".

I could see about repatching Group Sched in. But Idk how that'll go over, and how it'll function.
[Hero CDMA Android Development] LiquidSolstice:
I know this sounds bat**** crazy, but would this even boot if I flashed it to NFinite's stock ROM just for ****s and giggles?
[Hero CDMA Android Development] metal666fukhead:
I used stable #6 on nfinites .7 apps 2sd and within ten minutes it started getting laggy so I checked available ram with android system info and the ram just kept dropping by the time it hit 17mb available I had to pull the battery cuz it wouldn't do anything
[Hero CDMA Android Development] LiquidSolstice:
Wait, so you're saying that in theory, I should be able to use these BFS kernels on a Sense-based 2.1 ROM? @_@ If it's stable, I'd absolutely love to do so. :)
[Hero CDMA Android Development] metal666fukhead:
I didn't use the bfs kernel as it is not stable I used the cfs kernel which is stable but I had major memory leak which made the phone unusable so I'm back to zen kernel for now until decadence releases the patch I would say try the stable #6 first and see if u experience similar results cuz I'm curious if it is just me
[Hero CDMA Android Development] hotaru:
it'd be nice if sprint would get a newer phone that's as good as the hero... i probably won't give up my hero until they do.
[Hero CDMA Android Development] theimpaler747:
The evo, or a new dual core phone would be fine with me
[Hero CDMA Android Development] theimpaler747:
Well this isn't a kernel issue... are you using a them or anything? What's your baseband version?
[Hero CDMA Android Development] mattcoz:
No theme, baseband version 2.32.40.11.09.

I actually just updated to the latest BFS and it seems to be working better, but I'm probably imagining that. I'll report on if the problem continues or not.
[Hero CDMA Android Development] theimpaler747:
Ok, and if it does update your radio, yours is very old.

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] cjdalessio:
From what I have found this is a problem in the email app itself. I bet you get log spam starting with GC_MALLOC and GC_EXPLICIT when this happens. There is a bug open with Google that has some logcats but no response last I looked. It may be something expected in the kernel that's not there I suppose. It's worse with bfs - I was having to reboot daily due to this. Stable seems better in this regard.

Still trying to lock down what us killing the USB subsystem sometimes. Can't even adb when it happens and the phone insists it's plugged in when it's not
[Hero CDMA Android Development] Fyoolie:
Do I have to partition my sd card before installing the most recent stable?
[Hero CDMA Android Development] theimpaler747:
No, only if you have a class 6 and want to use compcache :)
[Hero CDMA Android Development] Fyoolie:
Cool beans. :)
[Hero CDMA Android Development] norm12:
I'm running stable #6 and just popped in a class 6 sdcard---what a world of difference! swap set to 32mb and it just flies through applications. I'm very impressed, thanks so much Dec
[Hero CDMA Android Development] Fyoolie:
Wowwww.. using the newest stable with setCPU... Me likey. :D
[Hero CDMA Android Development] feefeeboomboom:
I'm using stable uncapped 691 on the stock .7 unrooted sprint rom. My track ball light doesn't work,

Is there anything else that this kernel will conflict with on a sense rom?
[Hero CDMA Android Development] Decad3nce:
Grab the lights/sensors.so from system/lib/hw in CM6 and push them to the same place in .7

Nothing else should conflict otherwise.
[Hero CDMA Android Development] Decad3nce:
So, I dropped my max freq to 614400 for the past couple of days.

Barely any drop in every day performance, but battery life have been nearing 30hrs @ 35%.

Also, I'll be dropping an update on this kernel soon, mostly just the hw3d release bug being fixed(thanks erasmux/ninpo) and an update to lowmemorykiller.c.

Waiting on a few testers to give me feedback.

:]
[Hero CDMA Android Development] theimpaler747:
Cool man, and if you ever need a beta tester contact me ;)
[Hero CDMA Android Development] Rivas123:
Yeah id try it out too.

Sprint...Really? Froyo.
[Hero CDMA Android Development] Decad3nce:
I might have it out tonight.

Tests are running beautifully.

3 hours uptime and still pulling about 79-81mb of RAM free. That's with autkiller set to aggressive.

The camera->gallery->camera bug is gone completely.
[Hero CDMA Android Development] theimpaler747:
Very nice! You are one heckuva developer Decad3nce!
[Hero CDMA Android Development] stayclean:
Camera - Gallery - Camera bug being fixed is great news to hear, wow.
[Hero CDMA Android Development] Rivas123:
Can't wait. :D

Sprint...Really? Froyo.
[Hero CDMA Android Development] misfit0313:
Decad3nce, are you using the autokiller app or is there a script to run through terminal? Thank you!
[Hero CDMA Android Development] nspot:
Dartremor's Apps2SD has management of lowmem parameters built-in.
[Hero CDMA Android Development] stayclean:
Going by his post, it sounds like he's using the autokiller app.
[Hero CDMA Android Development] diesel joe:
These kernels make the hero almost as fast as the Evo
[Hero CDMA Android Development] Decad3nce:
Waiting for 1 more 691 version to compile. Sorry about the wait :P
[Hero CDMA Android Development] Decad3nce:
K, They're up.

I've only tested the stable 768mhz one. So if I can get feedback on the rest, that would be great. :)

PLEASE.

WIPE DALVIK BEFORE OR AFTER FLASHING THESE KERNELS.
[Hero CDMA Android Development] madeSICC:
Downloading now...
[Hero CDMA Android Development] stayclean:
About to flash the 768mhz #9 now, so glad the Gallery bug is fixed.
[Hero CDMA Android Development] madeSICC:
Its beautiful man, the gallery is flawless and so so quick. Ill play with it more tomorrow. Just pulled a 495 score with it though. Using the bfs version
[Hero CDMA Android Development] Rivas123:
Dl-ing. Stoked!

Smooth. This is sweet. Good job sir, keep up the great work.

Btw my phone must be odd, it flies on interactive, noop, and 614400. I put it on performance and deadline and it slows up and lags. So why would that be?

Sprint...Really? Froyo.
[Hero CDMA Android Development] CrashV2010:
Just hit almost 5.4 with newest stable kernal....(#9)
[Hero CDMA Android Development] mquinn24:
Nice work on the latest kernel. No problems so far on stable #9 691.
[Hero CDMA Android Development] uf20wop:
what are the major differences between the BFS and normal kernel?

i'm assuming the BFS is a little faster?
[Hero CDMA Android Development] theimpaler747:
While bfs may be faster for some, cfs has consistent gps and is better for battery IMHO. I just made the switch from bfs to cfs and like cfs better :)

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] Fyoolie:
So I have the cfs version but my GPS just said it couldn't find a location. What would be the fix?
[Hero CDMA Android Development] junkshow:
Get the GPS Status app from the market (free) in the app, go into settings->GPS & Sensors->Manage A-GPS Data and select Reset, then select Download A-GPS data.
[Hero CDMA Android Development] Rivas123:
Yeah with that app my gps gets up to 10 meters of my location while I'm indoors. So that's your best bet.

Sprint...Really? Froyo.
[Hero CDMA Android Development] Decad3nce:
So.

Hows everyones RAM? Are there still problems with random depletion?

(I haven't had any on my end)

Feedback?
[Hero CDMA Android Development] Fyoolie:
Cool thanks. I'll let you know how that works out.
[Hero CDMA Android Development] uf20wop:
switched back to CFS

i get a lower quadrant score than with BFS but i feel like my phone runs a little smoother

especially when multitasking
[Hero CDMA Android Development] coffe34:
My RAM is great with new bfs. but completely forgot to set my memkiller for past few weeks so that may have been my issue.

Sent from my SPRINT HERO running CM6... Thats 2.2 sprint...
[Hero CDMA Android Development] kingdazy:
CM6 jaybobs Vanilla 10/12 w/ most recent gapps. CFS 10/12 ~ so far, RAM use is stable, but I did get a few graphical quirks in gallery on rotation (you know the one), but it does feel more responsive in general. And camera>gall>camera is indeed working.

GPS gets great/quick lock, accurate.

397 on quadrant. (is that good? never actually used this app. never really cared about BMs too much... on QuadAdv v1.1.1...)
[Hero CDMA Android Development] nspot:
When running the music app with my car stereo, phone freezes during wake to change tracks and reboots. Using AutoKiller with Strict/Ultimate settings, CM6 stable, Darktremors Apps2SD, and battery tweak set to 691MHz. Will post logcat when I'm free.
[Hero CDMA Android Development] madeSICC:
Do you have a screen off profile? If you do and its set to low it can make your phone go crazy from my experience. I have to uncheck the screen off profile before listening.
[Hero CDMA Android Development] theimpaler747:
+1 to that, it can slow it down when playing music. Disable screen off profile, and let me know how it goes!
[Hero CDMA Android Development] Decad3nce:
He's not using set-cpu guys. No way to have a screen off profile with battery tweak.

I'll look it at. I'd love to see a logcat.

You may want to see if Autokiller isn't interfering with Dartremors memory management; that's the only thing I can think of off the top of my head.
[Hero CDMA Android Development] fortunado:
Anyone else get inconsistent performance? I flashed to CM6 2.2 and then flashed uncapped + batfix with Overclocker Widget and I'm getting pretty choppy performance. After a few hours monkeying with it, the phone behaved amazingly but that didn't last too long.
[Hero CDMA Android Development] theimpaler747:
Do you have JIT on? If so, disable it. Also, make sure you don't use set cpu and the battery tweak together.
[Hero CDMA Android Development] Decad3nce:
You're running OC widget and the battery tweak. Not compatible.
[Hero CDMA Android Development] fortunado:
How do I revert?
[Hero CDMA Android Development] theimpaler747:
Either uninstall OC widget or the battery tweak by typing into terminal emulator:

su
batt-rm.sh
[Hero CDMA Android Development] fortunado:
I figured it out right after I hit post. I removed the OC Widget and now my phone is flying. Thanks thanks thanks and thanks again.
[Hero CDMA Android Development] Vandelay007:
The picture from shoot me wont upload because it says incorrect file type....but I just hit 495 on quadrant standard using #13 768....outstanding work!
[Hero CDMA Android Development] diesel joe:
Can't wait to try this. So with one of the new Kernel's I wouldn't need to run autokiller?
[Hero CDMA Android Development] theimpaler747:
I would still run autokiller... the new kernels just improve memory handling, they don't kill unneeded tasks.
[Hero CDMA Android Development] LifeInTheGrey:
I know this is a little late, but make sure to check "Auto-Rotate" on in Display settings (even if you don't want it, just turn off the rotate angles in CM Settings). I reinstalled stable (went on a nightly binge for a while), and it was lagging like crazy because I forgot that damn auto-rotate.
[Hero CDMA Android Development] diesel joe:
Ok thanks. Glad you are around.
[Hero CDMA Android Development] theimpaler747:
No problem man :) Happy to help