[EOL] Boeffla-Kernel (unofficial) for Lineage OS-15.1/16 [kltexxx] - Galaxy S 5 Original Android Development

This project is now "End-of-Life" (EOL). Thanks to all of you for the kind support...
Proudly presenting, Boeffla-Kernel (unofficial) for Lineage OS-15.1/16.
/* Introduction */
This is an unofficial port of the well-known Boeffla-Kernel which is developed by the recognized developer @Lord Boeffla. Since the original developer decided to end his support with Nougat, I decided to port his awesome work to Oreo. With the permission of the original developer, here I'm sharing my builds for anyone interested.
/* Warning */
This kernel is no way supported by Lord Boeffla. Please do not bother him with anything related to this Kernel.
/* 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 kltelgt (Korean variant). Hence, kernels under the category 'kltekor' are only tested by myself.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Supported devices */
klte: SM-G900F, SM-G900V, 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 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 */
i. Download Kernel
ii. Go to recovery (TWRP recommend)
iii. Flash Kernel
iv. Reboot and enjoy
/* Features */
Built from Boeffla-Kernel 14.1 source code.
Merged with latest LineageOS 15.1 source code.
Built using Bleeding edge toolchain (GCC 8.2).
Added blu_active CPU governer.
All the standard features of Lineage-OS 14.1 Boeffla-Kernel
Support of anykernel concept - flash stock kernel before flashing Boeffla
Additional governors: zzmoove (Note: not considered stable at the moment, you might face reboots!!!), intelliactive, intellidemand, wheatley, smartmax, slim, intellimm, nightmare, lionheart, pegasusq Zzmoove supporting native hotplugging profiles
Additional schedulers: fiops, bfq, sio, tripndroid, zen
Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
Wake up gestures implemented (double-tap-to-wake, swipe to wake) Removed from beta-v4 onwards.
Boeffla-Sound engine (Headphones and speaker volume configurable)
Configurable vnswap
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency configurable, touch boost switch
CPU Overclocking up to 2.84 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU governor selection support
Show GPU frequency usage per frequency in Boeffla-Config
Color control to adjust RGB color space + inverted mode
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
System Tweaks predefined supported (default is off)
Android logger (logcat) configurable
Kernel logger (dmesg) configurable
Charge rates for AC charger, USB and wireless charging separately configurable (set charge rate to 0 to have stock charge logic back)
Charge information display support via Boeffla-Config V2 app
CIFS support
NFS support (module) Removed from beta-v9 onwards.
NTFS support
XBox support
OTG-Ethernet support
TCP Congestion changed to Westwood
Swap supported (but not recommended, use zRam instead)
init.d support (in /system/etc/init.d - set correct permissions!)
Default entropies increased
Insecure kernel (adb has root privileges)
Automatic EFS backup
Kernel survival mode by Boeffla-Config app to survive CM rom flashes
Full support for mpdecision for best compatibility and smoothness
(Important: use Boeffla-Config to configure min/max CPU frequencies + governors + schedulers only - or explicitely allow other apps/processes to overwrite this in Boeffla-Config settings, but expect weird side effects)
Integrated full busybox 1.23.1 (own compilation)
Auto-Root by kernel possible by request, not recommended for CM however (latest su included)
Kernel initialization log file (with the history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
Always using latest Initramfs
Always based on latest Galaxy S5 sm-g900f kernel sources by CM
Kernel runs with SELinux enforcing by default, just as CM12 stock kernel for S5 - but can be configured to work in permissive mode in Boeffla-Config settings
/* Downloads */
https://smartpack.github.io/downloads/
Mirror
/* 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 */
For those who wish to donate to the original developer (Lord Boeffla), here I'm copying his own words.
Code:
If you like my work, feel free to donate: [URL="http://www.boeffla.de/index.php/donation"]Donation-Link[/URL]
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
If you like to appreciate my (sunilpaulmathew) work, please consider a donation as it is helpful to continue my projects more active, although it is not at all necessary.
/* Acknowledgements */
@haggertk for LineageOS 15.X for Galaxy S5
@Lord Boeffla for Boeffla-kernel for LOS-14.x
@franciscofranco
@Sultanxda
@arter97
@faux123
@Saber
@nathanchance
@ZaneZam
@osm0sis for AnyKernel project
Many other XDA developers
XDA:DevDB Information
Boeffla-Kernel (unofficial), Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew, Lord Boeffla
Source Code: https://github.com/SmartPack
Kernel Special Features:
Version Information
Status: Stable
Created 2018-03-17
Last Updated 2019-01-10

Change-logs
Oreo
Pie

Reserved

So we are in the house
Kernel works fine so far... No probs with undervolting either. But never used this feature for daily use. Because it's not recommended.
Lg msprenger

Yass! Boeffla the legend, the only custom kernel which performance is faster than any other custom kernels and stock kernels combine.

All the best for you @sunilpaulmathew
You`ll wearing great shoes to continue Lord Boeffla`s legacy
Checked first beta ... fine fine

Cool! Let's check it out!

msprenger said:
So we are in the house
Kernel works fine so far... No probs with undervolting either. But never used this feature for daily use. Because it's not recommended.
Lg msprenger
Click to expand...
Click to collapse
Welcome
The_Voice_70 said:
All the best for you @sunilpaulmathew
You`ll wearing great shoes to continue Lord Boeffla`s legacy
Checked first beta ... fine fine
Click to expand...
Click to collapse
Thanks friend....
kvsjxd said:
Cool! Let's check it out!
Click to expand...
Click to collapse
All good?

Hello, my device is kltekor but after I flashed your kernel the second sim signal appears on the status bar, is that a feature or a bug?

Blackburn119 said:
Hello, my device is kltekor but after I flashed your kernel the second sim signal appears on the status bar, is that a feature or a bug?
Click to expand...
Click to collapse
its a bug. unless your device is a dual-sim variant .

KazuDante said:
its a bug. unless your device is a dual-sim variant .
Click to expand...
Click to collapse
I'm sure Kltekor is a Korean device with single sim

Blackburn119 said:
I'm sure Kltekor is a Korean device with single sim
Click to expand...
Click to collapse
so yeah its def a bug and not a feature.

No such issues in my kltekor (SM-G900L):Lineage-OS 15.1 latest build. See screenshot attached. Maybe some other issues on the ROM side?
Blackburn119 said:
I'm sure Kltekor is a Korean device with single sim
Click to expand...
Click to collapse
for @all,
I'm now testing a new version of Kernel, which is built using UBERTC-8.x (latest toolchain). If anyone wants to test for me, plz pm me or contact me at Telegram.

sunilpaulmathew said:
No such issues in my kltekor (SM-G900L):Lineage-OS 15.1 latest build. See screenshot attached. Maybe some other issues on the ROM side?
for @all,
I'm now testing a new version of Kernel, which is built using UBERTC-8.x (latest toolchain). If anyone wants to test for me, plz pm me or contact me at Telegram.
Click to expand...
Click to collapse
what's the difference between ubertc and old boeffla?

sunilpaulmathew said:
Welcome
Thanks friend....
All good?
Click to expand...
Click to collapse
Yeah works fine as expected. Keep up the good work.

sunilpaulmathew said:
No such issues in my kltekor (SM-G900L):Lineage-OS 15.1 latest build. See screenshot attached. Maybe some other issues on the ROM side?
for @all,
I'm now testing a new version of Kernel, which is built using UBERTC-8.x (latest toolchain). If anyone wants to test for me, plz pm me or contact me at Telegram.
Click to expand...
Click to collapse
Runs well, undervolting works in this kernel now, thank you! Havent noticed anything else thus far exept undervolt is working which is really nice!
Edit: Seems like GPU underclock (27mhz) is also added, great job, thanks!

Boeffla-Kernel (unofficial) v2
New kernel version (v2), which is built using UBERTC-8.x (latest) toolchain, is now available to download.
Detailed change-logs are always available here.
Download links can be found here.
Enjoy...

Thank you very much for the New build.. Works perfectly with the boeffla App. The change to the New Toolchain goes without any probs
No malfunctions since Installation
Great job
Lg msprenger

Sorry friends, I made some accidental mistakes while preparing the last build and it makes the modules unaccessible (do anyone noticed?). The download links are now updated with proper builds. If you are not worried about modules, just avoid this message. Otherwise, update to the newly uploaded builds (Please note: there is absolutely no change in the file name).
Sorry for the inconvenience...
Downloads
https://sunilpaulmathew.github.io/downloads/

Did not notice any inaccassebility to any Module. Which Mods do you mean??

Related

[EOL][KERNEL][PORT][n51x0][JB/KK/CM12.x/CM13.x/LOS14.1] Boeffla-Kernel (26-08-2018)

** Note: This kernel is end-of-life and will no more be maintained. There will be no LineageOS 15.1 or newer kernel be available anymore **
Hi Guys!
Thanks to one of my coworker at work which had no further usage for his Note 8 GT-N5110 i had recently the possibility to call it my own! I was very happy about that but what i instantly missed after powering on the device for the first time was the great boeffla kernel which runs very well on my S3 for quite some time now. So i decided to "route" some spare time into porting the boeffla kernel for n801x devices to n51x0 devices. After a „couple of days“ and after fighting around with git, merging things and stuff i can enjoy now the power of boeffla on this device too! Finally i want to share this kernel with the ones who maybe missed boeffla on a Note 8 too and of course with all others which maybe want to give it a try.. As it is pretty much complete and i didn't want to reinventing the wheel i did (in agreement with Lord Boeffla!) a shameless copy of his text from the n8x0 thread and changed the relevant parts for this version. It is and it should stay a Boeffla Kernel so i think it's not that “blasphemic” if i copy the Lord himself. btw. all credits to him!!
This is the thread about the ported version of the Boeffla-Kernel for Galaxy Note 8 n51x0 devices
Some of you might know Lord Boefflas kernel already from the Galaxy S3 area.
If you want to learn more about the kernel, it's features and how to configure what, I would recommend you to visit the Galaxy S3 thread of the kernel.
Notes:
This kernel (provided in separate images) should work on the following devices:
GT-N5110 (Wifi only), GT-N5100 (G3 modem) and GT-N5120 (G4/LTE modem) Only GT-N5110 versions are tested by me as i have no possibility to test the others! So feedback about how the kernel is working on a GT-N5100 and GT-N5120 would be highly appreciated, thx!
The kernel images are only for Samsung based Jelly Bean (Android 4.2.2) or Kit Kat (Android 4.4.2) roms!!! Do not install it on CM or AOSP based roms!!!
Kernel versions 1.x are only for Samsung based Jelly Bean 4.2.2 roms!!!
Kernel versions 2.x are only for Samsung based Kit Kat 4.4.2 roms!!!
Custom Roms:
This Kernel is not compatible with the yNote ROM because of modifications related to init process and removing SELinux!! But it should work for example with stock based custom roms like civatos CivZ roms!
WARNING: Be sure that u flash the right kernel for the right device !! Images are named accordingly so double check that u use the right one! Flashing a wrong version may brick your device !!
If you have questions to settings, presets, others configuration and wanna share your configuration, head over to the unofficial Boeffla-Config App Config sharing thread: http://forum.xda-developers.com/show....php?t=2621308
Support
First read the FAQ section on the Homepage (offline, project EOL) !!!
Click here (offline, project EOL) to learn about all possible kernel settings in the config app.
Click here (offline, project EOL) to learn about using the config app.
I will refuse to give support if you do any undervolting and experience freezes or hot reboots.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Features
* To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from here: DOWNLOAD (offline, project EOL)
* Upstreamed to Linux 3.0.101 (www.kernel.org)
* Based on Samsung source code GT-N5110_JB_Opensource_Update2/GT-N5110_KK_Opensource.zip and current CM12.x sources
* Initramfs from XXCMK1 (for all JB builds) stock kernels
* Initramfs from XXDNI2 (for KK n5110 builds) stock kernel
* Initramfs from XXDNH3 (for KK n5120 builds) stock kernel
* Initramfs from XXDNL5 (for KK n5100 builds) stock kernel
* Initramfs from official CyanogenMod roms for all CM versions (in "pre-anykernel" images)
* CPU under/overclocking to from 100 Mhz to 1920 MHz
* CPU undervolting interface
* GPU frequencies configurable (underclocking, overclocking up to 700 MHz)
* GPU voltages configurable (undervolting, overvolting)
* Configurable charger rate for AC and USB (default increased to 1100 mA for ac charging)
* Charge info display support
* Configurable zRam
* Configurable touch boost frequency
* Configurable early suspend time (for screen off animations, 100ms default)
* Boeffla-Sound engine V1.6.7 to unleash the power of the audio hub wm1811
* Additional governors: ZZMoove 1.0 beta8, pegasusqplus,smartassv2, intelliactive, lulzactiveq and wheatley
* Governor profiles for pegasusq, pegasusqplus and zzmoove for performance, battery saving etc.
* Additional schedulers: ROW, ZEN, BFQ (v7r8) and SIO
* Schedulers configurable separate for internal and external SD memory
* Hardcore speedmod sharpness fix implemented (default is off)
* SD card read ahead buffer configurable separate for internal and external SD memory (default increased to 256 kB)
* Ext4 File system tweaks (default to on, can be disabled)
* System Tweaks predefined supported (default is off)
* WIFI Multicast filter for better battery life
* WIFI wakelock times reduction
* Proportional rate reduction for TCP
* TCP congestion changed from Cubic to Westwood
* Wifi mac address change support
* Dynamic fsync 1.2 implemented
* Timeout for external SD card changed to improve handling of crappy SD cards
* Custom boot animation support
* Swap supported (but not recommended, use zRam instead)
* init.d support (in /system/etc/init.d - set correct permissions! No support for Zipalign scripts for good reasons!)
* NTFS (read-only access only!) compiled as a module
* CIFS compiled as a module
* NFS compiled as a module
* XBox controller support as module
* USB OTG Ethernet (Asix) support as module
* exFat support switchable (switch it off if you do not need it)
* Battery monitor wakelocks reduced
* Kernel can root if required (create file "autoroot" on internal sd and reboot)
* Android logger can be disabled
* Kernel logging can be disabled
* Disabled various debug logs and traces
* Frandom compiled as a module (for mods like Crossbreeder)
* Automatic EFS backup to external (priority) or internal SD Card (fallback)
* Kernel initialisation log file (with history of 3 log files)
* Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
* Compatibility to common standard apps (Voltage Control, SetCPU, System tuner etc.)
* Compiled with Google arm 4.8 toolchain
* Internal kernel busybox version 1.24.1
* Added support for broken m5c73m3 camera firmware
* Fixed non-working MDNIE negative mode (change in v2.x for KK only)
* WiFi working on JB bootloader! (related to v2.x for KK only)
* Support for external USB web cams enabled
* Mali driver updated to r3p2 rel4 (related to v2.x for KK and all CM12.x, CM13.x, LOS14.1)
in addition added by me ZaneZam (partially taken from civatos SphereEngine and SphereKat projects – thx and credits to him!):
* Configurable touch to wake with S-Pen Support (JB+KK+CM12.x+CM13.x+LOS14.1)
* Implemented double-tap-to-wake (aka knockon - this is NOT how the LG G2 works, it just replaces
the single tap in existing touch wake by a double tap) (JB+KK+CM12.x+CM13.x+LOS14.1)
* Strip the Wireless modules of debugging for size (JB+KK+CM12.x+CM13.x+LOS14.1)
* Brought back Triangle Away Support (JB+KK)
* Added intelligent writeback (JB+KK+CM12.x+CM13.x+LOS14.1)
* Update battery driver to work correctly on JB bootloader (fixed LPM mode - change in v2.x for KK only and might not work on every system!)
* SELinux included full compatibility and set to enforcing like in stock roms as default (change in v2.x for KK and all CM12.x+CM13.x+LOS14.1)
* Mobicore included (change in v2.x for KK only)
* Added new GPU control interface (5 frequencies and voltages) for new mali drivers (change in v2.x for KK+CM12.x+CM13.x+LOS14.1 only)
* Added support for 'fun with resistors' (http://forum.xda-developers.com/showthread.php?t=820275) (JB+KK+CM12.x+CM13.x+LOS14.1)
* Added missing Samsung SideSync USB Gadget (JB+KK+CM12.x+CM13.x+LOS14.1)
* Added Support for USB keyboard app (CM12.1+CM13.x+LOS14.1)
* Added Intelli Plug and use that instead of native kernel hotplug support for legacy governors (JB+KK+CM12.x+CM13.x+LOS14.1)
(=Hotplug support for all non-hotplug-able governors via included intelliplug v1.6 and this will be enabled when switching to such a governor)
Special Note 8 Info:
* S-Pen Alignment fix included (By original JB Samsung/CM Sources and also added to KK Sources)
* Memory Leak fixes included (By original JB+KK Samsung and CM Sources)
* Added Security fix CVE-2013-6282 (CM12.1)
* Added Security fix CVE-2015-3636 (CM12.1)
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de (offline, project EOL)
want to live on the edge?
checkout Unoffical Boeffla Kernel Linaro Builds
Lord Boefflas Objective
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
I will, also in future, only add features that make sense to me personally as well and are not against my initial objectives. You can always raise your wishes and requests, however there is absolutely no guarantee it will be implemented.
Quote Lord Boeffla:
This said, I will definitely NEVER implement:
dual boot (I do not need it)
f2fs - it is known to cause various issues and compatibility problems
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it. Everything else I am happy to check and decide.
Click to expand...
Click to collapse
So i (ZaneZam) won't do that either but all the things Lord Boeffla decides to implement in the future will of course find their way into this kernel as long as it is possible to implement them plus/minus some little things i might find useful for the Note 8 devices but at the end always respecting Lord Boefflas Objective!
Compatibility
To reiterate it again: This kernel is only for Samsung based Jelly Bean (Android 4.2.2) and Samsung based Kit Kat (Android 4.4.2/GT-N5100 4.4.4) firmwares. Since 26.04.15 there are also CM12.x,CM13.x,LOS14.1 versions available. It is not designed to run on AOSP based roms!
SPECIAL NOTE ABOUT NEWER STOCK ROMS: to be able to use the KitKat kernel builds with newer roms like XXDNH2 or XXDNH3 stock roms or based ones u will need to patch your rom beforehand. due to mali API changes in these roms booting with custom kernels isn't possible. so you can now checkout and install civatos fix HERE (many thx and credits to him!) after patching the rom the kernel should boot fine! <-- 10.04.15 since kernel version 2.2 obsolete as it has been "fixed" in the kernel itself. nonetheless if u still face issues with newer roms then u can use civatos method in addition but for now it's not needed to boot the kernel on newer roms.
Kit Kat 4.4.4:
Since version 2.1 stable this kernel is compatible with the XXDNL5 rom for GT-N5100 devices.
CM12.x:
Since 26.04.2015 there are also CM12.0 and CM12.1 versions for GT-N5100 and GT-N5110 devices available. these are compatible with offical CyanogenMod 12.x roms and based ones.
CM13.x:
Since 17.04.2016 there are also CM13.0 versions for GT-N5100 and GT-N5110 devices available. these are compatible with offical CyanogenMod 13.0 roms and based ones.
Since 01.05.2016 there are also CM13.0 versions for GT-N5120 devices available. these are compatible with offical CyanogenMod 13.0 roms and based ones.
LineageOS 14.1:
Since 13.01.2017 there are also LineageOS/CM14.1 versions for GT-N5100, GT-N5110 and GT-N5120 devices available. these are compatible with offical LineageOS 14.1 roms and based ones.
Note: You need at least version 2.4.19 of Boeffla-Config V2 to allow all functionalities to be available.
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from here: DOWNLOAD (offline, project EOL)
Donation
If you like my work, feel free to donate via XDA developers: Donation-Link or via link on Homepage (offline, project EOL)
Or, just purchase the donation version of the Boeffla-Config app, which also gives you some extra features.
Yeah go on folks donate for this great Dev!! :good:
Source code
All sources can be found in my Github repository: https://github.com/zanezam
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* Andip71
* Yank555
* Hardcore
* Chainfire
* DerTeufel
* Harunjo
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Supercurio
* Mialwe
* Entropy512
* Faux123
* civato
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
And special thanks from me to my friend Andi for letting this kernel-port exist „under his hood“ by providing it on his homepage and for supporting it in his Config App! Appreciate that much!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in CWM recovery and safely store your personal data before you flash a new kernel.
One last important note from me ZaneZam:
This is a contribution to the Boeffla Kernel project and not my own project! This port was made in agreement with Lord Boeffla but not by himself! I will support this ported version as good as i can, Lord Boeffla will not as he doesn't support versions for devices he doesn't own! So please if you have device specific questions ask them here and not in any other boeffla kernel thread, thanks!
Cheers and now enjoy the power of Boeffla on the Note 8!
ZaneZam
reserved 1
reserved 2
reserved 3
Give this guy his cookie, can't wait till Samsung releases the KK kernel source to try this baby out.
yeah i'm waiting too to be able to start from scratch
Been waiting for this thank you.....tested kernel on civatos rom, works great no issues at all.battery life and performance are great. Boffella sound is awesome and the boffella config gives a little more control over audio than just boffella sound. Would love to see a aosp kernel with these features since no current 4.4.2 aosp or cm kernels have boffella sound working. I downgraded from 4.4.2 for this kernel and happy I did.... Thanks
Have flashed it on my N5100 running latest X-Note ROM.
After first flash, my screen was flickering.
Then I did cache and dalvik wipe and flashed again.
Now no flickering any more, but my GSM doesn't work any more.
So back to civz kernel.
Gesendet von meinem GT-N5100
blowy666 said:
Have flashed it on my N5100 running latest X-Note ROM.
After first flash, my screen was flickering.
Then I did cache and dalvik wipe and flashed again.
Now no flickering any more, but my GSM doesn't work any more.
So back to civz kernel.
Gesendet von meinem GT-N5100
Click to expand...
Click to collapse
first of all thx for your braveness *gg* and thx for the report!
as said unfortunately i cannot test versions other then the N5110, so i rely on your reports.
but maybe i can pinpoint the problem with your help at least if you still are willing to help,
that would be great but also isn't a problem if u refuse
another one with such a problem on GT-N5100 or GT-N5120?
ZaneZam said:
first of all thx for your braveness *gg* and thx for the report!
as said unfortunately i cannot test versions other then the N5110, so i rely on your reports.
but maybe i can pinpoint the problem with your help at least if you still are willing to help,
that would be great but also isn't a problem if u refuse
another one with such a problem on GT-N5100 or GT-N5120?
Click to expand...
Click to collapse
One thing I noticed that is very important to me is docking mode is no longer supported with this kernel. Switch to civatos kernel it works again.dock mode supports USB host charging and HDMI at the same time all u need to do is place a 65k resistor between Id pin and ground on ur USB host cable.....very important to me since tablet is used in my car as a head unit... I'd appreciate any help.Maybe s3 uses a different resistance?
b3ltazar said:
One thing I noticed that is very important to me is docking mode is no longer supported with this kernel. Switch to civatos kernel it works again.dock mode supports USB host charging and HDMI at the same time all u need to do is place a 65k resistor between Id pin and ground on ur USB host cable.....very important to me since tablet is used in my car as a head unit... I'd appreciate any help.Maybe s3 uses a different resistance?
Click to expand...
Click to collapse
actually to be as near as possible to boeffla kernel I didn't activate it in config but will check that for u and maybe we have an beta 2 soon!
I appreciate that . I really want to get into kernel dev. I built a few windows 7 moded os. But seems u need Linux experience I only have some backtrack experience. Thanks for the reply. I'm always open to testing
b3ltazar said:
Been waiting for this thank you.....tested kernel on civatos rom, works great no issues at all.battery life and performance are great. Boffella sound is awesome and the boffella config gives a little more control over audio than just boffella sound. Would love to see a aosp kernel with these features since no current 4.4.2 aosp or cm kernels have boffella sound working. I downgraded from 4.4.2 for this kernel and happy I did.... Thanks
Click to expand...
Click to collapse
So you know my JB kernel also support Boeflla.
Second I'm test building Kitkat kernel.
Already working is:
Exfat
Cifs
Wifi
Cpu OC up to 1.92GHz and UC to 100MHz
CPU voltage control
S_Pen alignment fixed
RTL28.. USB modem support
Various Fixes in memory leaks
DynamicFsync
ZZmoove & lulzactive governor added
row, vr, sio shedulers added
and all of this without samsung source thanks to a help full eye of one of my users
More to come...........public release?
civato said:
So you know my JB kernel also support Boeflla.
Second I'm test building Kitkat kernel.
Already working is:
Exfat
Cifs
Wifi
Cpu OC up to 1.92GHz and UC to 100MHz
CPU voltage control
S_Pen alignment fixed
RTL28.. USB modem support
Various Fixes in memory leaks
DynamicFsync
ZZmoove & lulzactive governor added
row, vr, sio shedulers added
and all of this without samsung source thanks to a help full eye of one of my users
More to come...........public release?
Click to expand...
Click to collapse
thx for the info civato, i think he knows that already as he used/uses your kernel btw i was going to contact you about your JB sources as i missed an updated repo in your github account, or am i blind? could u please give me some hint? and here again: thx for all your work! :good:
[*]and all of this without samsung source thanks to a help full eye of one of my users
Click to expand...
Click to collapse
-> very interesting!
ZaneZam said:
thx for the info civato, i think he knows that already as he used/uses your kernel btw i was going to contact you about your JB sources as i missed an updated repo in your github account, or am i blind? could u please give me some hint? and here again: thx for all your work! :good:
-> very interesting!
Click to expand...
Click to collapse
Yep sorry I noticed that 4.2.2 kernel source hasn't been updated, just no time.
When I finish my KitKat kernel I will upload the source to github.
Will try to do that this weekend.
yeah i know that "time thingy" very well! thx looking forward to your update.
ZaneZam said:
yeah i know that "time thingy" very well! thx looking forward to your update.
Click to expand...
Click to collapse
Still running this kernel working good. Battery life is amazing. Hopefully u can get docking mode figured out when u have time.
I'm surprised there aren't more people interested in this kernel. Give it a try with civs 4.2.2 build u won't regret it.
New Version v1.0 beta2 available!
Hi Guys,
a new beta is available!
as usual you can get it HERE or via Load & Flash functionality in Boeffla Config App
Changelog:
Version 1.0-beta2
22.06.2014
Update to zzmoove 0.9-beta2 (ZaneZam)
Speedup late resume for faster wakeup of the device (credits to Yank555)
A few performance tweaks (Lord Boeffla)
Fix n_tty_write crash when echoing in raw mode (Lord Boeffla)
Update su to version 2.00 (Lord Boeffla)
Update to latest changes in Boeffla ramfs (ZaneZam)
Fix compatibility issues by changing Samsung ramfs to the original n5100/n5120
(XXCMK1) rom versions (ZaneZam for n5100 and n5120 builds)
Enable audio/smart dock mode for MAX77693 chip to support 'fun with resistors'
(http://forum.xda-developers.com/showthread.php?t=820275) (ZaneZam)
enjoy!
ZaneZam said:
Hi Guys,
a new beta is available!
as usual you can get it HERE or via Load & Flash functionality in Boeffla Config App
Changelog:
Version 1.0-beta2
22.06.2014
Update to zzmoove 0.9-beta2 (ZaneZam)
Speedup late resume for faster wakeup of the device (credits to Yank555)
A few performance tweaks (Lord Boeffla)
Fix n_tty_write crash when echoing in raw mode (Lord Boeffla)
Update su to version 2.00 (Lord Boeffla)
Update to latest changes in Boeffla ramfs (ZaneZam)
Fix compatibility issues by changing Samsung ramfs to the original n5100/n5120
(XXCMK1) rom versions (ZaneZam for n5100 and n5120 builds)
Enable audio/smart dock mode for MAX77693 chip to support 'fun with resistors'
(http://forum.xda-developers.com/showthread.php?t=820275) (ZaneZam)
enjoy!
Click to expand...
Click to collapse
Just to make sure, this still doesn't support TW KitKat Roms? I read in the OP that is for jellybean roms.

[64-bit][KERNEL][UBER-TC][15 Oct]Spirit.Kernel r3 [CAF]

[64-bit][KERNEL][UBER-TC][15 Oct]Spirit.Kernel r3 [CAF]
Spirit Kernel
This kernel works on all the latest roms available which require new kernel source.
Statutory Warning: This kernel is not a feature bloated kernel like other kernels available, if you like tons of govs/io and hotplugs all in one and if you like to blow up your device, then you are at the wrong spot. This kernel will be minimal and only necessary features will be added.
A while back my users requested me to make a kernel which supports new ROMs(as few of them fail to). So I have decided to make a kernel which contains essential features along with stability and smoothness.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests, don't hesitate to post it here!! I will consider if I like it​
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 etc, optimized for tomato to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]CAF Patches by Abhinav
[*]Governors: stock for now
[*]Hotplug: ThunderPlug 2.5
[*]KCAL Driver by savoca
[*]Powersuspend by faux123
[*]FRandom module
[*]Adreno Idler by arter97
[*]Advanced TCP Congestion
[*]Built using UBER TC
[*]LMK Optimizations
[*]Graphite flags
[*]ANY Kernel zip
[*]And other opts
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
TO-Do List
New Govs and I/Os
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the Spirit.Kernel-rx-tomato.zip
Install and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:cm-12.1-amss-1.0.2)
Wiki containing changelogs,settings and more
Credits goes to these SUPERHUMAN for Inspiration and support (In no specific order)
Varun Chitre
Abhinav Jhanwar
arter97
faux123
yank55lu
savoca
cyanogen
And my supporters
And more
XDA:DevDB Information
Spirit.Kernel for YU Yureka, Kernel for the YU Yureka
Contributors
DC07
Source Code: https://github.com/DC07/spirit_msm8916
Kernel Special Features: CAF,KCAL,ThunderPlug,Adreno Idler and much more
Version Information
Status: Stable
Created 2015-10-10
Last Updated 2015-10-15
Does it support miui
DC07 said:
and if you like to blow up your device
Last Updated 2015-10-10
Click to expand...
Click to collapse
What do you mean ?
Does a bloated kernel 'blows up' device ?
baratheon16 said:
What do you mean ?
Does a bloated kernel 'blows up' device ?
Click to expand...
Click to collapse
adding unnecessary features and modifying codes without knowing anything does.
for eg. adding 4-5 hotplugs (enabled by default) and all working at once does.
Regards
Update is live.
Changelog
Dynamic FSync
ThunderCharge Control from Varun Chitre
Added Darkness governor
-OFast flags for more opt
Arch Power
vegas tcp tweak
Removed wlan.ko which was accidentally added
For more check github.
Enjoy.
Update is live
======r3=====
What's new?:
* F2FS and NTFS Support
* SWAP Support
* Enable all CPU cores while boot for quick boot
* kill some logspam
Changelog:
a47e11c spirit: use all cores on-boot for faster bootup
184bd1a moar changes
addc11d spirit: rework build script and bump to r3
9d5f29e spirit: add changelog.sh
52fcf5b spirit: Add NTFS Support
031757e Revert "dts : use all cores on-boot for faster bootup"
19b2c34 spirit: enable swap
701bcef mm: page_io.c: remove write error messages for swap devices
db6f10b mm/zswap: NUMA aware allocation for zswap_dstmem
122a852 mm/zswap.c: remove unnecessary parentheses
a37407a mm/zswap: support multiple swap devices
fa8792d mm/zswap.c: update zsmalloc in comment to zbud
58374d9 mm/zswap.c: fix trivial typo and arrange indentation
b1a1ec6 mm/zswap.c: change params from hidden to ro
2d81f29 mm/zswap: refactor the get/put routines
a664710 vnswap: integrate vnswap from Samsung
0a12121 mm/zswap: bugfix: memory leak when invalidate and reclaim occur concurrently
431421d mm/zswap: avoid unnecessary page scanning
4eeb42b mm/zswap: bugfix: memory leak when re-swapon
9a8de22 mm/zswap: use postorder iteration when destroying rbtree
65a7d5a mm/zswap.c: get swapper address_space by using macro
8af692f dts : use all cores on-boot for faster bootup
10b0414 spirit: updates to build.sh
699223a tomato: Enable f2fs
7986854 arm64: Kill logspam
Download: https://basketbuild.com/filedl/devs?dev=DC07&dl=DC07/Spirit/tomato/Spirit.Kernel-r3-20151015.zip
=====r3=====
Enjoy.
can we flash this on stock yureka rom! cm 12.1??
rishivg said:
can we flash this on stock yureka rom! cm 12.1??
Click to expand...
Click to collapse
It won't work on stock COS.
It works on AOSP and CM based roms
does it work for yureka plus?
does it work in blisspop rom
adamnp2000 said:
does it work in blisspop rom
Click to expand...
Click to collapse
Yea... It does... I am using it right now with blisspop
kdhupar0 said:
does it work for yureka plus?
Click to expand...
Click to collapse
yes, it does
Can you give us a daily usage setting for the kernel, please?
fanatic75 said:
Can you give us a daily usage setting for the kernel, please?
Click to expand...
Click to collapse
Check op
Work with cm13 ?
Any update @DC07?
Sent from my AO5510 using Tapatalk
This kernel is good but yureka plus is too damn slow on darkness governer.. Have to keep it on performance.. Any settings for a balanced usage without lags and good battery backup??
Thanks for the kernel.. ??
Does it supports MIUI 7?
Pls add 2.0ghz oc
DC07 said:
It won't work on stock COS.
It works on AOSP and CM based roms
Click to expand...
Click to collapse
So not compatible with Stock CM12.1 rom
Correct

[KERNEL][G850F] duki994 Kernel v1.4 - final [LP][STOCK]

duki994 Kernel for Stock TouchWiz LP ROMs​
A personal project that had good results and I wanted to share it with others
It's based on official Samsung sources for Lollipop firmware.
Important note:
This kernel should work on any custom ROM that is stock lollipop based
Features:
* Wolfson Audio control (thanks to @AndreiLux)
* Battery charging control (thanks to @AndreiLux)
* CPU voltage control for both A7 and A15 cluster (thanks to @AndreiLux)
* Exposed all OPP voltage controls (thanks to @AndreiLux)
* Powersuspend v1.7 by @faux123 and @Yank555
* LMK, MM and FS powersuspend mods ported from @dorimanx's LG G2 kernel
* SCHED code fixes
* SCHED: HMP thresholds changed and new patches implemented
* Many changes related to ARM instruction code and lowlevel ARM core management
* Enabled NEON mode in kernel with full VFPV4 support
* Added new SHA256 and SHA512 NEON accelerated algortihms - now blazing fast
* UKSM (Ultra Kernel Samepage Merging) - algorithm that's better optimized than standard KSM
* WiFi standby wakelocks (PNO wakelock) reduced
* WiFi userspace power mode/DTIM change (for advanced users ONLY)
* WiFi driver switched from deprecated earlysuspend to use newer powersuspend driver (this is to fix some of bugs that could lead device kernel crash)
* NET updates
* Enabled all TCP congestion protocols and set Westwood as default (best wireless performance)
* Disabled KNOX
* SELinux disabled in kernel
* Fully configurable in Synapse (download from Google Play)
/* Important note to other devs */
You cannot include this to your ROMs. I can't be responsible if anything goes wrong, I can't help with any issues without knowing kernel version and users should be routed to this thread if they want this kernel, or if you recommend it. I think that it's best to separately view custom ROM and custom Kernel, so each dev (ROM or Kernel one) can work on bugs/features and make it as compatible as it can.
However, you can add this thread link and mention me in your thread, so people would know where to ask if some kernel problem arises
Warranty void
By flashing this kernel you will void your warranty. I'm not responsible if you brick your device, or if someone starts nuclear war.
Note:
Don't change voltages on "Busses" tab if you don't know what you are doing. It can reboot your phone if your memory controllers, ISP or MMC controllers can't handle low voltage.
WiFi pasword resetting fix:
Code:
1. open your build.prop file
2. find line ro.securestorage.support
3. change it from true to false (if not already false)
This line being on true will make your WiFi not work good with this kernel. This is due to Samsung's rooting restriction and other Samsung specific workarounds to stop rooting and flashing. Any custom ROM probably has this line changed to false.
Changelogs:
Version 1.4 BETA
Billion critical updates from my G900H version:
* MM code
* new LMK driver
* Exynos interactive governor updated
* IRQ code revamped
* OF code revamped
* New 8-band EQ sound-control
* Numerous ALSA updates and fixes
* Numerous Wolfson DAC driver updates
* MemInfo code updates
etc. list is enormous
Version 1.3
*MM page allocation changes. and others. Now more than 50% faster page_alloc
*RCU and SRCU updates from S6 and upstream + CAF
*NET updates
*USB fixes and updates
*dma mapping ARM fix
Version 1.2.1
*Synapse
->added ROW scheduler to test (experimental)
*Several BLOCK code updates and typo fixes. Some serious bugs fixed.
*Fully updated ROW I/O sched added (experimental)
Version 1.2
* Synapse:
-> disabled min cpu freq control. not needed.
-> added new I/O schedulers
* Massive updates to BLOCK, SHCED, MM, WORKQUEUE critical code
* Added FIOPS and BFQ I/O schedulers
* EXT4 updates to fix possible kernel crashes
* ZSWAP now uses ultra fast and light on cpu LZ4 compression
* CPUFREQ optimizations
* Updated BFQ, FIOPS, DEALINE scheds with fixes and optimizations
Version 1.1
*Synapse:
* Added live cpu stats for all 8 cores (quad A7 and quad A15 cores)
* Added live CPU temperature monitoring
* Added live battery temperature and health status
* Disabled broken battery input current feature (shows 0mA for our PMIC chip)
* Added misc tab:
+ ability to take logcat,dmesg,last_kmsg
+ HMP Little packing switch ON/OFF and explanation
* Added optimized ARM RWSEM algorithm
* Fixed HMP so HMP little packing would work good with our implementation
* thermal IPA(Intelligent Power Aware) now updates power tables immediately when voltage changed from Synapse
* entropy depletion fixes
* Enabled FRANDOM random number generator module for more entropy and less lag
* Added NEON instruction accelerated SHA256/SHA224 algorithm. Now we have SHA384/SHA512, SHA256/SHA224 and SHA1 algorithms NEON accelerated - blazing fast
* HMP little packing switch for Synapse
Experimental option made by nvidia. It groups tasks so more of them would be scheduled across power saving cores (A7 cores in our CPU). It may or may not save battery depending on your usage.
Downloads:
Here it is
https://app.box.com/s/vt70dzo7fzgnlyik4mxkiaaj7xkhjaot
Special thanks:
@AndreiLux for his awesome Synapse app, audio control, charging control, sources and many features/updates and upgrades to Exynos kernel code
@UpInTheAir for his source that I looked when I had bugs, and for his fixes/workarounds
@dorimanx for inspiring me to start developing and his LMK and MM mods
@bonuzzz for his custom KitKat kernel for Galaxy Alpha and his sources
@apb_axel for UKM and his scripts that helped me a lot in making custom Synapse config
XDA:DevDB Information
G850, Kernel for the Samsung Galaxy Alpha
Contributors
duki994
Source Code: https://github.com/duki994/SM-G850_Kernel_LP/
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 1.0
Beta Release Date: 2016-08-12
Created 2015-11-02
Last Updated 2016-08-12
Reserved
How to build this kernel guide
PREREQUISITES
What you need installed to compile
gcc, gpp, cpp, c++, g++, lzma, lzop, ia32-libs flex
If on 64bit Linux, install gcc multilib
Project folder structure
--project_root/ #### can have any name
-----ramdisk_source/ ## defined by RAMDISK_TMP var in script
-----ramdisk_tmp/ ## defined by RAMDISK_DIR var in script
-----kernel_source/ #### can have any name
-----RELEASE/
TOOLCHAIN INFO
Toolchain is already into kernel dir. You just need to have
correct folder structure and run this script. Everything will be auto-built
FLASHABLE ZIP
Flashable zip will be located in project_root/RELEASE directory
and will have name Kernel-slte.zip
All other explanations here:
https://github.com/duki994/SM-G850_Kernel_LP/blob/master/build_kernel.sh
Clone ramdisk source in ramdisk_source
Clone kernel in kernel_source folder
Be sure to have project directory structure as written above
After that, you just need to run:
sudo bash build_kernel.sh
in kernel folder. And voila. After finished you have Kernel-slte.zip in RELEASE directory
If it show any errors, open kernel source and type in terminal:
chmod -R 755 *
Then repeat sudo bash build_kernel.sh
awesome job, thank you
finally undervolt .. yay
ayamgoreng said:
awesome job, thank you
finally undervolt .. yay
Click to expand...
Click to collapse
When you have time, report how it works
Sent from my LG-D802 using Tapatalk
Is it possible to other variants like Galaxy Alpha SM-G850L Korean? Thanks
duki994 said:
When you have time, report how it works
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
I reduce voltage A15,A7 (every speed) by roughly 20mv
gaming (coc,asphalt,etc) for roughly 1 hour; result=stable :good:
edit: volume in the audio also work, louder headphone.
Thanks, I'll try it.
how the battery with this kernel?
gtrs36 said:
Thanks, I'll try it.
how the battery with this kernel?
Click to expand...
Click to collapse
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
exaflare said:
Is it possible to other variants like Galaxy Alpha SM-G850L Korean? Thanks
Click to expand...
Click to collapse
I have no access to G850L model. I don't know if it will work.
During this week, if I have enough time, I'll download G850L source and build it with all mods/features and give you to test it
thanks duki994.
which app I need install to control on the kernel?
hi!
1. how do You undervolt by 20mv, in synapse i have steps like 1x,xxMv and can set up -25Mv??
2. I have strange warning message after installed this kernel. it says phone needs to reboot. after reboot the same. just annoying
duki994 said:
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
Click to expand...
Click to collapse
did you UV or what settings did you use ?
m_p11 said:
hi!
1. how do You undervolt by 20mv, in synapse i have steps like 1x,xxMv and can set up -25Mv??
2. I have strange warning message after installed this kernel. it says phone needs to reboot. after reboot the same. just annoying
Click to expand...
Click to collapse
1. Our voltage regulator accepts 6.25mV step. So you can UV/OV in multiples of 6.25. When you do math, 6.25mV x 4 = 25mV
You can't UV -20mV. You can UV -18.75m (3 x 6.25mV). Next step is -25mV (4 x 6.25mv).
Ursurobertt said:
did you UV or what settings did you use ?
Click to expand...
Click to collapse
No UV. All stock. Only changed earpiece volume (incall speaker volume) to higher (+4dB if I recall good from this morning). It's for better hearing incall
UV generally doesn't reduce battery consumption (it's maybe 1%-3% less power usage). Real benefit of UV is lower CPU heat and prolonged life of motherboard.
Some chips can't handle UV at all. Some can be UV by as much as -150mV. It all depends on specific chip that came out of fabric process. Note that UV brings instability on some devices.
Sent from my LG-D802 using Tapatalk
duki994 said:
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
Click to expand...
Click to collapse
hi dude
what setting are used on your father Alpha,stok or I should change in synapse
hensk said:
hi dude
what setting are used on your father Alpha,stok or I should change in synapse
Click to expand...
Click to collapse
Look at post above yours. I explained everything
Sent from my LG-D802 using Tapatalk
recent button does not works after flashing this kernel.. recent button works fine with stock kernel...
likhon02 said:
recent button does not works after flashing this kernel.. recent button works fine with stock kernel...
Click to expand...
Click to collapse
On which ROM are you? Everything works for me on stock. I have to see if anything changes it.
Did you set secure storage to false in build prop?
I'l automate that in next build.
Kernel doesn't mess with options like recent buttons and Java written parts of Android OS.
Sent from my LG-D802 using Tapatalk
duki, you didn't answer to my question.
gtrs36 said:
duki, you didn't answer to my question.
Click to expand...
Click to collapse
Please read OP before asking. Everything is said there.
Synapse is the app with which you can change settings of this kernel.
duki994 said:
On which ROM are you? Everything works for me on stock. I have to see if anything changes it.
Did you set secure storage to false in build prop?
I'l automate that in next build.
Kernel doesn't mess with options like recent buttons and Java written parts of Android OS.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
I am on ozcan rom 4.1. my recent button only works with Nordic based stock which is NEE G850FXXU2COI3 5.0.2 11.09.2015 5614954 and ozcan rom..and with any other rom like rr and cm12.1 my recent button does not work.. secure storage is false by default on build.prop .

[DISCONTINUED][kernel][J Series 2015][TW-MM] hadesKernel v2.5R [06.06.2017]

Code:
Disclaimer
#include
*
* [B]Your warranty is now void.[/B]
*
* 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. Hard. A lot.
*/
Welcome to hadesKernel
Some personal thoughts:
- this kernel works only on J5 2015 versions. I`m not responsable for what can happen if you flash on other devices.
- v2.3 for J5 already includes all the previous things from A5 releases.
- if you take any of my work without my permission i'll report you, and you'll probably get banned.
- you should read at least install instructions stated in this post - i won`t offer support for any issues regarding installation;
- bug reports without device variant and logs can't be considered bugs - make sure you provide detailed info when reporting bugs;
- press 'Thanks' button instead of saying it - it will keep the thread clean and keep me motivated to do more;
- feel free to donate to me if you want to support my work.
Features:
Aroma Installer with root options
SuperSU 2.79 SR3
Magisk v12.0
OTG support enabled
Private mode (for roms that support that feature)
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
CPU overclock to 1.5Ghz
GPU overclock to 720Mhz
J500HXXU2BPK4 update - December security patches
Adreno Idler
intelli_thermal
nvidia relaxation patch
undervolt
Color calibration
prima wlan driver
fast, stable and cool
Latest ramdisk
Permissive kernel
init.d support
maybe more - will update when remember...
Devices:
J500F
J500FN
J500G
J500M
J500H
Bugs:
None (see FAQ on #3 post for any issues)
Instructions:
make sure you have TWRP from here installed (or any other with Aroma Installer support)
download zip and put it into phone's storage
enter TWRP recovery
flash zip
reboot and enjoy
Downloads
Credits:
*DjSteve
*Lord Boeffla
*psndna88
*Bulgaricus
*SuperR
*Faux123
*duki994
*kernel testers
*if i missed someone PM me and i`ll add
XDA:DevDB Information
hadesKernel v2.5, Kernel for the Samsung Galaxy J5
Contributors
corsicanu
Source Code: https://github.com/corsicanu/hadesKernel
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: v2.5
Beta Release Date: 2017-04-26
Created 2017-02-21
Last Updated 2017-07-03
Reserved
Changelog:
v2.5R - 06.06.2017
fixed private mode for roms that support this feature
v2.5 - 26.04.2017
fixed heating on A500G
fixed wifi
re-fixed camera for J5 family
added i/o schedulers back
v2.4 - 25.04.2017
kernel built permissive to avoid some issues
updated ramdisk to latest official fw
added root options in Aroma
added Magisk as root option
removed charging limit for some devices
disabled modules unload
reworked modules implementation,
*now you can switch to any other kernel without wifi or FM Radio issues
reworked knox 0x0 script
revert update to linux 3.10.60 for now
revert add more governors for now
revert add hotplugs for now
revert add i/o schedulers for now
v2.3 - 05.04.2017
fixed camera focus for J series
added support for A500W and A500K
updated to linux 3.10.60
added more governors (alucard/lionfish/barry_allen/intelliactive - these can be unstable-use interactive if you have issues)
added hotplugs (intelliplug/bricked hotplug/alucard/msm_hotplug)
added i/o schedulers (vr/fiops/sioplus/zen) and set FIOPS as default
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
updated powersuspend
ramdisk tune-ups
cpufreq tune-ups
memory/cache tune-ups
v2.2 - 20.02.2017
added support for J5 2015 (J500xx)
added usb fast charge
made cubic tcp default for better net speeds
disabled software CRC for better performance
optimized framebuffer for better performance
added regulator for overclock
undervolted for better battery
lowered safe frequency from 400 to 200mhz
A5S deepsleep fix
added nvidia relaxation patch for better battery
enhance power efficiency
implement fast idling of CPU
reduced high-load and average-load for better battery
enabled arch_power
lowered throttle threeshold and enable it by default
v2.1 - 10.02.2017
Fix FM Radio
Fix OTG for all versions
Fix overheating issues for G
Add support for A3FU
Add SuperSU-v2.79-SR3
v2.0 - 25.01.2017
J500HXXU2BPK4 update - December security patches
Add support for A500H/A500S versions
Add builtin wlan module
Add westwood tcp and make cubic default again
Adreno Idler 1.1, fixed msm_adreno_tz
Add powersuspend
More msm-thermal tweaks
kernel: reduce overheat
Enable multi-core power savings
Add SuperSU SR5 back
Fix Deepsleep for F/G/M
Add 50Mhz and 100Mhz frequencies for low consumption when awake (AOD)
Add dynamic sync 2.0
Add lcd notify
xz: Optimize Sfck Compression
Added Aroma Installer
v1.4 - 22.12.2016
Fixed wifi again for each version
Multitask and battery optimisations + permissive mode enabled
Fix for frequencies not sticking at boot
ramdisk cpu / io / battery tune-ups
Add specific ramdisk for each supported variants
Separate SU from ramdisk
Fixed Kcal (color calibration)
V1.3 - 15.12.2016
add KCAL driver
4sysctl: favor filesystem
GPU OC to 720Mhz
Reverted CPU OC to 1.5Ghz
Fixed wifi for A500G
V1.2 - 11.11.2016
A500FU SuperSU SR3 patch + init.d support
SuperSU SR3 patch + init.d support
Experimental wifi fix
A500FU support
Switch to CUBIC TCP congestion control
arch/arm : compile with hardfloat + neon-vfpv4"
Tune-up for Cortex A53/ARMv8 architecture
V1.0 - 08.11.2016 - initial release
A500GXXU1CPH4 update
OTG and permissive enabling
free-mem optimisations
added SU patched ramdisk
2.07Ghz CPU OC
Enable neon and VFPv3
enable xz compression
Reserved
FAQ:
Q: My wifi is broken after flash. What to do?
A: Flash latest modem available for your device.
Q: Can`t connect to wifi network. What to do?
A: Reboot the phone, reboot the wifi router/ap, make sure you don`t have mac filtering enabled on ap/router.
Q: MAC adress has changed. What to do?
A: There is nothing you can do. That happens because of newer wifi module, built along with kernel, from the latest sources. If you can`t connect see Q2 above. I won`t change back to legacy wifi modules, at least not now.
Q: Device appears as "unauthorized" in adb and notification to authorize doesn`t appear. What to do?
A: Enter developer options, disable usb debugging, wait 30 seconds and re-enable it. Now you should see the notification to allow debugging.
Q: loading
A: loading
One more just in case of need
Deleted.
#Henkate said:
It's nice to see you here.
Click to expand...
Click to collapse
Multumesc!
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Thanks @corsicanu ..
I'm using this kernel on my Stock 6.0.1 rom & I must say that this is one of the best kernels for J5.. Its very fast & stable..
Thank You So Much..
---------- Post added at 09:04 AM ---------- Previous post was at 08:59 AM ----------
By Zonik said:
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Click to expand...
Click to collapse
Hi @By Zonik ..
Waiting for your rom (v2) bro..
Some q's
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
does it support skies rom beta ??
corsicanu said:
One more just in case of need
Click to expand...
Click to collapse
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
For me the link doesnt work i just get this:
YuZaGa said:
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
Click to expand...
Click to collapse
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
Super.Mody said:
does it support skies rom beta ??
Click to expand...
Click to collapse
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
paulo boë said:
For me the link doesnt work i just get this:
Click to expand...
Click to collapse
Just wait more or refresh the page.
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Cheers!
Sent from my SM-N930F using Tapatalk
OMG ITS SO SMOOOOOOTTHHHHH. I bearly have any lag:laugh::victory:
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
corsicanu said:
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
You can see the GPU frequency in real time by using these commands in Terminal (PC):
Code:
adb shell
cd /sys/devices/soc.0/1c00000.qcom,kgsl-3d0/devfreq/1c00000.qcom,kgsl-3d0
while true; do cat trans_stat; busybox sleep 0.1; done
1) The path may be different.
2) The current GPU frequency is the one with the asterisk.
3) Total transictions means the total switches between GPU frequencies.
Try these commands to confirm that the GPU frequency is stuck at 720.
We can bring the current fast charging also on custom roms or even improve the fast charging to support custom mAh and stuff like that. But forcing a battery to charge faster than it's limit can demage and reduce the battery life drastically so I think we will leave it just like that. Greetings
corsicanu said:
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Click to expand...
Click to collapse
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
corsicanu said:
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Just wait more or refresh the page.
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Click to expand...
Click to collapse
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Super.Mody said:
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
Click to expand...
Click to collapse
Grace UX is touchwiz based. Non tw roms are lineage, cyanogenmod, or any other that uses AOSP as base.
Sent from my SM-N930F using Tapatalk
Demicro said:
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Click to expand...
Click to collapse
I removed it from features/changelog since isn`t activated yet. I saw too late in msm8916 defconfig the CONFIG_THERMAL_MONITOR=y so the intelli_thermal isn`t there yet. I can`t even finish the build (lots of errors), and you have errors in logcat ?. You are way far than me. For now i didn`t had time to chase those errors. I`ll look more maybe next week. Anything else interesting in my source? ?
Cheers!

[CLOSED][KERNEL][Affinity Kernel][OP5/5T][OOS/Custom][4.4.178][6 Apr]

Introduction:
Affinity Kernel is a custom kernel based on the latest Stable Linux 4.4 release from kernel.org.
This kernel is developed with performance and great battery life in mind offering some goodies cherry-picked from other popular kernels such as Flash Kernel, ElementalX, blu_spark, Boeffla Kernel, Sultan Kernel and Franco Kernel.
The kernel is always up to date with mainline linux kernel and is regulary updated with the latest fixes.
The goal is to provide a butter smooth experience, simmilar to what you get with the latest Pixel devices.
Affinity Kernel is based on the official kernel source released by OnePlus.
Code:
/*
* Your warranty is not void (Thank you OnePlus!).
*
* 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.
*/
Features:
Upstreamed to the latest Linux Stable 4.4.x
Upstreamed to the latest CAF tag LA.UM.6.4.r1-11500-8x98.0 & LA.UM.7.4.r1-04800-8x98.0
Tunable with Kernel Adiutor and others
Additional CPU gorvernors
Sound Control
Adreno Idler by @arter97
Full WireGuard implementation
Sweep2Sleep gesture
Fast charging on USB
FS fsync toggle (enabled by default)
Additional IO schedulers (Maple, FIOPS, SIO, ZEN)
Qualcomm MDSS v2 (sRGB + KCAL)
dm(avb)-verity disabled
Faster app cold-launch
IO Tuning
Optimized with oFast and O3
Westwood TCP algorithm as default
Full Treble compatibility with Treble related fixes
Individual Input Boost frequency for each cluster
Disabled the BCL battery driver
Backlight Dimmer by @flar2
Boeffla Wakelock blocker v1.1.0
CDROM emulation
init.d support
ARM target optimizations
Passes SafetyNet check
Crypto Routines optimizations
High Brightness mode
Adreno driver improvements
EAS
Dynamic SchedTune Boost v3
KLAPSE Driver
Decreased swappiness
Installation:
Before you install the kernel, make sure you have
a backup of boot partition in case something goes wrong!
If you are coming from stock kernel:
Reboot into TWRP
Flash the Affinity Kernel.zip
Reboot
If you are coming from another custom kernel:
Reboot into TWRP
Dirty flash your rom or restore boot backup if you have any
Reboot recovery
Flash the Affinity Kernel.zip
Reboot
Updating:
Just flash the latest Affinity Kernel build over the previous one
Downloads:
{Mod edit}
On ROMs like Dirty Unicorns, WLAN won't work because the wlan module is required
to load on device initcall rather than late initcall like other ROMs do. There's a workaround for it but
it breaks WLAN on all ROMs that have the module built inline or the CAF way
{Mod edit}
Thanks to:
@joshuous for his EAS commits and Dynamic Sched Boost
@osm0sis for his AnyKernel2 installer
@nathanchance for his android-linux-stable project and helping me
@Lord Boeffla for Boeffla Wakelock Blocker and LED control
@Sultanxda for his fixes and other stuff
@eng.stk for his tweaks
@flar2 for his Sweep2Sleep gesture driver
@tanish2k09 for KLAPSE Driver
And all those folks contributing to Linux Kernel
XDA:DevDB Information
Affinity Kernel, Kernel for the OnePlus 5T
Contributors
LinuxUser0227
Source Code: https://github.com/hejsekvojtech/Affinity-OnePlus5
Kernel Special Features: Fast, Battery friendly, Stable, Up to date
Version Information
Status: Stable
Created 2019-02-20
Last Updated 2020-04-28
I'll take this one
And this one
Thanks for the work, ill give it a try.
2 thing that bugs me are:
1- isnt restoring stock boot.img removes custom recovery and replaces it with stock one?(had that problem before)
2-is the kernel(pie) eas or hmp?
finally:good:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------
directorli said:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
Click to expand...
Click to collapse
I'm using least oos ob24.
gsser said:
Thanks for the work, ill give it a try.
2 thing that bugs me are:
1- isnt restoring stock boot.img removes custom recovery and replaces it with stock one?(had that problem before)
2-is the kernel(pie) eas or hmp?
Click to expand...
Click to collapse
1. Yes but it's better to do a backup of boot that has Magisk installed so you don't have to reflash TWRP
2. Since r20 it's EAS based
directorli said:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------
I'm using least oos ob24.
Click to expand...
Click to collapse
Haven't seen such behaviour yet, some users reported that it works perfectly on both 5 and 5T.
If I'm coming from a kernel like bluspark, I must flash the stock boot img first, correct? Where can I find this?
Amisuta said:
If I'm coming from a kernel like bluspark, I must flash the stock boot img first, correct? Where can I find this?
Click to expand...
Click to collapse
Dirty flash your rom
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Sent from my OnePlus5T using XDA Labs
gsser said:
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Click to expand...
Click to collapse
How many sot do you get?
gsser said:
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Click to expand...
Click to collapse
Minimum frequency is 518 and 806 because Qualcomm did it so people follow it
sleepwalking0593 said:
Minimum frequency is 518 and 806 because Qualcomm did it so people follow it
Click to expand...
Click to collapse
Qualcomm or OnePlus? (Not doubting you genuinely curious)
haikalzarith said:
How many sot do you get?
Click to expand...
Click to collapse
8 and 17 standby
Sent from my OnePlus5T using XDA Labs
1 hour of youtube
Sent from my OnePlus5T using XDA Labs
Heisenberg420 said:
Qualcomm or OnePlus? (Not doubting you genuinely curious)
Click to expand...
Click to collapse
Qualcomm did it. So OnePlus followed them
gsser said:
1 hour of youtube
Click to expand...
Click to collapse
Hello
Are you using greenify or any other tweaks of that kind.
Thanks
Teso79 said:
Hello
Are you using greenify or any other tweaks of that kind.
Thanks
Click to expand...
Click to collapse
I dont.
Affinity Kernel r21 is up!
Since r21, Affinity Kernel is available for custom ROMs as well. Should work well with every ROM except of OmniROM and TreskMod (which is Pixel-like OmniROM)
because Omni has its own way of loading the WLAN module so WiFi might be most likely broken. Anyway, you may also notice that on some ROMs that have EAS baked in, Affinity Kernel
default settings are not getting applied. That's because the ROM has its own post boot init script that overwrites my settings, not a big deal.
Here's the changelog:
Upstreamed to Linux 4.4.176
Support for custom ROMs
Some touchups for init script
Added O3 GCC optimalization
Readahead improvements
A bunch of kgsl improvements (adreno driver)
devfreq improvements

Categories

Resources