yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] moriz1:
I thought the idea is to have the CPU do everything as fast as it can, then race to deep idle as soon as it's done. If that's the case, wouldn't having the CPU jump to max all the time be favorable?
[Nexus S Android Development] isdfoa:
high first time doing this kind of thing, and i have a few questions :P

1. will this increase my battery life significantly?

----i used to get around 15 hours on stock rom, but after rooting and installing cm9, im now at 17% after 9hrs... same usage.

screen: 22% (3.5hrs on)

os: 22% (cpu total: 9min 40s, keep awake: 5.5hr)

cell standby: 21% (9hr 44m on, 37% time w/o signal)

mediaserver: 9% (11m cpu total, 1.5hr keep awake)

fruit ninja: 7% (19m cpu total)

2. will this make the speaker volume higher?

3. i don't need to do factory reset right? just wipe dalvik cache and it will save all app/system data?

thanks :)
[Nexus S Android Development] SA-07:
That sounds correct.. and it makes sense too. This is probably why running the higher frequencies is actually better... race to idle principle
[Nexus S Android Development] moriz1:
If so, we should set (in Lulzactive) inc load very low, pump down step to 2 or more, and screen off to 1000mhz. Or 800mhz, since I tried 1000mhz and it hard locked the phone when playing music. Have to investigate that later.

Or better yet, make a governor that won't use any of the intermediate steps; just deep idle, idle, and max.
[Nexus S Android Development] suksit:
That sounds like the behavior of minmax governor.
[Nexus S Android Development] SA-07:
Yeah it seems like it moriz.. try that as well
[Nexus S Android Development] moriz1:
Trying those settings right now. Currently at 30% after 40 hours. Pretty light usage though.
[Nexus S Android Development] tchaari:
I think that intermediate states between max and idle can be relevant in some tasks. For example (maybe it is not the best), when you make phone calls maybe an intermediate or even a low frequency is enough. If you use max, your battery could run out with only two or three long calls :)
[Nexus S Android Development] moriz1:
Very true. The rapid climb to max is only good if dealing with bursty tasks. For anything sustained, the lower states should be used.

Maybe a governor that can recognize the kind of tasks would be the best. Or maybe one that allows you to manually assign states for tasks, but otherwise burst up to max every time.
[Nexus S Android Development] tchaari:
I think that lulzactiveV2 and smartassV2 have this logic. You can read it here :

http://xdaforums.com/showthread.php?t=1369817
[Nexus S Android Development] nodstuff:
Setting inc cpu load too low will result in the cpu freq being ramped up to max too often and most of the time unnecessarily. for example things that use the mid range freqs like system ui will instead run the cpu at the max freq available and waste a lot more power for nothing. it is best to find a happy medium, i like 50-70% myself, depending on my mood or if i am doing intensive tasks. the good thing about lulzactive is that it can be changed on the fly so since people are asking about a gov that can differentiate between tasks, well there is one, YOU! :D

i use step up 1

step down 1

screen off 800

up sample 15000

down 40000

i have also undervolted even further but i'll leave that up to yourselves!
[Nexus S Android Development] y3mita:
Ran those with SIO one time and they're good! I actually loved lulzactivev2 in general!
[Nexus S Android Development] rrohanjs:
I'm getting better battery life on 14.5 than 15.0

14.5 is on sio by default and 15 is deadline .. is it because if that?
[Nexus S Android Development] mobile_pc:
As for now, Matr1x number one! :)

1. tons of governors and I/O schedulers

2. voodoo sound and color

3. all Ezekeel's MODs

4. many tweaks and nice features

and yet rock stable!!!
[Nexus S Android Development] katse:
is there a way or app to systematically test battery life with different governors? everybody is speculating. what we would need are facts?
[Nexus S Android Development] cpom1:
So here are my results after a few hours. And my battery life still sucks.
[Nexus S Android Development] saranyan:
You have very bad mobile network signal. Maybe that's the reason.
[Nexus S Android Development] cpom1:
How do I fix that? I have at&t and live in the basement
[Nexus S Android Development] KBanause:
I'm on Matr1x 15.0, bfs (flashed yesterday afternoon at about 4pm)

I'm using ondemand governor, CPU is on 200/1000 (set with SetCPU), all voltages raised by 25, deep idle enabled. Battery life is awesome.

But today I have had this strange behaviour:

I was looking something up with the browser. After that I locked my phone manually. When I wanted to unlock it 5 minutes later it didn't wake up. I had to pull the battery. But during the first restart my phone rebooted itself during the bootanimation. After that the phone is now up and running as if nothing has happened...
[Nexus S Android Development] mosca:
Thanks, I hope that saves battery
[Nexus S Android Development] wallla:
I had the exactly same behavior this morning.

I was listening to some music when the phone completely froze and there was just a buzzing noise coming from the headphones.

I pulled the battery and restarted. I got in a boot-loop but eventually the phone booted normally and seems to work normally now.

I am using Matr1x v15 cfs, smartassV2, 100/1000MHz, activated deep idle.

And btw: I am like you from Munich. I don't think that has any correlation, but you never know...
[Nexus S Android Development] technogravy:
Typical mk brilliance with matr1x on v15.. Works great with cm9.
[Nexus S Android Development] saranyan:
Hmm you can't do anything about it, Try a different radio. Turn off 3g also.Have you always been having bad signal?
[Nexus S Android Development] drew2d1:
Anyone having a problem with the camera and green lines? I'm not kernel savvy so it might just be a coincidence, but using this kernel on a couple of roms and when taking a picture there are random green lines that appear on screen. The pictures then either half grey or green, or fully.

Not happening on a couple of the other kernels.
[Nexus S Android Development] angiest:
No access to WiFi? My experience has been that screen and the 3g data antenna are the biggest power draws. I had the same experience on WebOS. WiFi draws much less power with screen off. Even WiMax seems to use somewhat less power than 3g data, though I rarely have WiMax signal long enough to test it.
[Nexus S Android Development] SA-07:
Raise dem voltages... plz read FAQ before posting
[Nexus S Android Development] Jamalsid:
Is your kernel under volted by default then?

EDIT: ignore the above I just re-read the first post and sure enough in the FAQ it implies the kernel is under volted. Just a suggestion but maybe it is worth adding the stock voltages to the OP so that those who get freezes and reboots know exactly what to change the voltages (and which ones) too? I remember they have been posted in the thread before but might be simpler if they are on the first post.
[Nexus S Android Development] nodstuff:
Raise them by 25mv. The arm voltages that is.

Stock voltages for the nexus s are simple to find. Use the search box.
[Nexus S Android Development] att1cus:
Same issue here, just to let you know. CM9 Kang. I didn't even think about it possibly being a kernel issue.
[Nexus S Android Development] zipredictive:
careful guys,ROM: KalimochoAz CM9.

Bluetooth_adapter_quick_switch_disabled_OTA_4.0.3_IML74K (from the faq) causes problems: bootloop
[Nexus S Android Development] Tarun.krthkr:
Best Battery Life

This is the best battery life on my Nexus s till today...TY @Matkid95 :D:D:D
[Nexus S Android Development] manolohd:
Mathkid i have a question for you, why with your gb rom & kernel i obtained 2000 point with default setting of cpu(1ghz) and 3900 point with 1.46ghz on quadrant standard benchmark instead now with ics and your kernel default setting of cpu (1ghz) is equal with about 2000 point instead ovorclocked at 1,46ghz max i obtanied 2800 point on benchmark?

TY
[Nexus S Android Development] cpom1:
I have unfortunately. I'm using the latest radio.
[Nexus S Android Development] Zivonche:
Hey Does USB OTG means i can have a 32G memory stick with music connected to my phone and listen to it with my Phone Music player ??
[Nexus S Android Development] sztupy:
Yep.

Btw. I think otg is already added in this kernel just not really advertised. (a link and/or a thanks should be fine). Bithout UsbHostController that you can find in the original link you cannot use it anyway.

I'm probably biased though thinking this is as useful as bln or voodoo :)
[Nexus S Android Development] SA-07:
Oops... sorry sztupy credit added!
[Nexus S Android Development] GerManiac:
Awesome kernel, really nice and smooth. Runs great. Thanks mathkid

Sent from phone
[Nexus S Android Development] moriz1:
So yeah, had another hard reboot while listening to music. Looks like the UV is unstable for prolonged tasks.
[Nexus S Android Development] SA-07:
Not necessarily... the governor or deep idle sounds like the culprit in those cases...

But if you have to raise voltages go ahead
[Nexus S Android Development] moriz1:
It depends on whether Lulzactive is capable of adjusting voltages for screen off max step. If it can't and always go to the same voltage as 400Mhz (which is default), then anything higher than default settings can potentially cause a crash.

Mk, can you verify my suspicions?
[Nexus S 4G Android Development] SA-07:
Hey guys,

This is the JB version of the Matr1x kernel and it works on 4.1.1/4.1.2 and 4.2.

Features:

- 1.32Ghz OC

- Based on Linux kernel version 3.0.31

- Voodoo sound and color (Thanks to supercurio)

- BLN (Thanks to neldar)

- BFS (Thanks to Con Kolivas)

- Fast Charge by Chad Froebel (Be sure to buy his widget here: https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget)

- Bigmem (Thanks to _thalamus for the working implementation)

- ROW I/O Scheduler

- 4.2 Bluetooth fix (thanks to DerTeufel)

- Vibration control (thanks to DerTeufel)

- SmartassV2 governor

- USB OTG (thanks to sztupy)

- CIFS

- MTP (thanks to abev66 for the AnyKernel method)

**Ezekeel's mods** (Thanks to Ezekeel)

- BLD

- Touch Wake

- Wheatley Governor

- Custom Voltage Interface

Changelog:

v22.5 Updated kernel base for JB, added all my favorite *useful* features and removed a ton of pointless stuff, changed LCD voltage to 2.3V, and used the Bcmdhd PM_FAST in standby.

v23.0 Reverted kernel base back to 3.0.31 for speed and stability, reverted the LCD UV, and added the interactive governor (with input boost).

v23.5 Added 1.2Ghz OC, Touch Wake, Voodoo Color, and CM versions.

v24.0 Added 1.32Ghz OC, 100% battery charge fix (cosmetic), and wheatley governor.

v24.5 Added DerTeufel's 4.2 bluetooth fix, the ROW I/O Scheduler, and Ezekeel's Custom Voltage Interface.

v25.0 Added DerTeufel's vibration control interface for his Helly Bean ROM, fixed the 100Mhz not sticking issue, added the SmartassV2 governor, added USB OTG, added CIFS, and added MTP (this might not work on all the ROMs, so just let me know on which ones it does work).

Links to JB version:

http://matr1xkernels.com/matr1x-kernels/matr1x-kernel-for-nexus-s-and-nexus-s-4g-jelly-bean/

Link to source: https://github.com/mathkid95/linux_samsung_jb
[Nexus S 4G Android Development] Esteway.619:
Cool man. I'll try it out and report back.
[Nexus S 4G Android Development] chappy824:
You won't regret it!
[Nexus S 4G Android Development] Esteway.619:
This made my phone boot up faster than normal. :)
[Nexus S 4G Android Development] Esteway.619:
Man this is running soooooooooooo good :D good job mathkid. Its really snappy.

Ohh I'm running cfs
[Nexus S 4G Android Development] chappy824:
I told ya bud!
[Nexus S 4G Android Development] jaestreetss:
+1 me too
[Nexus S 4G Android Development] JohnCorleone:
Damn! I am about to flash it now...
[Nexus S 4G Android Development] JohnCorleone:
OK guys....Matr1x is back for the attack!
[Nexus S 4G Android Development] Worm1996:
Noobie for nexus s 4g,what is the difference bfs and cfs?
[Nexus S 4G Android Development] AngelosDracul:
There are threads explaining that.
[Nexus S 4G Android Development] Esteway.619:
Dang. I just got 2 lock ups. One the screen was black and didn't do anything and the other time it just froze. Both times on the charger. Going to keep running it cuz its too good and I can get over the lock ups now that I have a back up alarm clock lol.
[Nexus S 4G Android Development] chappy824:
Weird.....I have been running for a while now w/o any issues. Maybe voltages?
[Nexus S 4G Android Development] FL0OD:
Google is your friend

Sent from my neXus s 4G
[Nexus S 4G Android Development] Worm1996:
Thanks got it guys
[Nexus S 4G Android Development] gtafairlane:
Awesome. Happy Thanksgiving kid.
[Nexus S 4G Android Development] SA-07:
Thanks you too man!
[Nexus S 4G Android Development] blacknet101:
just flashed right now, we will see how it goes! ive always loved kids kernels. been waiting for this for a couple days now haha glad i can have my good old matr1x! :D
[Nexus S 4G Android Development] SA-07:
Ty man!
[Nexus S 4G Android Development] Caballero777:
Awesome Kernel like always kid. I get a good 18 hours of battery life on Lazy with deep idle. Keep up the good work kid. :D
[Nexus S 4G Android Development] Rblacula:
do you recommend bfs or cfs for aosp's oICS rom?
[Nexus S 4G Android Development] SA-07:
Cfs
[Nexus S 4G Android Development] BananaOG:
With the AOSP oICS I know you recommend CFS. Is that because its more stable in theory? Would BFS theoretically yield higher performance due to its nature?

Just curious. Trying to push my device to the limits :D

BTW awesome work so far, keep it up Mathkid!
[Nexus S 4G Android Development] SA-07:
Yeah if you want to push the phone go bfs but it won't be as stable ;)
[Nexus S 4G Android Development] wild1z:
Hey Kid, maybe this has been discussed before but the Barry charge level is set to 96% and it cannot be changed within NS tools. Is this an ND tools issue? The other kernels are default 100. Am I missing something?
[Nexus S 4G Android Development] wild1z:
I guess I see the commit made back in V9 but the battery still says 96% in NS tools. Anyone else seeing this or is it just me?
[Nexus S 4G Android Development] SA-07:
Hold on lemme look into it
[Nexus S 4G Android Development] wild1z:
Thank you young man. ;)
[Nexus S 4G Android Development] zyrtek69:
Mine is 96% in nstools as well, won't go up to 100
[Nexus S 4G Android Development] BananaOG:
Same for me. I believe its just like that in this kernel. Can't drag it to 100 either.

Maybe you can fix this Mathkid :)
[Nexus S 4G Android Development] Shark_On_Land:
.............
[Nexus S 4G Android Development] SA-07:
Any problems with that bud?
[Nexus S 4G Android Development] Shark_On_Land:
I don't want a flame war with a fellow developer. I developed a android app last year. It was called pocketgraftiiti. But got pulled due to being rouge and unstable.
[Nexus S 4G Android Development] SA-07:
Unstable?
[Nexus S 4G Android Development] wild1z:
LMAO. Chick.. Chick.... BOOOOM! Unstable. Good sales teaser to get folks to test your work Shark. ;) Fix the 4G toggle will ya? I would like to see you try and tackle that. Gracias.

Anyhoo, the battery life on this kernel and the AOSP rom is better than the other kernel he had on it stock. Thanks Math. 96% switch number to 100% ?
[Nexus S 4G Android Development] SA-07:
Yep fix coming next update :)
[Nexus S 4G Android Development] wild1z:
Thank you Math!
[Nexus S 4G Android Development] SA-07:
Sure what do you need
[Nexus S 4G Android Development] mpat95:
so im new to the whole thing but i had 14.5 and now put 15.5 and the light notification from the 4 buttons i would get before is gone... how do i get it back?
[Nexus S 4G Android Development] SA-07:
Activate BLN again from nstools
[Nexus S 4G Android Development] mpat95:
Thank you the update works even better with my ics rom!!
[Nexus S 4G Android Development] SA-07:
Thanks!
[Nexus S 4G Android Development] JohnCorleone:
Running 15.5 cfs on last night's 4.0.4 and its running great! Sometimes I forget how fast and smooth odexed overclocked is. Nice job MathYoungMan
[Nexus S 4G Android Development] koolkid09:
Hey. Do you get the green flash or white flash with this kernel? I know on stock 4.0.4 its gone. But what about with this kernel.
[Nexus S 4G Android Development] joebarkho:
more with green flash lmfao
[Nexus S 4G Android Development] KodiakDraco:
Matr1x 15.5 BFS + CM9v01p01 = Greatness.

Sent from my Crespo4G

CM9v01p01 - Matr1x v15.5 BFS
[Nexus S 4G Android Development] SA-07:
Thanks Kodiak! :)

I'll post a voodoo color script soon where the green flash should be remedied..

Off to school now! ;)
[Nexus S 4G Android Development] whiteintegsg316:
Look at what I restored this morning.

I still say it's the smoothes rom ever
[Nexus S 4G Android Development] TheBurgh:
That's kickin it old school
[Nexus S 4G Android Development] v3rk:
could somebody kindly attach the 15.5 cfs kernel to a post? or mirror it on hotfile? my options are limited here at work. thanks if you can help.
[Nexus S 4G Android Development] zyrtek69:
Plus he stated that his newest nightly build has all the 04 updates in it but he didn't want to completely redo it as its a nightly build. Still says 03 bit has 04 commits
[Nexus S 4G Android Development] JohnCorleone:
Its there with low brightness only...
[Nexus S 4G Android Development] GituSum:
The green flash went away for me when I turned off the lock sound
[Nexus S 4G Android Development] koolkid09:
I'll reapply the kernel and try that when I'm done with classes for today. Thanks!
[Nexus S 4G Android Development] SA-07:
Well? ;)
[Nexus S 4G Android Development] koolkid09:
So turning off the screen sound didn't work. I messed with all the gamma hack settings and it still has the green flicker. The flicker on 2.3.3 settings isn't green tho. It's like a highlight of the icons.

Now with the stock kernel I get a flicker once in a while. It's like the one on 2.3.3 setting screen flicker for your kernel.
[Nexus S 4G Android Development] SA-07:
Try these settings

echo 2863311680 >/sys/class/misc/voodoo_color/red_multiplier

echo 3336681600 >/sys/class/misc/voodoo_color/green_multiplier

echo 3925507840 >/sys/class/misc/voodoo_color/blue_multiplier

echo 0 >/sys/class/misc/voodoo_color/blue_v1_offset

echo 0 >/sys/class/misc/voodoo_color/red_v1_offset

echo 0 >/sys/class/misc/voodoo_color/green_v1_offset
[Nexus S 4G Android Development] koolkid09:
Definitely getting the flicker MUCH less with these settings. When i do get it, it's how I described it for 2.3.3 settings earlier. Which wasn't too bad. I tend to notice the flicker when on the lock screen or in the app drawer. Also the screen seems to have a blue tint to it now. But maybe I'm just use to the old settings.

Thanks for working with me. Hope I haven't been too much of a pain.
[Nexus S 4G Android Development] SA-07:
Sure, no problem! You can just tweak it from that base for how you want it ;)
[Nexus S 4G Android Development] behmer:
Hey, I just noticed this because my launcher kept restarting. If I go to apps -> running on v15.5 I only have about 25-50 mb of free ram. On v15.0 I have about 150-170 mb.
[Nexus S 4G Android Development] joebarkho:
I concur. If thats how you spell it.
[Nexus S 4G Android Development] SA-07:
It really isn't a big deal...everything is working fine here. If you want you can change governors
[Nexus S 4G Android Development] nucleor1989:
Dumb question but can i go and flash this on 4.0.4
[Nexus S 4G Android Development] SA-07:
Yessir
[Nexus S 4G Android Development] nucleor1989:
Thanks man i was so bummed to have to be on stock sprint kernel for the leak
[Nexus S 4G Android Development] SA-07:
Haha yep ;)
[Nexus S 4G Android Development] stellar:
Ahhh math kid I was wondering, when I flash 15.5 I only get around 80mb of ram(as stated above) just wondering is this purely cosmetic or a bug? I went back to 15 just to be safe :D

Oh and just an off topic question but are any of you guys using the leaked baseband? If so is it reliable and any significant improvements with signal?
[Nexus S 4G Android Development] decalex:
I saw a few reports of Bluetooth audio (stereo) stutter with the wheatley governor -- Anyone having issues with bluetooth call audio? May not be related to the kernel, but calls over last few days have been weird-- e.g. (my) voice echos, "wobbly" effects in incoming audio. I don't believe it to be reception issues, as it's happened consistently in diff areas with a dozen calls.

FYI, I am running wheatley, with deep idle on. I'll try changing that and see if makes a difference.

Just wanted to see if that rings a bell with anyone.
[Nexus S 4G Android Development] SA-07:
For the last time..

Don't worry about the ram thing. Just calm down and use 15.5.

Don't worry about a thing! Every little thing is gonna be alright!
[Nexus S 4G Android Development] mlin:
Not with Wheatly but I did have audio stutter using the lulzactive governor when the screen was off.
[Nexus S 4G Android Development] SA-07:
Just wondering, does the same happen with ondemand for you guys?
[Nexus S 4G Android Development] KodiakDraco:
Same here. Wheatly and Ondemand working fine but can't listen to music with lulzactive and screen off.

Sent from my Crespo4G

CM9v01p01 - Matr1x v15 BFS
[Nexus S 4G Android Development] LiuAnshan:
I listen to music all day with lulzactive with the screen off. No issues here. Had issues only when I had deep idle on.
[Nexus S 4G Android Development] KodiakDraco:
For me everything is not all right. I normally have 40-60 MB of ram available. With 15.5 I have 3-6 MB of ram available. It's causing sluggishness and frequently apps just shutdown. Especially browser. I had to go back to 15.

Edit: Not *****ing, just saying.

Sent from my Crespo4G

CM9v01p01 - Matr1x v15 BFS
[Nexus S 4G Android Development] SA-07:
Bob Marley would be very disappointed :(
[Nexus S 4G Android Development] jesusice:
Maybe you need to share your Rasta snacks with us and we'd worry less... ;)
[Nexus S 4G Android Development] KodiakDraco:
But I "no woman, no cry"

Sent from my Crespo4G

CM9v01p01 - Matr1x v15 BFS
[Nexus S 4G Android Development] SA-07:
Lol! ;)
[Nexus S 4G Android Development] wild1z:
Wild1z, likes this! but I don't condone it. (legally, like on the record) ;)
[Nexus S 4G Android Development] mayoko185:
This has been my experiences as well. I wanted to like deep idle, I really did but my phone just hates it heh.
[Nexus S 4G Android Development] KodiakDraco:
I have issues with deep idle also. Music, auto-sync and phone never work properly for me when it's on.

Sent from my Crespo4G

CM9v01p01 - Matr1x v15 BFS
[Nexus S 4G Android Development] JohnCorleone:
15.5 was working great for me on the first leaked 4.0.4 version. Then they got pulled and a new set with identical names was posted (very briefly) I will add 15.5 back to that as soon as I finish up this project I am working on. My phone loves the new radio though over 2Mbps download on 3g almost every test
[Nexus S 4G Android Development] mlin:
Weird. Deep idle doesn't cause music playback issues with any gov but lulzactive. Once again as we've seen time after time, different phones behave differently with different kernels.
[Nexus S 4G Android Development] KodiakDraco:
So true. My last NS4G had to be on deadline & ondemand with +25 voltage to work at all. This new one works best with cfq + lulzactive -25 volts. I just switch to ondemand when I listen to any music. Such a differences between two of the "same" phones.

Sent from my Crespo4G

CM9v01p01 - Matr1x v15 BFS
[Nexus S 4G Android Development] mayoko185:
True I dont have issues w/ music when I have ondemand set, however my phone is just all kinds of unstable no matter what gov I use when I enable deepidle...

Same here my last NS4G I could OC the bus @ 220 no prob but the second I tried to undervolt at all I would get nothing but reboots, this one I cant OC the bus at all no matter how high I set the voltage but I can get stable (no reboots!) w/ pretty low volts @200
[Nexus S 4G Android Development] SA-07:
By the way, I will fix the 0.00 ram issue with the next update