yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] redstar3894:
Something like that.... but then again, that whole voltage debate was before AVS was 'fixed' by IR and Ivan.... IIRC, a lower voltage will generally affect your reception unless you're already in an area with good signal strength... I think it has something to do with a lower overall voltage means the cellular radio needs to work harder if you don't have good signal strength in the area...

Correct me if I'm wrong on any of this, I'm just trying to remember the discussion from a few months ago... I'm pretty sure the consensus was that 925 mV was a solid choice for everyone....

Personally though, I found I got the best signal and battery life with a kernel set around 925 mV to 950 mV.... the sub 900 mV kernels tended to have a negative effect on overall reception... at least in my area.... :p

All this being said, I would advise against trying to undervolt this kernel any more than it already is.... IR has done a lot of testing to get the current voltage table the way it is and feels its quite stable in its current state.... so any further undervolting would be at your own risk... personally I'm a little scared to even mess around with the vdd tables since that part of the kernel and avs is slightly beyond me at this time....

We should all just be grateful that Qualcomm built the snapdragon the way they did so that we can have things like AVS... one of my buddies has a vibrant and he's perpetually in awe of the battery life I'm getting with my nexus :D

Sent from my Nexus One
[Nexus One Android Development] bt1980:
Five years of Kernels benchmarked

Hey Raven,

I thought you might be interested in this:

http://www.phoronix.com/scan.php?page=article&item=linux_2612_2637&num=1

Basically they benchmark 2.6.12 until the present and they note that they have a tool coming called Phoromatic that will identify specific regressions in GIT.

http://www.phoromatic.com/

Perhaps this could have an effect on the future of kernel development and preventing changes that introduce regressions from being committed.

Enjoy!
[Nexus One Android Development] overground:
Very nice find!
[Nexus One Android Development] redstar3894:
+1

This looks really cool... hopefully it will be able to help with introducing some of these new mm patches and such that seem to be all the rage these days, seems like tweaking one thing tends to break 5 other things :p

Sent from my Nexus One
[Nexus One Android Development] intersectRaven:
Minor update released! :)
[Nexus One Android Development] houzuoguo:
thanks a lot Raven :p
[Nexus One Android Development] meechto:
Thanks, Raven! :D
[Nexus One Android Development] houzuoguo:
the latest kernel works very well ;)

I used WM's kernel for few days but feel his kernel sometimes consumes more power... in Angry Birds with WM kernel, it consumes around 334mAh, with IR's kernel it consumes only about 280-290mAh... both at same CPU frequency
[Nexus One Android Development] jlevy73:
That might be true in terms of battery life, however, I find that IR's kernel has more hiccups when it comes to being able to 3D gaming. Just my two cents. This is not take away anything from IR's works and it's not short of amazing.
[Nexus One Android Development] wbknox:
when do you think you will start on kernel 2.6.36? an whats the hold up.
[Nexus One Android Development] ranova:
sorry noob here, how do you check current cpu speed and voltage?
[Nexus One Android Development] houzuoguo:
Goto terminal, become su, then type

cat /proc/kmsg |grep MHz
[Nexus One Android Development] mtw4991:
umm, terminal app>su>cat /proc/kmsg lgrep MHz >>>gives this error???

/proc/kmsg not a directory
[Nexus One Android Development] houzuoguo:
Wow... which rom are you using?

Alternatively you can use setcpu to see current CPU frequency but it doesn't give voltage
[Nexus One Android Development] intersectRaven:
HAVS kernel update released! new in this release is the sched autosched enhancement for improving responsiveness... :)
[Nexus One Android Development] xzr3b0rnzx:
Thanks i really do feel the screen is more responsive now
[Nexus One Android Development] musashiken:
Awesome! It might be placebo but I do think my phone seem smoother now.
[Nexus One Android Development] redstar3894:
Hmmmm... I tried merging that commit in but the kernel seemed to have issues building properly with it enabled... :confused:

I'll have to revisit it soon... It seemed very promising for boosting interactivity... :p
[Nexus One Android Development] myakove:
Are you planing to merge RogerPodacter and theloginwithnoname battery driver and utility?
[Nexus One Android Development] clustered:
cool... thanks intersectRaven.... felt smooth...
[Nexus One Android Development] houzuoguo:
hey Raven :)

I've been using your kernel since 2 months ago (since AVS became stable) and noticed an excellent battery life.

However, these days I use mobile data more often, and I notice that using pershoot's kernel somehow consumes less battery.. I'll test more these days.
[Nexus One Android Development] knightnz:
Wow, big improvement. I don't have to wait half a minute after booting for apps to finish loading before I can do things now. Thanks IR!

EDIT: Any idea if any particular governer is going to benefit from this more than another? What about CFS Vs BFS? I'm sticking with Interactive/CFS at the moment and it seems fine, but I'm happy to change.
[Nexus One Android Development] christiankk:
I've had several "Sleeps of death" with the latest CFS kernel :(
[Nexus One Android Development] solidmac:
Did you find any kind of fix for the no camera issue on non cm Rom kernel? Also I currently use geo's Rom and that wont be compatible with the cm Rom correct?
[Nexus One Android Development] knightnz:
Do you mean:
[Nexus One Android Development] solidmac:
yes... that why i asked if he has found a solution yet.... you know by sharing information with other developers....
[Nexus One Android Development] damanrico:
What is the minimum mV for these kernels?
[Nexus One Android Development] atomizasser:
Strange. I have tried to non-CM version on MIUI Rom and camera works great.
[Nexus One Android Development] rossiscatch:
Anyone else having trouble with Bluetooth with this kernel(latest cfs kernel)?

Each time I tried to turn Bluetooth on or off my phone would freeze. I am using cm6.1rc1. I reverted back to the cyan kernel and all is good, so I'm pretty sure it's the kernel. I'd post an error log, but I reverted before I had a chance. Btw I cleared the cache. Just wondering if anyone else had this problem... otherwise I had no issues...
[Nexus One Android Development] solidmac:
I guess I will give it another shot then
[Nexus One Android Development] RageO:
I'm a bit confused about the havs kernel thing. Do i need a havs kernel for maximum power saving or a 800ma kernel?
[Nexus One Android Development] j3di:
I believe on 28th October he changed it from 975mV to 950mV.
[Nexus One Android Development] Realtyem:
Not to get off topic....

...but I thought this was interesting enough to mention. Do we have something similar in android, other than BFS kernels?

http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html#disqus_thread

Wondered if we could test this easily cuz some of the things it mentions don't seem to be where they should....

P.S. Love the work IR keep it up!
[Nexus One Android Development] intersectRaven:
HAVS Kernel updated!
[Nexus One Android Development] iDance°-->ra1n:
does BFS have scheduler improvements?
[Nexus One Android Development] j3di:
No, it is only compatible with the CFS kernel.
[Nexus One Android Development] zen kun:
updatet?where!!! i just see the 11/07/2010 =(
[Nexus One Android Development] daveid:
For minor updates you need to look in his Mediafire folder.
[Nexus One Android Development] evcz:
what about undervolted kernels?

800mv abandoned?

is it worth to try them or the lower power supply can cause weird problems?

additionally: any user feedback related to the recent CFS scheduler improvements vs BFS?
[Nexus One Android Development] liam.lah:
I am having terrible trouble with this kernel and USB tethering, it works, but i am almost guaranteed to get a reboot after a few minutes. Especially if i try and download a file. I have tried switching back to the cyanogen kernel, and the problem disappears, switch back to this kernel, it happens again. I do not get reboots with pershoots kernel either.

(i am using the latest BFS kernel, but it happened on a recent previous release too.)

There was a blind trial a few months ago by Kmobs. Where a group of people were given a kernel to try out over the course of a week and record their battery levels. They were then given another one for the next week.

It turned out the best performing one was the 925mv. So im assuming thats why you don't see the 800mvs around anymore.
[Nexus One Android Development] minooch:
G'Day Raven,

I opened SetCPU today & noticed that 1113Mhz was an option

I thought you didn't like overclocking :confused: Is this an accident?

PS: I'm currently running 2.6.35.8_AVS-CM_CFS_20101121_2203

Cheers,

Minooch
[Nexus One Android Development] b1337:
i am having same problem too, wireless tether works fine just not usb, reboots in a minute or two, using..

2.6.35.8_AVS_CFS_20101121_2202
[Nexus One Android Development] intersectRaven:
HAVS Kernel released...the 12XX version is based on CM's stable branch while the 18XX is based on the experimental one...also, the 18XX version has been updated to 2.6.35.9...get it from the usual locations... :)
[Nexus One Android Development] houzuoguo:
wow you're quick! Thanks for your work Raven!
[Nexus One Android Development] fcisco13:
Where can i find out what has changed?? Thanx by the way great job
[Nexus One Android Development] t0ph0id:
Does anyone use these on MIUI?

Be interested to hear which you use and how battery life is?
[Nexus One Android Development] houzuoguo:
These days actually I notice that ... Droidbasement's SVS kernel actually consumes less power than Raven's AVS kernel for some reason, perhaps because of new battery driver?
[Nexus One Android Development] redstar3894:
IR merged in the battery driver already.... so it should be there in his latest release..... ;)

It does depend on your usage style whether AVS offers any additional benefit, I think this was discussed earlier, so forgive me if I'm misquoting anyone here, but AVS generally adds a little more overhead to the kernel processes (look at the dmesg and you'll see why.... ;) ) .... so that could potentially affect battery life in some cases....

SVS is much less expensive since it essentially just takes the voltage table as is instead of trying to monkey with changing it like AVS does.... :p

Sent from my Nexus One
[Nexus One Android Development] relax24:
I've noticed with the last few IR kernels I've used that my battery life is a lot worse. Currently I'm using the AVS-CM-NOBOOST-CFS_20101123_1201 kernel, and during the night whilst I was asleep (8hrs), my battery dropped 40%. I remember when i used Kmob's kernel, my battery would drop <1% an hour whilst asleep. Not really sure why this is happening...I don't have anything different running in the background, syncing is off, as is gps/bluetooth, and it is in 2g mode.

SetCpu is set to Ondemand if that's of any use, and during sleep its underclocked to 245mhz
[Nexus One Android Development] sunstorm:
One full day of testing .35.9 experimental kernel and I must say, it has been a pleasant experience.

No signs of wakelock or stuttering. Games run smoothly (angry birds). Not one of the benchmark guys though so unable to provide any historical till now numbers unfortunately.

Anybody else found that it's an improvement? I tend to have occasional wakelock issues with .35.8.
[Nexus One Android Development] ~semsem~:
EDITED: SORRY WRONG PLACE..

I hv a problem that since many builds ago my GPS takes almost 5 min. to Fix position, b4 it was only like 20-30 secs max, i wiped everything & tried other kernels same problem, when i revert back to RC1 GPS is fine again!!....
[Nexus One Android Development] bt1980:
Changelog

Hey Raven,

Just curious if there is some place we can go to see a list of your commits since the last update of the OP. I am using the 2.6.35.9 and it's great so far!
[Nexus One Android Development] intersectRaven:
Just go to my GitHub to see the changes.

Btw, new HAVS Kernel uploaded last night! Just go to my MediaFire folder to get it! :)

*this is based on the latest cm-kernel-exp android-msm branch...
[Nexus One Android Development] wdfowty:
Actually, I've been using the CM based kernels as they both use the same method for FM radio afaik. Very stable for me, battery life is excellent even with full animations turned on. Home run combo if you ask me
[Nexus One Android Development] vaina001:
Hey intersectraven need your advice with kernel

Hi im kinda new to android and have done some fiddling with my phone and wanted to know from you which are your latest kernels for audio boost, undervolting and does that interfere with fm radio and wifi calling on the nexus one, its froyo based cyanogenmod 6.0?
[Nexus One Android Development] intersectRaven:
Major update released! See the OP for the major changes while my GitHub has the details. :)
[Nexus One Android Development] adam18488:
Thanks. May i ask what the zen-kernel commits are meant to improve?
[Nexus One Android Development] redstar3894:
I like the separate branches... makes things easier to maintain... ;)

Especially with all those writeback patches that keep showing up.... :p

I'll check your config if I have time later, but were you using the full zen-tune functionality? like all their scheduler tweaks and boosting? Just curious... :cool:
[Nexus One Android Development] houzuoguo:
going to try the latest kernel on CM 6.1 rc2 :p
[Nexus One Android Development] intersectRaven:
I'm still not satisfied with it though. I was in a hurry yesterday on some parts since I needed to get to an appointment so I made some hasty decisions here and there. I'll try again today and see if I can make it even cleaner. ;)
[Nexus One Android Development] redstar3894:
Well I was just thinking that the separate branches was a good idea, since that's how the upstream kernel does it... :p

But I think we should be able to steal some of the other IO patches zen-kernel has for 2.6.36 (if we're going to stick with .35 for now) and maybe make another branch? or possibly have another one for backporting some things out of CodeAurora?

Just some ideas... ;)

I like where you're going though... this *should* also make it easier to do a 2.6.36 release later down the road... anyway, I'll be on the lookout for anything new... :D
[Nexus One Android Development] intersectRaven:
Yeah. Well, it does make everything easier although as for .36, no-one's releasing anything (maybe everyone got traumatized by the last increment to do it all over again) so I'll just wait 'till someone does that. I could do it but I'm also included in the list of people traumatized by the previous increment. :p
[Nexus One Android Development] intersectRaven:
Updated the OP with a minor update although I think it deserved to be the main release which is why I updated the OP even though it was a minor update. :p

Also, I'm thinking of reverting the WiFi PM_MAX to PM_FAST thing since it's using up too much juice while WiFi is on regardless of whether the phone's on idle. Anyways, it's only for those who use their phone's WiFi while going on idle which I think is a minority. (Tell me otherwise if you don't think it's a good idea and I may just release a WiFi-FAST release separately.) :D
[Nexus One Android Development] redstar3894:
Yeah, the previous transition happened when I was still just getting into all this... so I didn't get much of this side of things... :p

But I agree, the thought of it does scare me a little bit... I could only imagine... :eek:

I was thinking I'd either work on a 2.6.36 kernel or the toolchain... so I picked the toolchain since it's more widely applicable and could have more benefits when I get it working... :p

I know I don't use your kernels anymore... ;) But here's my 2 cents... just based on my experience with using that tweak... :p

I think that while using PM_MAX may help with stability, I haven't had any problems using PM_FAST in my kernels... haven't had any people complain about the power draw either... IMO, PM_FAST and having wifi on and connected with the wifi calling app enabled saves the most power... since it turns off the cellular radio and all... :p

I leave the wifi on all the time when I'm at home and it feels like I get better battery life that way... don't have any hard data to back that up, but that's just my sense of things.... :p
[Nexus One Android Development] intersectRaven:
I see. I still don't use it though so I'll just spin it as a separate branch in the next release as you may have seen with the recent changes in my Dropbox. :p
[Nexus One Android Development] redstar3894:
I did indeed notice that... ;)

As for 2.6.36, it seems that (if the pictures are to be believed...) that Gingerbread will be running 2.6.35.x kernels...

http://www.xda-developers.com/wp-content/uploads/2010/11/about3.jpg

Of course, this could all be photoshopped garbage until we actually get some gingerbread leaks... Interesting that Google would (possibly) choose the 2.6.35.x when Greg Kroah-Hartman just announced that there wouldn't be any more upstream fixes after 2.6.35.9 so this could possibly mean that Google will be backporting more fixes and junk so we can keep using 2.6.35.x kernels, lol... :D

Again, all speculation anyway... I'll be mostly done with classes following this week and I'll be able to work more on getting the toolchain built by that time... ;)

I haven't yet been able to try out the PM_FAST tweak with the new 'ganeth' driver that cyanogen has in his tree, that could also change things up a bit...:p
[Nexus One Android Development] relax24:
Does anyone use setCPU with this kernel...if so, what profiles do you use, and what scaling (ondemand, powersave, etc etc)?

Thanks
[Nexus One Android Development] loverhime:
Sorry, please del my post.

I quoted wrong post. orz
[Nexus One Android Development] houzuoguo:
I use on demand on normal profile, power save on screen off profile
[Nexus One Android Development] mezmer1ze:
I usually get 1% battery drained per hour in standby and today I woke up and found out that the battery lost like 25% over night which is strange.

I use your kernels for a long time and didn't have such problems until now :)

Checked for rogue tasks but didn't find anything...

The kernel was CM BFS no boost dated 28.11. Anyone else experienced such drain?
[Nexus One Android Development] relax24:
I'm getting this too. In spare parts, my "running" time is over 60% over night whilst im sleeping, and the partial wake usage culprit is "Android System". Not reallly sure what to do about this. I did a test and turned off Wifi, and my running time dropped substantianlly, but android system is still the main culprit in partial wake.

My battery is dropping at over 5% an hr during sleep
[Nexus One Android Development] Lazat:
im also having problem with "android system". screen on 27,5% and running 50,2% ?! android system accounts for 2,5h in partial wake usage (total system running time 6,5h). and over a whole day i can have android system taking up partial wake for 8-10 hours.

whats going on here?
[Nexus One Android Development] relax24:
I've done a little more testing...When I turn off "use wireless networks" in Location and Security, my android system usage drops a bit. The thing is, I don't have an apps which are trying to get my locations, so I'm not sure how that works.
[Nexus One Android Development] damentz:
Google has been working on a kernel for 2.6.36 -> http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.36

Does this mean you'll be working on a 2.6.36 kernel soon too?
[Nexus One Android Development] houzuoguo:
Hey IR :) How are you these days?

Long time no see your new kernels :p
[Nexus One Android Development] clustered:
just bump!
[Nexus One Android Development] intersectRaven:
Yeah. It's a hectic time at work these days as the christmas holidays are coming. Will try to update when I go on vacation. :p
[Nexus One Android Development] houzuoguo:
that sounds sweet~ thank you!
[Nexus One Android Development] redstar3894:
Hasn't been much going on in the kernel world, unfortunately... :p

I'm glad that we don't have to try and switch to 2.6.36... it appears that Google is using 2.6.35.x for gingerbread and there's also now a 2.6.35-longterm branch at kernel.org... so hopefully we can keep getting fixes and such here... or at least until cyanogen decides to upgrade... :p

I'm excited to see some gingerbread kernel source... hopefully there will be some updated graphics drivers and other fun stuff like that... :D
[Nexus One Android Development] bewA:
btw I'm curious, what are these Zen Kernel additions you've done?

What do they do? :)
[Nexus One Android Development] wbknox:
This is what cyanogen said on Twitter last night @cyanogen

Got kernel 2.6.36 running on the N1. Will post source tomorrow after I clean up the mess.
[Nexus One Android Development] redstar3894:
Hmmmm....cool :D

Must have been quite a mess....that's what iR and I were referring to a few posts back.... :eek:

Still, this is all good...at least this way we can more closely track upstream development, and 2.6.36 also cleaned up a bunch of stuff from previous releases..... Hopefully there will be a performance improvement or two here.... :)

Sent from my Nexus One
[Nexus One Android Development] ExtraDas:
Is there any chance there will be a version of with no 720p?

I love the kernel but it doesn't work property with my favorite ROM (Geo411m's FRG83D) since his ROMs don't support 720 or the new HTC camera app.

Aside from that, your latest release is one hell of a stable and smooth kernel
[Nexus One Android Development] kenny.he:
720p patch is great, why not use other rom? I am happy with NXSense:)
[Nexus One Android Development] kenny.he:
When i execute swapon to activate swap device or swap file, it complain: function not implemented, what's the problem?
[Nexus One Android Development] intersectRaven:
It's because the kernel isn't compiled with swap support. :)
[Nexus One Android Development] kenny.he:
Ok i c, but would you add swap support to the new kernel ? :p
[Nexus One Android Development] fcisco13:
Honestly i see no reason why use swap on a n1, i used swap on my g1 and mt3g for multitasking but im pretty sure it is not needed.

N1
[Nexus One Android Development] kenny.he:
My N1 with NXSense 1.25 become lagging when memory is not enough, so i just want to enable swap to add more "memory" :rolleyes:
[Nexus One Android Development] intersectRaven:
2.6.35.10 HAVS Kernel uploaded! Get it from the usual! :D
[Nexus One Android Development] houzuoguo:
Hey IR. So good to hear that you're back, thanks for your kernel, and Merry Christmas +Happy New Year to you!

By the way, may I please ask what difference does "wifi fast" make?
[Nexus One Android Development] intersectRaven:
That's for the people using the WiFi calling thing on TMobile (I think...I forgot) so that they're wifi won't get cut when the phone goes on standby. :) Same greetings back at you! ;)

*you can thank my *wonderful* internet connection here in the Philippines as to why I could only upload this now... :p

**not to mention my addiction to dance central... :p
[Nexus One Android Development] houzuoguo:
I was using the 2.6.35.10_AVS-CM-NOBOOST_CFS_20101226_1748.zip but unfortunately... wifi wouldn't turn on for me :( back to latest pershoot kernel and wifi works fine...

yeah, by the way, when I turned on Wifi I got "error" prompt. I clearned all cache (app, dalvik, cache) and had wifi turned off before flashing the kernel.
[Nexus One Android Development] daveid:
Works fine over here, just flashed the new kernel, booted & enabled wifi, connected right up.
[Nexus One Android Development] intersectRaven:
Must be due to the new wifi driver committed by CM. Works fine using the latest nightly (295 if I'm correct). Maybe loading the older driver module file will work? :o