modified governor XZ - Sony Xperia XZ Questions & Answers

Hi guys, sorry for noob question, but would be great to know, what happens when I use your modified governor and add some more settings in kernel adiutor like switching off some frequencies? Does it affect governor or excludes it at all? Or maybe they can work together just fine?
And what if I change in kernel aduitor from interactive to ondemand, does this stops script from working?

Related

Looking for kernel with "smartass" scaling

Hi
I'm looking for kernel with "smartass" scaling to my LG GT540 Swift/Optimus. I've already kernel 0.3.1 by Quarx, but there are only performance, powersave and ondemand scaling profiles available in SetCPU. I want to save my battery as much as possible with good level of performance and I think that "smartass" scaling is exactly what I want
Anyone can help?

[KERNEL][GB SENSE][05/10-2011]tristan202-gb-desire v05 (OC/UV/HAVS/BFS/CFS/V(R))

This is my personal kernel, that I decided to release now. It is extremely lean to minimize memory footprint and optimize perfomance. It is built from HTC official GB sources, with some of bananacakes, siberes, snq-s and my own patches. I intend to keep it at 2.6.35.10, as I see more problems than advantages in upstreaming to newer revisions.
Features:
-Hybrid adaptive voltage scaling (HAVS)
-V(R) i/o scheduler
-TinyRCU
-Overclock up to 1190
-Undervolt
-Ondemand, Virtuous and SmartassV2 governors (I use Virtuous for wake and Ondemand for sleep)
-AXI
-Lowered WiFi voltage
-EXT4 support
-snq-'s Autobrightnessmod (Enable all 10 levels)
-sibere's Battfix
-USB fast charge
-Optional 2 way call recording
-Hardcoded SD Speed Patch to 2048. No need for init script anymore
-Hardcoded highly tweaked Lowmemkiller (3584,4096,8192,20992,23040,25088). Throw away Autokiller and/or init scripts.
To make it more lean, I have disabled EXT2 support. SWAP isn't supported either, as I find it completely useless.
I have added CIFS and TUN as modules. To install, download and extract the file and push it to /system/lib/modules like so:
Code:
adb remount
adb push cifs.ko /system/lib/modules/cifs.ko
adb push tun.ko /system/lib/modules/tun.ko
And add the following line to your modules init script:
Code:
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/tun.ko
The kernel comes in 2 flavors. BFS and CFS. Differences between them are here:
BFS - Brain F**k Scheduler
The scheduler essentially handles CPU resource allocation. It controls how the CPU ramps up in frequency and down again when not needed. The BFS version is generally very snappy (possibly more so than CFS) but is an older scheduler. It is designed to minimise latency on low spec'd machines (desktops generally)
Further details here:
http://en.wikipedia.org/wiki/Brain_****_Scheduler
CFS - Completely Fair Scheduler
This particular scheduler is newer than BFS. It is designed to make the best of High end machines (desktops again). In the early days, CFS seemed much laggier than BFS but now there is not too much in it. I am quite happily running a modern CFS kernel and I don't experience any lag issues.
Further details here:
http://en.wikipedia.org/wiki/Completely_Fair_Scheduler
I am aware that the BFS version throws some errors about 'bad cgroup data' in logcat, I haven't been able to get rid of them. I have disabled everything cgroup related in the kernel, but vm still throws the errors. Don't know why. Doesn't seem to impact performance.
I personally use the BFS version, as I find it somewhat faster than the CFS one. I have absolutely no wake lag, and I get good battery time.
Thanks go out to: snq-, bananacakes, sibere, tobi01001, thalamus, eviollet. If I forgot anyone, pls inform me.
CHANGELOG:
V05:
XZ compression
Fixed Wifi sleep
Tweaked OJ settings for better responsiveness (bananacakes)
Changed ramdisk compression method to gzip.
Rebuilt tun.ko and cifs.ko
v04b:
Fixed WIFI. (My bad. Forgot to adapt install script after including new ramdisk.)
v04:
Added Lowmemkiller tweak to ramdisk (3584,4096,8192,20992,23040,25088) No need for Autokiller or init scripts anymore. Over time I will move more tweaks into the ramdisk to minimize the need for init scripts.
Updated BFS to 0.406
Reverted battery gauge polling to 60 secs.
Added Virtuous governor. Virtuous is a highly tweaked SmartassV2.
Removed Lagfree governor again, as I found OndemandX better.
v03:
Hardcoded SD Speed Tweak to 2048. No need for init script anymore
Made 2-way call recording optional. Check downloads
Reduced battery gauge polling from 60 to 5 secs. (Untested)
A few bits more, can't remember it all.
v02:
Added Lagfree governor. Gives me a wee bit better battery, but sometimes lags when listening to music. Maybe I'll remove it again. Tell me what you think.
Added a minor change from tobi01001 to the lightsensor driver. Details here
Hopefully fixed USB fast charge.
Compiler optimizations
Link to my github: https://github.com/tristan202
Earlier i heard lot's of people complaining about reboots / hang up's when browsing internet with lowered WIFI voltages, i will give it a try today anyway thanks.
k3lcior said:
Earlier i heard lot's of people complaining about reboots / hang up's when browsing internet with lowered WIFI voltages, i will give it a try today anyway thanks.
Click to expand...
Click to collapse
I have been running with lowered wifi voltage for a few days without any problems at all. Doesn't browse much though, but market another wifi stuff have been working fine.
I'll give you feedback soon.
Thx and congratz.
Tapatalking.
tristan202 said:
I have been running with lowered wifi voltage for a few days without any problems at all. Doesn't browse much though, but market another wifi stuff have been working fine.
Click to expand...
Click to collapse
I've been using your kernel for several weeks now (tried all the rest) is this the same as your other one or have you tweaked it some more? and is there any chance you can add Sib's battfix?
Thanks a lot mate the combination of HAVS, BFS, 1190 OC with UV to 825 working very nicely for me
beanbean50 said:
is this the same as your other one or have you tweaked it some more? and is there any chance you can add Sib's battfix?
Click to expand...
Click to collapse
Just ask HTC they know everything about your phone
beanbean50 said:
I've been using your kernel for several weeks now (tried all the rest) is this the same as your other one or have you tweaked it some more? and is there any chance you can add Sib's battfix?
Click to expand...
Click to collapse
siberes battery fix is included, and I have been making some tweaks to since the last release. Some minor stuff, but still some improvement.
tristan202 said:
siberes battery fix is included, and I have been making some tweaks to since the last release. Some minor stuff, but still some improvement.
Click to expand...
Click to collapse
wow, many thanks....
is there much difference between the 2 governors ondemandx and smartassV2...?
Autobrighness mod is included (10 positions in arrays.xml)???
Tapatalking.
ziggy1001 said:
Thanks a lot mate the combination of HAVS, BFS, 1190 OC with UV to 825 working very nicely for me
Just ask HTC they know everything about your phone
Click to expand...
Click to collapse
haha...!
Yes, HTC, Google and every other Tom, **** and Harry...
beanbean50 said:
wow, many thanks....
is there much difference between the 2 governors ondemandx and smartassV2...?
Click to expand...
Click to collapse
Ondemand:
The ondemand governor is the default option used by Android. It scales the CPU speed between the minimum and maximum speeds depending on CPU load. If the system needs more speed, the kernel will rapidly scale up the CPU speed. This is available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point, ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
Smartass:
This is based on the concept of the interactive governor. This is included in some custom kernels. The smartass governor effectively gives the phone an automatic Screen Off profile, keeping speeds at a minimum when the phone is idle.
Interactive:
The 'interactive' governor has a different approach. Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
If the cpu was not 100% busy, then the governor evaluates the cpu load over the last 'min_sample_rate' (default 50000 uS) to determine the cpu speed to ramp down to.
This is available in newer kernels, and becoming the default scaling option in some official Android kernels. The interactive governor is functionally similar to the ondemand governor with an even greater focus on responsiveness.
ironjon said:
Autobrighness mod is included (10 positions in arrays.xml)???
Tapatalking.
Click to expand...
Click to collapse
tobi's autobrightnessmod is included. Adding to OP.
Thanks, I'll be testing this! I've been using snq-'s kernel builds but since the OC/UV ones have freezing problems, and gingercakes won't work for me without MASSIVE lag, I look forward to seeing how this works out.
ironjon said:
Autobrighness mod is included (10 positions in arrays.xml)???
Tapatalking.
Click to expand...
Click to collapse
It seems to work, yes. I've just pushed my patched framework-res.apk, and auto-brightness seems to do exactly what it did on snq-'s patched kernel.
EDIT: Ah, ninja'd. Well, there you have it then.
tristan202 said:
Ondemand:
The ondemand governor is the default option used by Android. It scales the CPU speed between the minimum and maximum speeds depending on CPU load. If the system needs more speed, the kernel will rapidly scale up the CPU speed. This is available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point, ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
Smartass:
This is based on the concept of the interactive governor. This is included in some custom kernels. The smartass governor effectively gives the phone an automatic Screen Off profile, keeping speeds at a minimum when the phone is idle.
Interactive:
The 'interactive' governor has a different approach. Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
If the cpu was not 100% busy, then the governor evaluates the cpu load over the last 'min_sample_rate' (default 50000 uS) to determine the cpu speed to ramp down to.
This is available in newer kernels, and becoming the default scaling option in some official Android kernels. The interactive governor is functionally similar to the ondemand governor with an even greater focus on responsiveness.
Click to expand...
Click to collapse
but we only have the first two governors to choose from, Interactive is not an option (in setcpu) or am I being stupid as per usual ...?
is usb fast charge enabled?
ZeGuitarist said:
Thanks, I'll be testing this! I've been using snq-'s kernel builds but since the OC/UV ones have freezing problems, and gingercakes won't work for me without MASSIVE lag, I look forward to seeing how this works out.
It seems to work, yes. I've just pushed my patched framework-res.apk, and auto-brightness seems to do exactly what it did on snq-'s patched kernel.
EDIT: Ah, ninja'd. Well, there you have it then.
Click to expand...
Click to collapse
where can I find the patched framework ?
beanbean50 said:
where can I find the patched framework ?
Click to expand...
Click to collapse
You have to patch your own framework-res
Tapatalking.
ironjon said:
You have to patch your own framework-res
Tapatalking.
Click to expand...
Click to collapse
can you guess my next question ...? hehe
Here you go i like helping the aged especially when, poor eyesight, liver damage, and tropical diseases have taken their toll
[How to] Adjust auto-brightness on GB Sense ROM
beanbean50 said:
where can I find the patched framework ?
Click to expand...
Click to collapse
You can't find it anywhere, you need to patch your own framework. The framework apk differs for each ROM, and contains each individual user's UOT kitchen mods too... So to be safe, you really shouldn't use someone else's framework.
Anyway, here's how to do it:
http://forum.xda-developers.com/showthread.php?p=17713587
It's pretty easy, as long as you know where your ROM's framework apk is (in internal /system, or in /sd-ext). Also, the thread suggest you put your framework mod in a flashable zip, but it's easier to just boot in recovery, and use adb to remove your old framework and push the new one.

"No-Frills CPU control/Pimp my Rom" for different speed governors and I/O schedulers

"No-Frills CPU control/Pimp my Rom" for different speed governors and I/O schedulers
The custom Kernel for A110 is coming. But till then, you can try out some different clock settings to get you more speed when on games and experiment with speed governors and I/O schedulers with the stock kernel.
Install No-frills CPU control or use Pimp my ROM to change the Min clock(limited to 250 MHz) or Max clock (limited to 1.001 Ghz now) and 5 governors (ondemand, userspace, powersave, hybrid, performance). For optimal battery and speed use ondemand with 1Ghz/250Mhz and noop scheduler. For games, try performance governor. Those who want maximum battery life can try powersave governor....
pradipsoman said:
The custom Kernel for A110 is coming. But till then, you can try out some different clock settings to get you more speed when on games and experiment with speed governors and I/O schedulers with the stock kernel.
Install No-frills CPU control or use Pimp my ROM to change the Min clock(limited to 250 MHz) or Max clock (limited to 1.001 Ghz now) and 5 governors (ondemand, userspace, powersave, hybrid, performance). For optimal battery and speed use ondemand with 1Ghz/250Mhz and noop scheduler. For games, try performance governor. Those who want maximum battery life can try powersave governor....
Click to expand...
Click to collapse
lol..its useless on stock kernel.bdw each and every kernel can be underclocked.
Dj_cool said:
lol..its useless on stock kernel.bdw each and every kernel can be underclocked.
Click to expand...
Click to collapse
I think you have not read the post correctly. See the heading...Its not for changing clock speeds...Its for changing governors and I/O schedulers and there is no way you can do that on stock ROM without an external application as there is no settings for that in the stock ROM. And I am not taking anything about overclocking dude And many of the end users are beginners who do not even know these things...
I have clearly mentioned that the highest freq is capped. And it is not useless. We can play with the governors and the I/O schedulers. Read before you comment pal
but all are useless in stock kernel.ask varun if u have any doubt.
Dj_cool said:
but all are useless in stock kernel.ask varun if u have any doubt.
Click to expand...
Click to collapse
You are totally wrong dude..Get your info right. I have been playing with android right from 2010 and have used a multitude of phones Am not a beginner...I do not have to ask Varun on this...Default kernels come with limited speed governors and I/O schedulers that I have listed above, and THEY DO WORK...When you modify the kernel using sources, you can add many more governors and schedulers and also add other functionalities like over-clocking. Think before you post pal
http://forum.xda-developers.com/showthread.php?t=1369817
Read this dude....
And for your knowledge. The default governor and scheduler that our A110 comes set with is hybrid/cfq. That gives the maximum quandrant score of 3000 and above. Try to change it and you will see the difference in performance. The quadrant scores will go down. The settings DO WORK and to get better battery you can compromise on the performance.
Cheers....
m also not new in android..i also used too many android phones.
pradipsoman said:
You are totally wrong dude..Get your info right. I have been playing with android right from 2010 and have used a multitude of phones Am not a beginner...I do not have to ask Varun on this...Default kernels come with limited speed governors and I/O schedulers that I have listed above, and THEY DO WORK...When you modify the kernel using sources, you can add many more governors and schedulers and also add other functionalities like over-clocking. Think before you post pal
http://forum.xda-developers.com/showthread.php?t=1369817
Read this dude....
And for your knowledge. The default governor and scheduler that our A110 comes set with is hybrid/cfq. That gives the maximum quandrant score of 3000 and above. Try to change it and you will see the difference in performance. The quadrant scores will go down. The settings DO WORK and to get better battery you can compromise on the performance.
Cheers....
Click to expand...
Click to collapse
You mallu?
same here, expand what you are trying to say?
o/c not possible in stock kernel, but yes we can set clock values depending on the stock clock values between 0 - 1ghz (min 250mhz / maxx 1ghz), and even set governers, we need root for doing such actions na? but not possible without root!!!
deadlyindian said:
You mallu?
same here, expand what you are trying to say?
o/c not possible in stock kernel, but yes we can set clock values depending on the stock clock values between 0 - 1ghz (min 250mhz / maxx 1ghz), and even set governers, we need root for doing such actions na? but not possible without root!!!
Click to expand...
Click to collapse
Yes, you need to be rooted
pradipsoman said:
Yes, you need to be rooted
Click to expand...
Click to collapse
so can you give me a clean explanation of everything u said on the 1st post?
Yup..plz explain dude.:angel:
in the stock rom/kernel , what settings in "no frills cpu control" is the best for performance and battery respectively ?
the options seen are governors ( userspace , ondemand,hybrid, powersave , performance ) and I/O scedulers (cfq , deadline, noop) ..
will changing these options be effective in the stock kernel ?

[Kernel] H830-H850 - LOS BASED - Speedy Kernel v 2.1 (OC/UC) - Updated June 18th 2017

Code:
I am not responsible for anything that
happens if you use my work.
Use at your own risk.
First and foremost, I'm not a developer and am just doing this as a hobby. So, if you find issues feel free to post bug reports and I will do my best to fix. Also, if you want something added to the kernel, feel free to ask and I will do my best to add it
This is my first release and I will add more features when I get time.
This kernel is for LOS based roms ONLY (LOS, RR, DU, ETC.).​
Features:
Governors:
Alucard
Bluactive
Chill
Conservative
DanceDance
Darkness
ElementalX
Interactive (Renamed as old_interactive until it stops forcing all 4 cores @ max speeds)
Interactive Pro (Now renamed Interactive, replacing faulty interactive gov)
Lionheart
Nebula
Ondemand
Powersave
Performance
Pwrutilx - EAS
Sched
Schedutil
Userspace
ZZMoove + zzmoove profiles (changed under advanced gov settings)
ZZMoove (Big Little Setup) Added and no profiles anymore
Hot Plugging:
Alucard
Autosmp
Zen Decision
Schedulers:
bfq
cfq
deadline
fifo
fiops
maple
noop
sio
sioplus
tripndroid
vr
zen
TCP:
bic
cubic
illinois
reno
westwood
Vegas
Added KCAL V2
Added USB Fastcharge
Added init.d support
Added CPU Boost
Added CPU Touch Boost
Remove verified boot state
Added CPU OC (Stable now):
Little Cluster to 1.72 GHz
Big Cluster to 2.26 GHz
Added GPU OC (Stable now):
OC to 652 MHz
UC to 100 MHz
Added Spectrum Kernel Profile Manager Support
--- Download spectrum app from GooglePlay ---
(Ensure you have "apply on boot" options in your kernel manager app disabled and then open Spectrum,
click on profile you want to use and click back and it applies it
Added Adrenoboost
Added Sound Control
Added GPU Whitelist (you can only select stable gpu governors now)
Tweaked hotplugging resetting
Added F2FS (Cache only)
Added Frandom
Tweaked touchboost
Added kernel wakelock blocker
Reduced bluesleep wakelocks
Added Fsync
Added powersuspend
-----------------------------------------------------------------------------
Defaults currently set on boot (default battery / performance profile set as default):
Code:
Chill Gov (Big & Little Cluster)
Max Freq on Little Cores: 1.72 (OC) default
Max Freq on Big Cores: 2.26 (OC) default
GPU OC (652) set on by default
I/O Scheduler - Zen
I/O Scheduler Read Ahead - 512
Adreno idler set on
TCP - Vegas
Hotpluugin - Disabled
CRC - Disabled
USB fast charge set to on
KCAL set on boot
--- RGB all @ 230
--- Sat set @ 70
Currently supported models are the H830 (T-Mobile) and H850 (Unlock EU Model). I will happily add support for the RS988 and H840 SE if and when there is lineage os support for those models.
Downloads:
T-Mobile H830 v2.1:
SpeedyKernel-h830-by-Jeffsga88-v2.1-release.zip
EU Model H850 v2.1:
SpeedyKernel-h850-by-Jeffsga88-v2.1-release.zip
No longer using mega for downloads. Click on links above or go-to Downloads tab at top of page.
*** Tested and working on both H830 & H850 ***
Color Calibration (KCAL):
--- Use kernel auditor or EX Kernel Manager to control, you can use the color control app located:
http://downloads.codefi.re/savoca/kcal
You may have to change kernel to permissive to use that app, which would make safetynet fail (so use other app if you need safetynet to pass).
*** Note, if you have used Live Display to change color calibration, please reset it before changing the KCAL settings.
I recommend using the following settings for KCAL (more vibrant color and no burn in):
RGB ---> All set to 230
Saturation ---> 60
Value ---> 132
Contrast ---> 132
Install:
*** Do NOT install this right after doing a clean install of a rom, boot your rom up first then install ***
*** This kernel uses anykernel2 installer which allows for major compatibility ***
*** Do NOT flash over other kernels either , only over original kernel with the ROM ***
Download Kernel
Boot into TWRP
Install kernel
Reboot
(If you have issues wipe cache / davlik)
Credits:
First of all to @lordodin912 for the motivation to do this kernel. After seeing him build the Asgard kernel and say that he wasn't a dev and just doing it as a hobby, I decided to give it a try
@CrazyGamerGR, @osm0sis, @flar2, @savoca
xda-developers , google, lg
anyone else I forgot
*** If I forgot to give you credit, just pm me and I'll add your name ***
XDA:DevDB Information
SpeedyKernel_G5, Kernel for the LG G5
Contributors
jeffsga88
Source Code: https://github.com/jeffsga88/SpeedyKernel_G5/tree/SpeedyKernel
Kernel Special Features: See above
Version Information
Status: Testing
Created 2017-05-11
Last Updated 2017-06-18
Reserved
Change Log:
Code:
June 18th, 2017 (v 2.1):
Added Frandom - 6/16
Tweaked touchboost control - 6/16
Added Kernel Wakelock Blocker - 6/17
Added "reduce bluesleep wakelocks" - 6/18
Added new gov. (pwrutilx) - 6/18
Extended battery charging time from 30 to 100 seconds - 6/18
Disabled WALT - 6/18
Misc changes to Interactive gov (including screen off max freq) - 6/18
Added Maple I/O Scheduler - 6/18
Added Chill Gov - 6/18
Add an interface to boost devices when the screen is woken - 6/18
Added Fsync - 6/18
Added Powersuspend - 6/18
Updated Chill Gov - 6/18
Reduce wakeboost time - 6/18
--- Changed default gov to Chill and I/O to 512 & zen ---
June 15th, 2017 (v 1.9):
Changed Interactive gov. to old_interactive (interactive was forcing all 4 cores @ max freq all the time)
Changed Interactive_Pro to interactive (replaced interactive gov with interactive_pro)
--- This will allow you to use AKT & AKT profiles now and them work correctly (they rely on interactive gov working correctly).
May 27th, 2017 (v 1.7):
Added adrenoboost
Added darkness gov
Added blu active gov
Added sound control
Tweaked autosmp hotplug
Added gpu gov. whitelist (only allows you to select stable gpu govs)
Tweaks to hotplugging
May 21st, 2017 (v 1.6):
Added dancedance gov
Added spectrum profile management support (download app from playstore)
Misc changes
May 17th, 2017 (v 1.5):
Added Interactive Pro
Added Nebula
Changed ZZMoove to use big/little config
Tried to fix usb fast charging, let me know if it works :)
Fixed CPU / GPU overclocking, now working and stable
Added adreno idler
Added CRC toggle (default is disabled)
Set defaults on boot (see above).
--- This should give good battery / performance profile by default :)
May 14th, 2017 (v 1.4):
Added CPU Boost
Added CPU Touch Boost
Remove verified boot state
Added CPU OC:
Little Cluster to 1.72 GHz
Big Cluster to 2.26 GHz
Added GPU OC / UC:
OC to 652 MHz
UC to 100 MHz
May 13th, 2017 (v 1.3):
Added Autosmp hotplug
Added zzmoove gov + profiles
(zzmoove profiles located under advanced gov settings when zzmoove is selected)
May 11th, 2017 (v 1.2):
Added Lionheart governor
Added Alucard hotplug
Added Zen Decision hotplug
Added Westwood TCP
Updated misc config settings
May 10th, 2017 (v 1):
Initial Release
Reserved
Reserved - Just in case
Sounds nice!
Great news, thank you!
Runs good so far on the H850!
Unfortunately, since the May kernel commits (since Schedutil is there) using Interactive governor turns all cores to max frequency! Maybe you can take a look into this behaviour?
Nice! I will try if im on a los based rom again
tiis said:
Great news, thank you!
Runs good so far on the H850!
Unfortunately, since the May kernel commits (since Schedutil is there) using Interactive governor turns all cores to max frequency! Maybe you can take a look into this behaviour?
Click to expand...
Click to collapse
I'll try and look into it, it might be able to be controlled once I add hotplug drivers. I'm working on adding some hotplugs, some more governors and doing some general changes to the configs. Happy to hear it's working on h850 too . Hopefully I'll be able to get an update out later today.
Updated to version 1.2 (new links in OP).
Added hotplugs and lionheart gov, and other misc changes. Hope you enjoy.
Would you add Westwood Tcp and zzmoove please?
obol2 said:
Would you add Westwood Tcp and zzmoove please?
Click to expand...
Click to collapse
Westwood is already added in version 1.2 and I'll look into adding zzmove tomorrow. I must have forgot to add Westwood to the list, will update op
Will this kernel work as the one with RR? I just want KCAL, don't really understand most of the others tunables
tavocabe said:
Will this kernel work as the one with RR? I just want KCAL, don't really understand most of the others tunables
Click to expand...
Click to collapse
Yes. It's same kernel just with added features, haven't removed anything just added extra features for those who want then. So just install and leave everything alone except kcal settings (use kernel auditor to set kcal settings).
@jeffsga88 can u add f2fs support in the future?
otakutw said:
@jeffsga88 can u add f2fs support in the future?
Click to expand...
Click to collapse
I'll take a look into possibly adding it if I can figure out Probably won't get a chance to look into it until next week though.
On another note, going to try and push an update today with more hotplugs and governors and some misc tweaks.
jeffsga88 said:
I'll take a look into possibly adding it if I can figure out Probably won't get a chance to look into it until next week though.
On another note, going to try and push an update today with more hotplugs and governors and some misc tweaks.
Click to expand...
Click to collapse
Would I be able to turn off the device vibration completely if using this kernel? On the original (RR and DU) kernel apps like Device Control or Kernel Adiutor will SAY that vibration is at 0%, but the device will still vibrate if triggered by an app like Titanium Backup.
I don't really need a kernel for performance etc., I just want to get rid of that pesky vibration :laugh:
Nimueh said:
Would I be able to turn off the device vibration completely if using this kernel? On the original (RR and DU) kernel apps like Device Control or Kernel Adiutor will SAY that vibration is at 0%, but the device will still vibrate if triggered by an app like Titanium Backup.
I don't really need a kernel for performance etc., I just want to get rid of that pesky vibration :laugh:
Click to expand...
Click to collapse
No, I haven't changed anything in regards to vibration settings, so it is same as RR / DU with that. One thing I did find though it's that using the vibration control settings on Ex Kernel manager app and setting it to 0% actually stuck and got rid of vibration, lol. But I'll take a look when I have a chance to see if it's something easy to change or not.
jeffsga88 said:
No, I haven't changed anything in regards to vibration settings, so it is same as RR / DU with that. One thing I did find though it's that using the vibration control settings on Ex Kernel manager app and setting it to 0% actually stuck and got rid of vibration, lol. But I'll take a look when I have a chance to see if it's something easy to change or not.
Click to expand...
Click to collapse
Someone said that the default kernel doesn't support turning off vibration and that's why the apps can't do it. I'll check out Ex Kernel Manager app, thanks - and also thanks for looking into it
overclock?
this kernel works great atm,will u add the possibilty to overclock the gpu/cpu?i have been waiting it for 1 year and no one kernel for oc yet
Nimueh said:
Someone said that the default kernel doesn't support turning off vibration and that's why the apps can't do it. I'll check out Ex Kernel Manager app, thanks - and also thanks for looking into it
Click to expand...
Click to collapse
Yeah no problem. I'll try and see what I can do kernel side when I get a chance.
fede_rico said:
this kernel works great atm,will u add the possibilty to overclock the gpu/cpu?i have been waiting it for 1 year and no one kernel for oc yet
Click to expand...
Click to collapse
I'll take a look at overclock but I know most things I have read on other phones with the SD820, it isn't that stable with OC, but I don't mind adding the options for a slight overclock when I get a chance. I'll look into it next week.
----
On another note, updated to version 1.3 now. Added zzmoove gov and it's profiles (controlled under adv. gov settings) and autosmp hotplug. Hope everyone enjoys

[Kernel][23/02/18]LOS plus for LineageOS 14.1

Introduction
This kernel is based on Smartpack kernel by @sunilpaulmathew. The kernel has undergone many changes to further improve both battery life and performance from already what was an excellent kernel for the S5.
Features
CPU Governors - yankactive, impulse, ondemandplus, adaptive, smartmax, smartmax_eps, wheatley, nightmare, alucard, intellidemand, intelliactive, zzmoove, interactive, conservative, ondemand, powersave, lionheart, performance
IO Schedulers - zen, sioplus, deadline, cfq, bfq, tripndroid, vr, row, noop, fifo
GPU governors - simple_ondemand, msm_adreno_tz and more
Hotplugs - mpdecision, intelliplug
TCP algorithms- All enabled. Westwood default for best performance.
Franco Sound Control
Dynamic Hotplug
Dynamic Fsync
LCD notifier
Disabled CRCs for performance
Linaro 7.2 Toolchain
Supported Variants
klte: SM-G900F, SM-G900V, SM-S902L
kltekor: SM-G900K, SM-G900L/SM-G900S
kltedv: SM-G900I ,SM-G900P
klteduos: SM-G900FD, SM-G900MD
No other variants are supported
Download
AFH - https://www.androidfilehost.com/?w=files&flid=240642
How to install
1. Ensure you are not running a custom kernel already (can conflict)
2. Flash my kernel
3. Wipe dalvik/cache
4. Reboot
Credits
Sunilpaulmathew - For kernel base and scripts
Linus Torvalds - For linux kernel
Lord Boeffla - For many tweaks and patches
nathanchance - For Linaro TC
faux123 - For intell* governors/hotplugs
alucard12 - For alucard hotplug
haggertk - For LOS14.1
franciscofranco - For franco sound control
Source:
Github - https://github.com/gsstudios/LOS-plus-kernel
Changelogs
See github page
Kernel Adiutor Suggestions
Battery Savings
CPU Governor - Nightmare
Hotplug - Intelliplug
IO sched - ZEN
GPU governor - simple_ondemand
Performance
CPU Governor - Ondemandplus
Hotplug - Intelliplug
IO sched - ZEN
GPU governor - msm_adreno_tz
You can change around these settings or add your own if you like
What app do I use to tune this kernel?
I highly recommend Kernel Adiutor. It's free, open-source and is on the Google Playstore.
When will feature xyz be added?
I'll add it if I think everyone will benefit from this change, and that also means that I must find this feature to be useful.
Donations
While I am glad people want to help with the development through donations, I am generally opposed to accepting any form of donation.
Microphone not working?
Make sure the microphone gains in the sound section of KA is > 0. Alternatively, ensure that apply on boot has been unticked.
How do I use intellithermal?
In the CPU hotplug tab in KA, disable the two sliders underneath the slider for intellithermal. Then you may switch on intellithermal.
How can I help with development?
If you see or encounter any issues, let me know on github or on an XDA post. If you want to help develop, you can easily fork this project on github, add your own changes, then submit a pull request.
I'm back into kernel development after taking a long break since maintaining Dorimanx kernel for the S5. :highfive:
I've just released my first build (v1) which I've tested for some time now. Please let me know if there are any issues with the usual bug report format (dmesg + logcat + description of issue).
I just like a give another special thanks to @sunilpaulmathew for allowing me to use his kernel as base and for being open to the opensource community
Enjoy
Good to see you back to Kernel development... :good:
It will be a good deal for our S5 users
and hope you will still be active in my thread...
Saber said:
I'm back into kernel development after taking a long break since maintaining Dorimanx kernel for the S5. :highfive:
I've just released my first build (v1) which I've tested for some time now. Please let me know if there are any issues with the usual bug report format (dmesg + logcat + description of issue).
I just like a give another special thanks to @sunilpaulmathew for allowing me to use his kernel as base and for being open to the opensource community
Enjoy
Click to expand...
Click to collapse
I'll try it, I just want perf fixes
Further testing has reveal that Faux sound control values don't stick after setting them in KA. This issue will be resolved in the next build.
Regards, Saber
Is this the kernal that was going to help with the RR issues? Thanks for this kernal.
BadToThePhone said:
Is this the kernal that was going to help with the RR issues? Thanks for this kernal.
Click to expand...
Click to collapse
If you mean the performance issues with Smartpack + RR, then yes. However, it will take some tweaking it get it "buttery smooth".
Saber said:
If you mean the performance issues with Smartpack + RR, then yes. However, it will take some tweaking it get it "buttery smooth".
Click to expand...
Click to collapse
already noticing a HUGE difference in performance. It's phenomenal. Howcome I/O for internal is missing in KA
Does Faux audio interfere with V4A?
GeTex said:
already noticing a HUGE difference in performance. It's phenomenal. Howcome I/O for internal is missing in KA
Does Faux audio interfere with V4A?
Click to expand...
Click to collapse
I guess you mean internal IO scheduler? Works fine on my end. Maybe reflash kernel or try one of the modded KA apps.
As for faux sound control and V4A, I think you can have both, as long as you don't tune the values for faux sound (which BTW is broken until the next release).
Saber said:
I guess you mean internal IO scheduler? Works fine on my end. Maybe reflash kernel or try one of the nodded KA apps.
As for faux sound control and V4A, I think you can have both, as long as you don't tune the values for faux sound (which BTW is broken until the next release).
Click to expand...
Click to collapse
Internal I/O is missing from menu's, kernel clearly is flashed
good to know
GeTex said:
Internal I/O is missing from menu's, kernel clearly is flashed
good to know
Click to expand...
Click to collapse
Odd, I would imagine it would be an issue with KA unable to detect the paths required for IO tuning. Maybe problems with permissions? Any logs because I'm running out of ideas...
@Saber and @GeTex Can you please post your recommended settings? Battery is more important to me than performance. Would appreciate it very much.
BadToThePhone;75181281 [user=5811506 said:
@Saber[/user] and @GeTex Can you please post your recommended settings? Battery is more important to me than performance. Would appreciate it very much.
Click to expand...
Click to collapse
There's many ways to go about it, I cannot comment immediately and I'd rather work with @Saber first on a good configuration but so far I can recommend this
Change CPU gov to ondemandplus
Change CPU hotplug to intelliplug, change hytersis value to 4, change screen of freq to 10xx MHz, use profile balanced and touch boost on
Change internal I/O to sio or sioplus, readahead to 1024, external I/O to noop and readahead 2048, change swappiness to 30 and vfs cache pressure to 130, or keep 100 for neligable benefits, turn on KSM with an interval of 1000 or 500 for slightly better performance at cost of minor battery, make sure Zram is set to 420mb or less. Turn off the thermal drivers and use intellithermal on defaults
With a brand new battery I have 4hr10 screentime and 1d standby, that is with alot of background stuff such as 20 minute GPS pings and weather updates, wifi and data and GPS always on
Battery life isn't up to date yet, will need to test a few more days
I was previously using these settings. Do any of these still apply? Thanks
Cpu governor: nightmare
Cpuhotplug: intelliplug
Touchboost: on
Cpu threshold: 1250
Thermal: intellithermal on, vdd and corecontrol off
Gpu: adreno idler
I/o scheduler: zen
Sleep between scans: 1000ms
Power suspend mode: autosleep
Fast charge on
Fsync On
BadToThePhone said:
I was previously using these settings. Do any of these still apply? Thanks
Cpu governor: nightmare
Cpuhotplug: intelliplug
Touchboost: on
Cpu threshold: 1250
Thermal: intellithermal on, vdd and corecontrol off
Gpu: adreno idler
I/o scheduler: zen
Sleep between scans: 1000ms
Power suspend mode: autosleep
Fast charge on
Fsync On
Click to expand...
Click to collapse
No adreno idler in this kernel. Best to use power suspend mode hybrid for better battery life (uses display state + kernel sleep).
Edit: Also no UKSM. You can enable KSM if you like, but I personally don't need it.
BadToThePhone said:
@Saber and @GeTex Can you please post your recommended settings? Battery is more important to me than performance. Would appreciate it very much.
Click to expand...
Click to collapse
Please read my second post. Main goal of my profile is good battery + performance balance without that "lag" in RR. Change around the profile if you like to suit your taste (e.g. zzmoove instead of ondemandplus).
Saber said:
Please read my second post. Main goal of my profile is good battery + performance balance without that "lag" in RR. Change around the profile if you like to suit your taste (e.g. zzmoove instead of ondemandplus).
Click to expand...
Click to collapse
Is following your suggested settings plus what @GeTex recommended doing too much? Thanks alot
BadToThePhone said:
Is following your suggested settings plus what @GeTex recommended doing too much? Thanks alot
Click to expand...
Click to collapse
It's a little more extra compared to my recommendations, but either is fine for good balance.
When turning on intellithermal do I have to turn off vdd and corecontrol? Also do I have to turn off mpdescion?

Categories

Resources