yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] jaybob413:
To look at cumulative process cpu utilization you could do something like:

for i in /proc/[1-9]*; do awk '{ printf "%04d %-30s %10.2f\n", $1, $2, ($14 + $15) / 100 }' < $i/stat; done | sort

This would give you a list of pid, comm, and (utime+stime) per process, sorted by pid.
[Hero CDMA Android Development] il Duce:
Hey crash and imp, deca's right (he did make these kernels). My phone crashes at 768 and never did it until I used the tweak, which of course means the base kernel never went that high even when plugged in.

sent from my hero, which no longer sucks ass.
[Hero CDMA Android Development] ahager88:
+1

It's common knowledge it won't scale up unless set through setCPU or one of the battery tweaks.

Decad3nce - haven't flashed in awhile cause aosp runs so well, but newest bfs release on CM is just... wow. Never seen CM this responsive. Great job.
[Hero CDMA Android Development] theimpaler747:
Yeah, I was thinking about the good old days on darchdroid :)

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] athanos:
I haven't tried one of these kernels in a very long time. I might have to try one out and see. The stock kernel in aospMod works just great for me, speed (quads in the 540's) and stability is what I am looking for. So, since it has been awhile I may give one of these a try again and see what differences, if any, it will make on my phone.
[Hero CDMA Android Development] theimpaler747:
Wow... that's ridiculous. Any typing lag with the aosp kernel?

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] athanos:
no lag for me whatsoever. I have never had any lag on aospMod.
[Hero CDMA Android Development] CrashV2010:
So, were we right, lol !!!!
[Hero CDMA Android Development] theimpaler747:
That makes it tempting......... is there anything you can do deca to reduce typing lag?

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] athanos:
I'm not sure it is the kernel or not. I don't know enough about these things to determine that, lol.
[Hero CDMA Android Development] aosp:
has nothing to do with the kernel;)
[Hero CDMA Android Development] theimpaler747:
Ok, someone said that 2.1 zenulator kernels did something to reduce typing lag, so I guess it wasn't that either :)

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] aosp:
some people also seem to think that sense is android and not an bloated overlay that we can do without:p
[Hero CDMA Android Development] athanos:
I have to agree with this, lol.
[Hero CDMA Android Development] theimpaler747:
Well put ;)

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] Decad3nce:
The kernel he uses should be nearly identical to my set up, depending on when he last compiled. So if you see any drastic differences, let me know.
[Hero CDMA Android Development] theimpaler747:
Apparently it's faster, although that could just be the overall rom
[Hero CDMA Android Development] athanos:
If the kernels are nearly identical then I would think it is the rom that makes the difference. Maybe because aospMod is very vanilla compared to all of the features and additions in CM? Makes a little sense to me, but still over all it is all over my head at the moment, but I plan on learning some of this stuff soon. :)
[Hero CDMA Android Development] theimpaler747:
Probably, and actually it doesn't make sense ;)

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] raiders91340:
Im gonna ask for an honest opinion. What's the fastest Rom between the cm6 10/28 and all the ext. blue vanilla, etc.. ?
[Hero CDMA Android Development] aosp:
the cyanogenmod one:D
[Hero CDMA Android Development] theimpaler747:
Cm, especially with an optimized theme

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] raiders91340:
Ok so is it better to have 10/28 cm6 rc1 with one of ur themes then? Right now I'm using the vanilla Rom from jaybobs thread. (Nov 21 update)
[Hero CDMA Android Development] theimpaler747:
Yup, 6.1.0 with impaled silver or gold and a deca kernel OS the best setup :)

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] tailsthecat3:
I upgraded .7 official OTA to the new software. I rooted it via the .7 root method and deleted all the bloat. Then I flashed this latest kernel to see if it would work and it does. Flashed it over a stock, rooted with clockwork. Runs at 691 all the time, it seems. Im not using any oc app. Pretty fast but when im typing I wish I was using a blackberry...

when can i have blindtype?!
[Hero CDMA Android Development] theimpaler747:
No clue, ask those developers I guess :D

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] raiders91340:
Ok ill try that silver theme of urs out right now. See how good it looks.
[Hero CDMA Android Development] theimpaler747:
Cool, let me know how it goes!

Sent from my hero running froyo... take that Sprint!
[Hero CDMA Android Development] igtheactt1:
Exactly I love typing on a blackberry lol...
[Hero CDMA Android Development] vrajpal:
deleted 10 cars
[Hero CDMA Android Development] Decad3nce:
Nope. Unless you're running something other than CM6 or AOSP. Then you'll need to grab the sensors and lights hardware modules from CM6 and push them to the same place in whatever ROM you're running.
[Hero CDMA Android Development] oostah:
Hay decad teach me something. I was on linpack and some here's are running at 49.702 mflops at 998.4 mhz and 37.094 mflops at 1113 mhz with WWE HTC bravo 2.2 Rom. How are they running around 1000 mhz. The ones that are running the same Rom as me and 768 mhz are getting 5.604 mflops and my best is 3.25 mflops why can't I even get to the average of 5 mflops.
[Hero CDMA Android Development] theimpaler747:
Do you have JIT on? JIT improves scores, but actually lowers overall performance
[Hero CDMA Android Development] oostah:
Lol not sure what jit is or how to turn it on.
[Hero CDMA Android Development] theimpaler747:
CM settings, performance settings, JIT
[Hero CDMA Android Development] Decad3nce:
The HTC Bravo(Desire) has a msm 8250 snapdragon cpu. That's why it can clock higher as it is a more "quality" chipset actually meant for mobile devices. Our chipset lacks the ability for floating point operations, that's why we have such low linpack scores, but that's irrelevant to performance overall.

For the second part. You'd need to have JIT active to get any higher faux performance benchmarks :P

Settings -> Cyanogenmod Settings -> Peformance -> Jit

Then reboot.

There are also a lot of things that could affect linpack results. But, seriously, don't worry about it. The benchmark app is terrible for our device for the reasons I mentioned earlier.
[Hero CDMA Android Development] theimpaler747:
Yup. Benchmarks, not really indicative of overall performance
[Hero CDMA Android Development] oostah:
Ooo I'm running Zen froyo 2.2 Rom and they are to can't figer out how they can get to the average of 5 mflops and Im only getting 3.0 mflops
[Hero CDMA Android Development] theimpaler747:
Ok, you need to edit the build.prop if you want JIT on then... you want me to tell you how to do it?
[Hero CDMA Android Development] oostah:
Ok I understand but they are on a hero running 998.4 mhz and 1113.6 mhz is that safe.
[Hero CDMA Android Development] oostah:
That's ok I don't want to lose any performance trying to get better performance.
[Hero CDMA Android Development] Decad3nce:
You cant clock that high on the hero. The performance begins to bottleneck at 768mhz for our cpu.
[Hero CDMA Android Development] theimpaler747:
Yeah, I wouldn't either ;) Let me know if you ever need anything or if you ever want to and I'll let you know how to do it
[Hero CDMA Android Development] oostah:
I thought you said that a week ago when they was playing with that kernel that was getting up to 800 mhz
[Hero CDMA Android Development] oostah:
Thanks impaler you are a good man.
[Hero CDMA Android Development] theimpaler747:
We were... it didn't work well ;)
[Hero CDMA Android Development] theimpaler747:
No problem :) Happy to help out
[Hero CDMA Android Development] oostah:
I'm running Zen froyo 2.2 beta Rom with dac #16 kernel that came in the Rom. I have set CPU set at 768 max 537 min on smartass if I lower max or min it starts acting stupid bootlooping. You always tell people to lower max to 691 to fix bootloop but I have to run at 768 not to bootloop.
[Hero CDMA Android Development] theimpaler747:
Only lower it if you get random reboots or are unable to boot up. Otherwise you can use 768, I do :D But it's odd that it would reboot at 691.
[Hero CDMA Android Development] oostah:
Lol it don't like 691 or lower it powers off and reboots and soft boots. O can't go lower than 710 max with out it going stupid.
[Hero CDMA Android Development] theimpaler747:
That's really odd... and it doesn't sound right. But whatever ;) :D
[Hero CDMA Android Development] dburg84:
If you want to give it a shot flash AOSPMOD 0.9.8. It can scale to 844mhz. I wouldn't recommend it though
[Hero CDMA Android Development] theimpaler747:
Yeah, it runs slower than 768. :o
[Hero CDMA Android Development] oostah:
That's ok o have learned to listen to the professionals
[Hero CDMA Android Development] theimpaler747:
Hey, thanks man but I'm no kernel pro, I specialize more in Theming and general Android :)
[Hero CDMA Android Development] oostah:
If I flash #43 cfs do I have to wipe any thing or can I just flash the zip. Running sense froyo v8.5
[Hero CDMA Android Development] theimpaler747:
I would wipe the dalvik cache and then flash, expect 10 minutes boot up, but you'll keep all your data :D
[Hero CDMA Android Development] oostah:
Last time I wiped dalvik cache I lost my clock and some other sense things.

Well I'm board so it don't matter.
[Hero CDMA Android Development] theimpaler747:
Oh ok, well you don't have to unless there's issues that arise :D
[Hero CDMA Android Development] oostah:
Ok let's see.
[Hero CDMA Android Development] oostah:
It booted fast didn't wipe dalvik cache. no problems yet. The key vib is stronger when typing.
[Hero CDMA Android Development] theimpaler747:
That probably is unrelated, but glad it's working for you!
[Hero CDMA Android Development] oostah:
Thanks again!
[Hero CDMA Android Development] theimpaler747:
Not a problem, feel free to ask if you need anything or come visit my CM Q&A
[Hero CDMA Android Development] Decad3nce:
Notice:

There are updates in the kernel for AOSPmod that I haven't yet released. So essentially, you guys are beta testers and I'd love feedback.

A lot of it is the Smartass cpu governor being rewritten by Erasmux for performance. The other changes include: revert of the input event handler code removal, and a tweak to the deadline I/O scheduler which changes its behavior to something more like noop.

Essentially, the change just sets the fifo_batch to 1. Meaning a 1:1 read/write ratio which should be beneficial for a flash memory based device like ours. Less latency = Better interactivity.

Just let me know if it improves your day-to-day use.

Commits are on github if you want details.
[Hero CDMA Android Development] hotaru:
what are the advantages of having a separate tun.ko module instead of having it built in?
[Hero CDMA Android Development] Decad3nce:
A user was having trouble with OpenVPN without tun.ko being loadable and having a defined path. Being that I don't have any experience with VPN personally, I just made it modular as per request.
[Hero CDMA Android Development] jaybob413:
Been running with the updates for about a day now. So far, so good. Quadrant scores slightly higher, and subjectively feels a bit snappier. Battery life is still excellent. This was on a fresh CM6 build as of late last night.

Barring any additional updates, issues or feedback to the contrary, I will use this for my next release.
[Hero CDMA Android Development] blakeatl:
Decad3nce...I was trying to let you know on the irc chat that your 11/25 kernel has a wifi error. I can't get on so I posted here.
[Hero CDMA Android Development] jaybob413:
Wifi is working fine for me with the 11/25 source. Did you rebuild/install wlan.ko?
[Hero CDMA Android Development] halrulez:
How do I get my hands on one of them 11-25 builds? The 1118 bfs was really not working like they use to. Jumpy and pauses allot but so does cfs. But totally not as much.

If you have a problem talk to my butt. Cause he is the only one that gives a crap!
[Hero CDMA Android Development] CraigCraig:
I want to test this but don't know how, I have only had my Hero for a month.

I went to Github but it seems like it's just source code files and no flash-able zips, so I assume I have to build it somehow?
[Hero CDMA Android Development] KBizzle:
He probably gave it to folks for beta testing through his IRC chat, not through the forums.
[Hero CDMA Android Development] theimpaler747:
I like it, and it seems to be a little bit faster. Haven't noticed huge increases, but it does seem better to me.
[Hero CDMA Android Development] Decad3nce:
Good to hear about the battery life.

Anyways, threw up another stable(yes #9, sorry for the wait).

Added a few things that should save cpu cycles and thusly get people more battery life!(most changes via Ninpo)

Let me know how it goes.
[Hero CDMA Android Development] stricklerjosh:
I think the link is messed up decadence
[Hero CDMA Android Development] stricklerjosh:
what are the basic differences in the Brainfuct and the new stable? Sorry just debating on which one to flash.
[Hero CDMA Android Development] Decad3nce:
Sorry about that. seems like ['List'] can't list a lot of things without fuxing up. lol. Fail XDA.
[Hero CDMA Android Development] stricklerjosh:
No problem...just wanted to let you know. Debating which to flash now. I had really good results with #8 stable
[Hero CDMA Android Development] Decad3nce:
CFS(stable) vs BFS(brainfuct).
[Hero CDMA Android Development] stricklerjosh:
Ok one last question...can i flash a new kernel on top of the old kernel or do I need to re-flash the rom and then flash the new kernel?
[Hero CDMA Android Development] Decad3nce:
You can flash the kernel right over the top. It only replaces the kernel and the wlan.ko. If you have problems, you can do a dalvik wipe(but you don't have to).
[Hero CDMA Android Development] stricklerjosh:
Thanks man...great work.
[Hero CDMA Android Development] silentpanda:
My phone easily lasts all day now. I love it. Love this kernel, love your work Dec

sent from my froyo runnin hero
[Hero CDMA Android Development] Big-O-Devil:
So for a person that dose not do heavy phone use cfs is the one????
[Hero CDMA Android Development] planetd:
Well...GPS works now on both phones after updating to #9! Whatever happened...good work!
[Hero CDMA Android Development] LifeInTheGrey:
Yup ... after flashing #9, the battery life on my phone has improved quite a bit. Took the phone off of the charger 1 hr 15 min ago, fully charged. Received and responded to 2 texts, had a quick phone call, and tested GPS on the way home. Currently at 98%. If that is the kind of life i can expect, I will be quite satisfied.:D
[Hero CDMA Android Development] duffkitty:
So far so good with #9. I've been using my phone like crazy so can't really comment on battery life.

Sent from my CM 6 Blackmodded Heroc using the XDA app. Now with uncapped kernel and battery tweaks.
[Hero CDMA Android Development] andygu3:
With the 828 and the new stable uncapped kernel, phone perfect. Gps has no problems here
[Hero CDMA Android Development] theimpaler747:
Agreed. I'm on rc1 and using stable kernel #9 and there are no issues, phone is fast and GPS works fine.

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] chefthomas99:
Do i use SetCpu or Collins Tweak with Kernel #9? Or are they not needed?
[Hero CDMA Android Development] theimpaler747:
You do need to use one of them. I prefer set cpu, but its up to you

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] theimpaler747:
Not necisarily, but cfs is more stable than bfs, and GPS will lock properly on cfs

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] Decad3nce:
You'd have to compile it.

Nope. Just pointed out the changes to aosp. He just compiled from my kernel sources and used the kernel for the latest revision of aospMOD, so it is the only ROM so far with the latest kernel with jaybob413's soon to follow. (Two of the best up-kept ROM's btw, and much better than the nightlies)

I have a couple more things I'd like to add/tweak before I release another revision.
[Hero CDMA Android Development] Decad3nce:
Good to hear. I have yet to find any real "ill" effects from this change.
[Hero CDMA Android Development] KBizzle:
I apologize as I am sure this has been asked but I don't have internet at home and this app is useless for searching. What is the fix for losing SU permissions after flashing the battery tweak? Thanks.
[Hero CDMA Android Development] theimpaler747:
Here you go :) Flash from recovery
[Hero CDMA Android Development] KBizzle:
I am assuming I should flash that after I flash the batt tweak?

Sent from my HERO200
[Hero CDMA Android Development] theimpaler747:
Correct, it restores the SU framework
[Hero CDMA Android Development] KBizzle:
I appreciate it impaler.

Sent from my HERO200
[Hero CDMA Android Development] theimpaler747:
No problem, let me know how it goes or if you need anything else :D
[Hero CDMA Android Development] KBizzle:
Actually, I am trying to run batt-cfg from terminal emulator but I'm getting command not found errors.

I'm typing:

su

batt-cfg

That's when I get command errors.

Sent from my HERO200
[Hero CDMA Android Development] theimpaler747:
What is the error?
[Hero CDMA Android Development] KBizzle:
export PATH=/data/local/bin:$PATH

sh-3.2$ export PATH=/data/local/bin:$PATH

sh-3.2$ su

sh-3.2# batt-cfg

/system/bin/batt-cfg: line 7: whoami: command not found

/system/bin/batt-cfg: line 5: fold: command not found

/system/bin/batt-cfg: line 5: fold: command not found

/system/bin/batt-cfg: line 5: fold: command not found

/system/bin/batt-cfg: line 5: fold: command not found

Sent from my HERO200
[Hero CDMA Android Development] theimpaler747:
Try reflashing the tweak from recovery and then the SU frameworks again, looks like it didn't install properly
[Hero CDMA Android Development] KBizzle:
Ok. Will try redownloading and reflashing.

Sent from my HERO200
[Hero CDMA Android Development] KBizzle:
Still a no go. Redownloaded and reflashed. Still getting the same error. If it helps, running NFX Rom based off the new Sprint update with #43 kernel .
[Hero CDMA Android Development] Decad3nce:
Looks like the busybox binary doesn't contain the 'fold' command.

Honestly, the amount of work to get the script working on Nfinitefx's ROM would require a lot of time. It most likely lacks the init.rc call for init.local.rc, and it seems like it lacks the proper symlinks for busybox, or just lacks the fold command like I previously stated.
[Hero CDMA Android Development] cordell12:
Isn't that a 2.1 Rom? I think these kernels only work for 2. 2. Don't quote me on that though,

lol.
[Hero CDMA Android Development] Decad3nce:
Kernels works on any ROM 2.x+

He's having trouble with the battery tweak.
[Hero CDMA Android Development] theimpaler747:
Probably a problem with that particular rom, seeing as it works fine for the nightlies and CM and such
[Hero CDMA Android Development] KBizzle:
Seems odd since I've used the batt tweak with 2.1 tons before. I'll try another Rom in the next few days. I was just wanting to up the clock without using setcpu or oc widget. They slow my phone down.
[Hero CDMA Android Development] theimpaler747:
Ok, well let me know how it goes when you change roms or if you need anything else! :)
[Hero CDMA Android Development] KBizzle:
Impaler, what Rom are you using?
[Hero CDMA Android Development] user7618:
The greatest hero rom known to man or beast. : D

-----

Sent from my CDMA Hero. I got some hot Froyo-on-Hero action here!
[Hero CDMA Android Development] theimpaler747:
Lol yes, CM 6.1.0 with Impaled Silver :D
[Hero CDMA Android Development] Decad3nce:
I just told him what the problem was... Do people ignore what I'm saying on here? I think I might know I'm talking about. (I kind of helped write the damn thing)

Don't know why people turn to you in my thread when I'm the one maintaining both the tweak and the kernel for the entire community :/

But whatever. /rant

If there's enough demand, I'll patch the init.rc in the ramdisk of the boot.img to contain the proper call for init.rc. Noting, I'll also include the CM6 busybox binary as it hosts the correct unix utilities necessary for the tweak to run correctly.

(The above mumbo-jumbo means that I'll get it running correctly with an update.zip ready to flash for your particular ROM IF there is enough demand)

That, or I'll just send the patch to Nfinitefx and he can just add it to the next revision.
[Hero CDMA Android Development] KBizzle:
Alright, I'm assuming that means your own compiled Rom. Just trying to figure out wether to go with nightlies again or aosp.
[Hero CDMA Android Development] theimpaler747:
Because I'm always there to help and I do know general Android and theming ;) And so I was correct, it is the rom
[Hero CDMA Android Development] theimpaler747:
No... just straight CM 6.1.0, with my theme.... do you see it in my sig?

Edit: You're on a phone, here you go :)
[Hero CDMA Android Development] KBizzle:
I'm sorry deca, I did see your response but must have overlooked where you said how to fix the problem. I have learned over my flashing years that devs don't always need to be harassed to get the answers. Now I'm considering moving back to 2.2, even though I gave up on it months ago, just so I could use your kernel and batt tweak cause I believe you do a good job.
[Hero CDMA Android Development] KBizzle:
The rc1?
[Hero CDMA Android Development] theimpaler747:
Yes, which is CM 6.1.0
[Hero CDMA Android Development] cordell12:
My bad Deca, I wasnt to sure but thought I had read somewhere that they didnt :o
[Hero CDMA Android Development] KBizzle:
Just an update. Flashed AOSP rom and installed #43 kernel with batt tweak and was able to use batt-cfg with no problem. Thanks again for the help. Froyo seems to be more manageable now with this kernel.
[Hero CDMA Android Development] xDragod:
In my experience, AOSP's modified stock kernel works best with AOSP and Deca's kernels work much better than the stock CM6 kernels.

Just my two cents, if anyone has ever wondered.

Great work, Deca. :)
[Hero CDMA Android Development] Decad3nce:
Its the same kernel source. Pretty much the same kernel.
[Hero CDMA Android Development] KBizzle:
Well I ran the kernel that came with AOSP for about 30 min and wasnt happy til I installed Deca's kernel. All devices are different and if its just placebo, I like sugar.

Just my $.02
[Hero CDMA Android Development] tps70:
Please forgive me if I sound like a noob here... I'm trying to learn as quickly as possible! Had a Linux class back in Tech School (8 years ago!), but I know Android is a different animal. Anyway...

I'm running CM6 Stable on my Hero. I've been trying to get the UncappedKernel AND Deca's v2.2 battery tweak running on my phone. The UncappedKernel works beautifully, but when I flash the battery tweak I lose root. I restored and tried just the battery tweak and still lost root. Flashing only the UncappedKernel retains it.

FYI: I had JIT & CompCache enabled during these experiments, but I've disabled them today in anticipation of experimenting a little more after work.

Has anyone else had this problem? If so, is there a solution? Any help would be greatly appreciated. So far I've had no help from the CM forums.
[Hero CDMA Android Development] KBizzle:
You arent loosing root, its just the batt tweak is screwing up the SU frameworks. Thanks to impaler, the .zip is just a page or two back. Ill link in just a sec.

EDIT: Here you go. http://xdaforums.com/showpost.php?p=9467385&postcount=2984

Just flash that from recovery after you flash the batt tweak.