[Kernel] SkaSucks - 5.0.1 GPE - 1/08 - One (M8) Android Development

Dev note - This may not be the fastest or best kernel, so if you don't like it don't use it. It's fun building my own kernel and seeing my name as the kernel builder on my phone's info.
Features
Governors - Intellimm, Optimax, Wheatley, Intelliactive, Intellidemand, Interactive, Conservative, Ondemand (default), Userspace, Powersave, Performance, Tripndroid, Smartmax
Schedulers - Deadline , Row, Cfq, Sio, Fiops, Noop, Bfq 7v7 with EQM (default), Zen, VR, Fifo, Tripndroid
CPU UC - 268800 (boots with 300000)
CPU OC - 2572800
GPU OC - 600
Readahead - 512 (default)
Advanced tcp enabled, westwood default (eastwood suxxx!)
Multicore power saving - 2 (default)
High performance sound - On (default)
Other - Fauxsound, slimbus overclock, system wide power efficient workqueues, intelliplug 3.9, memory enhancements from Motorola, LG, and Nvidia, all sleep states enabled
BUILT WITH SABERMOD!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Changelogs will be in posts where I alert thread of update.
made an xda thread after @PwnCakes193 & @xboxfanj convinced me too
Credit (wanna be on the list? then let me know!)
@buckmarble (forked source and tons of helps)
@xboxfanj (bouncing ideas off each other)
@PwnCakes193 (bouncing ideas off each other)

I think I should have posted this in android development, if a moderator wants to move it, go ahead, my mistake

JennyLikesSka said:
I think I should have posted this in android development, if a moderator wants to move it, go ahead, my mistake
Click to expand...
Click to collapse
Where do you want it moved to, XDA Android Dev or HTC One M8 Development?

Judge Joseph Dredd said:
Where do you want it moved to, XDA Android Dev or HTC One M8 Development?
Click to expand...
Click to collapse
I'm fine with either. I'm just not sure where it should go. First real thread lol

a Kernal named after a song from my all time favorite band. This is reason alone to try out this Kernel.
Still remember the day in the mid 90s when I bought How to Clean in an actual record shop!

phewBAR said:
a Kernal named after my all time favorite band. This is reason alone to try out this Kernel.
Still remember the day in the mid 90s when I bought How to Clean in an actual record shop!
Click to expand...
Click to collapse
Haha it's the punkest m8 kernel there is!

Sweet, you used Sabermod. I'll be trying this out as soon as I jump onto 5.0.
Great job, dev!

MrKhozam said:
Sweet, you used Sabermod. I'll be trying this out as soon as I jump onto 5.0.
Great job, dev!
Click to expand...
Click to collapse
It took me a while to get it to work. Well actually I just never googled the compile error I got, and when I finally did it was easy to fix. There will be a new build coming out soon.

Update
Power suspend 1.6 (might break wake gestures, it didn't for me but if it does for you yell at me all mean like "Gestures no work, why? Fix now! Bro." and I'll fix it)
Interactive commits
a few other things
high performance sound on by default
still just verizon and sprint, don't ask for an eta/if more will be added
I'll add the topology from quantum tomorrow or something.
https://www.androidfilehost.com/?fid=95887005526787757

Here's a test build
tweaked wheatley governor
tweaked smartmax governor
tweaked conservative governor
added ragingmolasses (taken from @Echoa, all credit to him, his thread http://forum.xda-developers.com/verizon-htc-one-m8/development/kernel-echoaelitevzwm8-t2995415) governor and tweaked
new topology from quantum
reverted to older power suspend, wake gestures would break in deep sleep with 1.6
will update op once i feel it's stable, I'm sure it is, quantum dev is awesome

JennyLikesSka said:
Here's a test build
tweaked wheatley governor
tweaked smartmax governor
tweaked conservative governor
added ragingmolasses (taken from @Echoa, all credit to him, his thread http://forum.xda-developers.com/verizon-htc-one-m8/development/kernel-echoaelitevzwm8-t2995415) governor and tweaked
new topology from quantum
reverted to older power suspend, wake gestures would break in deep sleep with 1.6
https://www.androidfilehost.com/?fid=95887005526787856
will update op once i feel it's stable, I'm sure it is, quantum dev is awesome
Click to expand...
Click to collapse
Well ragningmolasses is amazing. It sleeps like a freakin baby. I tweaked it a bit myself and it's awesome. Very smooth, reminds me of lionheart.
Great job OP :good:

phoenix2217 said:
Well ragningmolasses is amazing. It sleeps like a freakin baby. I tweaked it a bit myself and it's awesome. Very smooth, reminds me of lionheart.
Great job OP :good:
Click to expand...
Click to collapse
What did you change? I can make it default on the next build if you'd like.

JennyLikesSka said:
What did you change? I can make it default on the next build if you'd like.
Click to expand...
Click to collapse
freq_step 15
ignore_nice_load 0
sampling_rate 25000
up_threshold 50
Working very well for me. Smooth and great standby. Using it with row, 2048 read ahead, 268 min, 2.2 max, 729 min screen off.

phoenix2217 said:
freq_step 15
ignore_nice_load 0
sampling_rate 25000
up_threshold 50
Working very well for me. Smooth and great standby. Using it with row, 2048 read ahead, 268 min, 2.2 max, 729 min screen off.
Click to expand...
Click to collapse
I took two of those and made them stock. Feel free to let me know if you change anything else. I'm still testing govs and stuff out. GPE is just gonna be kind of sucky till we get a new OTA, too many rom memory leak issues. But those shouldnt be too far away, hopefully.
UPDATE
tweaked ragingmolasses thanks to @phoenix2217, it's a conservative ondemand gov if anyone is curious. I'll keep tinkering, seems like a promising gov
fixed row
fixed small memory leak
reverted some old crap

JennyLikesSka said:
I took two of those and made them stock. Feel free to let me know if you change anything else. I'm still testing govs and stuff out. GPE is just gonna be kind of sucky till we get a new OTA, too many rom memory leak issues. But those shouldnt be too far away, hopefully.
UPDATE
tweaked ragingmolasses thanks to @phoenix2217, it's a conservative ondemand gov if anyone is curious. I'll keep tinkering, seems like a promising gov
fixed row
fixed small memory leak
reverted some old crap
https://www.androidfilehost.com/?fid=95887005526788393
Click to expand...
Click to collapse
Just another quick update. Lost 4% over a 9 hour period over night. Great battery life.

Temporarily ceasing thread. Might be back soon.

Closed as per the OP....

Related

[POLL] What's your favorite governor on Nova?

/Discuss
In previous ROMs for other devices I had good experience with smoothass/brazillianwax and savagedzen but ever since I tried MinMax it's the best one for me.
What do you guys think?
(I/O Sched is Simple by far, there's no chance to others like V(R) or BFQ)
ondemand...
Stock user have to use
hectorrent said:
I miss one option: "What's a governor?" xDDDDDDDDD
Click to expand...
Click to collapse
The "governor" is that piece of software that switches the CPU of you phone between the different speeds and voltages, thus it is responsible to some performance issues and the power consumption of the battery.
Or in other words:
The "wrong" governor results in poor battery duration, while another "wrong" governor may result in great battery duration but poor performance. The "best" governor is the one that switches the CPU to exactly that speed that is really needed so the system can run with full performance and best battery duration.
As user of the stock ROM you do not have the choice as the kernel supports exactly one specific governor (named ondemand). If you want to try the differnt governors try the Nova ROM of Noejn: this great ROM allows you to switch between several different governors.
Noejn said:
What do you guys think?
Click to expand...
Click to collapse
I only tried MinMax and ondemand. To make it short: ondemand sucks, MinMax works great for me.
Aves83 said:
I only tried MinMax and ondemand. To make it short: ondemand sucks, MinMax works great for me.
Click to expand...
Click to collapse
Ondemand make lags.. But damn Stock kernel only supports craps..

[Q] Explanation of different governors

Hi guys.
I would like to know the differences amongst various governors. I googled a bit and both on the net and XDA I found some explanations, but not all the governors I have are properly explained. Some of them are not explained at all.
Is there anybody able to help me?
I found some info here and here
The governors I have with FM1.5 not explained are:
lazy
lulzactive
lagfree
intellidemand
smartassv2
ondemandx
Ok, some of them like lagfree could be self-explanatory, but I would be grateful if somebody could be more clear...
Thanks as usual to all!!
bump.
no one?
Note to myself: answer this thread when you get home...
Not at home? :-D
Sent from my GT-N7000 using Tapatalk
Diamantes said:
Not at home? :-D
Sent from my GT-N7000 using Tapatalk
Click to expand...
Click to collapse
have you reached home yet? would be glad if you could answer
I was in Prague for a week
Ok, so, to be honest using only Google I found this:
lazy (http://forum.xda-developers.com/showthread.php?t=1276092) - is ondemand but with an added option to stay longer on a certain frequency. This is due to the fact that some CPU's dont like too quick freq changes when sampling rate for decision making is set too low. See link for more.
lulzactive (http://tegrak2x.blogspot.com/2011/11/lulzactive-governor-v2.html) - is basically interactive governor with added smartass bits and variable (as opposed to fixed amout) frequency scaling, based on currently occuring cpu loads. Has, like smartass, a sleep profile built-in. See link for details on exact scaling.
lagfree (http://forum.xda-developers.com/showthread.php?t=1272933) - seems to be ondemand but with a lessend tendency to ramp up to 100% but rather also use steps available in between 0-100%.
intellidemand (freely translated from http://www.android-hilfe.de/root-hacking-modding-fuer-samsung-galaxy-s2/185085-ist-ein-governor.html) - behaves like ondemand when the system is under heavy use, it behaves differently when the system is mostly ideling. That mode is colled "browsing mode" or "browser mode" or whatever. It seems to be some sort of "intelligent" demand sensing/analysing ondemand governor.
smartassV2 - this one should be known. It's the same as smartass(V1) but tweaked. Same code author. I heard one should use smartassV2 instead of smartass when available.
ondemandx - is ondemand with an added sleep profile built-in. I believe all ...X kernels are the default kernels but with an added sleep profile.
Just in case you wonder: I use Savagedzen, I somehow like it best. And I have to get up at 4:20am thats in 2:48h so you may excuse me if I go to bed.
thanks +1
Hope you found the info you were looking for already, if not - take a look at this: http://forum.xda-developers.com/showthread.php?t=1369817

[Q] Which is the most recommended Governor

I'm using emanoN V4 with No-Frills, and since CM7.1 with SetCPU, I always used 'ondemand' as Governor.
But reading other posts on other devices forums about this, some people say SmartassV2 is the best...
So, as each device is different (specially by the ARM version and manufacturer), I decided to begin this conversation here, and listen to what people with the same device as me has to say about it.
So which Governor do you consider the best for SGM?
Im using cm7.2, setting at nofrilis Governor : SavagedZen io : sio and undervolt at cm setting, give more battery life.
Sory for bad english
Squadzone my idols
felipevsw said:
I'm using emanoN V4 with No-Frills, and since CM7.1 with SetCPU, I always used 'ondemand' as Governor.
But reading other posts on other devices forums about this, some people say SmartassV2 is the best...
So, as each device is different (specially by the ARM version and manufacturer), I decided to begin this conversation here, and listen to what people with the same device as me has to say about it.
So which Governor do you consider the best for SGM?
Click to expand...
Click to collapse
sio if u need less laggy n smooth
v-mix said:
sio if u need less laggy n smooth
Click to expand...
Click to collapse
Thanks for the reply, but as I can see on No-Frills, sio is th I/O Scheduler, that is already set. I'm asking here about the Governor.
Ondemand and set noop
Sent from my GT-S5570 using xda premium
on emanonV4 i use Smartassv2 nd i/o noop
I see that people are very divided between ondemand and SmartassV2.
Now with sio and noop as I/O Scheduler.
Anyone else would like to share?
i will say ondemand because cpu will be set at lowest frequency and when you need it it will set at higher frquency which will save your battery and if you want performance then no lag will be good
The principle of the ondemand governor I'd already figured out (and actually didn't like it, very rough).
I would like to hear more about the principle of the SmartassV2, whereas since this morning I'm using SmartassV2 + noop and I noticed my SGM way smoother than with ondemand + sio.
Now is wait and see if the battery is sucked more.
felipevsw said:
The principle of the ondemand governor I'd already figured out (and actually didn't like it, very rough).
I would like to hear more about the principle of the SmartassV2, whereas since this morning I'm using SmartassV2 + noop and I noticed my SGM way smoother than with ondemand + sio.
Now is wait and see if the battery is sucked more.
Click to expand...
Click to collapse
smartassV2 is a re-working of the original smartass governor, it allows for the CPU to scale through all frequencies from the lowest you set to the highest, based on the load occuring. Basically it scales CPU based on realtime needs of the system, saV2 supposedly incorporates some more agressive settings for screen off, and I believe quicker scaling than the original smartass.
dhlalit11 said:
smartassV2 is a re-working of the original smartass governor, it allows for the CPU to scale through all frequencies from the lowest you set to the highest, based on the load occuring. Basically it scales CPU based on realtime needs of the system, saV2 supposedly incorporates some more agressive settings for screen off, and I believe quicker scaling than the original smartass.
Click to expand...
Click to collapse
Thanks a lot, man! And now I think that I had made my choice:
Governor: SmartassV2
I/O Scheduler: noop
Highly recommended!

Best i o scheduler?

Hello guys.
Aosip rom looks promissing but not sure which kernel to use.
Leaving that aside for a moment. The question that bugs me the most is which io scheduler to use.
My daily usage would be mostly games and movies/music.
Sometimes cam too but i dont use my cam that much.
There are few schedulers im thinking of:
Zen (even tho i couldnt find a kernel that has it)
Fiops
Bfq
Bfs
Thanks ahead!
a lot of recent tests have shown that Fiops has a clear advantage over the other schedulers. I can link the article later if you want
I think most people (and I'm including myself in this) would struggle to notice any perceivable difference in real world performance.
danarama said:
I think most people (and I'm including myself in this) would struggle to notice any perceivable difference in real world performance.
Click to expand...
Click to collapse
yup, very true. regardless, I use the tried and true deadline.
simms22 said:
yup, very true. regardless, I use the tried and true deadline.
Click to expand...
Click to collapse
Yep me too. Used to use noop. Tried fiops too.
dr_rick13 said:
a lot of recent tests have shown that Fiops has a clear advantage over the other schedulers. I can link the article later if you want
Click to expand...
Click to collapse
Would be great ^^
Also i couldnt find any kernel for my nexus 6 that runs on 5.1.1 and supports zen scheduler
ProRules said:
Hello guys.
Aosip rom looks promissing but not sure which kernel to use.
Leaving that aside for a moment. The question that bugs me the most is which io scheduler to use.
My daily usage would be mostly games and movies/music.
Sometimes cam too but i dont use my cam that much.
There are few schedulers im thinking of:
Zen (even tho i couldnt find a kernel that has it)
Fiops
Bfq
Bfs
Thanks ahead!
Click to expand...
Click to collapse
BFS is NOT an io scheduler. It is a cpu scheduler which cannot be changed in userspace.
There is not much of a difference in throughput between the io schedulers but Bfq is best when it comes to interactivity.
MikeC84 said:
BFS is NOT an io scheduler. It is a cpu scheduler which cannot be changed in userspace.
There is not much of a difference in throughput between the io schedulers but Bfq is best when it comes to interactivity.
Click to expand...
Click to collapse
Is bfs the best cpu scheduler?
What is it good for?

HUGE RENDERING, FPS and SMOOTHNESS improvement on OOS.

I don't know if it works on OOS versions but it does, on the OB12. You need to be rooted to be doing this.
Lower the input boost to 1036 on the big and 556 on the small first. Now, change the governor of the big cluster to conservative and the small to ondemand or conservative , benefit!
To see the improvement in FPS, you need to go to developer options and switch on profile GPU rendering. For those who didn't understand this: lower the graph is, higher the fps. Hit thanks if helped
Where to change these settings?
Any kernel manager would do. I'd recommend kernel aduitor
chinmai560621 said:
Any kernel manager would do. I'd recommend kernel aduitor
Click to expand...
Click to collapse
Just change the option of GPU GOVERNER to simple_on demand one from the above mentioned app. It will work smooth.. works for me..:good:?
ashokspidy said:
Just change the option of GPU GOVERNER to simple_on demand one from the above mentioned app. It will work smooth.. works for me..:good:?
Click to expand...
Click to collapse
I'd recommend to leave it on msm-adreno.
What if I'm on RR 5.8.2 and ElementalX? I have ondemand governor option for little but don't have conservative for big cluster.
karliyo said:
What if I'm on RR 5.8.2 and ElementalX? I have ondemand governor option for little but don't have conservative for big cluster.
Click to expand...
Click to collapse
This is exclusive for OOS. In fact, the interactive is supposed to be better than the rest but it's not the case on OOS which is why I made this thread.
chinmai560621 said:
This is exclusive for OOS. In fact, the interactive is supposed to be better than the rest but it's not the case on OOS which is why I made this thread.
Click to expand...
Click to collapse
Oh alright. Little governor ondemand seems quite fine right now.
By the way, are both governors interactive by default?
karliyo said:
Oh alright. Little governor ondemand seems quite fine right now.
By the way, are both governors interactive by default?
Click to expand...
Click to collapse
Has to be. Unless you use blu_spark kernel. It uses blu_activ.
How do these changes affect the battery life?
chinmai560621 said:
Has to be. Unless you use blu_spark kernel. It uses blu_activ.
Click to expand...
Click to collapse
You mean interactive and not blu_active?
I do recommend you guys taking a look at AKT.. There are alot of peformance oriented and balanced profiles that are already better with smoothness then stock.. Also Franco has some magic with stock settings!
chinmai560621 said:
I don't know if it works on OOS versions but it does, on the OB12. You need to be rooted to be doing this.
Lower the input boost to 1036 on the big and 556 on the small first. Now, change the governor of the big cluster to conservative and the small to ondemand or conservative , benefit!
To see the improvement in FPS, you need to go to developer options and switch on profile GPU rendering. For those who didn't understand this: lower the graph is, higher the fps. Hit thanks if helped
Click to expand...
Click to collapse
Hi friend, shall I change both values of big and small? I mean maximum and minimum?
Same, cant find where to change the input values for those two.
rOck4n said:
Same, cant find where to change the input values for those two.
Click to expand...
Click to collapse
You'll see input boost in the bottom section of CPU in kernel adiutor. Core 1- 1036, core 3 -556 is what you've to do. It'll be 1324 default on both. I'm suggesting that for slightly better battery life
MarcTremonti said:
How do these changes affect the battery life?
Click to expand...
Click to collapse
Lower SOTs are obvious, but to what degree is what matters. As far as I see, it's not that much.
GUYS, I recommend not to use this anymore. Oneplus has a reason to not release the kernel with conservative on . This is because conservative is not optimized for battery while interactive is. If interactive weren't optimized for battery, it'd be better than conservative for sure. I get only 4 hr sot on conservative but 5.5 on interactive. Though this is not placebo, it has a negative impact on SOT .
When I change big cluster to conservative, those cores will always stay above 2 GHz, as shown in Kernel Adiutor.
chinmai560621 said:
GUYS, I recommend not to use this anymore. Oneplus has a reason to not release the kernel with conservative on . This is because conservative is not optimized for battery while interactive is. If interactive weren't optimized for battery, it'd be better than conservative for sure. I get only 4 hr sot on conservative but 5.5 on interactive. Though this is not placebo, it has a negative impact on SOT .
Click to expand...
Click to collapse
The thread is about more performance and you're discussing battery life....of course it will have a lower battery life, the question is are you happy when your quad-core phone stutters....
chinmai560621 said:
You'll see input boost in the bottom section of CPU in kernel adiutor. Core 1- 1036, core 3 -556 is what you've to do. It'll be 1324 default on both. I'm suggesting that for slightly better battery life
Click to expand...
Click to collapse
Got it, thank you. I did notice a slightly battery improvement after two cycles.
Little investigation..
chinmai560621 said:
GUYS, I recommend not to use this anymore. Oneplus has a reason to not release the kernel with conservative on . This is because conservative is not optimized for battery while interactive is. If interactive weren't optimized for battery, it'd be better than conservative for sure. I get only 4 hr sot on conservative but 5.5 on interactive. Though this is not placebo, it has a negative impact on SOT .
Click to expand...
Click to collapse
Good you realised that.. I did a little investigation on your tweak.. Apparently setting governor to conservative locks the frequency of big cluster to max possible, usually above 2 ghz and it will step down slowly ( by slow I mean really slow like 1-2 seconds). Thus causes you to have very less render times on gpu profile as shown in the xda portal post.. I opened up ex kernel manager and observed same freq in higher range.
After some time I just changed governor to interactive and changed minimum freq of big cluster to 2 ghz.. I observed the same render times as situation as time when conservative was set as governor...
So this tweak is nothing but type of placebo since ramping up freq can lead to faster processing
Edit.: Couple of people on xda portal have said the same.. I didn't check it..

Categories

Resources