FORUMS

[Kernel] Smart-Pack Kernel {KlteXXX} Unofficial 02/20/19

1,616 posts
Thanks Meter: 1,872
 
Post Reply Email Thread
SmartPack-Kernel-Unofficial



/* Introduction */
I'm proudly continuing Sunilpaulmathews work. I bring back to the community "SmartPack-Kernel" for Lineage-OS (LOS) and other LOS based (Oreo/Pie) ROMs.
Please note: All these kernels are designed to work only on LOS-15.1/16 based Oreo/Pie ROMs.
/* DISCLAIMER! */
Code:

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 kltelspr (Sprint variant).
Please note that flashing any custom Kernel including mine will void your warranty.

/* Supported devices */

klte: SM-G900F, SM-G900AZ, SM-G900M, SM-G900R4, SM-G900R7, SM-G900T, SM-G900V, SM-G900W8, SM-S902L
kltekor: SM-G900K/L/S
kltedv: SM-G900P/I
klteduos: SM-G900FD, SM-G900MD
kltekdi: SCL23

/* Compatibility */
This kernel is only meant to work on Lineage-OS 15.1/16 and nothing else. However, it may work on other LOS-15.1/16 (and AOSP) based Oreo/Pie ROMs (Please try at your own risk).
This kernel will NOT work in Samsung Stock and other TW ROMs.

/* How-to-Install */
Download kernel
i. Go to recovery (TWRP recommend)
ii. Flash Kernel
iii. Reboot and enjoy

/* Features */

Build from latest Lineage OS source code.
Built using latest GCC-8.x.
Anykernel for compatibility with maximum devices.
Linux Kernel version is updated to 3.4.113
Kernel tweaker app recommend: SmartPack-Kernel Manager (Please note: official Kernel Adiutor is NOT fully compatible with this kernel).
Added features include...
CPU voltage control
CPU Freq Gov: INTELLIDEMAND, INTELLIACTIVE, SMARTMAX, LIONHEART, NIGHTMARE, ADAPTIVE, ALUCARD, ZZMOVE, etc.
(for those who want to use zzzmove, I strongly suggest to carefully read this forum post by @Saber)
CPU hotplugs: Lazyplug, Alucard, and mako hotplug.
Full control over AC, USB and Wireless charging rate in SmartPack-Kernel Manager (Default charging rates: AC: 1800 mA; USB 700 mA; Wireless: 900 mA).
Boeffla Sound to control speaker and headphone volume.
(for official KA users, follow these instructions by @Exzu to create respective custom controllers for Boeffla Sound and Fast Charge.)
Advanced control over MSM Thermal in SmartPack-Kernel Manager
Adreno_Idler
CPU Input boost (configurable in SmartPack-Kernel Manager)
IO schedulers: FIOPS, SIO, VR, ZEN, FIFO, TRIPNDROID.
TCP congestion algorithms: Westwood, reno, cubic etc.
FRandom
Dynamic sync control 2.0
Powersuspend
Boeffla Generic Wakelock Blocker
CPU overclocked up to 2.84 GHz (only Oreo)
268 MHz CPU underclocked frequency cycle
Additional 27 MHz GPU frequency step (idle frequency)
KCAL v2
SELinux "Enforcing" by default (can be switched to "Permissive" in SmartPack-Kernel Manager)
a lot more...

/* Downloads */

https://app.box.com/s/km3nq9rsa3r3y9ddzjh391siubzujujq

/* Special note to Korean S5 users */
Flashing this kernel after AOSP/LOS based nougat ROMs originally build for the klte (SM-G900F) variant will allows the use of those ROMs on SM-G900S/K/L. Tested ROMs includes Resurrection Remix, AOKP, crDroid, Mokee, CosmicOS, VanirAOSP, Zephyr OS, Beanstalk, AospExtended etc,

/* Special note to ROM developers */
You are allowed to include my kernel in any ROMs. Giving proper credits to the original developers (including me, if you considered me as one among them) are, however, highly appreciated. Feel free to contact me, if you need any assistance from my side.

/* Donations */

If you like to appreciate my work, please consider donating to sunilpaulmathew as it is a nice way to continue showing him appreciation for his work.

/* Acknowledgements */
@haggertk for LineageOS for our beloved Galaxy S5
@sunilpaulmathew For SmartPack-Kernel Project
@Lord Boeffla
@franciscofranco
@Sultanxda
@arter97
@faux123
@CrazyGamerGR
@Saber
@nathanchance
@ZaneZam
@osm0sis for AnyKernel project
@Grarak for Kernel Adiutor
Our Korean Galaxy S5 Facebook group members
Many other XDA developers

XDAevDB Information
SmartPack, Kernel for the Samsung Galaxy S5

Contributors
sunilpaulmathew(Creator) / The~Skater~187(Maintainer)
Source Code: https://github.com/187MoD/SmartPack-...roject_kltexxx

Kernel Special Features:

Version Information
Status: Stable

Created 2017-02-27
Last Updated 2019-05-27
The Following 22 Users Say Thank You to The~Skater~187 For This Useful Post: [ View ] Gift The~Skater~187 Ad-Free
21st February 2019, 01:08 AM |#2  
The~Skater~187's Avatar
OP Senior Member
Flag Niantic
Thanks Meter: 1,872
 
More
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: Which version of kernel should I use?
Ans: I recommend to use the latest if you are on the latest Lineage-OS. For other ROMs with an old built dates, you probably need to find an old version of my kernel with a comparable build date (though you are advised to stay with the latest, if possible).

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 give 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 @Saber

Q7: Could you add feature x and y to your kernel?
Ans: Not sure. It depends on the feature and the capability of the 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 each LOS release with some changes in the kernel source code).

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.
The Following 3 Users Say Thank You to The~Skater~187 For This Useful Post: [ View ] Gift The~Skater~187 Ad-Free
21st February 2019, 01:11 AM |#3  
The~Skater~187's Avatar
OP Senior Member
Flag Niantic
Thanks Meter: 1,872
 
More
Change-Logs


Stable-v31:
--Up-to-date with Lineage-OS source as of 05.27.2019
--Compiled with "Bleeding-Edge-Toolchain" 9.1

Stable-v30:
--Core Control fix
--Fix Hotspot on Pie roms (Hopefully)
--Up-to-date with Lineage-OS source as of 02.25.2019
--SmartPack boot script: update default profile (credits: justjr)

Stable-v29:
---Up to date with LineageOS source as of 02.20.2019
---Added a few Suggested Changes to justjr's default efficiency profile

The Following 7 Users Say Thank You to The~Skater~187 For This Useful Post: [ View ] Gift The~Skater~187 Ad-Free
21st February 2019, 01:23 AM |#4  
The~Skater~187's Avatar
OP Senior Member
Flag Niantic
Thanks Meter: 1,872
 
More
~~~~~~~~~~~ Please note~~~~~~~~~~~
If you need support, please supply the following or support will not be given:
*Device Variant
*Current Rom & Android Version
*Bootloader & Baseband version
*Recovery & Version
*Recovery Log
I can't help if the only details given are "It didn't work" or "I can't flash this".
21st February 2019, 01:37 AM |#6  
sunilpaulmathew's Avatar
Recognized Developer
Flag Kochi (Currently in Prague)
Thanks Meter: 5,572
 
Donate to Me
More
Thank you very much @The~Skater~187 for continuing my favorite project. Greatly appreciated.

If you don't mind, I have some small suggestions
1. Please remove this folder from your source code, which is a part of my auto-flash implementation, to hold the latest kernels released by myself.
2. Since Auto-flash is no more available from SmartPack-Kernel Manager, kindly remove the following lines from OP
"Auto-flash from SmartPack-Kernel Manager" under the heading "How-to-Install"
3. Also, you may remove my name from Settings ---> About Phone ---> Kernel Version by simply editing lines #96 & #98 in the build script

Finally, a GOOD LUCK from my side
The Following 16 Users Say Thank You to sunilpaulmathew For This Useful Post: [ View ]
21st February 2019, 01:41 AM |#7  
Quimicax's Avatar
Senior Member
Flag SantoDomingo
Thanks Meter: 86
 
More
This Kernel Have You 3.0 OC And 6xx Mhz Gpu?
21st February 2019, 01:41 AM |#8  
The~Skater~187's Avatar
OP Senior Member
Flag Niantic
Thanks Meter: 1,872
 
More
Quote:
Originally Posted by sunilpaulmathew

Thank you very much @The~Skater~187 for continuing my favorite project. Greatly appreciated.



If you don't mind, I have some small suggestions

1. Please remove this folder from your source code, which is a part of my auto-flash implementation, to hold the latest kernels released by myself.

2. Since Auto-flash is no more available from SmartPack-Kernel Manager, kindly remove the following lines from OP

"Auto-flash from SmartPack-Kernel Manager" under the heading "How-to-Install"

3. Also, you may remove my name from Settings ---> About Phone ---> Kernel Version by simply editing lines #96 & #98 in the build script



Finally, a GOOD LUCK from my side

I will make the appropriate changes when I get back home in about an hour. Thanks for all your work and always belong me out. Your the man!

Sent from my kltespr using Tapatalk
21st February 2019, 02:09 AM |#9  
The~Skater~187's Avatar
OP Senior Member
Flag Niantic
Thanks Meter: 1,872
 
More
Quote:
Originally Posted by sunilpaulmathew

Thank you very much @The~Skater~187 for continuing my favorite project. Greatly appreciated.



If you don't mind, I have some small suggestions

1. Please remove this folder from your source code, which is a part of my auto-flash implementation, to hold the latest kernels released by myself.

2. Since Auto-flash is no more available from SmartPack-Kernel Manager, kindly remove the following lines from OP

"Auto-flash from SmartPack-Kernel Manager" under the heading "How-to-Install"

3. Also, you may remove my name from Settings ---> About Phone ---> Kernel Version by simply editing lines #96 & #98 in the build script



Finally, a GOOD LUCK from my side

I will make the appropriate changes when I get back home in about an hour. Thanks for all your work and always belong me out. Your the man!

Sent from my kltespr using Tapatalk
21st February 2019, 02:11 AM |#10  
The~Skater~187's Avatar
OP Senior Member
Flag Niantic
Thanks Meter: 1,872
 
More
Quote:
Originally Posted by Quimicax

This Kernel Have You 3.0 OC And 6xx Mhz Gpu?

Nope. This is straight SmartPack with just Lineage source updates. Nothing more, nothing less.

Sent from my kltespr using Tapatalk
21st February 2019, 03:14 AM |#11  
Junior Member
Thanks Meter: 19
 
More
Thanks again for this!

Only thing I've run into is the thermal drivers.

Both core control and vdd restriction are enabled. If I disable vdd restriction and switch sections and go back, it re-enables itself. Core control will stay disabled though.

I did reset the smartpack manager, reflash the aospEX rom before flashing this kernel.


But running great, and vdd restriction is keeping things cool.
The Following User Says Thank You to Latako For This Useful Post: [ View ] Gift Latako Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes