yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] sterescugabriel:
7. CPU Scaling Governors

CPU governors control exactly how the CPU scales between your “max” and “min” set frequencies. Most kernels have “ondemand” and “performance.” The availability

ondemand – Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see “up threshold” in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.

interactive – Available in newer kernels, and becoming the default scaling option in some official Android kernels. The interactive governor is functionally similar to the ondemand governor with an even greater focus on responsiveness.

conservative – Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.

performance – Available in most kernels. It will keep the CPU running at the “max” set value at all times. This is a bit more efficient than simply setting “max” and “min” to the same value and using ondemand because the system will not waste resources scanning for CPU load.

powersave – Available in some kernels. It will keep the CPU running at the “min” set value at all times.

userspace – A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor.

smartass – Included in some custom kernels. The smartass governor effectively gives the phone an automatic Screen Off profile, keeping speeds at a minimum when the phone is idle.
[Nexus S Android Development] mixtapes08:
http://www.google.com/nexus/

awesome specs! ^_^
[Nexus S Android Development] casca:
dude I'm amazed...

I've only flashed 9.0 yesterday in the evening but the result is very nice indeed.

Uploaded with [URL=http://imageshack.us]ImageShack.us[/url]

You can perfectly see the difference between netarchy and matr1x from the time i've flashed the kernel!

AND I haven't got deep idle yet, because by the time I've downloaded 9.0, it still had deep idle DISABLED BY DEFAULT

It's guys like you that make us all say:

"once you go Android you never go back"

By the end of the day I'll try and enable deep idle to test it also :)

EDIT:btw, my kernel is CFS
[Nexus S Android Development] DumbUglyDragon:
Color me impressed! My phone has always been notoriously unstable overclocked. Flashed v9.0 tonight. Now running 1.46GHz smartassV2 stable! This thing is zippy!
[Nexus S Android Development] MultiCulti:
OK, so, how can i check if DeepIdle is Enabled or DisableD?
[Nexus S Android Development] casca:
download android mate from the market

then use the app and go here /sys/class/misc/deepidle/enabled

if you have 0 it's disabled if 1 it's enabled

If i'm wrong let me know (but I think I'm not)
[Nexus S Android Development] MultiCulti:
Tanks .. is 1 ;) and i loaded flashed the Kernel today @ 6 in the morning ... and no issue till now ;)
[Nexus S Android Development] rrohanjs:
i cant see the batterystats.bin file

EDIT : restarted the phone and i cud c it then ..
[Nexus S Android Development] bas-r:
Yes zippy, no stable. For me 1.46Ghz & smartassV2 = not stable..

Reboots :(
[Nexus S Android Development] MultiCulti:
What Battery Log App is this? :rolleyes:
[Nexus S Android Development] casca:
it's the gingerbread thingy from gingerbread...

just go to settings, about, battery info, and then on top(above the apps) if you press it it will display that graphic
[Nexus S Android Development] MultiCulti:
OH MY GOD ...i´m so stupid xD :D ... but thanks anyway ;)
[Nexus S Android Development] casca:
lol, my reaction was exactly the same (dooooh)...

Yes...I've made the same question as you a couple of weeks ago :)
[Nexus S Android Development] MultiCulti:
yeah .. the reason, i use MIUI ... and it looks different :rolleyes:
[Nexus S Android Development] DumbUglyDragon:
No reboots here, but runs kind of warm... down clocked to 1.2GHz just to be safe.
[Nexus S Android Development] casca:
Ok,so I couldn't hold myself and at noon I've flashed the CFS 9.0 with deep idle enabled over the cfs 9.0 with it disabled...

So, with one of both, 3g or wifi connections always on I've wasted less than 30% in about 5 hours with cfs 9.0 deep idle OFF

Let's see under the same conditions but with cfs 9.0 deep idle ON how it turns out after the same time :)

I'll post the graphic with the differences when it's about 5pm (it's 1:30pm now)

By the way, I'm running my cpu at stock speeds(ONDEMAND governor), and so far no problems with CFS version of 9.0 (either deep idle ON or OFF)
[Nexus S Android Development] gioyann:
Sorry, I had 3 or 4 reboot simply moving into the OS...I'm trying to raise voltages :mad:
[Nexus S Android Development] SA-07:
Lol yeah raise em
[Nexus S Android Development] al_madd:
bugfix from ezekeel....:):)

hope will solve about data connection and bluetooth
[Nexus S Android Development] SA-07:
Yes I will include it in the next update
[Nexus S Android Development] rrohanjs:
hey mathkid i flashed ur 9.0 cfs .. now how would i know if deep idle is enabled or no ?
[Nexus S Android Development] sterescugabriel:
download android mate from the market

then use the app and go here /sys/class/misc/deepidle/enabled

if you have 0 it's disabled if 1 it's enabled

the 9.0 CFS has enabled by default if you download the kernel today
[Nexus S Android Development] rrohanjs:
can i c it via root explorer ?
[Nexus S Android Development] SA-07:
I don't think so. Just use Android mate lol
[Nexus S Android Development] casca:
yep, I tried with root explorer and it was a NO GO.

Android mate will do the trick.

What is the data connection problem exactly?

Does it occur on both wifi and 3g?

How can we reproduce it?

Does it occur in both kernels( cfs and bfs) ?
[Nexus S Android Development] ro_explorer:
Here it is my stock 2.3.6 with matr1x 9.0 cfs, deepidle disabled, with the voltages set so it becomes stable on my device.

*note: wifi - always on policy set to never, 3G network active, smartassV2 gov.
[Nexus S Android Development] :
Hi

I'm a little behind the times, but I had some issues using v8.5 BFS on the miui.us ROM, just as someone else in the forum had pointed out. I did indeed have wifi on at the time of the flash. I had wiped cahce/dalvik and installed from CWM.

Reflashing v8.5 BFS did not help. Fixing permissions didn't help.

Unfortunately, that's all the experimenting i'm doing, cause I'm going back to Oxygen 2.3.1 and trying out v9.0!

Will leave feedback
[Nexus S Android Development] gioyann:
I had an amazing battery usage as far as I have enabled deepidle mode...then my battery began to drain!! How comes this??

And I have another question: how can I set the battery charging different from 100% ???
[Nexus S Android Development] SA-07:
Sorry it is hardcoded lol
[Nexus S Android Development] rrohanjs:
2 reboots in less than an hour with matrix 9 cfs deep idle enabled with kelmsking miui ..
[Nexus S Android Development] thoth77:
LiveOC voltages?

http://xdaforums.com/showpost.php?p=18562613&postcount=39

#!/system/bin/sh

echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "1450 1450 1420 1250 1200 1050 950 950" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

echo "1200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo "110" > /sys/class/misc/liveoc/oc_value

echo "400000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo "lazy" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

adequate voltages?

if 105, voltages?
[Nexus S Android Development] SA-07:
Raise all voltages by 20
[Nexus S Android Development] SA-07:
Raise them all by 15
[Nexus S Android Development] thoth77:
Thanks

I will try :)
[Nexus S Android Development] rrohanjs:
no idea how to do it .. :confused:
[Nexus S Android Development] yaronyud:
use Proton from market it is the easy no terminal stuff...

very nice UI
[Nexus S Android Development] dario3040:
Download SetCPU, or Proton voltage and it should be obvious.

For supported Nexus S kernels it will display an extra tab in SetCPU (but only in the newest version).
[Nexus S Android Development] from1989:
how can i know if the deepidle is working??
[Nexus S Android Development] SA-07:
Go into sys/class/misc/deepidle/enabled

see what number the enabled file has

#include <stdio.h>

if (enabled.number == '1')

{

printf("You rock! You have deep idle!\n");

}

else

{

printf("I am so sorry. You need to change the '0' to a '1'\n");

}
[Nexus S Android Development] casca:
After 10 hours with cfs 9.0, running CPU at stock speed, with ondemand governor,3g and wifi always on:

First 5h without deep idle

Second 5h with deep idle

I honestly don't see a big change.
[Nexus S Android Development] dario3040:
CPU spy? xP
[Nexus S Android Development] ssenbonzakura:
Not very stable @ 1.4. I keep getting forced reboots. I don't get that on 1.3 though.

Tried it on the latest iceandfire nightly
[Nexus S Android Development] etoy:
does someone still have the older v2.5 kernels and can repost them?

i'd like to switch back to a clean 1.0ghz kernel with just bln and voodoo but i accidentally deleted the older versions.

i don't want to sound rude,but what i liked the most from mathkid's kernels was stability as they were near to the stock cm7 one.
[Nexus S Android Development] SA-07:
Sorry haha, I just have those ones. You can go into setcpu and change it to 1 Ghz and put it back on the ondemand governor for something similar to v2.5
[Nexus S Android Development] temp91:
Man 3.0 is freakin awesome...

Charged to 95%.. 5 hrs of music (samsung stock headset)...half hr of 3G maps and browsing few texts and 30 min calls...14 hrs later...my battery 35% remaining....

I dono if u ppl say this is good or not but compared to netarchy which i previously used the productivity of Matr1x is more thn 200%..

Seriously love it...

will test 3.5 and tell you.... does Proton voltage work for this kernel too???
[Nexus S Android Development] SA-07:
No sorry haha I don't have proton support yet. I'm glad u like it!
[Nexus S Android Development] rikardo1979:
v3.5 ;) nice1

I even haven't time to test the 3.0 and another version is here :)

man u need to slow down with your releases cos we can't catch...just kidding lol

great work m8

I go to download the latest1 and give it a try.

I had no probs at all with 3.0, good performance and rest...

But new wersion is here so I have to try it :)

Cheers

:cool:
[Nexus S Android Development] kevin_ngckk:
I still have only one v2.5 cm bfs version. Do you need it :p??
[Nexus S Android Development] kevin_ngckk:
Im heavy use today. I still have 7%battery after 10hrs :p

Heavy facebook, more than 12mins to watch flash video over 3g, heavy xda app, download lastest cm kang rom over 3g, about 3hrs of poweramp, a litter bit titanium backup, took about 20photos etc,... i think it is great for me:p im going to test another rom right now

(Oxygen2.14, 1.2ghz with smartass, v3.5cfs kernel)
[Nexus S Android Development] rikardo1979:
u should try MIUI rom ;)

I'm a long time MIUI user and after my first MIUI flash I never go for something else:)

check my signature for MIUI link ;)

:cool:
[Nexus S Android Development] kevin_ngckk:
I want to flash it but, there is no traditional chinese:( there is just simplify chinese
[Nexus S Android Development] SA-07:
;) (10 char)
[Nexus S Android Development] rikardo1979:
common ;)

if u reading and posting here in english why u can't have a phone in english :)

EN is not my native language but I would never use my phone or comp or anything like it in my lang.only in english :) its more easier for me and problem less :)

:cool:
[Nexus S Android Development] ciwek90:
haha...i just dont feel want to flash custom rom yet...i want to find which kernel is perfect that will show stock rom awesomeness first..haha...JK..truthfully, i'm not boring with stock yet...later if i got bored with stock, i definitely will flash custom rom...for now...NO..hehe :)
[Nexus S Android Development] kevin_ngckk:
If you have patient for my questions, please convince me to change it:( because my english is really bad. Something i want to ask you. How perfectly with miui rom flashing this kernel:(

Edit: can miui rom display traditional chinese in the message app?
[Nexus S Android Development] SA-07:
Is Matr1x running well on the stock rom?
[Nexus S Android Development] rikardo1979:
just a question for u m8

if I flash this 3.5 version whats mentioned as 1.4 Ghz is it without overclock by default or if no can I sett it ?

I dont really need and want overclock.

i prefer stability and bat life :)

cheers

:cool:
[Nexus S Android Development] solidchips:
Hi mathkid95, my nexus s has some serious stability issues (freezes and random reboots). I tried many ROMs and kernels. After all that i figured it out that it runs stable if i increase the voltages slightly beyond the stock.

I increased the stock voltages by adding 25 to each stock voltage value.

Just wondering is it safe?

btw i don't overclock.

My device current configuration is:

Oxygen 2.3.1/ Matr1x cfs 8.0

Custom voltages

100M@975

200M@975

400M@1075

800M@1225

1G@1375

Regards

Faisal
[Nexus S Android Development] SA-07:
or that lol
[Nexus S Android Development] SA-07:
Try v9.0 and lemme know
[Nexus S Android Development] mike216:
Its weird it said I was in deep idol 95% all night but saw around 8% battery drop in 4 hours when I usually loose around 4% in 8 hours

I wiped my battery stats so I'm going to hang I'n there a couple charge cycles before giving up on deep idol but MK do you think the CM battery tweak is causing very in accurate battery readings I do

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] mike216:
Yes its safe to go around 50 over

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] from1989:
i know that !i have enabled it i mean how i can know it is working truely
[Nexus S Android Development] SA-07:
I don't think so because I'm getting great battery life with ondemand at 1300/100

But try wiping the stats then reflashing
[Nexus S Android Development] SA-07:
CPU spy

See if u r in a deep idle state ;)
[Nexus S Android Development] dario3040:
wtf am I reading....

Remember one thing, too high voltages can also make it unstable.

If your Nexus S can't run at 1Ghz without changing the voltages then send it back to Samsung.

Every Nexus S is tested to run at 1Ghz before they are shipped, if your doesn't then its a hardware issue.

but then again it might just be that you set the voltage too high.

I'm running T144 right now, so I can't suggest any good voltages, but try decreasing the voltage instead of increasing it.
[Nexus S Android Development] mike216:
This one is fast as F+-* I love the speed

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] mike216:
Frank a great dev increased his voltages some and said it got rid of the nscollab reboot problem so I'm simply suggesting what frank already tested and suggested

CM based roms are not your average rom so some phones may need that extra power. Whatever works

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] from1989:
this mean it works or not?
[Nexus S Android Development] SA-07:
Yes its working
[Nexus S Android Development] from1989:
but if i turn it off the reasult is similar
[Nexus S Android Development] SA-07:
Really?? Let it run for more time with it enabled
[Nexus S Android Development] casca:
Hey Math, one thing.. at the deep idle thread it is showing that with it enabled and overclocked at 1300mhz drains less than with stock speeds?
[Nexus S Android Development] SA-07:
Yeah that's my setup and its great
[Nexus S Android Development] casca:
How is it possible? Can you explain in a few words?
[Nexus S Android Development] thoth77:
65fps

Many Korean nexus s users love Matr1x kernel!

Howerver, the users want "Screen refresh rate increased to 65hz"

How about that?
[Nexus S Android Development] dario3040:
Install the kernel

Download SetCPU

Install SetCPU

Press the Voltages tab

Change voltages

Press the big save button.
[Nexus S Android Development] SA-07:
Lol are you the nexus s leader in Korea??

Hehe just messing... yeah I will look into it
[Nexus S Android Development] rrohanjs:
i havent had a reboot since those 2 when i first flashed it .. so should i still increase the voltage by 20 ?

can u plz tell me what is it actually, like what will it do .. will it harm anythin in my phone in the long run ?
[Nexus S Android Development] thoth77:
Thanks

I'm not leader lol

But the community has 8,745 members

I simply dilivered the opinions of the members
[Nexus S Android Development] SA-07:
No no if you are not getting reboots then don't worry about it.

Raising voltages will not harm your phone unless you go crazy and raise it way too much.

I thought you said you got 2 reboots??
[Nexus S Android Development] SA-07:
Ah wow I see. Yeah I am trying my best to make everyone happy ;)
[Nexus S Android Development] rrohanjs:
yea i did, but since then i havent .. the reboots were like 30 mins after flashing the kernel ..
[Nexus S Android Development] SA-07:
Ohh...then don't worry about it

If you want though, raise all voltages by 5
[Nexus S Android Development] thoth77:
We appreciate it

World bless you!
[Nexus S Android Development] Wiltuk:
So what exactly does Deep Idle power down when it is enabled?
[Nexus S Android Development] dario3040:
Deep idle for dummies
[Nexus S Android Development] casca:
Tks for the replies but what I meant was how can it be possible to have the cpu at 1320mhz and consume less than at 880mhz like described at deep idle thread?!?!
[Nexus S Android Development] mike216:
I run at 1000 and I'm feeling a little drain so could you please explain this MK

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] SA-07:
With or without deep idle
[Nexus S Android Development] mike216:
Ezekiel has a bug fix just posted could you please add this in and release 9.5 please!

Thanks MK

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] mike216:
I didn't touch anything 100 1000 ondemand

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] SA-07:
Change it to 1300/100 and lemme know

Yeah don't worry I always am up to date with ezekeel bug fixes haha
[Nexus S Android Development] mike216:
Ok but I really dont like pushing my cpu that high,I can't do 1200 and receive a slightly higher benifit

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] SA-07:
Ok do 1.2 then
[Nexus S Android Development] Ser Gilgoroth:
1200/100 here. My phone hates 1460, never tried 1300
[Nexus S Android Development] johoja:
What governor are you using sir?
[Nexus S Android Development] SA-07:
Ondemand
[Nexus S Android Development] insomnia48:
My experience of v9.0

I flashed v9.0 yesterday a few minutes after you first posted it and I used it for about 18 hours @ 100/1200 smartassv2 without livoc and without deep idle. Everything was fine as usual.

Then last night I thought I'd give deep idle a try and I flashed the newer version with deep idle enabled. At first it seemed ok so I went on to try liveoc as well. I created an init.d script @ 110% with raised voltages and properly adjusted max/min frequencies but it wouldn't boot. I restored my system partition and tried a new script with even higher voltages but still nothing. So I restored my system again and I went for 105% 105/1260 interactive. And it booted. :D

I then went to bed and when I woke up in the morning it was dead. :( I did a battery pull and when it booted again I noticed that it had consumed 30% of battery overnight! :eek: I had to do another battery pull again two times during the next 3 hours, not to mention that the battery usage was quite excessive again.

So, I kept my liveoc script intact and I flashed the version without deep idle and it has been working fine again for the last 8 hours @ 105% 105/1260 smartassv2.

So, no deep idle for me at the moment!

PS: I have been on NSCollab since #39 and Matr1x since 5.0. I have always updated both the same day an update was available and I have never had the dead phone problem so far. Well, not until I enabled deep idle! ;)
[Nexus S Android Development] SA-07:
Hahaha sweet!
[Nexus S Android Development] Graham19:
Can I run 9.0 without enabling deep idle?
[Nexus S Android Development] SA-07:
Yeah just echo the '0' into the enabled file and you should be good
[Nexus S Android Development] stuff:
Downloaded and flashed the kernel.

I think once it went into deep sleep the phone wouldn't wake up. I had to pull the battery to fix it. :S

Just fresh installed CM7 latest nightly and your kernel.
[Nexus S Android Development] mike216:
Entered the commands to disabled it in terminal emulater and for permission denied

? Did it exactly how you said to do in the op a couple pages back but no luck,I can't take the battery drain please be as specific as you can to disable in terminal emulater

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] chickelnoodensoup:
Did you use the su command?
[Nexus S Android Development] got2best:
MK . I am currently running 200 and 1.2 for my CPU.. reboot maybe twice.. I wanted to put it at 1.3 should I change the voltages? They r stocm right now.
[Nexus S Android Development] mike216:
I don't like running at 1300 neither but I was thinking if we leave it on ondemand the cpu will rarely get you that high anyways so it might but be a bad idea because the deepidle definitely works on 1300 but that's it not on 1200 so if you want to see for yourself then grab cpu spy from the market and check out exactly how the cpu is throttling

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] mike216:
Yes raise it to 950 on 100 and 200 and try that for now

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] got2best:
Sorry I am new the whole voltage changing.. can u post a screen capture of that? I am scared to burn my phone out.
[Nexus S Android Development] mike216:
I'm a noob also so I don't know how to but get set cpu and go to voltages and the bottom two are at 915 just raise it to 950 you'll see what I mean when you go there

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] caleb1783:
here are my voltage settings..

http://caleb1783.tistory.com/196

may vary between phones though... if it reboots on you, try raising voltage by 5 for that specific MHz..
[Nexus S Android Development] LionAR10:
Yeah, I get the same thing, it goes to sleep and never wakes up ... requires a battery pull to reboot.

1200 - 100 with deepidle on 9.0

8.5 worked fine, though the new deep idle seems better on battery .. when its not super crashed.

Edit: someone on the talon kernel thread said to try 800mhz as lower bound to prevent off-lock. Trying that now.
[Nexus S Android Development] mike216:
How do I get the deep sleep disable to stick using terminal emulater I run nscollab so I know I have unit.d support,please help me with this command because I'm getting excellent battery life with it disabled and I know it is because I got a 0 with the check command I found over at Ezekiels thread

I love this kernel alot but I really need the disable to stick,any help would be greatly appreciated

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] jodtalingchan:
I think you need to create script file in init.d

#!/system/bin/sh

echo 0 > /sys/class/misc/deepidle/enabled
[Nexus S Android Development] SA-07:
Try the MatrixRom!!! :D
[Nexus S Android Development] mike216:
So do I go in my unit.d folder with rootexplore and make a folder that says #!/system/bin/sh

Thanks alot I really need to figure this out because my battery life is double without deep idle,it was killing my battery

Sent from my INTERACTIVE NSCOLLAB
[Nexus S Android Development] LionAR10:
Setting 800 -1200 still resulted in sleep-lock.

Rolled back to 8.5.
[Nexus S Android Development] rrohanjs:
hey mathkid i must say superb kernel, made kelmskings miui much smoother, amazing battery life ..

7 hours over nite drainage 5% .. not bad :D

EDIT : with 3g data running and whatsapp google plus facebook .. none killed ..