[EOL] SmartPack [Kernel] project for stock Marshmallow [final-v11] [kltexxx] - Galaxy S 5 Android Development (Snapdragon)

This project is now "End-of-Life" (EOL). Thanks to all of you for the kind support...
/* Introduction */
I'm proudly presenting my work, SmartPack-Kernel for Samsung stock marshmallow. Please note: All these kernels are designed to work only on Samsung stock and other TouchWiz based marshmallow ROMs. SmartPack-Kernel for LOS based Nougat/Oreo ROMs are available here.
Code:
DISCLAIMER!
I am not responsible for any damage to your device. Everything you are doing on your device is at your own risk.
I only own kltelgt (Korean variant). Hence, kernels under the category 'kltekor' are only tested by myself.
This kernel is only tested on stock Marshmallow. It may or may not be compatible with other ROMs as well.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Compatibility */
This kernel is only meant to work on Samsung Stock TW 6.0.1 and nothing else. However, it may work on other stock TW based Marshmallow ROMs as well (Please try at your own risk).
This kernel will NOT work in Lineage-OS and other AOSP based Nougat ROMs.
/* How-to-Install */
i. Go to recovery (TWRP recommend)
ii. Flash Kernel
iii. Reboot and enjoy​
/* Features */
Build from latest klte source code.
Build using Google arm-eabi 4.9 toolchain.
Linux Kernel version is updated to 3.4.113.
Anykernel base for compatibility with maximum devices.
Kernel tweaker app recommended: SmartPack-Kernel Manager (Please use the attached version, other versions may have issues in this platform).
Added features include...
CPU voltage control.
CPU Freq Gov: INTELLIDEMAND, INTELLIACTIVE, SMARTMAX, LIONHEART, NIGHTMARE, ADAPTIVE, ALUCARD & ZZMOVE.
CPU hotplugs: Intelli plug, Alucard and mako hotplugs.
IO schedulers: FIOPS, SIO, VR, ZEN, FIFO, TRIPNDROID.
TCP congestion algorithms: Westwood, reno, cubic etc.
Full control of AC, USB and Wireless charging rate in SmartPack-Kernel Manager.
Sound Control
Intelli thermal v2.0
FRandom
The Ultra Kernel Samepage Merging (UKSM) feature
Dynamic sync control 2.0
Adreno_idler
CPU Input boost (full control in SmartPack-Kernel Manager)
SELinux Enforcing mode (but can be controllable in SmartPack-Kernel Manager)
Powersuspend
KCAL v2
a lot more...​
/* Downloads */
https://smartpack.github.io/sgs5/
/* Special note to Korean S5 users */
Flashing this kernel (kltekor build) after many klte (SM-G900F) MM ROMs may allow the use of those ROMs on SM-G900S/K/L (not tested all).
/* Special note to ROM developers */
You are allowed to include my kernel in any ROMs. You may also use my kernel to make your ROMs compatible with Korean Galaxy S5. Feel free to contact me, if you need any assistance from my side.
/* Acknowledgements */
@Lord Boeffla
@franciscofranco
@Sultanxda
@CrazyGamerGR
@Saber
@osm0sis for AnyKernel project
@Grarak for Kernel Adiutor
Our Korean Galaxy S5 Facebook group members
Many other XDA developers
XDA:DevDB Information
SmartPack, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew
Source Code: https://github.com/SmartPack
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2017-03-22
Created 2017-03-07
Last Updated 2018-11-01

Frequently Asked Questions (FAQ)
Q1: Is this kernel compatible with ROM(s) a/b/c?
Ans: I do not know. All of my kernels are based off and tested only on Samsung Stock-MM. However, it will most probably work on any custom ROMs using Samsung’s stock kernel source.
Q2: Which version of kernel should I use?
Ans: I recommend you to always use the latest.
Q3: Is this kernel better than stock/‘xyz’ kernel(s)?
Ans: Regarding stock, Yes, It should be better in many aspects (Otherwise it will never been published). Regarding ‘xyz’ kernels, I don’t know. I even may not used your mentioned ‘xyz’ kernels.
Q4: How about performance/SOT?
Ans: Since SOT, performance etc. are largely based on several factors such as ROM, installed apps etc. No one else can exactly predict the performance/SOT of your mobile. So, you should test and find out that by yourself.
Q5: Can you tell me the best settings for performance/SOT?
Ans:Again, that depends on several factors. I can only say my favorite settings that gives me best results in my favorite ROM.
Q6: Which are the best CPUfreq gov/CPU hotplug/IOScheduler/TCP congestion algorithm for battery life/performance etc?
Ans: Again you need to find out those things yourself. To get more idea, I suggest you to read this awesome guide by @Saber
Q7: Could you add feature x and y to your kernel?
Ans: Not sure. It depends on the feature and the capability of device. Anyway, I’m happy to check and add, if possible, any useful features (unless it is too experimental or dangerous) to my kernel. Please give your suggestions in the official xda thread.
Q8: When will you release a new version of this kernel?
Ans: New updates will arrive whenever I have something new to present in-front of you (such as I managed to add new useful features, or fix some existing issues or along with Samsung's new open source code release).
Q9: I found a bug, what do I do?
Ans: Please provide as much information as possible (such as what feature, what didn\'t work, screenshots or logcat if possible) and post in this thread.

Change-logs
Stock-MM

I dont know much about kernel but i would like to know if we add more 4g band through kernel.
I tried NV browse to add band 40 and 41 but nothing happened. (Band are added but not supported)
I check using different rom like CM version.
It seem all failed to use different LTE band.
But after reading about qualcomm chip which has support for many band. But they are block by samsung.
So out curiosity i would like know of that can happen through kernel.
Thank you

Does this mean that I can flash ROMs that is only supported on SM-G900F and do I need root access to flash this? Thank you!

Salcykhan said:
I dont know much about kernel but i would like to know if we add more 4g band through kernel.
I tried NV browse to add band 40 and 41 but nothing happened. (Band are added but not supported)
I check using different rom like CM version.
It seem all failed to use different LTE band.
But after reading about qualcomm chip which has support for many band. But they are block by samsung.
So out curiosity i would like know of that can happen through kernel.
Thank you
Click to expand...
Click to collapse
At this moment, I have no idea abt your question. Sorry...
dreisoliman04 said:
Does this mean that I can flash ROMs that is only supported on SM-G900F and do I need root access to flash this? Thank you!
Click to expand...
Click to collapse
Root access is not required in the strict scene. However, you need an unlocked recovery like twrp to flash this kernel. If you are a Korean galaxy S5 user, you can also try SM-G900F ROMs (success is, however, not guranteed, plz read the op) in addition to ROMs those support Korean S5.

Thank you for clarifying things! I will try to flash this when I have time!
Sent from SM-G900L via XDA Labs

good work man!
make it for klteduos and n7,s7 ports, like Skies UX Rom.

LHR said:
good work man!
make it for klteduos and n7,s7 ports, like Skies UX Rom.
Click to expand...
Click to collapse
Thanks. Can you try my test build for klteduos? If it is successful, I shall continue supporting. About S7 and N7 port ROMs, it's beyond my scope. It's up to ROM makers...

sunilpaulmathew said:
Thanks. Can you try my test build for klteduos? If it is successful, I shall continue supporting. About S7 and N7 port ROMs, it's beyond my scope. It's up to ROM makers...
Click to expand...
Click to collapse
Yes, i can test!! :victory:

LHR said:
Yes, i can test!! :victory:
Click to expand...
Click to collapse
test and report , I can't wait for Ur report ?
Sent from my SM-G900FD using Tapatalk
---------- Post added at 03:45 PM ---------- Previous post was at 03:29 PM ----------
sunilpaulmathew said:
March 07, 2016
Initial release
Click to expand...
Click to collapse
Edit: 2017
Sent from my SM-G900FD using Tapatalk

LHR said:
Yes, i can test!! :victory:
Click to expand...
Click to collapse
Have you tested? waiting for your updates... thanks in advance...
yazeed_twb said:
Edit: 2017
Click to expand...
Click to collapse
just a typo.. fixed

sunilpaulmathew said:
Have you tested? waiting for your updates... thanks in advance...
just a typo.. fixed
Click to expand...
Click to collapse
Where is the klteduos model link? I did not receive any pm, nothing
EDIT: Sorry hehehe
I found it and I'll test it

@sunilpaulmathew good job man
Sent from my SM-G955U using Tapatalk

LHR said:
Where is the klteduos model link? I did not receive any pm, nothing
EDIT: Sorry hehehe
I found it and I'll test it
Click to expand...
Click to collapse
blackbuga said:
@sunilpaulmathew good job man
Sent from my SM-G955U using Tapatalk
Click to expand...
Click to collapse
Thanks you

I tested, boot successfully, and the main functions are working (su, wifi, ril, etc). I have not tested more, because I am not in a 100% stock rom. Become official your support to klteduos, please.
Sorry for my bad english hehe, good work men!!

LHR said:
I tested, boot successfully, and the main functions are working (su, wifi, ril, etc). I have not tested more, because I am not in a 100% stock rom. Become official your support to klteduos, please.
Sorry for my bad english hehe, good work men!!
Click to expand...
Click to collapse
Thanks for testing. Yes, I'll add klteduos into the download list on next build release (hopefully with in few days) and maintain support as much as possible.

@sunilpaulmathew can i use your kernel on mi rom? and if you have builded for dual sim

blackbuga said:
@sunilpaulmathew can i use your kernel on mi rom? and if you have builded for dual sim
Click to expand...
Click to collapse
Sure... with pleasure :laugh: ... thanks for asking... here is the link to the zImage for klteduos (are you looking for the same device, right?). I hope you would not mind to mix this image with your ramdisk and klteduos dtb...

sunilpaulmathew said:
Sure... with pleasure [emoji23] ... thanks for asking... here is the link to the zImage for klteduos (are you looking for the same device, right?). I hope you would not mind to mix this image with your ramdisk and klteduos dtb...
Click to expand...
Click to collapse
I dont have klteduos device
But i want support it on mi rom
SamyUX

Related

gpl | abyss kernel 2.00 | B170/B180/NCS/fRomFuture

Hi Huawei P9 people!
This is my modified kernel with some kernel optimizations and some compiler optimizations.
The goal of abyss-caf is to compromise stability and improved performance.
I will not be overhauling this project with changes that are not logical to add.
This kernel should work on all stock based roms; there is a separate version for NCS rom.
How does one achieve this?
- build kernel with an optimized toolchain
- use compiler optimization flags (experimental)
- remove redundant code
- improve existing code with more efficient code
- reduce/increase speed of timers (depends on what type of function)
- etc. (most are not easy to explain)
This kernel is built with Linaro GCC 4.9.4 that is optimized for ARM64 devices.
Is there actually a performance improvement?
With all the changes added up, there should be. Whether or not one notices the difference is another thing.
Personally, I do feel the performance difference. It is easier to notice the difference with lower level specs.
For those interested in how the kernel optimizations will benefit/work, please look at my github source and read the commit messages.
For those interested in how the compiler optimizations/hacks will benefit/work, please look at this article.
Downloads:
BasketBuild
AFH
Source:
GitHub
I do not mind if there's some non-development/off-topic discussion here, just no discussion about other works that is nowhere near related to mine.
Also, please refrain from comparing works here; it really kills the spirit of development. Go do that in some other thread.
XDA:DevDB Information
abyss kernel for stock and stock based roms, Kernel for the Huawei P9
Contributors
kwoktopus, paulobrien, arter97, flar2, Christopher83, Cl3Kener, frap129
Source Code: https://github.com/kwoktopus/abyss_kernel_eva
Kernel Special Features: MAJOR KEY
Version Information
Status: Testing
Created 2016-08-24
Last Updated 2016-10-08
Main Patches and Features:
- Abyss Optimizations (compiler)
- optimized square root algorithm (3x faster)
- added BFQ io scheduler (now default)
- backported random from Linux 4.2+ (better entropy, better performance)
- utilize power efficient workqueues all over the kernel
- port quickwakeup driver for hisi from moto
- optimized lib patches
- optimized arm64 lib patches
- disabled gentle_fair_sleepers for better UX
- enhanced multicore decision making
How to install:
Flash the proper kernel zip in TWRP.
New to phone development?
If you are new to these forums or development in general,
please consult other members before trying this out.
There is no shame in asking for help politely and respectfully,
as long as you don't quote the whole OP or think slower than a sloth.
Frequently Asked Questions:
Is this a custom kernel?
I was asked this question once, and it posed as a real good question. I do not consider abyss to be a "custom kernel" per se, but more so as a modified kernel. The patches and features that go into this kernel do not make it customizable. What they do is improve what has already been implemented. It is like swapping a car's engine for a better one rather than just adding LED flooring lights and fancy car mats.
Can you add [this] and [that] feature to abyss?
Something I pride myself with this kernel is that it does not have a bunch of random, useless features or patches mashed into it. Everything put into this kernel is thought out well and tested. I see a lot of works being made popular because it has [this] and [that] feature when really, it's nothing revolutionary. As a matter of fact, most things added to any kernel will not make it 5x better than any other kernel. Most of the time, simple is better; and in this case it definitely is!
Awesome, will stay tune about new releases, will try the kernel later.
Just for clarify, kernel works in any P9 or just for L09 or L19?
jeremymolina said:
Awesome, will stay tune about new releases, will try the kernel later.
Just for clarify, kernel works in any P9 or just for L09 or L19?
Click to expand...
Click to collapse
There's no reason that it wouldn't work, but there's always that slight chance. Pretty sure you'll be fine
Finally! May God bless you!
---------- Post added at 08:13 AM ---------- Previous post was at 08:07 AM ----------
I have a question though.
Will it conflict with the L Speed app I'm currently using?
And to finish off my day (the start of many of yours), here is my 2nd release for y'all.
Code:
- optimized square root algorithm (3x faster)
- added BFQ io scheduler (now default)
- backported random from Linux 4.2+ (better entropy, better performance)
- utilize power efficient workqueues all over the kernel
- port quickwakeup driver for hisi from moto
- optimized lib patches
- optimized arm64 lib patches
- disabled gentle_fair_sleepers for better UX
- enhanced multicore decision making
abyss-caf-eva-nightly-20160824.zip
darthkir said:
Finally! May God bless you!
Click to expand...
Click to collapse
God has blessed me alright :victory:
darthkir said:
Will it conflict with the L Speed app I'm currently using?
Click to expand...
Click to collapse
Not sure why it would, what tweaks do you have turned on? It should be good to go, I highly doubt anything can go wrong with any sort of non-kernel related tweaks.
this is great news! You have my thanks
For anyone on NCS rom, the kernel will not boot for you. Please test this build out. I will be looking into using an AnyKernel 2.0 flash method for TWRP users so that we don't run into conflicts like these in the future.
abyss-caf-eva-ncs-20160824.zip
Not only my rom, its for all recommended if root is installed.
This is ****ing awesome kwoktopus, so excited to try your work (tomorrow). Finally some more new development for the great P9.
Thanks kwoktopus !
Can i flash your kernel on fRomFuture ROM ?
Salamender said:
Thanks kwoktopus !
Can i flash your kernel on fRomFuture ROM ?
Click to expand...
Click to collapse
Not exactly sure. If fRomFuture has ramdisk modifications then probably not, I'll have to make a separate version for it. If you would like to try, download both versions of the kernel and try.
kwoktopus said:
Not exactly sure. If fRomFuture has ramdisk modifications then probably not, I'll have to make a separate version for it. If you would like to try, download both versions of the kernel and try.
Click to expand...
Click to collapse
Neither working on fRomFuture, tried with TWRP flash image method, when i get home ill try with fastboot also.
edint3000 said:
Neither working on fRomFuture, tried with TWRP flash image method, when i get home ill try with fastboot also.
Click to expand...
Click to collapse
If it doesn't work even through fastboot, try flashing my test versions.I will upload it with changes for fRomFuture that may work. Stay posted
edit: i am running low on bandwidth from all the source downloading lately, can someone upload the boot.img from the latest fRomFuture build
Uh...probably super obvious, but do you need unlocked BL and/or root in order to flash the kernel? Ta.
kwoktopus said:
If it doesn't work even through fastboot, try flashing my test versions.I will upload it with changes for fRomFuture that may work. Stay posted
edit: i am running low on bandwidth from all the source downloading lately, can someone upload the boot.img from the latest fRomFuture build
Click to expand...
Click to collapse
Here it is
edint3000 said:
Here it is
Click to expand...
Click to collapse
Try flashing the kernel attached, see if it works
Hi.
I've tried the kernel clean on the NCS ROM 1.2.
Unfortunately, the camera failed to launch and I noticed jerkiness in response.

[KERNEL][G5[H830/H850][LOS/LOS14.1]CrazyAquaKernel v2 [8-9-17]

FOR DEVS AND USERS BEFORE FIGHT ME CLICK HERE!: https://forum.xda-developers.com/showpost.php?p=70362424&postcount=3
Code:
DISCLAIMER!!
I am not responsible in any way for anything that can be happen to your device when you flashing my kernels.You do so at your own risk!
Features
Anykernel:
- Anykernel2 zip for maximum compatibility with all ROMs, CrazyAquaKernel uses your existing ramdisk (Do NOT flash this over other custom kernels!You should only flash CrazyAquaKernel over the kernel that came with your ROM!!)
Toolchain:
UBERTC 4.9 Toolchain
CPU:
- governors:
elementalx
interactive
ondemand
zzmoove
ondemandplus
conservative
powersave
userspace
- input boost
IO schedulers:
bfq
tripndroid
cfq
noop
deadline
fiops
row
sio
siopilus
zen
vr
fifo
Thermal:
- msm thermal
GPU:
- Adrenoboost
More:
- init.d support
- insecure kernel (adb has root privileges)
- frandom
- PVS level info
- frandom
- notification led control
- kcal v2
- CRC Check Disabled
- Dynamic filesystem read-ahead
- A lot improvments
- A lot fixes
Supported Variants:
H830
H850
Download Link CrazyAquaKernel [H830] [AnyKernel]:https://www.androidfilehost.com/?w=files&flid=208625
Download Link CrazyAquaKernel [H850] [AnyKernel]:https://www.androidfilehost.com/?w=files&flid=208622
Installation guide
Do NOT flash this over other custom kernels!
You should only flash CrazyAquaKernel over the kernel that came with your ROM!!
- Download Kernel from this thread
- Flash it with Recovery
[Wipe cache and Dalvik cache recommended]
- Then Reboot
Enjoy the CrazyAquaKernel !!!!
Credits
thx Faux123
thx Savoca
thx RenderBroken
thx flar2
thx osm0sis
thx ShinyShide
thx bhb27
thx Lord Boeffla
thx the devs where made the cm14 bootable and working
thx CrazyGamerGR yeh me
XDA:DevDB Information
CrazyAquaKernel, Kernel for the LG G5
Contributors
CrazyGamerGR
Source Code: https://github.com/CrazyGamerGR/CrazyAquaKernel-g5-g6-los-nougat
Kernel Special Features:
Version Information
Status: Testing
Created 2017-08-20
Last Updated 2017-08-20
FAQ
Recommended app : Kernel Adiutor
changelogs
v1.0/20-08-17
- initial release
v2.0/8-9-17
- input boost
- frandom
- msm thermal
- many improvments under the hood
For users and devs!!
All my kernels are based on cyanogenmod/lineageos source ,if someone who believes" i stoled their source" i have video captures and anyone who believes something just report me and i will have the last laugh .every tweak/mod/feature i used i edited/tweaked on my own and anyone with problem just stay away. My sources are free for anyone and can be used(i saw some ppl use them already)i don't care like other devs and i am happy and proud if someone use my work(the words" i work many hours on that project" the best repeatable words(many devs without the recognized tag and not with many thanks,they have worked for many hours/days/months and they don't cry and fight other devs )if for some devs their source are so much rare and hardworked just keep them privet(their work include their name so no problem ...we are not here for the fame ...we just want to improve the devices to make them better and not to fight with each other...
Why i am telling you all these?!
I have had many kernels unreleased from fights...i will continue to new clean projects based on lineageos and i will not care much with my source to wait many days to upload them with all the history of them because 2-3 "devs" they believe i used or edited their source...i am not a popular dev but you can't believe and no one knows how many days without sleep and hours of hardwork i have done, to do all this(and many not release source/work, much more than other devs...
reserve1
reserve2
Well.. This is awesome. Thank you for the hard work..really!!!
drmilosh said:
Well.. This is awesome. Thank you for the hard work..really!!!
Click to expand...
Click to collapse
This is just the start m8,i tried all the day to fix them all thats why i added only a few features to find the problem^^
Sent from my iPhone using Tapatalk Pro
CrazyGamerGR said:
This is just the start m8,i tried all the day to fix them all thats why i added only a few features to find the problem^^
Click to expand...
Click to collapse
Good news then, thx ! Will start testing soon (on linage os)..
drmilosh said:
Good news then, thx ! Will start testing soon (on linage os)..
Click to expand...
Click to collapse
Cool m8^^
Sent from my iPhone using Tapatalk Pro
Will be testing tomorrow!
Kye2000 said:
Will be testing tomorrow!
Click to expand...
Click to collapse
Cool,thx m8
Sent from my iPhone using Tapatalk Pro
Thanks for this :good:
Does your kernel have quickcharge support?
Nimueh said:
Thanks for this :good:
Does your kernel have quickcharge support?
Click to expand...
Click to collapse
In the first build no m8,but soon i will try to add it
Sent from my iPhone using Tapatalk Pro
CrazyGamerGR said:
In the first build no m8,but soon i will try to add it
Click to expand...
Click to collapse
Is video recording fully functional ?
N1ko5zAN said:
Is video recording fully functional ?
Click to expand...
Click to collapse
I hope yeh coz is fully updated
Sent from my iPhone using Tapatalk Pro
CrazyGamerGR said:
I hope yeh coz is fully updated
Click to expand...
Click to collapse
Ok ... Will test today and report back !!!
N1ko5zAN said:
Ok ... Will test today and report back !!!
Click to expand...
Click to collapse
Cool,thx m8
Sent from my iPhone using Tapatalk Pro
Thank you very much @CrazyGamerGR :highfive:
Kernel runs good so far on H850 RR 5.8.4 unofficial with one exception:
Interactive is set as the default governor.
-> Since EAS is there for the LG G5 interactive governor is always at 100% CPU frequency and therefore less useful for most of us...
Please check this post in the Speedy Kernel thread: either EAS or hmp should be enabled in the kernel, not both as this causes these malfunctions in some governors, i.e. interactive.
Keep up your good work, really appreciate! :good:
tiis said:
Thank you very much @CrazyGamerGR :highfive:
Kernel runs good so far on H850 RR 5.8.4 unofficial with one exception:
Interactive is set as the default governor.
-> Since EAS is there for the LG G5 interactive governor is always at 100% CPU frequency and therefore less useful for most of us...
Please check this post in the Speedy Kernel thread: either EAS or hmp should be enabled in the kernel, not both as this causes these malfunctions in some governors, i.e. interactive.
Keep up your good work, really appreciate! :good:
Click to expand...
Click to collapse
Yeh i ll check it,thx for feedback m8
Sent from my iPhone using Tapatalk Pro
New update is up
v2.0/8-9-17
- input boost
- frandom
- msm thermal
- many improvments under the hood
Download Links:
H830: https://www.androidfilehost.com/?fid=889764386195928217
H850: https://www.androidfilehost.com/?fid=817550096634797923

SmartPack [Kernel] project for LOS-14.1 [G901F] / [G906S/K/L]

This project is now maintained by @wilmsn. The new thread can be found here.
/* Introduction */
I haven’t found any suitable kernel that supports Lineage-OS 14.1 (and likely other aosp nougat ROMs) for these variants of S5 though many custom kernels are available for many other devices with the same APQ8084 chipset (e.g.: shamu). So, I made one by simply picking a lot of good features from other existing APQ8084 kernels. All the credits go to many developers those create several kernels for this platform and eventually made my job very easy. Here I’m sharing the output of my work and hope you guys like this.
/* DISCLAIMER!! */
Code:
I am not responsible for any damage to your device. Everything you are doing on your device is on your own risk.
I only own lentislteskt (Korean variant). Hence, kernels under the category 'lentislte' are only tested by myself.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Supported devices */
lentislte: SM-G906S/K/L
kccat6: SM-G901F
/* Compatibility */
This kernel is only meant for Lineage-OS 14.1. It may or may not work on other LOS-14.1 (and AOSP) based Nougat ROMs (Please try in your own risk).
This kernel will NOT work in Samsung Stock and other TW ROMs.
/* How-to-Install */
1. Go to recovery (TWRP recommend)
2. Flash Kernel
3. Reboot and enjoy​
/* Features */
Build from latest Lineage OS source code.
Build using Google arm-eabi 4.9 toolchain.
Anykernel concept for compatibility with maximum devices.
Kernel tweaker app recommend: Offical Kernel Auditor.
Added features include...
CPU voltage control
CPU_input boost
CPU Freq Gov: Intelliactive, Lionheart, Nightmare, Alucard, Blu_Active, Yankactive, & Ondemandplus.
CPU hotplugs: Intelli plug and mako hotplug.
TCP congestion algorithms: Westwood, reno, cubic etc.
IOScheds: SIO & FIOPS
IOSched_switcher
FSync enable/disable support
Fastcharge
Sound Control
Simple GPU Algoritham
FRandom
KCAL v2 advanced colour management
a lot more...​
/* Features likley added in the future */
1. More cpufreq govs
2. More ioscheds
3. Overclocking/Underclocking
4. Intelli_thermal
5. Suggest me?
/* Downloads */
SM-G906S/K/L
SM-G901F
/* Special note to ROM developers */
You are allowed to include my kernel in any ROMs. Feel free to contact me, if you need any assistance from my side.
/* Acknowledgements */
@cvxda
@franciscofranco
@faux123
@flar2
@Imoseyon
@savoca
@Lord Boeffla
@Sultanxda
@Grarak
@osm0sis
@Alucard24
Many other XDA developers
XDA:DevDB Information
SmartPack, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew
Source Code: https://github.com/SmartPack
Kernel Special Features:
Version Information
Status: Beta
Beta Release Date: 2017-10-10
Created 2017-10-09
Last Updated 2017-11-26
Frequently Asked Questions (FAQ)
Q1: Is this kernel compatible with ROM(s) a/b/c?
Ans: I do not know. All of my kernels are based off and tested only on Lineage-OS. However, if your ROM(s) a/b/c are based on Lineage-OS (and uses the same kernel source code), it will most probably work
Q2: Is this kernel better than stock/‘xyz’ kernel(s)?
Ans: Regarding stock, Yes, It should be better in many aspects (Otherwise it will never been published). Regarding ‘xyz’ kernels, I don’t know. I even may not used your mentioned ‘xyz’ kernels.
Q3: How about performance/SOT?
Ans: Since SOT, performance etc. are largely based on several factors such as ROM, installed apps etc. No one else can exactly predict the performance/SOT of your mobile. So, you should test and find out that by yourself.
Q4: Can you tell me the best settings for performance/SOT?
Ans:Again, that depends on several factors. I can only say my favorite settings that gives me best results in my favorite ROM.
Q5: Could you add feature x and y to your kernel?
Ans: Not sure. It depends on the feature and the capability of device. Anyway, I’m happy to check and add, if possible, any useful features (unless it is too experimental or dangerous) to my kernel. Please give your suggestions in the official xda thread.
Q6: When will you release a new version of this kernel?
Ans: New updates will arrive whenever I have something new to present in-front of you (such as I managed to add new useful features, or fix some existing issues or along with each LOS release with some changes in the kernel source code).
Q7: I found a bug, what do I do?
Ans: Please provide as much information as possible (such as what feature, what didn\'t work, screenshots or logcat if possible) and post in the xda thread.[/hide]
Please also note:
Guys... I'm pretty new to this device (and in fact to android development itself). So, it is very likely that I break some already available stuffs. If you found so, please let me know.
1. Please make sure to disable mpdecission if you decided to enable other hotplus (only one hotplug at a time).
2. Do not use any CPU hotplug while using zzmove cpufreq governor (since zzmove uses its own hot-plugging profiles).
3. Do not use Adreno_Idler and Simple_GPU algorithm together (that will likely make issues).
Change-logs
Nougat
men, i will try your kernel today, but already thanks for not forgeting this device, have a nice day.
well, im using the last rom version, and all that i can see is that it breaks the wifi, my device is G901F
New builds...
Release status: beta-v1
Changes: CPU voltage control is updated (all the frequencies are now accessible via KernelAuditor). Some other fixes (mainly for wifi)...
Download links cane be found here... enjoy...
/* Downloads */
SM-G906S/K/L
SM-G901F
@Juanchito16 any updates?
heyyy man, now im tryong your last version of the kernel with the RR on my G901F, and now wifi works, thanks for your time and your project !!!!!
Juanchito16 said:
heyyy man, now im tryong your last version of the kernel with the RR on my G901F, and now wifi works, thanks for your time and your project !!!!!
Click to expand...
Click to collapse
Thanks for the reply and nice to know that it is working.
Btw, it could be nice if you test everything and made a detailed review. It will be useful for me to make it better as well as other users. I really like to know its status from an SM-G901F user (since I only own SM-G906S)... Thanks, anyway, for the early testing...
@sunilpaulmathew, right now im using a lg g6 so for now i will test how is the drain battery with stock kernel of RR and then with yours.
so actually wich settings i should let on in the phone for the standby test ? or wich you suggest me.
Honestly, I do not know since it is difficult for me to test the standby time due to my building and flashing habit
However, I'm presently satisfied with 1. cpugreq (nightmare), 2. cpu hotplug (intelli_plug), 3. undervolted (up to -50), 4. TCP algo (westwood) and 5. All other available features like fastcharge, sound control etc. enabled...
Juanchito16 said:
@sunilpaulmathew, right now im using a lg g6 so for now i will test how is the drain battery with stock kernel of RR and then with yours.
so actually wich settings i should let on in the phone for the standby test ? or wich you suggest me.
Click to expand...
Click to collapse
exactly what i tough so i do have time to try this, im waiting for phone to charge fully (now 55%), i will set 1. cpugreq (nightmare), and turn on wifi, bluetooth, gps, and in airplane mode bc i dont have sim for the phone.
well i dont have many apps installed ,so i will do every test with exactly same settings and apps
workload
Thank you for your Kernel,
The fist Look seems to be good, the CPU workload shows 3 Cores are OFF (kernel adiutor), one by 50% by default LOS with no Apps in the Background, with the settings you are posted.
Thank you for the the first costum kernel for sm-g901f on LOS 14.1.
best regards
so i did the "test" with your kernel, with the default kernel configurations, wifi, bluethoot, gps in high accuracy, full brightness, and youtube all the time with video playng, so it gives me 4 hours, wich i think is just exelent thinking its a old battery.
its a really nice work man, about the fast charge, its nice, i charged it with everithing, but unfortunately i cant say how fast its yet
deollz said:
Thank you for your Kernel,
The fist Look seems to be good, the CPU workload shows 3 Cores are OFF (kernel adiutor), one by 50% by default LOS with no Apps in the Background, with the settings you are posted.
Thank you for the the first costum kernel for sm-g901f on LOS 14.1.
best regards
Click to expand...
Click to collapse
Thanks for testing and review. It become much better in the next updates once I add cpu input boost...
Juanchito16 said:
so i did the "test" with your kernel, with the default kernel configurations, wifi, bluethoot, gps in high accuracy, full brightness, and youtube all the time with video playng, so it gives me 4 hours, wich i think is just exelent thinking its a old battery.
its a really nice work man, about the fast charge, its nice, i charged it with everithing, but unfortunately i cant say how fast its yet
Click to expand...
Click to collapse
Thanks for the really detailed review... As per its source code, it only increases the USB charging speed to 900mA and nothing else. Probably you can try ampere to test the charging speed. Btw, I hope more people test this kernel soon.
Testing now, thank you ! My phone g906s
i did try with ampere, im testing it in norway, and actually without any modification, and right cable i get 1.200 mA
kotobodj said:
Testing now, thank you ! My phone g906s
Click to expand...
Click to collapse
Juanchito16 said:
i did try with ampere, im testing it in norway, and actually without any modification, and right cable i get 1.200 mA
Click to expand...
Click to collapse
Thank you very much friends. Was busy with my klte kernel. I'll probably push an updated version tomorrow, if everything goes as expected.
Btw, anybody tested the sound control (Kernel Auditor ---> Sound)? Is it worth?
Thanks in advance...
I have tried to use the sound option, however it crashes my device. I can make some logs later if that's helpfull.
BorrelNootje said:
I have tried to use the sound option, however it crashes my device. I can make some logs later if that's helpfull.
Click to expand...
Click to collapse
Ahh, yes, please provide a log if possible... Thanks for reporting...
New builds (beta-v2)...
Release status: beta-v2
Added: SIO and FIOPS ioscheds, CPU input boost, iosched switcher & FSync enable/disable support...
Changes: Interactive cpufreg gov, sound control (default gain marginally increased, PS: it might still crash the device if you touch the sound tab, but give significant gain by default), recent commits in the LOS kernel source code...
Download links are here... enjoy
/* Downloads */
SM-G906S/K/L
SM-G901F
Code:
[B][COLOR="Red"]Please remember to download the latest build (dated 20171012)...[/COLOR][/B]
One more build...
One more update before the weekend...
Release status: beta-v3
Changes: Changes: zzmove cpufreq gov. All the commits in the LOS kernel source code till date...
Download links are here... enjoy
/* Downloads */
SM-G906S/K/L
SM-G901F
Code:
[B][COLOR="Red"]Please remember to download the latest build (dated 20171013)...[/COLOR][/B]

[Kernel] Project T Kernel for ZTE Axon 7 Mini

Hi guys,
I know that this forum is not widely used by ZTE Axon 7 Mini owners, but I still want to share my work the kernel used by the stock firmware.
Most of the parts were of course already based on the work of others, so I will give credits at the end of this thread of course.
Pre-requisites:
Unlocked bootloader
TWRP flashed
Knowledge you do this all at your own risk! I tested this kernel with my EU model, so I don't know if this will work on the US models, too.
Features:
- Based on latest kernel source shared by ZTE (ZTE B2017G Nougat(7.1.1) Kernel(3.10.84))
- Built with GCC 4.9 toolchain
- UC to 499MHz for BIG and 403 MHz for LITTLE (thanks to @flar2)
- OC to 1651 for BIG (again @flar2)
- Additional governors: yankactive, blu-active, impulse
- Additional IO schedulers: Sioplus, Zen, FIOPS. Tweaked Row is set as default
- Additional TCP congestion algorithms with westwood being the default one
- Approx. 30% faster due to CRC calculation and auditing disabling
- Sweep2Sleep on the navigation bar
- frandom RNG
- Sound Control by @flar2
- ZRAM using LZ4 optimized for ARM by default
- Optimized power management driver by @Yank555
- Native exFAT support without needing fuse @dorimanx)
- KCAL
- Vibration control
- uses higher power CPUs to boot (got roughly 3s faster boot time)
- Dynamic Fsync
- Gentle Fair sleepers can be toggled via sysfs and Kernel Adiutor
- Smaller tweaks
To do:
- Switch toolchain
- Remove "dirty" from the kernel name Apparently I need to push all changes to github before compiling(or recompiling the same kernel as soon as I pushed everything)
- Set the phone to accept the lower frequencies without having to set this up in Kernel adiutor
- Alter interactive governor to use full frequency range
- Add D2TS for screen and fingerprint sensor, S2W
- Wakelock reductions
- Maybe BLX, KCAL (even though I don't get the point to implement it) I was curious and did it now, looks nice
- LED and vibration control
- Switch hotplugging mechanism to Lazyplug, hotplugging is not that energy efficient anymore
See the attached picture regarding the CPU stats when using yankactive for example
Credits go to:
@Lord Boeffla @flar2 @dorimanx @Yank555
Unfortunately I didn't give proper credits on my github, I want everyone to know, that none of the features were designed and written by myself, just adapted to work on our phones!
Download here:
https://drive.google.com/drive/folders/0B0mn6OUqIDzBZG1DM1Y4dmxUV2c
Flash in TWRP, root and every other ramdisk modification will be preserved (Anykernel2 by osmosis)
Github:
https://github.com/TheSSJ/tulip_kernel
Changelog
V1.1: Initial version for public release!
V1.2: KCAL support
V1.3: Changed boot CPUs to higher power ones, added dynamic Fsync, added Quick Wakeup driver
V1.4: Gentle Fair Sleepers can be toggled now, ROW scheduler tweaked
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
TheSSJ said:
V1.1: Initial version for public release!
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
Click to expand...
Click to collapse
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Askael said:
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Click to expand...
Click to collapse
I wouldn't exclude this, but as I am running on stock, I can't confirm or deny...
You could make a backup of your boot and flash it and see what happens, worst thing is that you need to reboot to recovery and restore your backup
TheSSJ said:
V1.1: Initial version for public release!
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
Click to expand...
Click to collapse
TheSSJ said:
I wouldn't exclude this, but as I am running on stock, I can't confirm or deny...
You could make a backup of your boot and flash it and see what happens, worst thing is that you need to reboot to recovery and restore your backup
Click to expand...
Click to collapse
Thank you for replay, what governor you use?
You will need to try and see.
It uses anykernel which is good. But aokp and lineage are on android 7.1.2 while stock is on android 7.1.1. There was at least one kernel api change that may cause problems. But I'm not sure.
I'm assuming this package has the wlan module also...?
Askael said:
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Click to expand...
Click to collapse
@ssj @tdm
Guys, try flash kernel, AOKP, don't work.
W8 kernel version from customs
tdm said:
I'm assuming this package has the wlan module also...?
Click to expand...
Click to collapse
You mean the prima wifi stuff I have seen in you github? Honestly I didn't feel the need...does it improve the wifi experience or is it just for making it compatible with LineageOS?
No, I mean the kernel module for wifi, /system/lib/modules/pronto/pronto_wlan.ko. If that doesn't match your kernel, it won't load and you won't have wifi.
Note stock has a handful of other kernel modules, but I don't think any of them are needed Most look like they are for testing.
TheSSJ said:
You mean the prima wifi stuff I have seen in you github? Honestly I didn't feel the need...does it improve the wifi experience or is it just for making it compatible with LineageOS?
Click to expand...
Click to collapse
tdm said:
No, I mean the kernel module for wifi, /system/lib/modules/pronto/pronto_wlan.ko. If that doesn't match your kernel, it won't load and you won't have wifi.
Note stock has a handful of other kernel modules, but I don't think any of them are needed Most look like they are for testing.
Click to expand...
Click to collapse
Oh, ok...pronto driver is built into the kernel though, all other modules are really for debugging and testing as far as I could gather, so they are not included (and the phone works fine)
@Askael: As for a custom kernel for Lineage/AOKP etc: as I won't have these OS's on my phone I use as my daily driver, I can of course create one, but it is always published as untested, so there is no point IMHO.
TheSSJ said:
Oh, ok...pronto driver is built into the kernel though, all other modules are really for debugging and testing as far as I could gather, so they are not included (and the phone works fine)
@Askael: As for a custom kernel for Lineage/AOKP etc: as I won't have these OS's on my phone I use as my daily driver, I can of course create one, but it is always published as untested, so there is no point IMHO.
Click to expand...
Click to collapse
But we can test this. But if you not want - don't worry! :good:
Askael said:
But we can test this. But if you not want - don't worry! :good:
Click to expand...
Click to collapse
Will think about it
Version 1.2 is out, now with KCAL screen control support!
I'm building a kernel with many of these features for the LineageOS ROM. Want me to make a thread, and then you can link it for people interested in using it in your OP? Source is here: https://github.com/djkazic/sombrax_kernel
kevincai96 said:
I'm building a kernel with many of these features for the LineageOS ROM. Want me to make a thread, and then you can link it for people interested in using it in your OP? Source is here: https://github.com/djkazic/sombrax_kernel
Click to expand...
Click to collapse
Hi,
Feel free to open a new thread it is important to push this phone amd its potential as good as possible!
Development will go on, i still have some items to implement :good:
@TheSSJ
Hi! Any news about update?
@TheSSJ
Good to see you in Axon mini from zenfone 2
Askael said:
@TheSSJ
Hi! Any news about update?
Click to expand...
Click to collapse
You mean a custom kernel for CM builds or an update for this stock kernel?
For the CM based one I didn't start, although applying the modifications I applied to my kernel should be working
Druboo666 said:
@TheSSJ
Good to see you in Axon mini from zenfone 2
Click to expand...
Click to collapse
I was spotted It's a great phone, let's get the most out of it
TheSSJ said:
You mean a custom kernel for CM builds or an update for this stock kernel?
For the CM based one I didn't start, although applying the modifications I applied to my kernel should be working
I was spotted It's a great phone, let's get the most out of it
Click to expand...
Click to collapse
For this stok kernel
I was spotted It's a great phone, let's get the most out of it
Click to expand...
Click to collapse
i am using Axon 7 and yeah its a great phone i must miss you in axon 7
Updated version uploaded and available on G-Drive, boot time increased by 3s (you take what you can get )
/EDIT: Next version out, small enhancements and adding the possibility to enable/disable gentle fair sleepers

[KERNEL][MIDO][MIUI] FLIP kernel [r1]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably voided.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! 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.
*/
What is this:
After tired of looking for stable no nonsense kernel for MIUI and couldn't fine one, I've decided to compile one myself. This is just a kernel I flipped from readily publicly available source, nothing special here. It should boot with any MIUI Nougat roms.
Click to expand...
Click to collapse
Difference with stock MIUI kernel
Compiled using OmniRom's kernel source as base so contains all its features, fixs and patches.
Compiled using UberTC 4.9.4 for stability.
Compiled using correct optimisation flags for our MSM8953 cpu.
Patched with EAS scheduler from OnePlus3 LineageOS-based kernel with EAS
Updated Ondemand cpu governor from franciscofranco's kernel for OnePlus3, finetuned it abit and made it as default booting cpu governor.
Default to Noop disk i/o scheduler on boot.
Default to Westwood tcp congestion control on boot.
Disabled/made as built-in some modules.
Disabled some stuff like zram, cleancache, zcache.
Added support for exfat fs via exfat-nofuse.
Enabled ntfs fs support.
Init.d startup script support with correct permissions applied on every boot.
Probably some other things I forgot to list here...
Click to expand...
Click to collapse
Changelog:
r1 - First public release.
Click to expand...
Click to collapse
Download:
FROM HERE
Click to expand...
Click to collapse
Installation notes:
Need unlocked bootloader, so unlock your bootloader if you haven't yet.
Need to be on any custom recovery so flash one if you haven't yet.
Need to be on any MIUI Nougat rom.
If you have any custom kernel other than this kernel already installed, please flash or restore your MIUI rom stock kernel because this kernel would need to use the stock unmodified ramdisk and custom kernel might already modify it.
Backup, backup and backup!
Download the zip, put into either internal phone storage or sdcard, flash away.
If you want to go back to your previous kernel, just dirty flash your rom or restore boot and system from backup.
Click to expand...
Click to collapse
Thanks to:
God, for everything.
Linus Torvalds, for the Linux kernel.
Google, for Android.
Xiaomi, for kernel source.
Xda forum, learnt alot from here.
Uber team, for the toolchain.
khan_frd2002, for the OmniRom kernel source.
EAS-Project on Github for the EAS patches.
franciscofranco, for the Ondemand cpu governor source.
osm0sis, for AnyKernel2 kernel installation template.
Probably some others I forgot to list here...
Click to expand...
Click to collapse
XDA:DevDB Information
FLIP kernel, Kernel for the Xiaomi Redmi Note 4
Contributors
coldplug
Source Code: https://github.com/thecoldplug/android_kernel_xiaomi_msm8953
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r1
Stable Release Date: 2018-01-11
Created 2018-01-11
Last Updated 2018-01-11
Wow. EAS working well ?
Kevin Saiza said:
Wow. EAS working well ?
Click to expand...
Click to collapse
Partially. Cpu governors meant to work with eas like sched and schedutil doesn't work well with 625 because it was meant to work with dual cluster a72+a53 like 820 etc, while 625 only have a single cluster of a53, plus theres no proper powertable. Sched and schedutil just froze at lowest available freq because it can't choose proper powertable, making phone lags. I've disable both and made ondemand as default governor.
I se the OP off this thread speaking about voltage values, is this what o are referring as power table?
https://forum.xda-developers.com/redmi-note-4/how-to/tweak-interactive-governor-tunables-t3608118
zecabra said:
I se the OP off this thread speaking about voltage values, is this what o are referring as power table?
https://forum.xda-developers.com/redmi-note-4/how-to/tweak-interactive-governor-tunables-t3608118
Click to expand...
Click to collapse
Similar. All cpu already got predefined voltage table in the kernel source for the usual hmp scheduler, usually modified for oc/uv. Eas need its own, new voltage table specifically written for it, for every specific cpu too.
tks for the nice kernel, I only have one request if possible, I'm more a guy of battery saving because i spent long times with no access to recharge the phone, its the implementation of alucard
add please function: fix ttl.
this is very important for Russia, Ukraine, Belarus ... and others.
this is necessary to bypass the blocking of cellular operators.
this is in the same kernel as: [KERNEL][MIDO] Stormguard 01/01/18, [KERNEL][MIDO][VOLTE++] Chewy kernel r8.1 [22/12].
Please
zecabra said:
tks for the nice kernel, I only have one request if possible, I'm more a guy of battery saving because i spent long times with no access to recharge the phone, its the implementation of alucard
Click to expand...
Click to collapse
If you mean alucard cpu governor, then I've already tried to add it lol. Doesn't work, endless reboot. In fact all interactive based cpu gov like impulse, alucard, blu_actice, zzmoove won't work here. Hence why I've disabled even the interactive cpu gov.
DEMIGOD124 said:
add please function: fix ttl.
this is very important for Russia, Ukraine, Belarus ... and others.
this is necessary to bypass the blocking of cellular operators.
this is in the same kernel as: [KERNEL][MIDO] Stormguard 01/01/18, [KERNEL][MIDO][VOLTE++] Chewy kernel r8.1 [22/12].
Please
Click to expand...
Click to collapse
Doesn't need to add or anything, its already in the kernel and enabled, i think...
I don't have any idea how it work or if it even work though, so do try and let me know how it goes.
FLIP-r1-MIUI-mido.zip Failed - Virus detected What???
pikachukaki said:
FLIP-r1-MIUI-mido.zip Failed - Virus detected What???
Click to expand...
Click to collapse
Lol your virus scanner might have detected the zip itself or the script within as a virus, its not. Gdrive where I've uploaded it should already scanned it before you even download.
Don't use that pos virus scanner, change to other virus scanner or better yet, use linux ?
So witch one is better for miui and why ?
kcal bugg still there?
kemo12533 said:
So witch one is better for miui and why ?
Click to expand...
Click to collapse
Theres only one...
aman1241 said:
kcal bugg still there?
Click to expand...
Click to collapse
Haven't add kcal.
coldplug said:
Theres only one...
Haven't add kcal.
Click to expand...
Click to collapse
I mean this one Vs stock
I am not really into the kernel thing and wanna know what will I get from this one VS the stock in a sample do novas like me will get what all this futures for ?
kemo12533 said:
I mean this one Vs stock
I am not really into the kernel thing and wanna know what will I get from this one VS the stock in a sample do novas like me will get what all this futures for ?
Click to expand...
Click to collapse
Already wrote all the differences on the first post. Can't really say whats good amd whats not due difference usage and needs, but do try and see for yourself. Backup before install, restore if you're not happy ?
coldplug said:
Already wrote all the differences on the first post. Can't really say whats good amd whats not due difference usage and needs, but do try and see for yourself. Backup before install, restore if you're not happy ?
Click to expand...
Click to collapse
i am on pixel experience right now so i cant atm but i will soon
Hi
Where is the link?
Overclock
Can I overclock my cpu and gpu on this kernel ??
I feel stock is better
I feel as so cause after switching to this kernel my phone is a bit more Laggy so I switched back to stock

Categories

Resources