yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] lukappaseidue:
:( I have done them.

either wiped cache and DALVIK

nothing :(

nstools as been allowed by superuser 306
[Nexus S Android Development] ro_explorer:
That would be in airplane mode (from the snapshot) .. I would dare to say it doesn't count :).

It makes no sense to turn my phone into an alarm clock (this is the purpose I guess, in airplane mode). I would like to have 2% drop overnight with everything on :) .. and believe it or not, I was getting that with my ex Galaxy S and speedmod kernel under latest froyo variants (~10 months ago). On gingerbread I was getting close to 3-4% overnight under the same conditions.

Now .. I see that kind of power saving coming to nexus s + franco's kernel also.

I'll report tomorrow what drop I'll have during this night with everything on (wifi set to sleep on screen off).

It seems that wifi doesn't go to idle mode as much as it used to. If I'm turning wifi on all the time (never sleep) I'll get it as being the main battery consumer overnight.
[Nexus S Android Development] Icecoldmeat:
Every time I flash another kernel, I'm coming back to this one :)

Sent from my Nexus S
[Nexus S Android Development] franciscofranco:
Wifi maybe wastes a little extra power (not really noticeable), but on the contrary the signal is much much stronger ;)
[Nexus S Android Development] zackandethan:
Im running the 11/6 update with dreamsforgotten 1.5 rom on my ns4g . Went from 97% to 72% in about 4 1/2 hrs . However , my son grabed my phone and was playing a game for abit . All works fine for me and im way pleased . Thanks franco , awesome kernal . Def my favorite for this ns4g .
[Nexus S Android Development] HeavenlyWinds:
Franco, new update is perfection. I flashed a couple of Kernels and tested some for a day or two but i always keep coming back to this one, thanks for your amazing work and thanks for not delaying too much.
[Nexus S Android Development] ro_explorer:
I totally agree ... BUT:

Wifi should have some sort of idle/sleep mode when it should draw very little power compared with the active state. I actually think this sleep mode for the wifi module is there but is not putting the wifi into a very deep sleep :) ....

The developer "hardcore" (your sibling in the galaxy S and now galaxy S2 area) managed somehow to enhance that wifi sleep mode in his kernels so, there was an obvious less power drain with wifi ALWAYS ON compared with wifi off while screen off, during the long idle states of the phone. With thise things the SGS was able to loose only 3-4% overnight with everything turned on (in terms of syncing accounts) and with wifi never off.

I repeat, I'm not a developer so I can not look into the code and make suggestions or modifications but I'm a good reader of these topics involving development of state of the art kernel functions :)
[Nexus S Android Development] mike216:
Threw you a little something franco,thanks bud great as usual

Sent from my Nexus S
[Nexus S Android Development] franciscofranco:
Yes I thanked you via email =) !!
[Nexus S Android Development] franciscofranco:
Yes, the only two states I know is PM_FAST and PM_MAX. fast uses a little more power but signal is stronger, max does the opposite, more savings but less signal.
[Nexus S Android Development] idelgado782:
Downloaded and been messing with my phone all day. Playing games, browsing forums, and customizing/theming my phone. Battery has been great under those circumstances. Can't wait to test throughout the week! Also installed nstools set it to oc 110 and the phone is running great!

Thanks Franco!
[Nexus S Android Development] Zorrich:
I personally appreciate the improved signal since the wifi reception on the nexus s is weak. Anything that can help is worth the minor power drain for my uses.
[Nexus S Android Development] ro_explorer:
I personally boosted a little the wifi power on my router so I've covered the weak reception :) (from the deault 50mW to a hefty 100mW) :).

I'll see how things are going for me overnight. I'm enjoying an unlimited internet over 3G so it really doesn't matter for me on what type of connection I am while idle (when speed is not an issue, but power is). I'll test the phone with wifi off while screen off tonight and tomorrow with wifi never off .. I'll report the difference.
[Nexus S Android Development] mike216:
Sorry! Sync is off

Sent from my Nexus S
[Nexus S Android Development] Cybergr:
mike216, u still on NSCollab?!
[Nexus S Android Development] mike216:
Yes sir I sure am and loving it as its extremely stable

Sent from my Nexus S
[Nexus S Android Development] mike216:
I personal think that going in airplane mode and letting it sit over night is the only tru way to test the idle state,if data or wifi is on then your phone is going to be trying to establish a signal, constantly! So I would think that this would prevent a truly deepidle but I dont know nearly half of what you do as this kind of stuff is what you do for a living and I'm just a dumb mechanic so I'm probably wrong but this is how I always tested battery life on froyo and now gingerbread

Sent from my Nexus S
[Nexus S Android Development] Lazat:
Franco, loving your 06 kernel, but I have one problem :( notifications just vibrate, no sound :( I've checked so volume of notifications are not of and also repicked notifications in different apps. Gonna try wiping Dvcache and fix permissions.
[Nexus S Android Development] Cybergr:
Can u do me a favor please?!Can u try downloading google earth from the android market and tell me if there appears u a message saying that this app is not compatible with ur device?
[Nexus S Android Development] franciscofranco:
I'm sorry but I don't see how's that caused by the kernel :(
[Nexus S Android Development] Lazat:
The only thing I changed was from your 03/11 bfs kernel (where notifications worked) to 06/11 cfs.

Wiping dalvik and fixing permissions didn't work. Strange.. hmm
[Nexus S Android Development] Cybergr:
Try to wipe/format cache and Dalvik and reflash kernel!!

PS: Wipe Dalvik using Morfic`s Dalvik-Wiper!
[Nexus S Android Development] mike216:
It downloaded for me

Try the new market in themes and apps section here on xda

Also I'm liveoc at 105,440-1050

30 UV across my short board,lazy maxfreq, how about you

Sent from my Nexus S
[Nexus S Android Development] Lazat:
Still haven't figured out the silent notifications :-/ but on the other hand, the battery is AMAZING! Battery lasted for 21hours with screen on 5,5hours, a lot of benchmarking, talking in phone 45 min, 15sms, 10whatsapptexts, wifi on (set to sleep with screen of), autosync on.

Edit: liveOC 120, lazy gov 120/960

Edit 2: okej, I reverted back to 03/11 where notifications worked before, but not anymore. So something must be corrupted within my system partition. Gonna reflash rom :)
[Nexus S Android Development] mike216:
Format your system in advanced in CWM and both caches to be on the safe side and before you leave recovery flash the kernel

I highly suggest flashing the latest because its just amazing so far

Sent from my Nexus S
[Nexus S Android Development] HeavenlyWinds:
Guys, what is the default Governer for this kernel, i forgot what it is. And what governer do you recomment/what are you using right now. I'm having a tough time deciding.
[Nexus S Android Development] mike216:
Lazy and you should enable maxfreq on it,its a must!

I also have a hard time deciding but smartass feels the fastest with screen on but lazy gets better screen off battery and conservative is a good balance between these two so sorry I'm not much help because I feel the same way but lately lazy it is for me

Sent from my I9020T NSCOLLAB + FRANCO'S 06 BEAST LIVEOC 105
[Nexus S Android Development] Yusei:
guys, i really have had search but i can't find the "how to" to enable live oc

don't beat me plz :)
[Nexus S Android Development] HeavenlyWinds:
Thanks, enabled Maxfreq in terminal. I'll see how it goes.

I think this is like the 5th time i say it, but great work on the Kernel, Franco.

Edit: Yusei, download "NSTOOLS" on market it allows you to LiveOC without messing with the terminal. But make sure you reboot and change voltages. Mike, Lazy with Maxfreq on is running so smooth, i'll undervolt gradually until i get my perfect battery life. Thanks for your help.
[Nexus S Android Development] tmello56:
I use the app NStools that you can dload from the market.
[Nexus S Android Development] Yusei:
i've already have that app from 3 or 4 days to control other things, and i never seen Live OC, :facepalm:

Thank you very much
[Nexus S Android Development] al_madd:
Update nstool from market...will be there..
[Nexus S Android Development] Yusei:
no OC, live oc, and lazy governor make this
[Nexus S Android Development] zackandethan:
So what script do we run in terminal to enable max freq ? I have 1 from earlier post but just want to verify before running . Thanks in advance .
[Nexus S Android Development] kR105!:
How much on live oc? Did you overvolt?
[Nexus S Android Development] Yusei:
just 110%

no overvolt, i keep that default, even cuz i don't know how to overvolt or undervolt

i just use live oc nothing more
[Nexus S Android Development] jark99:
I keep getting a screen on problem from time to time. Ill be on my homescreen set phone down, come back 5 mins and screen hasn't shut off. It's annoying sometimes
[Nexus S Android Development] jeffkhlam:
I use lazy. How do I enable maxfreq and what numbers should I use? What does that do? Thanks in advance.
[Nexus S Android Development] Sputnikk23:
I thought this was ns4g compatible? I get boot loop on google screen? :(
[Nexus S Android Development] FL0OD:
This thing BLAZES on my 4g. Must be some thing else going on. I have run all of his kernels without issue.

Sent from my neXus s 4G
[Nexus S Android Development] Lazat:
Wiping /system and reflashing the rom worked. Strange that systempartition got a tiny bit corrupted after flashing a kernel :) anyway, probably just unlucky :) now I will continue to enjoy awesome batteeylife with notifications ;D
[Nexus S Android Development] mike216:
The commands to use in terminal emulater are on the first page and it will enable a max frequency when the screen is off to go into deepidle quicker

Sent from my I9020T NSCOLLAB + FRANCO'S 06 BEAST LIVEOC 105
[Nexus S Android Development] got2best:
I just tried that and it doesnt work.. i used these comands:

echo 1 >

/sys/devices/system/cpu/cpu0/cpufreq/lazy/screenoff_maxfreq

and it tells me permission denied.. i typed su before and i tried to do it without typing su.. whats wrong?
[Nexus S Android Development] mike216:
What rom are you on

That seems about rite to me

Did you type su then hit enter

Sent from my I9020T NSCOLLAB + FRANCO'S 06 BEAST LIVEOC 105
[Nexus S Android Development] got2best:
nscolleb.. i believe that is the same as you right?
[Nexus S Android Development] ragnarokx:
I'm using a script with this:

/system/xbin/echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/lazy/screenoff_maxfreq

And it works fine.
[Nexus S Android Development] mike216:
Oh you might have to go in the system and make a script with root explorer

System/etc/unit.d

And hold on 99complete and make a copy of it the rename that file 98lazymaxfreq make sure it doesn't have.bak on it!

Then enter this in as you see it

REBOOT

Sent from my I9020T NSCOLLAB + FRANCO'S 06 BEAST LIVEOC 105
[Nexus S Android Development] mixtapes08:
U need to type "su" first in the terminal then type that arguments.. su- to have superuser permission
[Nexus S Android Development] funcrusher:
I get that too. Is it a kernel issue? Loving this kernel, btw.
[Nexus S Android Development] got2best:
I very much appreciate these directions... but I dont understand all of what you said.. i am still learning.. i apologize..
[Nexus S Android Development] mike216:
No problem and definitely no need to apologize! I'm sure I'm rite there with you

Do you have root explorer?

Sent from my I9020T NSCOLLAB + FRANCO'S 06 BEAST LIVEOC 105
[Nexus S Android Development] mike216:
By the way I tried to see how my camera flash timing is and it works fine so not happening to all of us,just my report to this possible issue

Sent from my I9020T NSCOLLAB + FRANCO'S 06 BEAST LIVEOC 105
[Nexus S Android Development] :
I've flashed bfs version and camera flash worked fine

Obscurely referenced from the fifth dimension on my Nexus S
[Nexus S Android Development] doc_v15:
Oh wow!

How is that possible?? For me, even when I was sleeping and my phone in deep sleep, I got 90% after 6 hours.

What is your settings mike? Any background app such as whatsapp?
[Nexus S Android Development] mike216:
Airplane mode,I could be wrong but I feel that's the best way to see how deepidle is working,all of us have different methods on testing battery life but I like to go in airplane mode and see what I loose over an 8-9 hours period

440-1100 lazy maxfreq enabled

Those tested settings were 400-1000 lazy

Also that was a total cheat for battery! Sync off in airplane mode like I said can't get any more conservative then that

Sent from my I9020T NSCOLLAB + FRANCO'S 06 BEAST LIVEOC 105
[Nexus S Android Development] mike216:
Go get your nstools update! Can now adjust ezekeels voltage mod

Sent from my I9020T NSCOLLAB + FRANCO'S 06 BEAST LIVEOC 110
[Nexus S Android Development] ro_explorer:
Mike, it it's fine to go in whatever state you feel comfortable to test you're phone. In my case, I'll not take the connectivity off the device unless I really want to be disconnected from the world. I need to know that someone close to me can call me in case they are in trouble... Just saying...

Anyway, back on track. My phone got berserk last night .... 12% in 6 hours .... I'm currently investigating. I'll let you know.

---------- Post added at 09:12 AM ---------- Previous post was at 08:55 AM ----------

So, apparently the main cpu consumers (over 20 hours on battery): display (of course, who else should be in the first place), followed by mobile standby - android system - phone idle and last - voice calls.

Apparently I have to revise my settings on this device.

For now I've re-installed /system from a stable backup (original google files, not touched by any kernel before), reinstalled the latest franco kernel, wiped dalvik and /cache .... now let's see.

Everything else is on default settings (lazy gov, 100-1000 cpu, data on all the tine, wifi sleep - never while plugged in). I'll watch closely my phone for the next 24 hours.

Anyway, except that 12% drop overnight (which is completely awkward) the phone still had 50% battery after 20 hours ... so it is not so bad after all :).
[Nexus S Android Development] doc_v15:
quadrant score

My quadrant score using KelmsMLKing rom and franco kernel!

No live oc, all stocks settings
[Nexus S Android Development] :
Damn, i lost track... Can someone please remind me: Do i need to set 400 min freq for lazy governor for race to idle, or is screen_off_max_freq enabled by default?

Edit:

Franco didn't mention it in the 06 Nov update changelog, so I guess it's safe to assume no change.

Edit 2: confirmed, cat /sys/devices/system/cpu/cpu0/cpufreq/lazy/screenoff_maxfreq returns 0

I'll enable and test.

Obscurely referenced from the fifth dimension on my Nexus S
[Nexus S Android Development] Cybergr:
I have got an auto update to the latest market app. , so no need to download and install the one from apps and themes section..As for the Google Earth app, i just cleared cache and data under manage apps for the market app and it works.

As for the LiveOC and stuff, i haven`t got time to test different configurations yet.I am on stock clocks with stock voltages and running on Lazy gov.I will play with different configs later and post back.

So far i love my setup and the latest kernel!!

PS : No camera issues here too with 06/11/11 CFS ver.
[Nexus S Android Development] _bryan_:
Not compatible with daemon controller.

I am using KelLMSKing MIUI.
[Nexus S Android Development] Yusei:
after doing that is more anything that i need to do to activate maxfreq?

in my phone doesn't have System/etc/unit.d but have System/etc/init.d
[Nexus S Android Development] darthchilli:
i think it should be init.d

seems like unit.d was a typo
[Nexus S Android Development] Yusei:
i know, i've already creat that script in init.d

but what i should do know after rebooting?
[Nexus S Android Development] MultiCulti:
lol ... heavy usage xD
[Nexus S Android Development] Yusei:
How i change voltages?

EDIT:

Solved with setcpu

now another problema

seems like my deepidle isn't working, in NSTools when i'm going to chck status always shows 0 in all sections
[Nexus S Android Development] Cybergr:
I guarantee you that is working...Franco has just disable some debugging stuff that`s why u getting 0.. Not a problem at all.
[Nexus S Android Development] al_madd:
read OP please.....
[Nexus S Android Development] Yusei:
give me a punch plz

sorry francisco :)

thx guys

know i only have one issue, enable maxfreq :D
[Nexus S Android Development] got2best:
Yes I have root explorer
[Nexus S Android Development] caleb1783:
wow franc...

0611 is very fast and stable with the settings on my signature...

and battery life is best of all franco versions!

moderate use and still 50% at the end of the day....

great work!
[Nexus S Android Development] franciscofranco:
Yep it's the best until now in my opinion, I know what I did on the last two updates that ruined a little of the battery power, but now it's fixed and it's great =)
[Nexus S Android Development] rip_noob:
06 is the best version so far!
[Nexus S Android Development] jodtalingchan:
You re running cfs or bfs? Anyone's on bfs now? Any feedback? CFS is pretty fast and stable. Thank you franco

Sent from ☞ `°Google Nexus S°´
[Nexus S Android Development] thoth77:
minimum frequency

Franco, I have a question.

your recommended minimum frequency used to be 400MHz

but

in this, your values are

http://xdaforums.com/showpost.php?p=19110909&postcount=6

"live_oc: 110

dsvarm (cpu voltage): 1250, 1155, 1000, 900, 900

dsvint (internal voltage): stock"

when "screenoff_maxfreq" enabled, min freq 100 OK?
[Nexus S Android Development] rip_noob:
Im running CFS :)
[Nexus S Android Development] Yusei:
Plz guys, someone explain to me the steps to activate maxfreq after create the script in init.d
[Nexus S Android Development] franciscofranco:
What? When my screen is off it stays in maxfrequency, but my frequency range is 440/1100, always has always will be.
[Nexus S Android Development] Lazat:
I know Franco recommends 400min, but when you have screenoffmaxfreq enabled it doesn't matter for screen off. Then you minfreq will only benefit batterylife when screen is on. I for one run minfreq @ 100mhz (120 liveoc) and I can undervolt so much on that frequency so for me the screen on time is amazing :) managed 5,5 hours screen on and still lasting totally 21 hours :) but you have to try yourself, maybe its not worth it for you to run the minfreq at 100, maybe you think its to laggy :)

I'm running BFS, "feels" better with scrolling and such for me :)

The instructions are in the OP ;)

But just add this to your script in /init.d

echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/lazy/screenoff_maxfreq

Make sure you have set the permissions like the rest of the scripts in that folder :)

My configuration :

# enable deep idle: 0 == disabled || 1 == enabled

echo 1 > /sys/class/misc/deepidle/enabled

echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/lazy/screenoff_maxfreq

# enable liveOC

echo "1285 1190 960 835 800" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

echo 800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo 100000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo 120 > /sys/class/misc/liveoc/oc_value
[Nexus S Android Development] lukappaseidue:
the bug of dark photos, with flash which is activated in advance of the photo, has been solved?
[Nexus S Android Development] thoth77:
Thanks

Ah, I see.

always 440/1100! Thanks :)
[Nexus S Android Development] Cybergr:
With my signature setup..LiveOC 110, no voltages changes..
[Nexus S Android Development] franciscofranco:
I dont have that bug, its not kernel related as I never touched any camera ****. If you hold the shoot button until it beeps flash will be used in the righr time, no delays or **** like that.
[Nexus S Android Development] jhalmeida:
No bug continues!!!!

---------- Post added at 06:27 PM ---------- Previous post was at 06:24 PM ----------

Hum I am using costum rom from google and only after installing the kernel the bug appear. Neverthless as Francisco says it works,

thanks
[Nexus S Android Development] Yusei:
that two configurations are two scripts?
[Nexus S Android Development] lukappaseidue:
no issue ok.

only that kernel I'm using can't be setted by NsTools :(

using rom stock

anyone is able?
[Nexus S Android Development] jhalmeida:
Same issue here!
[Nexus S Android Development] Flying Fox:
NSTool works on my device, running 11/6 and brainmaster´s MIUI.
[Nexus S Android Development] franciscofranco:
NStools work fine, don't give false information.
[Nexus S Android Development] formula84:
WOW, with CM7 kang and stock 11/6 i get around 2200... I am guessing its miui? Are you using CFS or BFS?

---------- Post added at 07:08 PM ---------- Previous post was at 07:06 PM ----------

Damn I must be doing something wrong, going to try out a fresh rom install and the kernel without anything else running.

---------- Post added at 07:16 PM ---------- Previous post was at 07:08 PM ----------

So i was wondering what all this talk about 'screenoff_maxfreq' was so I searched and found the below QUOTE in the Lazy thread. Can someone tell me why we would want the phone to be at the max frequency when the phone screen is off? Wouldn't this cause more battery drain?
[Nexus S Android Development] mike216:
You running nscollab?

Sent from my I9020T NSCOLLAB + FRANCO'S 06 BEAST LIVEOC 110
[Nexus S Android Development] thoth77:
Scripts File?

In this Kernel

SetCPU or Proton Voltage Control

set voltages error
[Nexus S Android Development] mike216:
going to give this one a shot :) with a 3000 thank you count you have to be a beast of a developer,thanks:)
[Nexus S Android Development] franciscofranco:
Indeed, both SetCPU or Proton freeze my device when changing voltages...what the hell.
[Nexus S Android Development] brenix:
I was able to boot once after flashing... Then started getting immediate reboot right after boot... Didn't even change the voltages yet
[Nexus S Android Development] igor.tonky:
on 18.10 kernel setcpu 2.2.4 force closes on me when i scroll to the bottom of "voltages" tab. but i guess you already figured, that something is wrong with it :)

feature request: please increase CONFIG_HZ to 1000, so 'conservative' would be tweakable from 20K sampling rate.
[Nexus S Android Development] JmPTaz09:
I get nothing but freezes on this recent release, the last one worked fine. I don't know if it had to do with setcpu, but I tried changing it to not set anything on boot but it didn't help much, just kept freezing.
[Nexus S Android Development] Cybergr:
Max fps i get in quadrant are 50..Just reporting!Don`t know if it`s need to be checked!
[Nexus S Android Development] Igotsanevo4g:
Latest is running fine for me... Guess I'm the only one :p
[Nexus S Android Development] arshad14:
Running fast and super smooth for me too.
[Nexus S Android Development] sabaramo:
Wow. Just tried this and I'm absolutely blown away. My 9020t feels like a new phone. Thanks Franco!!!!
[Nexus S Android Development] dimiar:
Latest is running fine, no problem so far, great job my friend.
[Nexus S Android Development] Cybergr:
Everything running just fine except the voltage edit under SetCpu App..Looking forward to ur update Franco!
[Nexus S Android Development] jason62391:
This kernel is great. Crazy smooth!! You sir have earned yourself a new falsh junkie lol
[Nexus S Android Development] franciscofranco:
Did you build it from sources? Because I changed some things after I released it here and I broke something so if you built up from sources there's the reason.

http://xdaforums.com/showthread.php?t=1239165

About the setcpu/proton not working fine it's something I'm gonna look up, I probably did something wrong.