yashsingh1/xdaforums huggingface dataset:
[Nexus S 4G Android Development] Rem3Dy:
No worries. Its not your fault things are changing every other day. Thanks for all your hard work.
[Nexus S 4G Android Development] Xaelius:
Just a thought, and I am not sure if the level of detail I am thinking of is possible, but as I seem to be having for the most part extremely stable and desirable results with oICSv26 and matr1x-cfs-12, if it might be helpful to any devs and how I would go about performing a very thorough dump of all the configs and logs and such from my device to upload, excluding and personal data, of course. Someone hit me up...

Edit: Spoke too soon....wifi will not turn on now, lol....that sucks :-p
[Nexus S 4G Android Development] xuser:
Secure Wi-Fi tethering seems to be THE issue across ALL ICS roms, and kernels.
[Nexus S 4G Android Development] SA-07:
Anyone with a cross compile environment set up that can successfully compile kernels, please pm me...
[Nexus S 4G Android Development] ZiggSVO:
This is not the case for all ics roms or kernels. You can not make blanket statements like that :p Discredits every devs hard work. Some kernels don't mesh with some roms. It has to do with the drivers usually. And its usually the rom that changes drivers. So not all devs feel the need to update their kernels for unofficial ports. Will patiently wait for your ics kernel once ota drops. :)
[Nexus S 4G Android Development] keebler021:
Flashed this before seeing that wifi was out. -laughs-

That's alright though, I'm glad I did. This thing is running like butter on oICS 29. I can live without wifi for a performance trade off ;-)

-sent via oICS from the future of Android
[Nexus S 4G Android Development] Paul627g:
WIFI is still working sweet for me on v12 and oICS v29 ;)

Actually all my numbers, screen on times etc.. seem very nice over night on v29 & v12 combo.... Not complaining here...

Good job MK.
[Nexus S 4G Android Development] ZiggSVO:
Keep rubbing it in there big guy
[Nexus S 4G Android Development] vinnypel2ella:
BFS broke my phone. after flashing it, was stuck in bootloops, tried flashing different kernel, didnt help. had to wipe everything...again :((((( very mad about that
[Nexus S 4G Android Development] ZiggSVO:
That's the purpose of the disclaimer :) at least you got it working again.
[Nexus S 4G Android Development] SA-07:
Hi guys,

I've released a kernel for the gnex, but it's basically for the gsm 4.0.1

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

I am waiting for a proper .3 rom.

Right now I am relying on testers, and it would be much easier on me if i had the device haha

I was wondering if anyone going to the gnex could maybe throw in a donation to help me get the phone?

For anyone who has donated, thanks so much!
[Nexus S 4G Android Development] SA-07:
kernel update! ics love ;D
[Nexus S 4G Android Development] mushupork:
*WARNING: Overly simplified version of bootup sequence ahead.* :D

First the phone runs low level bootloader, which brings up the kernel. Then it passes control to the kernel to mount filesystems, bring up userspace apps, etc.

That's when the init scripts run; during rom bootup, but before it becomes user interactive.

Do you know for sure if your rom supports init.d? Which rom are you using?
[Nexus S 4G Android Development] rift999:
irtehun v6. Fairly certain that it would support the scripts being based on CM9.
[Nexus S 4G Android Development] chalan30:
Hey mushupork,

thanks for your work on this script, i just happened to find this here on xda and it seemed interesting, I dont know if it will have any bearing on what youve been doing/trying to do, but i figured id share the find, just in case. In particular the script called S98screenstate_scaling.

http://xdaforums.com/showthread.php?t=1472387
[Nexus S 4G Android Development] mushupork:
In playing around with the script, rebuilding the zip, reflashing it, etc. I got the Google bootloop too. Looped 3 times, then booted up normally. Seems to work fine after it finally boots.

I can't figure it out. I've built flashable zips probably close to 100 times and never had that happen.

Maybe if you flash and let it go for a couple of minutes, it'll get past the loop.

You may also want to ask in the irtehun thread if that ROM has support for init.d.
[Nexus S 4G Android Development] Skunk Ape1:
The new script hasn't looped on me yet. While I can't tell if it goes into wheatley with screen off, but cpu spy showed deep sleep 96%, 200 1% & 800 1%. Don't know what happened to the other 2%. This was overnight when i was sleeping.

____________________

Just Flash It !!!
[Nexus S 4G Android Development] Skunk Ape1:
This is weird... I didn't notice that you changed it to flashable... I deleted the zip ext. And just copied it to the proper folder and changed the permissions... will this still work lol.

____________________

Just Flash It !!!
[Nexus S 4G Android Development] rift999:
Ok thanks, I will ask.
[Nexus S 4G Android Development] enosh816:
to test to see if it was working, I set my settings to something else but didn't check the "run on boot" and when I ran the script it booted at 200/800 lazy. Then I set the oi to noop and checked set on boot.

Edit: actually just change your setting, turn screen off then back on and it should be back to the scripted settings, I know this doesn't confirm it is on wheatly with screen off but it does confirm that the script is working.
[Nexus S 4G Android Development] Skunk Ape1:
Unless I misunderstood. I think the script was for screen off settings and shouldn't effect the screen on settings at all. so testing by checking anything screen on isn't telling us anything.

Fyi... When I make changes to screen on setting and turn screen off and on, the settings changes made, are still there. As i would have expected.

____________________

Just Flash It !!!
[Nexus S 4G Android Development] mushupork:
The script *does* look for "screen on" state and sets gov to lazy, speed 200/800. Then looks for "screen off" and sets to wheatley 200/400. So if you're making governor changes with something else (setcpu, etc.) it will conflict.

You can verify proper function by connecting phone to computer, and issue the following command (keep the quotes, they're important).

adb shell "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"

.

Do that with screen on, you should see "lazy" and with screen off, you should see "wheatley".

You can pull the script out of the zip file and manually push that to your phone, but it won't work if you just put the zip file into /system/etc/init.d.
[Nexus S 4G Android Development] Skunk Ape1:
Good to know... Got another question. Is the scheduler chosen by the script as well or is it just the CPU speeds and governor?

____________________

Just Flash It !!!
[Nexus S 4G Android Development] enosh816:
I would say that if you ran that test and nothing changed then the script did not take. I ran that test before editing that post and it did change my settings back to the scripted settings. I do not think it changes io but the kernel is set to ondemand or something so unless you use run at boot your io will not stay at noop.
[Nexus S 4G Android Development] jerusry:
Not sure if vhgomez LotaR1 Rom is my problem? Has anyone had success with this on LotaR1 Rom? Anyone know if it should support it? Just doesn't make sense why it isn't working?
[Nexus S 4G Android Development] Skunk Ape1:
Ok... So the script didn't take by copying the file to the init.d folder (yes I removed the zip extension.)

So I flashed the zip in recovery. When i restarted, it again hangs at the google start up screen. Pulled battery at least a dozen times. It continued to hang at the Google screen every time.

It looks like I'm destined to use setcpu and not the script. Oh well, I guess it's not that big a deal. :cool:

Thanks to those who put time into this script...

____________________

Just Flash It !!!
[Nexus S 4G Android Development] Nexism:
May be a dumb question but what's the advantage of using a script over setcpu for the off screen profile?
[Nexus S 4G Android Development] kevincwelch:
It's not so bad; it seems to work anyway.

What priority are you setting to your screen off profile?
[Nexus S 4G Android Development] treyweez11:
OH ****!!! I Thi-I Think I smell an 18.0 Matr1x Kernel around the corner. 18.0 sounnnnddssss soooo bad azzzzlol Equipped with sharks with lazer beams on their head i cant wait!!!
[Nexus S 4G Android Development] Skunk Ape1:
Set mine to 85.

____________________

Just Flash It !!!
[Nexus S 4G Android Development] mushupork:
Some folks just don't want another app (setcpu, etc.) running to do what can be done with a script.

I'll be honest, I haven't seen any battery savings using the script vs using SetCPU. I have personally gone back to using SetCPU. :p
[Nexus S 4G Android Development] Skunk Ape1:
Lol... So have I.

____________________

Just Flash It !!!
[Nexus S 4G Android Development] mushupork:
Too funny. I could see putting this in a script if there's a bunch of other stuff you want the script to do as well, but to have this as the sole function of a script... I just haven't seen any battery savings to justify it.
[Nexus S 4G Android Development] JohnCorleone:
Yeah, it would really have to go in conjunction with a frequency scaling script like Calkulin uses where Epic Touch drops from 1200 to 1000 at 85% battery and 1000 to 800 at 35% battery. I slightly altered those myself but a frequency scaling script combined with a screen off profile definitely helps but that tends to fall on a ROM dev. It isn't anything I have seen in a kernel.

Edit..actually that gives me an idea for another SetCPU profile... lol

Edit 2..SetCPU update..
[Nexus S 4G Android Development] hp420:
Just thought I'd mention this :)

http://rootzwiki.com/topic/19720-kernel-patch-devs-only-force-ac-fast-charging/
[Nexus S 4G Android Development] JohnCorleone:
Interesting find. I grabbed the apk....just in case..lol
[Nexus S 4G Android Development] hp420:
yeah, I did too...and I also grabbed the patch just in case.

it'd be so cool to have a widget to toggle this too!! Click the widget, plug the usb in & you're all set for a forced ac charge ;)
[Nexus S 4G Android Development] Killasmoke:
kernel very nice with profiles set for screen off & I like that SET CPU

Finally got updated like the new UI with ICS blue!! :)
[Nexus S 4G Android Development] Skunk Ape1:
I got the setcpu update last night. Ui has lots of changes...

____________________

Just Flash It !!!
[Nexus S 4G Android Development] The Doctor PhD:
I'm using ROM Toolbox to handle my screen on/off and have gotten really good battery life.
[Nexus S 4G Android Development] Nexism:
SetCPU with off screen wheatly 100/400 has been working fantastic for me and has taken 0 maintenance.
[Nexus S 4G Android Development] Skunk Ape1:
Fyi... You don't need the screen on profile. Just set your default to 800/200 lazy. It will go back to the default by itself when your screen is on. All you need to set up is screen off.;)

____________________

Just Flash It !!!
[Nexus S 4G Android Development] enosh816:
you do with with romtoolbox. I had troulble figuring that out because I used setcpu before romtoolbox added profiles. Of course it was about two days after I bought setcpu. No loss though, all the devs deserve support.
[Nexus S 4G Android Development] Nahte27:
I would like to try this screen off wheatley gov profile, but with wheatly 100/400 set as screen off I consistently get a sleep of death. It doesn't seem to matter what my active (screen on) gov is.

Any thoughts, or does my phone just hate the wheatley gov?
[Nexus S 4G Android Development] jerusry:
run at 200 MHz... fixed my wheatley problem. Didn't affect battery usage...
[Nexus S 4G Android Development] enosh816:
I did notice that with rom toolbox whenever you restart or reboot device you need to disable then enable the profiles or they don't work. I noticed because I use a charging profile and it doesn't change unless I do that after a reeboot. I'm going back to setcpu since it ran flawless.
[Nexus S 4G Android Development] SA-07:
Until v18.0 is released, here are 17.5 CM9 ramdisk versions!

CFS: http://goo.gl/04gt1

BFS: http://goo.gl/mSarU
[Nexus S 4G Android Development] Master Ramy:
What are ramdisk versions compared with regular 17.5? Could u explain it for those of us who don't know the difference? And does it translate to better battery?
[Nexus S 4G Android Development] Skunk Ape1:
Already tried and approve! Sweet Jesus they are both smooth!
[Nexus S 4G Android Development] ejohn3288:
these can be flashed on any ics rom? im running NMV4G Rom right now.
[Nexus S 4G Android Development] Skunk Ape1:
And so am I! :cool: Smooth Running
[Nexus S 4G Android Development] SA-07:
Any cm9 rom
[Nexus S 4G Android Development] FL0OD:
Spunky!!! Running smooth on Euroskank CM9 Kang.

†††
[Nexus S 4G Android Development] mixtapes08:
Cm9 ramdisk version kernel performs well and full performance on cm9 only. You can still use any kernel version but will have some decrease in performance.

Sent from my Nexus S
[Nexus S 4G Android Development] KodiakDraco:
updating now.

Crespo4G - CM9v3.0 - Matr1x BFS v17.5
[Nexus S 4G Android Development] formula84:
@Mathkid, any chance we could get a build that does not have voodoo color? I think the stock colors look fine for me on ics.... for some reason even if not adjusting default colors with voodoo app with auto brightness on in low light produces a green flash at power on sometimes. I checked and gamma is all zero's and its not on power off only power on. I am aokp m4 if that matters.

I love everything about your kernel but would really appreciate a voodoo sound only with stock kernel color driver.

Thanks for all you work on this kernel keep it up.

Edit: I don't mean a build that has tweaked unchangeable color like other devs that uses a modified voodoo v1 color driver rather then v2 configurable one...just whatever stock has for color driver.
[Nexus S 4G Android Development] KodiakDraco:
17.5 BFS CM9 is working great. I'm no longer experiencing the occasional lags that I did with the original 17.5

Crespo4G - CM9v3.0 - Matr1x BFS v17.5 CM9
[Nexus S 4G Android Development] genaro12543:
Wow MK I got a story for ya. So I was on matrix 17 I think and I noticed my phone would slow down a little here and there so i decided to give another kernel a shot so i went with trinity and I was blown away by the responsiveness. I don't know why it was better it just made my phone run real quick.

Then I got reboots and the battery life was TERRIBLE but I gave it a few days to see if it just had to settle in but since my phone rebooted randomly my numbers were always thrown off cuz the phone would boot up with less battery percentage than before it rebooted.

Then I said screw it, I need matrix back on my phone. So I was looking through the mv4g thread that had the tweaks and stuff but i lost some interest cuz of his kernel choice but I saw a post by skunk_ape (you the man, I always trust your advice) suggesting he try matrix with ramdisk on his rom so I decided to download it.

Moral of the story, my phone runs way faster than before I tried trinity, my battery life is back to the standard I was used to with ur kernel (about 10 hrs minimum usually with about 3 hours screen time) AND ZERO reboots!!! I love it!! Thanks math kid no more experimenting for me. Now I just gotta try that new rom with ur kernel and I'm set: )

I'm on euroskank right now but its not my favorite. Thanks MK sorry for the rant I'm just really happy with what you've contributed to the community. Keep it up!!
[Nexus S 4G Android Development] FL0OD:
BFS CM9 17.5 running smooth on the latest CM9 Nightly 3/10. Recommend a reboot after setup.

†††
[Nexus S 4G Android Development] enosh816:
I don't know why I can't upload pics. But I have 23hrs with 2hrs screen time and 56% left. I'm never changing this set up.

now codename 1.5 will come out.

______________________

dy-NASTY "HCS" Themed

Nexus S 4G

Codename Android 1.4.0

Matr1x 17.5 cfs
[Nexus S 4G Android Development] chalan30:
you cant upload pics to where? FB, dropbox, picassa? Its probably a rom or configuration issue rather than anything to do with the mathkids kernel. but regardless thats some crazy battery dood! ;)
[Nexus S 4G Android Development] enosh816:
Can't upload pics to this site from my phone. Screen shots of this crazy bat life. I think its the app update that is the issue.

______________________

dy-NASTY "HCS" Themed

Nexus S 4G

Codename Android 1.4.0

Matr1x 17.5 cfs
[Nexus S 4G Android Development] Sc4ryB3ar:
How in the heck are you guys getting these battery times??? I'm lucky if I get 7-8hrs. With 2hrs screentime...

I'm running 1200/100 smartassV2 and i have the deep idle patch on there
[Nexus S 4G Android Development] Master Ramy:
QUOTE=enosh816;23488740]I don't know why I can't upload pics. But I have 23hrs with 2hrs screen time and 56% left. I'm never changing this set up.

now codename 1.5 will come out.

______________________

dy-NASTY "HCS" Themed

Nexus S 4G

Codename Android 1.4.0

Matr1x 17.5 cfs[/QUOTE]

Can u give us ur full setup? Rom, kernel, gov, scheduler, frozen, cpu ?
[Nexus S 4G Android Development] enosh816:
Can u give us ur full setup? Rom, kernel, gov, scheduler, frozen, cpu ?

My sig has rom and kernel, smartass 800/100 screen on. Wheatly 400/100 screen off with setcpu. frozen tags, nfc service, google+, sprint menu. a few other apps i unfreeze when I want to use. Just check what is running that you hardly use and freeze it.

I am at 1d 13hrs 16 min with 4hrs 30 min screen time and 12% left.

I know that is with two nights, so your looking at 12 or so hrs that I was sleeping with data off but I still love the fact that my phone is basiclly off when screen is off. I was having trouble with it dying over night before. I did't use it for games on this run but I didn't purposly not use it either. If I wanted to take a pic or shoot some video i did, if I wanted to make a call i did. I had about 1 hr watching video and 2 hrs reading text. but like I said I used it like normal for a whole day and a half and it sat for two nights on one charge.

I might have flash withdraws but I don't think I wanna change anything unless I notice a change.
[Nexus S 4G Android Development] Sc4ryB3ar:
Still kinda new at all this, what are frozen tags? Or, I guess a better question (because clearly their processes earmarked to remain stopped...) is how do you do do that?
[Nexus S 4G Android Development] Skunk Ape1:
If you want decent battery life you have to practice good habits. Turn off data when you don't need it. And stop programs from running in the background when you don't need them. This goes for gps as well. Do you really need gps running when you aren't using it?

Most good roms have toggles to make turning this stuff on and off easy. Make it a habit and use them.

____________________

Just Flash It !!!
[Nexus S 4G Android Development] SA-07:
I'm really sorry for the delay... I'll work on the kernel asap
[Nexus S 4G Android Development] formula84:
Thanks... any comment on my previous voodoo request?
[Nexus S 4G Android Development] SA-07:
Lol id like to keep voodoo colors... sorry ;D
[Nexus S 4G Android Development] formula84:
I was talking about an alternate build option like how you have bfs and cfs...you would be my hero,lol

Edit: no one else has a modified kernel that does not have a no voodoo color option, there are a few that have unchangeable voodoo v1 colors set. I just think it would be awesome to have as an option....shame I don't know how to build from source my self and not even bother you, but I am not that skilled.
[Nexus S 4G Android Development] jerusry:
Run 200 min. Ramp up will kill yer battery. 100mhz not worth it if your OC... only of yer max is 800 and even then i wouldn't. I've tried several setups. Smartassv2 nets me very bad battery life... on demand is very responsive and easy on battery. Don't believe me? Watch your MHz jump all over when your doing nothing with smartassv2... on demand it is rock steady at 200... smart ass seems to also use higher MHz under less loads...
[Nexus S 4G Android Development] jasonmaloney:
Since when does GPS consume power when you aren't using it?
[Nexus S 4G Android Development] enosh816:
Your right about smartass. I thought I was using smartass but I had a profile set to go to lazy under 35% battery and that really helped with the battery life I got. I thought lazy was laggy on my phone but I forgot I set that profile and didn't notice any lag.
[Nexus S 4G Android Development] JohnCorleone:
Yeah, smartass didn't end up being battery friendly on my phone either. The 800/200 lazy with 400/200 wheatley screen off profile has been a winner for me
[Nexus S 4G Android Development] Skunk Ape1:
Not sure but gingerbread gives a warning every time you turn on gps. Something like. Enabling Gps will shorten the battery life. At least that's what it says on my daughters epic.

I was told google maps (which is always running) constantly pings your gps unless it is off.
[Nexus S 4G Android Development] enosh816:
I think that is only if you have location history enabled.
[Nexus S 4G Android Development] Skunk Ape1:
Perhaps that's correct... I have no idea. I just know what works for me. If it doesn't help with the battery at least it gives me piece of mind. :D

____________________

Just Flash It !!!
[Nexus S 4G Android Development] kyouko:
Jason you have a NS4G now!?
[Nexus S 4G Android Development] jasonmaloney:
Yup, bought it in December when Sprint ran free NS4G sale.

If you enable WiFi location service, Google will periodically collect the SSID and MAC of the APs surrounding you. If they do not have location information for a particular AP, they will then ping your GPS to determine its location. This won't happen if your WiFi is disabled (or if your screen is off and WiFi is therefore sleeping).

GPS should only consume power when it is in use. Enabling GPS simply makes it available to apps/services wishing to use it.
[Nexus S 4G Android Development] jerusry:
Maybe... the GPS doesn't eat your battery if you don't have apps that will open on their own and use it on their own. Including tons of downloaded market apps and Google maps. But if they are able to run... they try to use it if it is on. I have a lot of apps that open in the background on their own. And its annoying.

If you have data Nd wifi off... obviously it will not be eating more battery. But when you use your phone is another story.

I will test it out. But, considering I have NO apps on my phone that would use it.... it might not matter. But I will try it out. My belief is it will not affect my battery with how my phone is setup... but many other setups or circumstances it may...

I will say if you do not have several apps disabled or don't pay attention to certain apps that gain certain permissions when you market download it will eat you battery. Also, GPS will eat battery just from trying to improve your network location service that's always running. Unless you disable that too.

I Know for a fact that GPS runs all the time when it wants to if it has background apps available to use. It did with my googlemaps. So I disabled Google maps and click off GPS.

Remember I am testing with no apps running that could use it. Will also test by enabling gmaps but not running it or opening it myself. I know if I don't have apps on using GPS and turn it on... it is always trying to keep track and lock on if it ever loses track.. I know searching constantly will eat battery.... so we will see

If I debunk my own theories I will keep GPS enabled.. :)
[Nexus S 4G Android Development] enosh816:
with location history on, which i think is on by default in google maps, gps is pinging alot, but with it disabled I get great battery and I don't see anything that indicates it is using battery.
[Nexus S 4G Android Development] ymshulman:
How do you shut it off? I can't seem to find a location history setting in google maps. Unless it's one of the options in system settings, under location? But none of them sound like the right one.....