yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] rjhay22:
That's true, if its constantly on low voltage, it does drain more battery coz certain apps demand more voltage to function properly, hence makin it work harder. But this is where AVS comes to play. It automatically picks the right voltage to do the task.
[Nexus One Android Development] jblazea50:
So, for AVS kernel, it shouldn't be an issue?
[Nexus One Android Development] rjhay22:
No sir. :-) the beauty of AVS.

By the way Raven, the 0424 version seem to give the best results . All the recent ones tend to get my batt temp high, Even on standby.

I also know a few peeps that think the same way.
[Nexus One Android Development] mindfrost82:
What kind of temps are you seeing?

According to SetCPU, I'm showing 25.1C or 77.18F.
[Nexus One Android Development] bskim23:
I've noticed this with the newest kernel. Also, my battery seems to be draining fairly quickly.

Also, how do i go about installing using this new universal update zup? I've been flashing before. I read in previous posts that you can pull out the bcm and zimage from the update zip and flash. Is it still possible and would it do the same thing as doing the universa update?
[Nexus One Android Development] rjhay22:
With the latest kernel, my battery stays in the low 30s on standby and upper 30s when I'm hammering it, the 0424 version stays around 21-25c on standby and 29-33c when I'm hammering my phone.

Edit: by the way, on the latest kernel, setCPU shows lower battery temp readings , but if you check /kmsg it shows higher. So it doesn't seem to be showing the right temperature .

The universal update.zip you can just flash it via recovery. So no need to extract the module and zimage. It'll be the same outcome.
[Nexus One Android Development] mtw4991:
Where do I find /kmsg? My SetCPU temps are 31.7-32.6 coming out of standby...seems high to me and battery level dropped 3% after running 3 speed tests on 3G..weird.
[Nexus One Android Development] rjhay22:
adb shell cat proc/kmsg

Or osmonitor app from market.
[Nexus One Android Development] mtw4991:
I have OS Monitor but I didn't see it in the Processes Tab. Is it in the Message tab?
[Nexus One Android Development] mtw4991:
Thanks...could you share your settings for OS Monitor...I don't know what most of them mean:confused:
[Nexus One Android Development] bloke226:
is the 4/24 version the best one to use for heat and battery life? I am on the 4/26 I think and I notice the battery is warmer...
[Nexus One Android Development] MaxiJavi:
Not sure about that one ...

AVS picks the best voltage for the execution path in use on the CPU, however, the suggestion being made is that the radio module (which is also on the same chip but separate from the CPU unit), may drain additional power at the lower voltage (the voltage being set for the chip as whole).

In which case the lower AVS voltages would cause more overall power consumption ... That is the theory, and people testing the other kernels have evidence suggestion this may be the case.

These chips are not like desktop cpus, they have a lot of stuff integrated.

Anyway ... That is the theory ...

AVS is pretty magical, but not that magical :-)
[Nexus One Android Development] mtw4991:
So theoretically, a 925mV kernel will save power over an 800-825mV kernel because the radio doesn't have to strain as hard to power up to the optimal voltage to stay connected and up/download data?

If correct, the lack of strain would account for lower temps as well?
[Nexus One Android Development] MaxiJavi:
Kinda ...

I am guessing that it needs more power at less voltage, which means even more heat than the same power at a higher voltage (if that makes sense) :-)

To be honest I haven't been able to check this myself, but kmobs twitter along with comment from the people testing his kernels seem to suggest this is the case.

Lack of load would bring the temps down, but then again, the CPU would scale down depending on the power governor I assume.
[Nexus One Android Development] mtw4991:
/kmsg in OS Monitor?

Maybe I'm slow today, but how & where do I find /kmsg in the OS Monitor app? I don't know what to set the values at in Settings menu and don't see it in the Messages tab?
[Nexus One Android Development] bskim23:
Latest kernel hasn't been good for me. I've been using the latest kernel since around 10AM. it is now almost 5 PM and my battery is at 55% plus the battery temp's been steadily around 31 C.
[Nexus One Android Development] Ownatik:
same for me! good work.
[Nexus One Android Development] intersectRaven:
I just read kmobs' thread with regards to the minimum voltage and will be switching the minimum to 925 in my next kernel release. Let's see if this is better or not. :p
[Nexus One Android Development] driftmon:
Can't wait to see how this goes. I keep refreshing the page every 2 min!
[Nexus One Android Development] intersectRaven:
Uploading now...it might take awhile since I'm doing this through my N1's tether. :p
[Nexus One Android Development] superg81:
wifi working without a push?
[Nexus One Android Development] intersectRaven:
Yes. I reverted the WiFi a few releases ago. :)
[Nexus One Android Development] liam.lah:
Awesome stuff, i was just about to ask about a 925mv kernel, and i find you are already one step ahead. :D

EDIT: flashing now.

We'll see how it goes, battery on the last avs kernel seemed to be worse than kmob's. I have a good feeling about this one.
[Nexus One Android Development] redraiderj:
Wait for somebody's result (can't do this on my own because I'm at work now:()
[Nexus One Android Development] myplague:
it is a update.zip just flash it in recovery
[Nexus One Android Development] hah2110:
Ya the 850mv was yielding amazing results for me but the 925 from him didn't... I'm back on 850 right now.
[Nexus One Android Development] 2000impreza:
I just flashed the newest 925mv kernel and will be testing this over the next day or so. I'm curious to see the impact on battery life from the higher voltage. For comparison purposes I've been running the modaco r21 Desire rom as of last night with the 800mv hybrid AVS kernel. I'll report back in a day or so.

BTW great job on the kernel! The hybrid AVS runs very stable.
[Nexus One Android Development] piggie916:
OK.. seriously..

My phone with all the animations... everything enabled.. live wallpaper.. You NAME IT!

I just got a 29 hour unplugged time... Wifi was on all day and it was moderate use.. maybe 120 texts, lots of face booking and some browsing online. This has been VERY consistent for the past few days.

Before this kernel.. i was doing 10% a HOUR on standby with barley any use. Airplane mode at work was yielding around 5% an hour.. This is no live wallpaper, strict jet black background. No wifi, no ANYTHING.

I dont know what you did but.. i am so god damn happy now. Thank you!
[Nexus One Android Development] bskim23:
Just read in another post that messing with the kernel will mess with the radio causing it to get weird/weak signal. Is is really true? I have been testing different kernels over the past 2 weeks (but mostly been coming back to this one) and I started noticing over the past couple days that my signal strength seems much weaker
[Nexus One Android Development] Wysie:
I've been using intersectR's kernel for a while (before trying Termana's), and I've had no issues with radio. I know kmobs/persianowns suspected it may cause some issues with radio, but since then a lot of people have taken it to extremes. Calm down ;)!
[Nexus One Android Development] intersectRaven:
I also haven't encountered any difficulties with the 800mV AVS so I just provided others out there to do a comparison by releasing both 800 and 925mV versions. Anyways, we'll find out after someone decides to do a comparative analysis. I for one am sticking with my 800mV version. :p
[Nexus One Android Development] awdlexusis:
not having any luck flashing zimage through command, and when i update through recovery on past few versions it keeps boot looping unlike the update.zip from the 25th any way to make a update.zip for recovery and not command line cause i push the wifi driver through adb but no luck with zimage.
[Nexus One Android Development] rcxquake:
What exactly are you typing to flash the zimage? And what is the error message?
[Nexus One Android Development] awdlexusis:
error cannot load zimage im typing fastboot flash zimage zImage into command
[Nexus One Android Development] Untouchab1e:
So I am very curious as to this whole 800mV vs 925mV thing. From what Ive read around here, 925mV should technically improve battery life and also give a better/more stable radio signal.

However, no one seems to agree whether or not battery life indeed is better or worse. It seems that in theory it should be better with the higher voltage, while for many, it isnt. So yeah, will be interesting to see if we turn up with the same results here...
[Nexus One Android Development] rjhay22:
Ok, as much as I really dont understand the science or concept behind the 925mV giving us more battery life than the 800mV, I still gave the most recent version a try, out of curiosity, I noticed battery went from 100% to 93% within an hour of standby, and drained 2% in 1 minute while the display was on, and still on standby.........

I will still give it the benefit of the doubt, and use it till tomorrow.... Then I will go back to the 800mV 0424 version, which has given me the best results, with 1% battery drain per hour, and 20-22hour battery life with moderate use.

Good night everyone!
[Nexus One Android Development] Untouchab1e:
Im still very intrigued about this..

Can the kernel even control anything about the baseband processor? As far as I know the vcore is only concerned with LOGIC. Undervolting may result in instability in LOGIC but it is not at all related to power amplification for air interface...

But yeah.
[Nexus One Android Development] Untouchab1e:
Actually, the more I think about it, increasing the voltage just cant improve the battery life and its down to simple physics really..

P = U * I.. The whole point of undervolting (decreasing the U) is to decrease the Power (P), since the current (I) is constant.

The whole point of undervolting is to lower P and thus reduce battery drain / heat dissipation.

The drawback is with a lower V, your operational voltages get closer to the logical voltage thresholds, but all this affects is the application processor. Kernel does not control anything about baseband processor. The baseband processor runs its own software (not Linux). For qualcomm basebands, that is amss
[Nexus One Android Development] izmar:
Absolutely love this kernel.

Haven't updated in a while, but I dont feel the need to.

Version 20100424_1336 is serving me perfectly. If it ain't broke, don't fix it.
[Nexus One Android Development] MrNameless:
does this kernel see all 512 of ram ?
[Nexus One Android Development] MaxiJavi:
However ... The current does not stay constant ...

The assumption is that there comes a point where the milliamps go up as as the volts go down ... And if this is the case it would explain what is reported.

I am pretty sure the power draw in terms of milliamps is not constant.

I would love to see evidence to the contrary.
[Nexus One Android Development] redraiderj:
Maybe this thread can provide some information while I cannot determine.

http://xdaforums.com/showthread.php?p=6262962
[Nexus One Android Development] liam.lah:
Lol, developers like persiansown and kmobs.

Seems to make sense, i would really like to be able to have a bunch of nexii one in one place, and with a bit of time on my hands, i could do some scientific testing of the different kernels
[Nexus One Android Development] MaxiJavi:
I think this where you are a little confused ...

My understanding is that kernel controls the voltage to the chip-set, which is in fact all on one die (all one chip). And the possibility is that the baseband processor needs more power, and by taking this at a lower voltage the heat increases faster.

I am pretty sure that there are several reception scenarios under which the baseband requires more power, which brings up the requirements for the chipset as a whole.

The interesting this is ... If AVS changes the voltage to the chip-set several times (as it does), I wonder how this affects the baseband in general. From my experience it seems as if 925 is giving me less heat and better reception, but not better battery ... Which kinda makes sense as lover voltage at higher current results in more heat for the same power consumption.

AMSS does more than just control the baseband, I understand that it sets the original voltage levels and takes care of some of the bootstrapping of the chipset ... Which is why screwing up the radio update is one sure way to brick your phone :-)
[Nexus One Android Development] vegetaleb:
I flashed the latest Nextheme and now I don't know if the 800mv kernel is still installed,here's the kernel name:

2.6.32.9-The officialroot@abomb-laptop#1

I couldn't get mv messages in osmonitor nor adb shell :confused:
[Nexus One Android Development] intersectRaven:
That's not the 800mV kernel. :)
[Nexus One Android Development] vegetaleb:
I was wondering why wifi wasn't working :o

Reflashed!
[Nexus One Android Development] mtw4991:
Another very weird observation... last night I was updating to a different kernel and adb pushed the .ko file successfully, but kept getting error messages on the zimage fastboot flash, then had to leave work. I figured everything was screwed until I got back in this morning. Wifi was nixed as I had different(old) .ko file with the (new)kernel, but everything else worked fine.

Here's the weird part, I went to bed at 11:45 and left the phone unplugged in sleep/standby with 75% battery. At 7:30 this morning, it still had 71% left. That's a .53% standby drain with the wifi broken which would equate to almost 8 days in standby with everything on except Auto Sync.

Went back to 0424_1336 for now until the experts figure this out:confused:
[Nexus One Android Development] Markdental:
If this kernel works down to 128, how do we use that if our setCPU only goes down to 256?
[Nexus One Android Development] RieGo:
nice..

I tested the latest 925 kernel today and I have the feeling my batt life improved a bit.

I'm not 100 percent sure, so don't take this too serious.

At least it's not worse than the 800mV for me...

I'm very interested in all other results, so please let us know.

edit: no, it definitly improved. I'm at 81% right now, yesterday at the same time i was at 59%. My phone usage is almost the same in work, maybe yesterday a little bit more, but not much. I think it improved for me.
[Nexus One Android Development] dafoo21:
Is this the high volt kernel?
[Nexus One Android Development] bewA:
I've just installed the latest version.

Will start a full test from tomorrow when i unplug :)
[Nexus One Android Development] Noel3903:
I turn apn off at night and i only get a 5% drain while i sleep with stock CM Kernel

Btw Raven your kernel is nice sir like everything u are trying.:D
[Nexus One Android Development] cmarti:
What was tried to accomplish when this revision was released?

Changelog:

20100428_0934:

- modified minimum voltage to 925
[Nexus One Android Development] rjhay22:
My thoughts exactly.... Always thought the kernel didn't affect the radio... But I'm not sure exactly how that works so I would like to hear a detailed explaination from someone that is sure about this, or possibly someone can point me to where I can find more info about this.

Im interested to know more and it'll be a good learning process for me.

I just dont see how AVS, which to my understanding automatically controls the "app processor" voltage, with a minimum voltage of 800mV, drains more than a kernel that runs a constant voltage of 925mV.

And by the looks of it, after giving the newest 925mV kernel a try, it definitely drained a lot more battery than the previous one... so I'm back to the 0424 update which gives me the best result. And a few people have reported the same.
[Nexus One Android Development] rjhay22:
Raven is testing it out, since there have been reports and theories that 925mV supposedly gives better battery life than the 800mV.
[Nexus One Android Development] tokyomonster:
From what I've read, the theory is that undervolting to that degree isn't providing the baseband with enough juice, so the baseband is sipping more power just trying to keep itself operational. Giving a voltage of 925 allows the baseband to be happy and thus not zap additional power.

That's just my understanding, I have no proof/sources/etc.
[Nexus One Android Development] rjhay22:
Yes, I understand that part, but what i wanna know is that, if the AVS kernel have something to do with the baseband's voltage consumption? And if the kernel really did have something to do with it, wont the AVS (ADAPTIVE VOLTAGE SCALING) do what its supposed to do and provide enough juice to the baseband?
[Nexus One Android Development] MaxiJavi:
This is a system-on-a-chip, and at least for persian he changes the global voltage ...

Maybe AVS does actually work as you say, however, I have noticed much better 3G reception with the newer 925 kernels.

Anyway :

http://xdaforums.com/showpost.php?p=6326991&postcount=1125

I am not sure if AVS takes into account the baseband ... By what I've seen, it doesn't.

But hopefully it can be tweaked to do it :-)
[Nexus One Android Development] bloke226:
Is it me or does these recent kernels give off more heat that usual (30ºC+ during use)? I know it's been mentioned before in this thread, but I don't know if it's been addressed through updates of the kernel.

Yes...I did a search and didn't find anything definitive or maybe I'm seeking clarification regarding the heat observation.
[Nexus One Android Development] rjhay22:
Yes! Were definitely on the same page on the tweak! :-)

Now that I think of it more, I also remember that persian doesn't run AVS, so outcome might be different from Ravens kernel. And that being said, YES of course without the help of AVS lesser voltage = to more strain and more battery drain.

Hope they'll figure this out. I'm not smart enough for this. LOL.
[Nexus One Android Development] tokyomonster:
Yeah, I mean, thinking about it, it wouldn't make sense to have AVS apply to baseband -- Baseband should pretty much always need the same amount of juice, I would think, so if it was going solely off global voltage, there's the potential for a problem.

Again though, I'm not too familiar with the details, so meh.
[Nexus One Android Development] intersectRaven:
Odd...my phone just used up 25% battery after 6 hours while sleeping at 925!?!? Revert to 800 again and see if it's the same...maybe something with the .33.3 kernel is causing it if ever power consumption remains the same... :(
[Nexus One Android Development] piggie916:
This is the 925 kernel
[Nexus One Android Development] bewA:
I've not started my proper test but i'm running on the latest kernel (925 one).

I've flashed the zip from recovery then wiped the davlik cache and cache and battery stats. not sure if that's all required but did it anyways.

I put the setcpu in conservative mode.

I'm not taking any notice of any battery consumption at the moment until tomorrow morning.

However I have noticed on this kernel the phone seems a little laggy. I can't say I noticed it on the previous versions.

when going to take a photo the capture from the camera seems to drop frames (i'm not in video cam mode, just about to take a pic).

Has anyone else noticed this?

I'm quite happy to help in anyway I can with logs or whatever providing someone tells me what to look for :)

again this aint a major issue as I can just do a nandroid restore :)
[Nexus One Android Development] sir*mez:
800mv isn't doing any better either. I might go back to a older Kern. I'm at 51% on 5hrs of use.
[Nexus One Android Development] piggie916:
All these people that are saying draining your battery till nothing then doing a full charge at night does nothing..

Well, i did it on accident and the next day with out wiping my battery stats, i started getting incredible battery life.

I am using:

BlackIce-Nexus-CM5.0.6

2.6.33_AVS-900mV_20100417_0039 : date i downloaded it was 4/16

update-cm-5.0.6-N1-signed

n1gapps

i have been using the same kernel since the 16th.. I did not start getting good battery life till the 22nd i think.. Freak accident? who knows..

I left my phone in my locker all day and i get no service in my store or it is constantly flopping back between edge and H. I usually remember to put airplane mode on but w/e. Full screen brightness, no live wall paper. Browsing on breaks and about 90 texts.

Tomorrow i will try to remember to turn on airplane mode and get back here around the same time.

As you can see, it flops NON stop between edge and H in my house too.. And i still can pull an easy 20 hours not worrying about airplane mode.
[Nexus One Android Development] intersectRaven:
Yeah. Something is definitely wrong with the latest release. It's sucking too much juice on both 800 and 925mV. :(
[Nexus One Android Development] persiansown:
Yeah I think I'm seeing the same thing with my 850 and 925. Any ideas? :/
[Nexus One Android Development] intersectRaven:
I'm isolating multiple things right now but I can't work on it too closely yet since I have to catch up on work. :p

I think I found the problem. I reverted these commits by cyan:

27dd25f80402a13f9d5c381eda07b560e5545fcc

1490683fb851b992722cbd175d3df087df833656

f2513498e961966d3209aacfffc43de4f41f2ece

Now I'm getting the expected ~1% per hour battery drain.
[Nexus One Android Development] hah2110:
Is this being modified in a build?
[Nexus One Android Development] intersectRaven:
Yes. I'm still testing it out now so as to confirm. I'll probably release it in a few hours after I can conclusively confirm that I'm back to ~1% per hour drain. :)
[Nexus One Android Development] hah2110:
I wish my drain was that good. It is weird. On the kmobs AVS 850, I get sick battery life (although, sick for me is 2%/hour). On his 925 and all of yours, I see an increase, but not drastic.
[Nexus One Android Development] sir*mez:
That looks good to me.
[Nexus One Android Development] intersectRaven:
I think this is fine now. Records show that battery drain has been regularized again.

62% -> 08:30

60% -> 11:03

I'll be uploading in a few minutes. :)

*This was on 925mV kernel btw. :p
[Nexus One Android Development] intersectRaven:
Updated!

20100429_1009:

http://www.mediafire.com/?2zt0nz5agmz -> 800mV

http://www.mediafire.com/?izdw12fyydz -> 925mV
[Nexus One Android Development] m4tr1s:
Now download last kernel

Iam testing with new kernel.

send my results.

good job Man.
[Nexus One Android Development] archillion:
do i just download these and flash from recovery from sdcard? what happened to the ones u push over from the command prompt?
[Nexus One Android Development] dictionary:
archillion .. all you do is download the update.zip, then go into kernel, and copy that zimage. Then, go into system/lib/modules, and copy the bcm4329.ko file.
[Nexus One Android Development] intersectRaven:
You can extract the zImage and bcm4329.ko file from the update.zip if you prefer to go that route. It's unnecessary though since the universal update.zip now leaves the ramdisk alone which means no more problems with those custom ramdisks! (e.g. desire cam) :)
[Nexus One Android Development] S_Dot:
Can you explain the difference between 800mV and 925mV

Those are just the baseline values right?
[Nexus One Android Development] intersectRaven:
Yes. Just for those who want to compare between the two. :)
[Nexus One Android Development] S_Dot:
Whats the default operating voltage for stock kernel do you know? sorry for all the questions
[Nexus One Android Development] intersectRaven:
The default has a range of 1000mV to 1275 mV. :)
[Nexus One Android Development] S_Dot:
OK thanks Raven.. Are these flashed in recovery now? I don't see the bcm.ko file and the zIMage file
[Nexus One Android Development] intersectRaven:
Yes. If you want to go through fastboot, extract the zImage and bcm.ko file from the update.zip. :)
[Nexus One Android Development] ElenaAlasea:
Could someone upload this on another server? I'm afraid I cannot download from mediafire in China :(

Thanks in advance!