yashsingh1/xdaforums huggingface dataset:
[Nexus S 4G Android Development] invisibastard:
v.14 running like a champ for me. Strange how these NS4G's can be so different. I've never had a problem with any of your kernels, my phone always responds well.

I run at 400/1460, generally with ondemand although this time I'm using the lulz gov and it seems really fast.

I do have a question. I've read that the noop scheduler is faster than deadline, I typically change mine to noop and get better quadrant numbers (I know, it's quadrant, still...). The reason I ask is whenever I'm working on a linux server that uses databases extensively I always set the scheduler to deadline. I'm not sure how the scheduler interacts with the phone. Because of my ignorance deadline seems like an odd default but everybody uses it.

anyway, great job as usual.
[Nexus S 4G Android Development] wild1z:
I am installing V14Cfs now. Thanks.
[Nexus S 4G Android Development] SA-07:
Cool, lemme know!
[Nexus S 4G Android Development] jeremy112683:
Gonna redownload the updated v14 and try again
[Nexus S 4G Android Development] wild1z:
Initial thoughts, it really sucks.....

That the other Kernels haven't been this smooth for me. ;) Fingers Crossed, this is a big winner so far. Interactive 800/100 100% OC standard volts. I am going to raise the min to 200 for Pandora and such. Very pleased, well done sir!
[Nexus S 4G Android Development] wild1z:
Headphone jack icon not showing up in the notification area. Is there a setting for that like on CM7? I forget.
[Nexus S 4G Android Development] SA-07:
Yeah it is...

Why are you running this on cm7 o.O
[Nexus S 4G Android Development] wild1z:
No I meant like on CM7 settings. Sorry. Running this on OIC43. Maybe I will re-download and retry. I hate to though, it's working great. lol
[Nexus S 4G Android Development] SA-07:
Lol ok
[Nexus S 4G Android Development] wild1z:
I am at a loss on the headphone icon but hey, it works that is the main thing. :)
[Nexus S 4G Android Development] wild1z:
I bet it's a Rom thing. Going to check a few things. Be back later. ;)
[Nexus S 4G Android Development] southernchris7:
The new governor is awesome just fyi
[Nexus S 4G Android Development] chalan30:
first whole day on v14 BFS. lulzactive gov, live OC 105, 105/1050 CPU, deep idle enabled. paired up with vhgomez rom. going to play with the other governors now ;). yeah i get no headphone icon either, but i dont need an icon to know that the thing is connected, i can tell that the damn thing is plugged into the phone easy enough...lol

Here is today my normal light usage at work Its actually closer to twelve hours but there was a reboot early on that caused the battery stats to not get updated properly. Plain and simple the kernel runs awesome on my phone! thanks mathkid
[Nexus S 4G Android Development] wild1z:
Believe me, I share the same thoughts. The thing that got me concerned was when a phone call didn't pause the music. I am just ready for the full CM9 experience to get back in full swing. :)
[Nexus S 4G Android Development] SoberSquid:
Schedulers (Or more appropriately, I/O Schedulers), are used to determine the order than input and output events are written to block devices. There are a few different theories to optimal I/O schedulers, and most of them depend on usage patterns, and what you are using it for. For example, the deadline scheduler takes all incoming read/write requests, and imposes a time-delay deadline on them (hence the name), this way, a particularly hungry i/o request (Such as writing to a database), is not stopping everything else, and causing a traffic jam. Noop follows the FIFO (First in, first out) theory, so that all I/O requests are processed in order. By doing this, all request are treated fairly, or evenly.

Most of this has to also take into consideration the type of media you will be reading and writing from, for example, a large raid array behaves much differently than the flash memory on our phones; on a disk for example, you want to make sure that things are positioned on the disk for optimal read/write of commonly used files (Because disks have mechanical heads which have to move to access the data, the less it has to move, the faster the access is overall). Flash memory, like that on our phones, does not suffer from this.

So on a database system that has to read and write large files to large mechanical disks would benefit from something like deadline, where you do not want a long-standing read/write request to clog everything up, but flash memory, like that on our phones makes good use of the noop scheduler, because FIFO works quite cleanly on the overall read/write speeds and mechanics of flash memory. This is all a bit simplified, and there is a lot more theory (And schedulers) than what I went over here, but hopefully that gives a general overview.

Further reading: https://www.linux.com/learn/whitepapers/doc/12/raw

---------- Post added at 07:40 AM ---------- Previous post was at 07:35 AM ----------

Mathkid, I am enjoying this kernel; it seems to provide a good combination of stability and speed, and the amount of overall options provided are excellent.

I have noticed one thing however, despite having the lulzactive governer set, the lulzactive app that Tegrak placed in the market does not detect it; I'm not entirely sure why, but I suspect the app is looking for lulzactive v2, while the kernel might have lulzactive v1 (Something that I could be quite wrong about, I'm just hypothesizing, and haven't taken the time to look, please forgive me :( ), if this is the case, any plans on integration of v2? (source: https://github.com/tegrak/lulz-kern...r/kernel/drivers/cpufreq/cpufreq_lulzactive.c)
[Nexus S 4G Android Development] SA-07:
Oopsie dasie, is that v2?

Sure, I'll put that in for next update...
[Nexus S 4G Android Development] SoberSquid:
Indeed, but he only put it out on the 25th or so I think, its a pretty new update. Looking over the two it just seems tweaked a bit from the first. At any rate, thanks again for the kernel, it has been quite awesome. :)
[Nexus S 4G Android Development] SA-07:
Thanks man!!
[Nexus S 4G Android Development] Esteway.619:
So far so good on 14 :D. Real test will be tomorrow. Thanks math kid.
[Nexus S 4G Android Development] okstranger:
This kernel adds great improvement to the oics build, but it broke my mms send and receive. Anyone else having this issue?
[Nexus S 4G Android Development] SA-07:
I'm sorry man but that seriously sounds like a rom issue
[Nexus S 4G Android Development] kevincwelch:
That was an awesome post; thank you for that explanation.
[Nexus S 4G Android Development] The1Shark:
This kernel (cfs V14) performs excellent for me.

I have a question though about the new "Lulzactive" mode.

Tried to change governor through NStools and found out the the cpu clock is stuck on the last clock value.

If I move from "ondemand" governor to "Lulzactive" governor when the cpu clock is at 200hz it will stay there no matter what.

If the cpu clock while moving from one governor to another is 800Hz it will stay at 800Hz ..

Strange ..

Can someone please verify this ? or is it just me .. ?

(Stock Rom OTA IML74K, OC 200-1300, Kernel UV, deep idle is on. live OC 100 ).
[Nexus S 4G Android Development] joeyddr:
using the same gov and cpuspy shows all speeds being used.
[Nexus S 4G Android Development] alfay13:
I only used Mathkid's GB kernels, but tried out every kernel available with oICS and haven't found anything even close to the stability and speed I have with V14. Thanks math, you're awesome. Also, if anyone is just getting into flashing and rooting, mathkid provides unparalleled support. Always willing to help. Thanks so much!

PS. My setup is what mathkid recommended a few pages back, except I enabled Deep idle and haven't had any problems.
[Nexus S 4G Android Development] alfay13:
How do I rate a thread? Is it not an option from tapatalk? I noticed people buzzing about rating this thread and I would love to, I just don't see where.
[Nexus S 4G Android Development] okstranger:
It was working fine before I flashed the kernel. Wouldn't it have been broken before flashing if it was a ROM issue?
[Nexus S 4G Android Development] Paul627g:
Sounds ROM related. I don't believe a kernel has anything to do with MMS in any way shape or form.

Otherwise I'm really enjoying this kernel. Ran 100/800 Mhz lulzactive governor deep idle enabled and its performing flawlessly, 14+ hrs...

Great job MK.
[Nexus S 4G Android Development] The1Shark:
Thanks,

I will check again after a reboot.

the1shark

Edit :

My bad.

Works perfectly !

Can someone please provide an explanation or direct me to a page with an explanation of the differences between the various governors ?

Thanks in advanced !

the1shark
[Nexus S 4G Android Development] SoberSquid:
I was going to write up another one, but then I found an awesome one that already exists! +1 for me being lazy. http://xdaforums.com/showthread.php?t=1369817
[Nexus S 4G Android Development] SA-07:
Ty for the kind words!
[Nexus S 4G Android Development] The1Shark:
Thank you !

A quick question about cpu clock and voltage. I'm over clocking 200-1300 and I have noticed ppl are using 100-1300.

May be I'm way wrong here but considering that the voltage used when cpu clock value is 100Hz equal to the voltage used when cpu clock value is 200Hz, what is the benefit of using 100Hz over 200Hz ?

Thanks in advanced

the1shark
[Nexus S 4G Android Development] omegatyrant:
Awesome work mathkid! Running at 100/1000 on demand with deep idle and this is my battery with moderate use today!
[Nexus S 4G Android Development] kieronboz:
Hi i was playing with LiveOC, put it at 115% and now my phone is bootlooping,m ive flashed the reset_nstools zip, ive re flashed the kernel, ive wiped cache etc, any ideas?
[Nexus S 4G Android Development] kieronboz:
Can i do that without being able to turn the phone on lol?

Love your kernel btw, just i wont play with LiveOC anymore haha :)
[Nexus S 4G Android Development] info[]box1:
Try a different kernel than flash back to matrix. If that doesn't work than a full wipe is due.
[Nexus S 4G Android Development] SA-07:
He didnt raise voltages info, theres no need for that.

Just be sure to go +30 across the board
[Nexus S 4G Android Development] kieronboz:
Hi thanks for the help guys i will wipe later tonight, but mathkid, Im not sure if im misinterpreting what your saying but how can i edit the voltages when the phone bootloops lol.

Sorry to sound stupid :D
[Nexus S 4G Android Development] info[]box1:
he said he's boot looping and couldn't boot into OS to raise voltage. Thats why I stated what I did. He also agreed can't boot into OS, so he can't "raise voltage ".
[Nexus S 4G Android Development] kieronboz:
Ah so were in agreement, im screwed. I have a backup from 3 days ago, hopefully that will work lol.
[Nexus S 4G Android Development] SA-07:
You gotta be careful with that stuff man... check my FAQ before playing with that stuff.
[Nexus S 4G Android Development] kieronboz:
Hah yeah sorry about this, everything is good with this kernel guys, i just play with things i dont understand :P

Im restoring and going right back to Matr1x dont worry :)
[Nexus S 4G Android Development] SA-07:
Haha cool! Just to be safe, grab my zip in the op again and flash that ;)
[Nexus S 4G Android Development] eniamg02:
Remember to UNcheck "set on boot" when playing with such settings:D

Sent from the other side of town.
[Nexus S 4G Android Development] SA-07:
Yup! Be careful! :)
[Nexus S 4G Android Development] kieronboz:
All back up and running now, thanks everyone haha :)
[Nexus S 4G Android Development] SA-07:
Cool! Glad it's working!
[Nexus S 4G Android Development] info[]box1:
Way to go man, some things are like a wet paper bag you have fight out of lol. MK95 is a awesome kernel dev and always around to help.
[Nexus S 4G Android Development] kieronboz:
Is it worth checking Force GPU rendering in development settings on this kernel or is it all done anyway? :)
[Nexus S 4G Android Development] SA-07:
Aww... ty!
[Nexus S 4G Android Development] SA-07:
You can, I haven't changed anything with the gpu
[Nexus S 4G Android Development] zyrtek69:
Hey math kid I'm digging the new kernel, I've had the best battery life of any kernel ever! This is the first time I can tell that deep idle seems to be working. The only thing is when I'm playing music sometimes it starts skipping out if no where, and i get random keyboard lag. Ive got it set to 100/800 with lulz governor.
[Nexus S 4G Android Development] SA-07:
Change to ondemand haha
[Nexus S 4G Android Development] kieronboz:
hah, sometimes when i try to turn my device on like right now, i cant get it to wake, could this be a kernel issue or my power key lol? its sort of intermittent in whether it works or not.
[Nexus S 4G Android Development] zyrtek69:
I changed to smartassv2, will on demand change battery life much?

BTW thanks for quick reply.
[Nexus S 4G Android Development] SA-07:
Kier is deep idle on? If it is, raise min freq or disable didle
[Nexus S 4G Android Development] SA-07:
Not rly, they both have great battery
[Nexus S 4G Android Development] kieronboz:
odd, seems that i cant use the button to turn it off either, only way i can get it to turn on is by unplugging the AC lol
[Nexus S 4G Android Development] nodstuff:
sounds like a dodgy power button to me, see if it is the button and if it is a prob with deep idle try raise min freq and voltages.

although it sounds like a dodgy power button.
[Nexus S 4G Android Development] kevincwelch:
This is actually a very good piece of advice.

I always uncheck this when I fiddle with the OC or the voltages. I can't tell you how many times (with other kernels of course!) that this has saved me from doing a nandroid.

Also, I think having reset_nstools.zip handy to flash can wipe your settings as well if you neglected to uncheck something.
[Nexus S 4G Android Development] treezy26:
Can someone explain to me what active scheduler is? And what is the best to use? (Cfq, deadline or noop)

idk how I got here...
[Nexus S 4G Android Development] alfay13:
Especially because if you use NSTools you can just save various configurations, so if you unchecked the box and everything stays smooth you can just restore a configuration within a few touches.
[Nexus S 4G Android Development] SA-07:
Yup!
[Nexus S 4G Android Development] kevincwelch:
These are I/O schedulers. There are basically four types: CFQ, deadline, noop, anticipatory.

Your basic disk is composed of cylinders, heads and sectors...all of which are defined by specific blocks. I/O schedulers determine the order of data read/writes to these blocks in a manner to minimize movement of the disk heads and minimizing seek times. This all has the goal of increasing performance. Here's how it runs down.

Deadline: it's pretty much as the name implies -- requests for I/O are given a deadline by which they are to occur. The kernel can choose to skip other requests in order to fulfill another request if that I/O request is going to expire past its deadline. It avoids "starvation" of requests. There is a queue, but like Animal Farm, some animals are more equal than others.

Anticipatory: Basically deadline, but read/write requests wait a short period of time to see if any additional related requests come in. This basically saves the time of having the disk head move around and then have to move back in order to fulfill a related I/O request. Sort of like saying "Really? Care to revise your bull**** statement?" (I love The Fugitive.)

CFQ (completely fair queuing): Kind of like cooperative multitasking with some preemption, I guess. It allocates timeslices per process in the queue, but the length of time and number of requests depends on the priority.

NOOP: a very simple I/O scheduler. This is a scheduler that is best used when mechanical movement is irrelevant. Hence it is probably the best I/O scheduler for flash memory and SSDs. It is also why many Android kernel developers use NOOP.

That's a lay explanation, and that means it's about as well as I can explain it.
[Nexus S 4G Android Development] chalan30:
+1 for unchecking set on boot. saved me many-a-headache.
[Nexus S 4G Android Development] Skunk Ape1:
Hey MK, another awesome kernel. It is running great on oICS43!
[Nexus S 4G Android Development] Schnider:
Just wanted to say thank you!! Loving this kernel!
[Nexus S 4G Android Development] SA-07:
That's great!! Ty!
[Nexus S 4G Android Development] Schnider:
Absolutely thank you for all your hard work donation coming your way!!

sent from my ICS eating matr1x charged neXus s 4G
[Nexus S 4G Android Development] SA-07:
Thanks man! 'Preciate it!
[Nexus S 4G Android Development] The1Shark:
Mathkid,

Absolutely amazing job on version 14 and amazing battery life results ..

OC 210-1365 (Live OC 105%) kernel UV values and deep idle is enable.

11H 23Min - and the battery is on 70%
[Nexus S 4G Android Development] calisoldier83:
What should I do if I forgot to clear out the dalvik-cache prior to install? It installed fine.
[Nexus S 4G Android Development] SA-07:
You're fine... sometimes without wiping it the phone gets stuck at the google screen, but since urs didnt you're fine...

lemme know how the kernel is!
[Nexus S 4G Android Development] The1Shark:
You can always delete it from CW recovery but as Mathkid said, you don't need to at this point.
[Nexus S 4G Android Development] Sarakin:
SetCpu vs NSTools

I see SetCpu and NSTools referenced throughout this thread. I am not a complete noob when it comes to flashing a ROM, but this is my first experience with flashing a new kernel.

From what I can tell they seem to do the same thing, though NSTools seems to give more access to some functions of the Kernel.

Are they the same? Are they mutually exclusive i.e. am I confusing the phone having both installed? Or does NSTools unlock the functions of the kernel so that SetCpu can have control of them?
[Nexus S 4G Android Development] SA-07:
First off congrats on choosing to flash a custom kernel.. many benefits ;)

Setcpu is an app that allows you to set clock speed/change governor, voltages, etc. It focused mainly on CPU aspects.

Nstools is an app that manages ezekeels mods and does include an option to change frequencies as well.

To manage ezekeels mods, nstools is must have.

However, if you dont tend to tinker with the CPU as much you dont really need setcpu and if you do decide to play around, nstools offers that as well. However, there are some options that setcpu has that nstools doesn't offer with cpu, like changing profiles, sampling rate, etc.

So for now, just use nstools and if you decide you want more CPU options you can get setcpu as well.

Happy flashing! Oh and make sure to wipe dalvik cache ;)
[Nexus S 4G Android Development] Sarakin:
Yes I have already experienced the Dalvik issue. I tried installing via ROM Manager with the Dalvik check box, but something did not take. It seemed to be installed but I was not getting access to any of the tweaks you talk about. So I rebooted into recovery, manually wiped the Dalvik and reflashed. Everything worked like a champ after that. Thanks. I noticed that while it was in that weird half state the battery was dumping like mad. I am charging it back to full now to test it out.
[Nexus S 4G Android Development] recepo1:
Great work as usual mathkid ur a genius...im curious what governors are you guys using?
[Nexus S 4G Android Development] Sarakin:
Oh yeah, and thanks for the info! :)
[Nexus S 4G Android Development] SA-07:
Ondemand as always haha

Np sarakin!
[Nexus S 4G Android Development] Paul627g:
Running this now since v14 has released. I'm sold, this kernel at least on my device is the ONE.

Running oICS v43

I've tested deep idle enabled, no problems there but I don't really use screen off activity on my device so its not too much of a benefit to me. But no lockups or anything from it.

Currently testing live OC.

Ran 105% Live OC at 105/840- On Demand with stock volts. No problems.

Currently testing Live OC at 110% 110/880 Mhz-On Demand with stock volts and so far so good a hour or two into it.

Benchmarks I'm not concerned with so I won't be bothering discussing those, real world is what matters to me.

No reboots, no lockups. No complaints.... Battery life averaging in the 14 hour + range for normal to heavy usage... (Tapatalk posting "alot", Gtalk "alot", some brief file transfers..)

Great job MK!
[Nexus S 4G Android Development] Ostrich Egg:
Awesome kernel. The best. I think. I guess I wouldn't know, it's the only one I've used, but I have never felt the need to try another one. Keep up the good work at any rate.
[Nexus S 4G Android Development] calisoldier83:
Thanks guys. The kernel is working fine, in fact, I think its a little snappier than before. I cannot attest to normal battery drainage since I've been downloading apps and configuring phone all morning.
[Nexus S 4G Android Development] Krayvon:
ics

you've talked me into it, flashing now :)
[Nexus S 4G Android Development] decalex:
Decided to give this a spin again. v14 is really running awesome for me so far.

Granted, I've been using for a half day.

Running on Roman's kang 14, Live OC 105%, all voltages +25, smartassv2, OC 1260, UC 105

I was using Ezekeel's prior, but issues with adb logcat, and Eugene's was nice, but the GPS lag/freeze issues were killing me. Both of these are working great with this kernel. Very snappy. nice job math. I'll keep updated.
[Nexus S 4G Android Development] tyea:
I've been using your kernel, v14, on oicsV43 for 2 days now. I haven't downloaded any tools, I'm just using the kernel as is. Everything seems to work great, although, I do get some bluetooth stereo stutter during the first few seconds of playing media or even phone calls.
[Nexus S 4G Android Development] derekwilkinson:
it's working for me with my parrot bluetooth car kit....
[Nexus S 4G Android Development] tyea:
I am using a beta 'BeyondPod', and I don't have any significant correlation to the kernal, just coincidence.
[Nexus S 4G Android Development] zedomax:
genius!

mathkid95 u r genius, ur kernel works flawless with the crossbones rom for nexus 4g, no lag, face unlock working just as well as a galaxy nexus.

Set to 100mhz min and 1.46ghz max at interactiveX, u get...

[YOUTUBE]DPclc3eKgiQ[/YOUTUBE]
[Nexus S 4G Android Development] SA-07:
Oh wow thanks for the video!!!!!! :)

I'm sorry about that quadrant score lol... :/
[Nexus S 4G Android Development] kevincwelch:
Still running strong.

The v14 BFS version has been great.

Ran it with noop/ondemand/105/1050 for a day and it was running smoothly. Decided to OC to 110% and run noop/ondemand/110/880 and I had a reboot...not sure if it was related to the voltages or not, but when it was running it was running just fine. Don't feel compelled to raise the voltages since it was running OK on 105/1050. I guess I could raise the min voltage to 220, but it doesn't seem like a sleep issue.

Ideas?
[Nexus S 4G Android Development] SA-07:
You gotta raise voltages man, I'm sorry...

But there's nothing else this world has to offer except raising voltages... booya!
[Nexus S 4G Android Development] kevincwelch:
You said "booya." Heh.

+25 across the board?
[Nexus S 4G Android Development] SA-07:
Hahaha :)

Yeah that's good! Lemme know!!
[Nexus S 4G Android Development] bocaccio:
Why does the screen dim to green for a second when you hit the sleep button? Only when i installed this kernel.
[Nexus S 4G Android Development] SA-07:
Yo yo my good sir, please go into that voodoo control app and change settings to either 2.3.3 or punchy
[Nexus S 4G Android Development] bocaccio:
Thanks for the help:D
[Nexus S 4G Android Development] calisoldier83:
Well I went about 5 hours and battery drained pretty low without much use. Is there anything I need to do to make it conserve power?
[Nexus S 4G Android Development] SA-07:
Lmao that sucks...

What are your settings?

What rom?
[Nexus S 4G Android Development] calisoldier83:
I'm using oICS43. I had half brightness on.
[Nexus S 4G Android Development] SA-07:
That could be it...
[Nexus S 4G Android Development] mlin:
after trying pretty much every kernel available on this site, I'm sticking with Matrix. This kernel is by far the best kernel for my phone. Thanks for the excellent kernel!

tapa tapa tapa