[KERNEL][VILLE][S4][CAF][LP][MAR 18]Frosted Kernel by javelinanddart - HTC One S

Welcome to Frosted Kernel for the HTC One S (Ville)
Code:
#include <std/disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. :P
* blah blah blah you get the point.
*/
Why I created a SECOND kernel:
So for those of you living under a rock (jk), I already maintain Void Kernel for the One S, so why would I bother creating another? Well @Rapier started having issues, so I PM'd him a patch. He sais he would test it later but commented on how Void LP and IceCode LP were feeling a bit sluggish (they share the same base) where as the stock CM 12 Kernel is super smooth. I then tried the CM 12 stock kernel and realized that he was right. So I forked the CM stock kernel and added some basic features and sent it to him. He commented on how the OC values weren't sticking properly and the Benchmarks were really low but how it was smooth. So I fixed the OC, and added @show-p1984's MSM_MPDEC and MSM_THERMAL to speed it up and when I benchmarked it, I got 6788 in quadrant. That was a couple of hours ago. Now, I'm releasing it into the wild. The main focus of the Bricked Edition (like Bricked Kernel before it) is speed and stability. Undervolting is doable but you have to do it yourself and if you get random reboots I will not help you there. Enjoy Frosted Kernel everybody!
I'm really sorry for the noobish question, but how do I tweak this kernel's settings? Which app should I use?
Click to expand...
Click to collapse
Rapier said:
For Bricked edition you can use TricksterMOD, for Intelli edition you can use FauxClock (but that's paid app)
Sent from nowhere over the air...
Click to expand...
Click to collapse
For Wake Controls: http://forum.xda-developers.com/showpost.php?p=59179565&postcount=169
(Thanks derkleinebroicher!)
Post #1: Disclamer, Why I created this Kernel
Post #2: Download and Features for Bricked Edition
Post #3: Changelog for Bricked Editon
Post #4: Download and Features for Intelli Edition
Post #5: Changelog for Intelli Edition
Post #6: Download and Features for Void Edition
Post #7: Changelog for Void Edition
Post #8: Link to Discussion Thread
XDA:DevDB Information
Frosted Kernel, Kernel for the HTC One S
Contributors
javelinanddart, Rapier, jrior001, rmbq, AKToronto, show-p1984, flar2, faux123, Rapier, Winstarshl, derkleinebroicher, unimatrix.ø, Loreane Van Daal
Source Code: github.com/FrostedKernel/android_kernel_htc_msm8960
Kernel Special Features:
Version Information
Status: Stable
Created 2015-02-15
Last Updated 2015-03-21

Bricked Edition Features:
Compiled with the Lastest Linaro Toolchain Optimized for Cortex-A15 by @Christopher83
Compiled with -O3 Optimization
XZ Compression (-O3 creates larger code, need it to keep it in check)
Voltage Control by @faux123
CPU Overclocking to 1.836GHz (Stable too!)
CPU Underclocking to 192MHz (Also Stable)
GPU Overclocking to 512MHz (Stable but phone gets really warm)
BLN by @rmbq
Sweep2Wake and Sweep2Sleep by @show-p1984
DoubleTap2Wake and DoubleTap2Sleep by @flar2
Pocket Detection by @flar2
TCP Congestion Control Algorithms: Bic, Cubic, Westwood (default), HSTCP, Hybla, Vegas, Scalable, Low Priority, Veno, Reno, YeAH, and Illinois
CPU Governors: Performance, Powersave, Userspace, Ondemand, Interactive, Conservative, Intellidemand, Intelliactive, Intellimm, TRIPNDROID, Lionheart, Badass (default), SmartassV2, ElementalX, and Preservative
GPU Governors: Ondemand, Performance, and Simple
I/O Schedulers: Noop, ROW, Deadline, CFQ, BFQ, FIOPS (default), SIO, SIO Plus, FiFo, TRIPNDROID, ZEN, and Vr
MSM_MPDECISION and MSM_THERMAL by @show-p1984
MSM_MPDECISION Input Boost Available
Lastest CAF + Latest Linux 3.4 Source
Vibrator Intensity Control
Amazing Build Flags
Fast Charge
Module Support
Export Krait Variant
exFAT Support
UTF-8
FRANDOM Support
Asynchronous Fsync
KCal Control by @faux123
Sound Control by @faux123
91% Compatible with KControl
F2FS Support
QSEECOM Support
Frosted Bricked Installer Features:
AROMA Installer with Holo Theme
License (GPLv2)
Terms of Use (Disclaimer)
Changelog
Date Updated
Kernel Edition
Confirmation Screen
Reboot Option at the End
Add Init.d Support
Enable Insecure Kernel
Remove Governor Overrides
Things to do:
Command Line Interfacing
Downloads:
https://www.androidfilehost.com/?w=files&flid=26289
https://mega.co.nz/#F!F15SCBzL!9dMuU3o3nS5rlLUEFuenfg
https://www.mediafire.com/folder/bc9iobppko517/Bricked_Edition

Code:
[SIZE="5"][B]Bricked Edition Changelog:[/B][/SIZE]
Mar 10
-MAJOR clean up of source
Mar 01
-QSEECOM Support
-Wake Controls disabled by default
Feb 24
-Revert GPU Memory Usage Feature
Feb 23
-Merge with CM
-Badass GPU Control
-Update Toolchain
-Revert Badass GPU Control
Feb 22
-GPU Memory Usage Feature for KControl
Feb 21
-Add SIO Plus I/O Scheduler
-Fix Logic Derp in Simple GPU Governor
Feb 20
-Update MSM_MPDECISION
-Set Multi Core Power Saving Mode to 2 by Default
Feb 18
-Build KControl Module as a Module
-Add KCal Control
-Add Sound Control
-Add F2FS
Feb 17
-Build exFAT into the kernel
-Build SCSI_WAIT_SCAN into the kernel
-Try building @show-p1984's KControl Module in to the kernel
-Added SmartassV2 Governor
-Added Asynchronous Fsync
-Merge with CM
-Lower Thermal Throttle Values
Feb 16
-Export Krait Variant
-More I/O Schedulers
-More CPU Governors
-Bump OC Voltages
-Choose Badass and FIOPS as default
-Add exFAT Support
-Add FRANDOM Support
-KControl GPU Module
Feb 15
-Fix OC to 1.836GHz
-MSM_THERMAL
-Compiled with -O3
-Switch to XZ Compression
-Added Module Support
-Added Simple GPU Governor
Feb 14
-Linaro GCC 4.9 Optimized for Cortex-A15
-Bump all stock Voltages to 1150000
-Bump OC Voltages
-CPU OC to 1.836GHz
-CPU UC to 192MHz
-MSM_MPDEC
-Merge with CAF
-Merge Linux 3.4.106
Feb 13
-Initial Fork of CM
-Wake Controls
-BLN
-Voltage Control
-CPU and GPU OC to 1.728GHz and 512MHz

Intelli Edition Features:
Compiled with the Lastest Linaro Toolchain Optimized for Cortex-A15 by @Christopher83
Compiled with -O3 Optimization
XZ Compression (-O3 creates larger code, need it to keep it in check)
Voltage Control by @faux123
CPU Overclocking to 1.836GHz (Stable too!)
CPU Underclocking to 192MHz (Also Stable)
GPU Overclocking to 512MHz (Stable but phone gets really warm)
BLN by @rmbq
Sweep2Wake and Sweep2Sleep by @show-p1984
DoubleTap2Wake and DoubleTap2Sleep by @flar2
Pocket Detection by @flar2
TCP Congestion Control Algorithms: Bic, Cubic, Westwood (default), HSTCP, Hybla, Vegas, Scalable, Low Priority, Veno, Reno, YeAH, and Illinois
CPU Governors: Performance, Powersave, Userspace, Ondemand, Interactive, Conservative, Intellidemand (default), Intelliactive, Intellimm, TRIPNDROID, Lionheart, Badass, SmartassV2, ElementalX, and Preservative
GPU Governors: Ondemand, Performance, and Simple
I/O Schedulers: Noop, ROW, Deadline, CFQ, BFQ, FIOPS (default), SIO, SIO Plus, FiFo, TRIPNDROID, ZEN, and Vr
Intelli_Plug and Intelli_Thermal by @faux123 (Use Eco Performance in Fauxclock, TricksterMod chooses it by default, otherwise it lags too much)
Lastest CAF + Latest Linux 3.4 Source
Vibrator Intensity Control
Amazing Build Flags
Fast Charge
Module Support
Export Krait Variant
exFAT Support
UTF-8
FRANDOM Support
Dynamic Fsync by @faux123
KCal Control by @faux123
Sound Control by @faux123
F2FS Support
QSEECOM Support
Frosted Intelli Installer Features:
AROMA Installer with Holo Theme
License (GPLv2)
Terms of Use (Disclaimer)
Changelog
Date Updated
Kernel Edition
Confirmation Screen
Reboot Option at the End
Add Init.d Support
Enable Insecure Kernel
Remove Governor Overrides
Things to do:
Command Line Interfacing
Downloads:
https://www.androidfilehost.com/?w=files&flid=26435
https://mega.co.nz/#F!ssgDCBxQ!YXmLgPTkoeAPhHxSsGdBIw
https://www.mediafire.com/folder/7sef2akc9tb4y/Intelli_Edition

Code:
[SIZE="5"][B]Intelli Edition Changelog:[/B][/SIZE]
Mar 10
-MAJOR clean up of source
-Update Intelli_Plug to version 4.0
Mar 01
-QSEECOM Support
-Wake Controls disabled by default
-Revert Badass GPU Control
-Revert Memory History Usage Feature
Feb 23
-Merge with CM
-Badass GPU Control
-Update Toolchain
Feb 22
-GPU Memory Usage Feature for KControl
Feb 21
-Add SIO Plus I/O Scheduler
-Fix Logic Derp in Simple GPU Governor
Feb 20
-Set Multi Core Power Saving Mode to 2 by Default
Feb 18
-Build KControl Module as a Module
-Add KCal Control
-Add Sound Control
-Add F2FS
Feb 17
-Initial Fork from Bricked Editon
-Dynamic Fsync
-Intelli_Plug instead of MSM_MPDECISION
-Intelli_Thermal instead of MSM_THERMAL
-Merge with CM

Reserved 3

Reserved 4

Link to Discussion Thread:
http://forum.xda-developers.com/htc-one-s/general/kernel-rain-kernel-javelinanddart-t2948552/
This was the Old Void Kernel Thread. I check both threads often.

@javelinanddart whatever you did, you did it right. Just flashed it and of course is to early to tell but looks extremly good. It's the first time I've OCed my ville so high (to max 1.8 GHz) and looks stable so far, no reboots and it doesn't get warmer either.
Proc was ramping up to the max also which was not happening in that test version also Quadrant finish the tests faster than ever. I didn't get 6800 score as you did but that could have many causes and that's not so important for me. What I care most is that phone flyes now and it doesnt reboot (yet...we'll see in time how stable it is).
Even if it lacks some of the other kernel features for now, it looks to me the best LP custom kernel so far. That's really good...trully. I do hope it won't misbehave in time cause I love how my phone feels now.
Sent from nowhere over the air...

javelinanddart said:
First Build is UP!
Named frostedbrickedlp1502215.zip in my AFH. MEGA and Mediafire mirrors coming soon are live as well! Enjoy!
Click to expand...
Click to collapse
Niceee) I go flash and test)
Ohh...
Test1 - bug buttons on screen off... have this too....

Rapier said:
@javelinanddart whatever you did, you did it right. Just flashed it and of course is to early to tell but looks extremly good. It's the first time I've OCed my ville so high (to max 1.8 GHz) and looks stable so far, no reboots and it doesn't get warmer either.
Proc was ramping up to the max also which was not happening in that test version also Quadrant finish the tests faster than ever. I didn't get 6800 score as you did but that could have many causes and that's not so important for me. What I care most is that phone flyes now and it doesnt reboot (yet...we'll see in time how stable it is).
Even if it lacks some of the other kernel features for now, it looks to me the best LP custom kernel so far. That's really good...trully. I do hope it won't misbehave in time cause I love how my phone feels now.
Sent from nowhere over the air...
Click to expand...
Click to collapse
Thanks
I set the voltages pretty high for stability and @show-p1984's ThermalD is working it's magic
To fix the OC problem, the Ville Regulator file wasn't accepting voltages past 1300000 even though it could handle up to 1450000
I raised the Max and it allowed the OC
EDIT: About features, there will be two versions. This and Frosted Void Edition. Void Edition will include lots of extra features where as Bricked edition is meant to be a revival of sorts of @show-p1984's Bricked Kernel. I'll add Govs and I/O Scheds but no Sound Control or KCal on this one or extra stuff like that. I might look at intelli_plug in the future but I like this because it's so smooth and fluid even if the battery life isn't as good. (Probably could be tuned with KControl to get similar battery life)
EDIT 2: DO NOT USE KERNEL TUNER IT DOESN'T WORK ON MY DEVICE IT CAUSES A BOOTLOOP
You may or may not get similar results. It got a slow down and a bootloop for me

Winstarshl said:
Niceee) I go flash and test)
Click to expand...
Click to collapse
Thanks! I hope you like it!

I use Kernel Tuner 2014 just for setting the OOM values cause neither FauxClock or TicksterMOD have them preset. After I apply the values with kernel tuner I save them as presets in Trickster. I'm not so happy with this approach but I could not find a better alternative at this point
Sent from nowhere over the air...

Rapier said:
I use Kernel Tuner 2014 just for setting the OOM values cause neither FauxClock or TicksterMOD have them preset. After I apply the values with kernel tuner I save them as presets in Trickster. I'm not so happy with this approach but I could not find a better alternative at this point
Sent from nowhere over the air...
Click to expand...
Click to collapse
You could use an init.d script
I think the installer has one or two, I just didn't set the permissions to run the script because they're leftover from the speed tweak removal
BTW, I'm working on the To-Do list under the OP. Trying to keep it close to Bricked Kernel's feature list. Did I forget any simple features?

javelinanddart said:
...BTW, I'm working on the To-Do list under the OP. Trying to keep it close to Bricked Kernel's feature list. Did I forget any simple features?
Click to expand...
Click to collapse
Don't think you forgot anything but I didn;t understood if BLN is already added or it will be...cause if it's added already it's not working. I see the option to activate it in Trickster but still I got no light on those buttons when a notification come
HM...strange...just sent myself a text message and now it's working. But On other notifications like the ones from tapatalk or G+, it didn't. Forget that, I'll test it more to see what's happening

Rapier said:
Don't think you forgot anything but I didn;t understood if BLN is already added or it will be...cause if it's added already it's not working. I see the option to activate it in Trickster but still I got no light on those buttons when a notification come
HM...strange...just sent myself a text message and now it's working. But On other notifications like the ones from tapatalk or G+, it didn't
Click to expand...
Click to collapse
That's probably a bug with the apps or the notifications system in lp
It works fine for me but I don't use Tapatalk and I don't know how to "fix" BLN either because some apps work and some don't
We will have to see. I'm getting the -O3 bugs ironed out. It's a pain in the *** because all the fixes for Prima don't work with the newer drivers. And they're each 12000 lines long. Trying to fix them is horrifying. I'll add Fastcharge after that and finish the rest of the to-do list soon after
EDIT: -O3 is done but when I tried to flash it, It didn't boot. @AKToronto expressed a concern about how -O3 makes the code bigger and how there's an upper limit to the kernel size. I think I hit it. I switched to XZ and am building it now to test. XZ increases the boot time a little bit but once it's booted, it makes no difference.
EDIT 2: Yep, boots with XZ. Installing Quadrant to test speed.
EDIT 3: Got 6000 in Quadrant. I think it might've been really lucky to get 6788 earlier but it terms of fluidity there's no difference

Try it yesterday, good battery life but there are some random reboots for me

javelinanddart said:
Thanks! I hope you like it!
Click to expand...
Click to collapse
Maybe compile kernel without (s2w, s2p, d2w, d2p)? Because when screen off, this func not off... in this kernel too(..

grorg said:
Try it yesterday, good battery life but there are some random reboots for me
Click to expand...
Click to collapse
Really? What settings have you enabled/chosen? Have you tweaked the voltages?

Winstarshl said:
Maybe compile kernel without (s2w, s2s, d2w, d2s)? Because when screen off, this func not off... in this kernel too(..
Click to expand...
Click to collapse
Definitely will do once today's update rolls out
The point of them is to wake up the phone is the screen is off, therefore they have to be on when the screen is off

Related

[KERNEL] [DISCONTINUED] [06/15/14] AURORA R11v2

Aurora Kernel - N900xxx TW
This kernel is intended for battery-saving with keeping maximal possible performance
based newest NE6 sources
Linux 3.4.93 Update
Optimized Cortex-A15 4.10 LINARO Toolchain
see Features for details
​
Features:
- based on newest NE6 sources
- Linux upstream patches to 3.4.93
- SELINUX permissive
- Synapse support
- init.d support
- OC up to 2.8GHZ
- GPU OC from Snapdragon 801 (up to 587MHz)
- complete dts based kernels Voltage control by faux123
- IntelliPlug driver (for mpdecision replacement) by faux123
- IntelliThermal control driver (better than stock thermal control) by faux123
- Hardlimit CPU control interface by yank555:
- TouchWake by yank555
- PowerSuspend driver by yank555 with default set to hybrid-mode (autosleep and panel hook)
- FauxSound
- UKSM
- FastCharge Support
- LED Control
- mdnie Control by wootever
- Many governors: nightmare, dancedance, intelliactive, intellidemand, uberdemand, wheatley, smartmax, smartmax_eps, lionheart, pegasusq, darkness, hyper, badass, abyssplugv2, adaptive, conservative, ondemand, userpsace, powersave, interactive, performance
- More schedulers: noop, deadline, row, cfg, bfq, fiops, sio, zen
- enabled all TCP congestion controls: veno, westwood, cubic, reno, bic, highspeed, hybla, htcp, vegas, scalable, lp, yeah, illinois
- TCP congestion control default to veno
- new ARMv7 l2 cache
- Filesystem support: Ext2, Ext3, Ext4, FAT32, NTFS, USB OTG, exFAT with many fixes and optimizations (AIO, etc...)
- added multiple compression support for example LZ4, many patches
- F2FS support
- faster glibc
- frandom
- faster crypto libs
- Kernel XZ
- Ramdisk LZ4
- many fixes, updates, patches and enhancements from many sources
- many I already forgot
Check Synapse and thread to know all features
Changelog:
this post
Synapse profiles:
this post
DOWNLOADS
Direct downloads, look at my hosting:
mojosmirror.com
Downloads @ dev-host
​
Source: Github
Credits and many thanks to:
Much thanks to faux123 and yank555 for their great kernel
thanks to wootever for having always nice and useful commits
thanks to Imoseyon for having always nice and useful commits, too
thanks to civato for helping me starting here with studying his code
thanks to Myfluxi, labodj and Cl3Kener for commits
thanks to UpInTheAir for all his work with his Synapse interface
thanks to GuneetAtwal for some single picks
thanks to franciscofranco, zamcum, ZaneZam, CM-team, Codeaurora, ... and everyone else I forgot!
PM me, if you find your work not mentioned here
XDA:DevDB Information
Aurora Kernel Note 3, Kernel for the Samsung Galaxy Note 3
Contributors
MojoManagement
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R11v2
Stable Release Date: 2014-06-15
Created 2014-05-09
Last Updated 2014-08-29
Reserved
Reserved
Changelog
R11 (aka Synapse release)
NOTICE:
Due to heave Synapse changes again, I recommend to clear Synapse data, before you flash
If you feel unsnappy, raise Touchboost values, completely set both down to 300MHz at init
Synapse settings added & reworked (spent whole day into Synapse primarily)
Synapse can now make a flashable zip from your backup profile to share with others (look under tab Synapse)
Removed some sound pre-settings and removed FauxSound control for now to prevent still unknown issues
a few more fixes
R10 (beta)
NOTICE:
I recommend to clear Synapse data!!!
Synapse should now have enough options for daily settings
So please dont mix apps for setting kernel features
Synapse settings added (very hard work.....half day wasted here...)
S-Browser crash fixed on S5 ports
Sound issues fixed and quality should be improved
completely switched to UKSM now
a few more fixes and patches from different sources again
PS:
Please dont complain about voltage control in Synapse
If you want to experiment with voltages, you can set them one by one yourself
R9 (beta)
NOTICE: this will break some of Faux Control App functions, especially frequency setting, until Faux updates
If you dont want to run a beta, stick with R8 until stable release
There is currently not voltage, thermal, screen, zswap control in Synapse!
update to Linux 3.4.92
Synapse is back (but not everything is implemented), check yourself, big thanks to UpInTheAir, which made a very detailed Synapse layout, which I used as base
Hardlimit Interface update to 2.0a, you can now set screen on and screen off max/min frequencies separately, wakeup kicks, touchboosts, DVFS lock... check Synapse
GPU OC with Snapdragon 801 values (up to 587MHz)
Ramdisk is now LZ4 compressed (need to check kernel for LZ4, too)
Led Control updated to V1.2
IntelliPlug updated to newest version
Logger can be enabled/disabled through sysfs interface
many fixes and patches from different sources again
R8
finally working NE6 base with all known features
R7
updates base to NE6
same as R6
R6
switched to faux123-yank555 kernel as new base
over 300 commits added, patches, fixes, enhancements, etc...
see features
r5
lower power frequency 268,8MHz should work now as expected
lowered voltage for 268,8MHz (its really low, report if unstable)
new govs: lagfree and smartassv2, both tuned
updated and optimized fiops scheduler (which I recommend for internal)
optimized BFQ scheduler (which I recommend for external...)
linux update to 3.4.91
CIFS support (experimental)
enabled ksm (experimental)
swap support
updated toolchain to Linaro 4.9.1 05/2014
LZ4/LZO updates
some sound patches
many arm patches
some memory patches
more I forgot ...
r4
more fixes and enhancements
more govs: intelliactive, abyssplugv2, conservativex, adaptive
Dynamic FSYNC is back
permanent async FSYNC from HTC
PowerSuspend updates: hooked to AutoSleep and Panel, first sleep hook wins
experimental low power frequence
zen scheduler added
few more things
r3
over 60 fixes, patches and enhancements since r2
LZ4
crypto optimizations
faster glibc
very fast random generation (10-50 times faster)
gpu patches
linux update
many more
r2
over 50 fixes, patches and enhancements at all from beta
support for N900T
updated busybox (problems fixed)
updated ramdisk
mpdecision improved (also recommend Intelli Hotplug)
more compiler improvements
scheduler patches
dynamic fsync disabled (more later)
cpu patches for msm
enabled last kernel message
many more
Community profiles for Synapse:
How to use shared profile?
Flash shared profile in recovery
Reboot to system
OpenSynapse
Go to tab "Synapse"
Check if last backup says "flashed" at the end (time buggy at the moment sorry)
Press "Restore & Close Synapse"
Open Synapse
Press X[ Cancel/B] at the top to use restored settings (if you press "✓ Apply" your last settings will be restored)
R11:
gianton:
Here's my current setup I'm testing on r11. It's more for battery saving, if you play lots of games set the governor to intelliactive.
Click to expand...
Click to collapse
Link to post for download
Tried to download but link empty
Sent from my SM-N9005 using Tapatalk
Does it have ntfs r/w support?
Sent from Hacker OS
IzArsha said:
Does it have ntfs r/w support?
Sent from Hacker OS
Click to expand...
Click to collapse
Should work if I did not make any mistake
panjaby said:
Tried to download but link empty
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Downloads tested, all links should be working
Awesome kernel. Just one question, does it support GPU OC?
blogslogger said:
Awesome kernel. Just one question, does it support GPU OC?
Click to expand...
Click to collapse
Not yet, because I remember problems with frequencies are not used and also decrease performance with gpu set to 550
I just find the correspondending post by sorg
sorg said:
http://forum.xda-developers.com/member.php?u=3986004
About GPU overclock:
My phone is Samsung SHV-E330S, which is basically GT-N9005 in S4 case, so 99% hardware is the same.
According to my investigation in GPU overclocking, frequencies are handled fully inside RPM firmware. Frequencies in .dtsi files aren't used. RPM uses its own frequency table and cannot be changed from linux side. So, your GPU OC simply doesn't affect actual GPU frequencies. Linux GPU governor will think it uses new frequencies and will actually switch to a wrong frequency (because RPM will use hardcoded unmatched freq table) - so everything will go wrong (as you already noticed, probably).
I've monitored GPU/PLL hardware registers and saw, they work according RPM's table and not affected by .dtsi settings.
There is the only way to overclock SD800 GPU is by modifying PLL settings (as it was done for SD600 GPU). There is PLL for highest GPU powerlevel's frequency which used solely by GPU (just like in SD600). But performance increase is not so high as it could be from increasing RAM frequency OC (which i didn't manage to tweak yet).
P.S.: I don't know about N9005, but in E330S standard highest frequency is 550MHz (according to PLL settings) instead of 450MHz as advertized in MSM8974 (not AB or AC), although in .dtsi files max frequency is 450MHz. Good bonus from Samsung
Probably, in N9005 it's the same.
Click to expand...
Click to collapse
I might have a look into that in the future
Does it work with ND5 update
bhasg1007 said:
Does it work with ND5 update
Click to expand...
Click to collapse
Yeah, I am on ND5 rom with ND5 bl and NC2 modem
Downloaded Thanks for the reply will try now
Can I flash this kernel over lean kernel?
Tia
Sent from my SM-N9005 using XDA Premium 4 mobile app
Cool! A new kernel! gonna try it now and will be back with results in a day or two
Sent from my SM-N9005 using XDA Premium 4 mobile app
ghalib87 said:
Can I flash this kernel over lean kernel?
Tia
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Of course
MojoManagement said:
Downloads tested, all links should be working
Click to expand...
Click to collapse
Apologies. The fault must be on my end.
If I open the first link with chrome it goes blank with mojo wesite bit if I open the link directly with es downloader it downloads
Sent from my SM-N9005 using Tapatalk
MojoManagement said:
Not yet, because I remember problems with frequencies are not used and also decrease performance with gpu set to 550
I just find the correspondending post by sorg
I might have a look into that in the future
Click to expand...
Click to collapse
Thankyou for your patience. It was quite helpful to learn a new thing.
I have got a problem when put on usb charge it stays on high frequency and instead of charging, the phone battery gets dischaged slowly. anything i have to do.

[KERNEL][M4][CAF][LP][MAR 03]Frosted Kernel by javelinanddart

Welcome to Frosted Kernel for the HTC One Mini (M4)
Code:
#include <std/disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. :P
* blah blah blah you get the point.
*/
Why I created a SECOND kernel:
So for those of you living under a rock (jk), I already maintain Void Kernel for the One S, so why would I bother creating another? Well @Rapier started having issues, so I PM'd him a patch. He sais he would test it later but commented on how Void LP and IceCode LP were feeling a bit sluggish (they share the same base) where as the stock CM 12 Kernel is super smooth. I then tried the CM 12 stock kernel and realized that he was right. So I forked the CM stock kernel and added some basic features and sent it to him. He commented on how the OC values weren't sticking properly and the Benchmarks were really low but how it was smooth. So I fixed the OC, and added @show-p1984's MSM_MPDEC and MSM_THERMAL to speed it up and when I benchmarked it, I got 6788 in quadrant. That was a couple of hours ago. Now, I'm releasing it into the wild. The main focus of the Bricked Edition (like Bricked Kernel before it) is speed and stability. Undervolting is doable but you have to do it yourself and if you get random reboots I will not help you there. Enjoy Frosted Kernel everybody!
Post #1: Disclamer, Why I created this Kernel
Post #2: Download and Features for Bricked Edition
Post #3: Changelog for Bricked Editon
Post #4: Reserved
Post #5: Reserved
Post #6: Link to Discussion Thread
XDA:DevDB Information
Frosted Kernel, Kernel for the HTC One Mini
Contributors
javelinanddart, Rapier, jrior001, rmbq, AKToronto, CM Team, Flashalot, Candy5 Team, show-p1984, flar2, faux123
Source Code: https://github.com/FrostedKernel/android_kernel_htc_msm8960
Kernel Special Features:
Version Information
Status: Stable
Created 2015-03-04
Last Updated 2015-03-03
Bricked Edition Features:
Compiled with the Lastest Linaro Toolchain Optimized for Cortex-A15 by @Christopher83
Compiled with -O3 Optimization
XZ Compression (-O3 creates larger code, need it to keep it in check)
Voltage Control by @faux123
CPU Overclocking to 1.836GHz (Stable too!)
CPU Underclocking to 192MHz (Also Stable)
GPU Overclocking to 512MHz (Stable but phone gets really warm)
BLN by @rmbq
TCP Congestion Control Algorithms: Bic, Cubic, Westwood (default), HSTCP, Hybla, Vegas, Scalable, Low Priority, Veno, Reno, YeAH, and Illinois
CPU Governors: Performance, Powersave, Userspace, Ondemand, Interactive, Conservative, Intellidemand, Intelliactive, Intellimm, TRIPNDROID, Lionheart, Badass (default), SmartassV2 (disabled), ElementalX, and Preservative
GPU Governors: Ondemand, Performance, and Simple
I/O Schedulers: Noop, ROW, Deadline, CFQ, BFQ, FIOPS (default), SIO, SIO Plus, FiFo, TRIPNDROID, ZEN, and Vr
MSM_MPDECISION and MSM_THERMAL by @show-p1984
MSM_MPDECISION Input Boost Available
Lastest CAF + Latest Linux 3.4 Source
Vibrator Intensity Control
Amazing Build Flags
Fast Charge
Module Support
Export Krait Variant
exFAT Support
UTF-8
FRANDOM Support
Asynchronous Fsync
KCal Control by @faux123
Sound Control by @faux123
91% Compatible with KControl
F2FS Support
Frosted Bricked Installer Features:
AROMA Installer with Holo Theme
License (GPLv2)
Terms of Use (Disclaimer)
Changelog
Date Updated
Kernel Edition
Confirmation Screen
Reboot Option at the End
Add Init.d Support
Enable Insecure Kernel
Remove Governor Overrides
Things to do:
Command Line Interfacing
Downloads:
https://www.androidfilehost.com/?w=files&flid=27077
Code:
[SIZE="5"][B]Bricked Edition Changelog:[/B][/SIZE]
Mar 02
-Initial Release for M4
-All features listed in the above post
Reserved 1
Reserved 2
Please Keep All Discussion Questions in the Discussion Thread (Q&A TAB)
First build is up!
frostedbrickedlp02032015.zip in my AFH (I built is yesterday, did not have time to release it)
Hi thx for this kernel, haven't heard of it before. Is it compatible with sense ROMs or is it cm base only?
Why not add in the D2W/S2W patch as well? This would be best of both worlds. Easily the best CM kernel to date with it added. Pretty please?
LQi said:
Hi thx for this kernel, haven't heard of it before. Is it compatible with sense ROMs or is it cm base only?
Click to expand...
Click to collapse
mattplo said:
Why not add in the D2W/S2W patch as well? This would be best of both worlds. Easily the best CM kernel to date with it added. Pretty please?
Click to expand...
Click to collapse
I'll look at DT2W/S2W later, as I don't own this phone, and I did a huge cleanup of my source so I have to look through 15 defconfigs and make sure they're all configured right and compile them, and release them (5 different phones for this kernel plus planning to do two more!) plus some other projects I'm doing but I will look at it
This is CM Base Only
javelinanddart said:
I'll look at DT2W/S2W later, as I don't own this phone, and I did a huge cleanup of my source so I have to look through 15 defconfigs and make sure they're all configured right and compile them, and release them (5 different phones for this kernel plus planning to do two more!) plus some other projects I'm doing but I will look at it
This is CM Base Only
Click to expand...
Click to collapse
Awesome that you're willing to look into it. I know the S2W/DTW kernel in the mini forums does supple the patch so at least you don't have to go hunting it down. But thanks for the reply. This kernel would be amazing were that to be added. I really can't think of anything else that would make it better.
Just a question though...why is SmartassV2 disabled? Just out if curiosity?
Will DT2W/S2W still be added to this kernel? and is someone running it with androgeeks cm rom?
rosi91 said:
Will DT2W/S2W still be added to this kernel? and is someone running it with androgeeks cm rom?
Click to expand...
Click to collapse
Why would you want to add d2w? Its a battery killer! The feature is cool and stuff but it keeps your phone awake and might also trigger on your pocket thus having screen on time, etc.. More battery drain. All that just not to push a button..
I'd rather see some more governors so we can tune the performance of the m4. My personal preference would be governors based off the interactive governor! That d be nice.
Sent from my HTC One mini using XDA Free mobile app
rosi91 said:
Will DT2W/S2W still be added to this kernel? and is someone running it with androgeeks cm rom?
Click to expand...
Click to collapse
Ruud033 said:
Why would you want to add d2w? Its a battery killer! The feature is cool and stuff but it keeps your phone awake and might also trigger on your pocket thus having screen on time, etc.. More battery drain. All that just not to push a button..
I'd rather see some more governors so we can tune the performance of the m4. My personal preference would be governors based off the interactive governor! That d be nice.
Sent from my HTC One mini using XDA Free mobile app
Click to expand...
Click to collapse
Kernel is discontinued right now, however I might consider bringing it up again some other time.
DT2W is NOT a battery killer. Yes, it does use some battery but certainly not enough to be called a battery killer
 @flar2 has talked about this before: http://elementalx.org/the-truth-about-kernels-and-battery-life/
The link not working, please update the link. I really want this kernel.

[KERNEL][3.4.107][AOSP/CM][GCC-5.0]Spirit.Kernel r1

Spirit Kernel
This kernel is ONLY for AOSP based ROMs. This will NOT work on the stock Moto roms.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests or ideas that haven't been seen before, don't hesitate to post it here!!​
PLEASE READ
How to report a bug?
Include the following in your bug report:
The ROM you are currently using + a link to the ROM's thread
A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)
The version of SpiritKernel you use (=rx, e.g.r3)
Bug reports not meeting these requirements will be ignored.
NO BUG REPORTS ON EXPERIMENTAL BUILDS!​
Features
This Hybrid kernel contains features from great kernel devs with like faux,franco and neobuddy,optimized for thea to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]Patched 3.4.106 kernel
[*]Governors: ondemand/userspace/powersave/performance/interactive/IntelliMM/inteliidemand/intelliactive/smartmax/pegasusQ
[*]Hotplug: MPDecision/MSM Hotplug/Intelliplug(default)
[*]Intellithermal v2
[*]DT2W/S2W/S2S Wake controls
[*]CPU Underclocking 192Mhz
[*]GPU OC 533Mhz | UC 100Mhz
[*]Add MSM Hotplug Driver
[*]Asynchronous Fsync extracted from HTC
[*]Sweep2Sleep driver
[*]Dynamic management of timer slack
[*]Slimbus OC thanks to neeobuddy89 and poondog
[*]increase Torch power 20mA
[*]Dynamic management of dirty page writebacks
[*]IO: BFQv7r7/FIFO/SIO/FIOPS/ZEN/VR IO Schedulers
[*]Faux Sound Control 3.2
[*]KCAL v2 by @savoca
[*]USB forced fast charge
[*]Stereo call recording support by skvalex
[*]Powersuspend from Faux and yank555-lu *updated to 1.8 after r8*
[*]Kernel Compression: XZ
[*]psx2usb controller
[*]Use Android device as USB keyboard/mouse
[*]optimized ARM RWSEM algorithm.
[*]Ultra Kernel Samepage Merging {UKSM}
[*]FRandom
[*]Dynamic FSync Control
[*]Added Simple GPU Algorithm
[*]WQ_POWER_EFFICIENT for bettery battery life. Hello Battery!!
[*]ANY Kernel
[*]Kexec hardboot patch for Multirom support
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
Optimizations
[*]Compiled Using UBER 5.0.1 SaberMod 4.8 Optimized toolchain for better performance | UBER 4.9 Toolchain after r4
[*]Added optimized ARM RWSEM algorithm.
[*]Disable add_random
[*]Pocketmode and deepsleep for dt2w/s2w
[*]Optimized VFP Module
[*]FIx integer-overflow in veno,vegas
[*]Add sysinterface for GENTLE_FAIR_SLEEPERS
[*]NOATIME and NODIRATIME as default
[*]New 99LMK script by @pizza_Dox
[*]Nvidia Patches to enhance power efficiency.
[*]Sched optimizations
[*]Increase battery level check interval
[*]writeback: increase bdi_min_ratio to 5
[*]block: cfq: merge tweaked tunables.
[*]Wait just 1 second for other CPU to halt
[*]net: combat buffer bloat
[*]PM: Introduce suspend state PM_SUSPEND_FREEZE
[*]Disable -fconserve-stack on ARM v2
[*]Enable power efficient workqueues by default
[*]do not use msm_run_queue_stats
[*]enable/disable cpu-boost via sysfs
[*]softirq: reduce latencies
[*]Built with Ofast flags
[*]Force SELinux permissive
[*]LowMemoryKiller management of non killable processes
[*]Headset High Performance Mode
[*]Allow CPU-supported unaligned accesses
[*]Enable UNALIGNED_ACCESS
[*]enable ARCH_POWER
[*]lower swappiness
[*]vfp: remove double entries
[*]Disable disable crc check for 30% extra performance in IO
[*]Optimized SLUB memory allocator
[*]Optimize Sfck Compression
[*]set sched_mc_power_savings to 2 (moar powarrrrrrr! saving)
[*]readahead to 256
[*]Built with Graphite flags
[*] Enabled Pipe Flag
TO-Do List
IntelliMM-intelliminmax
New Govs and I/Os
Intelliplug 4.0
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
Recommended settings :
Governor: Intelliactive
I/O Scheduler: Fiops or row
TCP Congestion : Westwood
GPU Governor : Simple Ondemand Or Msm-adreno-tz
Hotplug : Intelliplug ( Keep screen off frequency to 787 MHz )
Powersuspend : Hybrid
Simple GPU Algorithm : On​
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the SpiritKernel-Rx-thea.zip
Insatll and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:spirit)
Wiki containing changelogs,settings and more
Antutu Score: http://forum.xda-developers.com/showpost.php?p=59736983&postcount=136
Credits (In no specific order)
@faux123
@Cl3Kener
 @slukk
 @luca020400
 @savoca
@Anas Karbila
@hurtsky
 @YoshiShaPow
@Flashhhh
@flar2
And more
Works on Official CM12.1! Thank u DC
No update?
just tried this kernel and seems great (much snappier than stock cm)... only issue is cam does not work
Great work OP, but same here, camera FC all the time, even with different cameras =(
Hey, very nice kernel with lots of options and features! However, like the others above, the camera says it is busy and closes (motorola app, but should be the same with other camera apps). The torch (flashlight/flash) also does not work, probably same problem as with the camera. Could it be because of your modification of torch power by 20ma?
Tested on cm12.1
Cheers
Camera doesn't work. Torch is completely removed. Are you actually going to update this?
Locking this one, until I make a fully working zip.
Links will remain and users who want to give a try can go ahead.
YOU"VE BEEN WARNED

[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