[KERNEL][MM][CM/AOSP][angler] ZigZag Kernel [R6][14-6-16] - Nexus 6P Android Development

ZigZag Kernel​
Disclaimer:
Code:
#include
/*
* Your warranty is now void
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
Features:
Zipped using anykernel2 by @osm0sis
Latest linux patches
-O3 Optimizations
a57/a53 optimizations
CDROM emulation drive support (DriveDroid support)
CPU Overclock
Wake Gestures: doubletap2wake, sweep2wake
UKSM(Ultra Kernel Samepage Merging)
KCAL Color control
F2FS
Frandom
Zram, Zsmalloc, and Zpool
UFS ICE driver
Advanced TCP Congestion controls
Kexec Hardboot Support
Franco Sound Control
Governors: ElementalX, ZZMoove, Impulse and the usual
I/O Schedulers: BFQ, SIOPlus and the usual
Many, many fixes to many stuff from CAF
More fixes to stuff, check git
Downloads: ZigZag builds
Note: Builds with '-exp' in the suffix are not meant for daily users! Try at your own risk!
Credits:
Google
@faux123
@flar2
@franciscofranco
@Imoseyon
@savoca
CAF
CM
Changelogs on post #2
Enjoy people!
XDA:DevDB Information
ZZ Kernel, Kernel for the Huawei Nexus 6P
Contributors
##W4TCH0UT##
Source Code: https://github.com/W4TCH0UT/ZZ_angler
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R6
Stable Release Date: 2016-06-14
Created 2016-04-19
Last Updated 2016-06-14

Changelogs:
R6
* Latest f2fs patches
* Latest linux patches(Updated to 3.10.102)
* Usual tweaks from CAF
* Use franco's sound control instead of faux's
* Same Changelog for R6-exp with minor CAF experimental tweaks
R5-exp
* Enhanced sound quality(patches from CAF)
* Enhanced video quality(patches from CAF)
* Enhanced camera quality(patches from CAF)
* Fixes to major things
* Governors: ZZMoove, Impulse
R5
* Governors: ZZMoove, Impulse
R4
* More F2FS patches from kernel.org
* Upstream patches from google and CM
* Whole lotta fixes from CAF(check git for wide list of commits)
* Enable Zram, Zsmalloc and Zpool
* Squashfs file system intro
R3
* CDROM emulation drive support (DriveDroid support)
* Latest F2FS patches from kernel.org
* -O3 optimizations
* Kill some logspam
* Fixes from CAF
R2
* UKSM(Ultra Kernel Samepage Merging) 0.1.2.3
* Frandom
* Implemented UFS ICE driver
* I/O Schedulers: SIOPlus
* Advanced TCP Congestion controls(default: cubic)
* Fix Sound issues
R1
* Initial build​

Added to Nexus 6P index thread:
[INDEX] Huawei Nexus 6P

Good job on the support for F2FS. I hope more devs start to add support for their kernels and roms soon as F2FS continues to mature.

Hello supported Ciyanogen? Very thanks
Regards
Enviado desde mi Nexus 6P mediante Tapatalk

Welcome. :laugh::laugh::laugh::laugh::laugh:

iron maiden01 said:
Hello supported Ciyanogen? Very thanks
Regards
Enviado desde mi Nexus 6P mediante Tapatalk
Click to expand...
Click to collapse
Yes works on cm/aosp too(not sure about aosp though)

##W4TCH0UT## said:
Yes works on cm/aosp too(not sure about aosp though)
Click to expand...
Click to collapse
Works on AOSP (PureNexus) though I believe there is a sound issue. Have to double check and report back later.

HesThatGuy said:
Good job on the support for F2FS. I hope more devs start to add support for their kernels and roms soon as F2FS continues to mature.
Click to expand...
Click to collapse
F2FS support is great and all but worthless at the moment since we don't have a way to format the three partitions ( system, data, cache) to really take advantage of potential gains f2fs as the offer.
The solution is pretty straightforward but I don't have the knowledge to know if it's feasible or not.
The road block is the fact that the 6p cache partition is under 1GB, which is a minimum requirement for f2fs to work.
There is TWRP custom build out there that's support f2fs but it only works on the data partition and that's meaningless as f2fs relies heavily on using the cache partition.
We could increase the size of the cache partition easily because the data partition is right next to it on the device and we could take space from data and allocate it to cache. I just have no idea of the possible repercussions of resizing partitions on an Android device.
My guess is that it would screw with Google releases and maybe there's something in the bootloader or kernel that needs to be edited so the device knows which blocks belong to which partition.
If it isn't a big deal to resize partitions, then its trivial. Use the latest f2fs-tools off github and make a TWRP kernel.

I remember jt1134 modifying partitions for new ROMs to work on the Fascinate. Even coding RIL stuff single handedly for CM. I miss those days, when locked bootloader wasn't even heard of ?

ZigZag R2 is out now!
R2
* UKSM(Ultra Kernel Samepage Merging) 0.1.2.3
* Frandom
* Implemented UFS ICE driver
* I/O Schedulers: SIOPlus
* Advanced TCP Congestion controls(default: cubic)
* Fix Sound issues
Click to expand...
Click to collapse
Kernel is stable from R2 onwards!
Cheers!

shag_on_e said:
I remember jt1134 modifying partitions for new ROMs to work on the Fascinate. Even coding RIL stuff single handedly for CM. I miss those days, when locked bootloader wasn't even heard of
Click to expand...
Click to collapse
Making a custom TWRP that allows the 6P to fully use F2FS has been on my "to-investigate/to-do" list for a while now. I've msg'd a couple people with experience in modifying the TWRP kernel and a few devs to see the feasability about changing partition sizes, but have gotten no responses

* UKSM(Ultra Kernel Samepage Merging) 0.1.2.3
* Implemented UFS ICE driver
* I/O Schedulers: SIOPlus
* Fix Sound issues
Click to expand...
Click to collapse
I saw these and thought "oh thats new".. But I'm perplexed. Your kernel is a fork of CyanogenMod/android_kernel_huawei_angler with only a few commits done recently, https://github.com/W4TCH0UT/ZZ_angler/commits/53a3c39ecd976558df111fcd874e2d5edc391d1d. If that's the wrong repo/branch somehow then my bad but I just followed the link in OP.
Not sure why you're enabling ICE (Inline Crypto Engine) when the OEMs won't even use it because its unstable. Ofc HW backed encryption is better than software-only but Google also vastly improved it's keystore on M (compare the Nexus 6 encryption performance to the 6p).
From Android Explorations @ http://nelenkov.blogspot.com/
Unfortunately, while the current implementation performs pretty well, there are still some problems, especially when the device is in sleep mode. If the devices is in sleep mode for a relatively long period of time, read errors can occur, and the userdata partition may be mounted as read only (which wreaks havoc with the system's content providers); the device may even power off. While a reboot seems to fix the issue, if the the userdata was mounted read-only, the SQLite databases storing system configuration and accounts may get corrupted, which in some cases can only be fixed by a factory reset. Thus, hardware-accelerated disk encryption is unfortunately currently not quite suitable for daily use on the Nexus 6.
Click to expand...
Click to collapse
CAF even tried using it for our chipset then reverted it:
ICE (Inline Crypto Engine) support requires Key restoration after UFS power collapse. This operation adds long latency to exit from power collapse and will impact the performance even when ICE is not in use.
Click to expand...
Click to collapse
I mean, its worth experimenting with for sure. You don't until you try. But ICE has been around for a long time and there must be a reason no one uses it.
And I don't see where you added UKSM. Could you link the merge?

bobbarker2 said:
I saw these and thought "oh thats new".. But I'm perplexed. Your kernel is a fork of CyanogenMod/android_kernel_huawei_angler with only a few commits done recently, https://github.com/W4TCH0UT/ZZ_angler/commits/53a3c39ecd976558df111fcd874e2d5edc391d1d. If that's the wrong repo/branch somehow then my bad but I just followed the link in OP.
Not sure why you're enabling ICE (Inline Crypto Engine) when the OEMs won't even use it because its unstable. Ofc HW backed encryption is better than software-only but Google also vastly improved it's keystore on M (compare the Nexus 6 encryption performance to the 6p).
From Android Explorations @ http://nelenkov.blogspot.com/
CAF even tried using it for our chipset then reverted it:
I mean, its worth experimenting with for sure. You don't until you try. But ICE has been around for a long time and there must be a reason no one uses it.
And I don't see where you added UKSM. Could you link the merge?
Click to expand...
Click to collapse
https://github.com/W4TCH0UT/ZZ_angler/commit/0b91f685a025db3c2c549aad51a2565fb1467755 , this is the commit for uksm, following it were some missing bits for it.
And, yes it is a fork of cm to support cm based ROMs.
If you could check the merges, then there's a lot that has been done.
I thought it would be a good way to experiment using the ICE driver as to what it brings. I know 6p's encryption system is better than 6, but what's the harm in experimenting?

##W4TCH0UT## said:
https://github.com/W4TCH0UT/ZZ_angler/commit/0b91f685a025db3c2c549aad51a2565fb1467755 , this is the commit for uksm, following it were some missing bits for it.
And, yes it is a fork of cm to support cm based ROMs.
If you could check the merges, then there's a lot that has been done.
I thought it would be a good way to experiment using the ICE driver as to what it brings. I know 6p's encryption system is better than 6, but what's the harm in experimenting?
Click to expand...
Click to collapse
There's no harm at all, except for users who will try this kernel and experience the instability and latency issues described above. If the users don't realize that you are experimenting with some untested features then they will just end up writing this kernel off and never use it. So maybe it would be a good idea to put a disclaimer or perhaps two different buildsl?
And it isn't just the 6p that was improved it was all Android 5.0 and up.
This ice chip has been on Qualcomm SOCs for a long time now and by that I mean since at least 2011. I'm sure they've made improvements over the past five years, but I suspect there's a reason no developer uses this in their kernel. Qcoms website has very little detail about even the existence of ICE, most of what we know has come from then submitting it to get FIPS certified.

bbarker2 said:
There's no harm at all, except for users who will try this kernel and experience the instability and latency issues described above. If the users don't realize that you are experimenting with some untested features then they will just end up writing this kernel off and never use it. So maybe it would be a good idea to put a disclaimer or perhaps two different buildsl?
And it isn't just the 6p that was improved it was all Android 5.0 and up.
This ice chip has been on Qualcomm SOCs for a long time now and by that I mean since at least 2011. I'm sure they've made improvements over the past five years, but I suspect there's a reason no developer uses this in their kernel. Qcoms website has very little detail about even the existence of ICE, most of what we know has come from then submitting it to get FIPS certified.
Click to expand...
Click to collapse
I have not experienced 1 damn issue and been on R2 since release. in fact im getting better battery life than both kylo and elemental. im not sh***ing on their kernels, just stating my experience thus far. on latest DU TEST 4/18

opz187 said:
I have not experienced 1 damn issue and been on R2 since release. in fact im getting better battery life than both kylo and elemental. im not sh***ing on their kernels, just stating my experience thus far. on latest DU TEST 4/18
Click to expand...
Click to collapse
I kept getting a phone and SystemUI force close on 4/18. About to try zigzag 2 then retry 4/18 DU, then maybe the combo of the two.

shag_on_e said:
I kept getting a phone and SystemUI force close on 4/18. About to try zigzag 2 then retry 4/18 DU, then maybe the combo of the two.
Click to expand...
Click to collapse
Try clean flashing the rom, then the kernel.
Regards

I can't speak on the battery life yet, but in terms of smoothness & scrolling; this kernel is ?. (Stock x Zigzag).
Any recommended settings @##W4TCH0UT##
Sent from my Nexus 6P using XDA-Developers mobile app

This kernel is running really really smooth. I am very impressed so far with the performance and also battery life seems great as well. Please keep up the great work, as i see no reason to change kernels now. Only thing i ask for is maybe drive droid support and f2fs. Thanks so much

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.

[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 .

[EOL] Boeffla-Kernel (unofficial) for Lineage OS-15.1/16 [kltexxx]

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??

[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

[Kernel] F1xy kernel for Poco X3 (NFC) [Android Q/R] [17th January]

DISCLAIMER:
Haha warranty goes brrr. . .
I am not responsible for your broken phones, sdcards, dreams and etc. You are on your own, kernel is provided as-is.
Features:
1. Wireguard.
2. Adjustable TTL.
3. Based on latest ALS (CAF+upstream) source with Xiaomi edits applied and slightly cleaned up.
4. Embedded dtbo - you don't need to worry about bad/leftover dtbo's, kernel uses its own and ignores dtbo partition altogether.
Optimizations applied:
This list most likely isn't full.
1. Compiled with GCC 10.2, O3, LTO and crazy inlining.
2. Performance critical kthreads/irqs API.
3. Cpusets/Stune assists.
4. Optimized frequent memory allocations.
5. Greatly sped up memory regular memory allocarions.
6. Simple LMK for better multitasking.
7. BBR TCP algorithm.
8. TLB invalidation, mmu_gather backported from mainline for a major performance boost. (thx Arter <3)
9. General undebugging, reduced logging and fixes for braindead Xiaomi/CAF code.
10. Entropy, and crypto engine optimizations.
11. Scheduler improvements from Google.
OS Support:
Anything that isn't MIUI or based on it should work.
Where to download:
Releases on Github.
Franco Kernel Manager integration:
If you purchased FKM you can tap on the link below, open it with FKM and install this kernel automatically
+ check for updates every day.
https://raw.githubusercontent.com/F1xy-kernels/SURYA_kernel/Q-surya/fkm/update.json
Support chat in Telegram:
(I'm much more active there)
My Poco X3 chat in TG
Credits:
CAF Help Desk | devloopers.
Ferat Kesaev and Niko Schwickert for inspiration and for entertaining me in the darkest points of my life.
BUGREPORTS WITHOUT LOGS WILL BE IGNORED.
Donations:
paypal - my friend's paypal, please add a note "To Yaro" if you decide to donate.
Reserved.
Want to test it on Xiaomi.eu rom.. will it work on miui rom? You didn't mention about OS compatibilty !!
mehdi.shah said:
Want to test it on Xiaomi.eu rom.. will it work on miui rom? You didn't mention about OS compatibilty !!
Click to expand...
Click to collapse
Added.
Star_king12 said:
Added.
Click to expand...
Click to collapse
Thanks but alas not compatible with miui... I was so excited to try out this new kernel on miui rom.. anyway i hope you will make one for miui too one day.. keep up the good work and thank you for the kernel.!! Peace
What is the difference between this kernel and the one below?
[KERNEL][SURYA] Optimus Drunk Kernel v12.10 [12-07]
Optimus Drunk Kernel for POCO X3 (NFC) #include /* * Your warranty is... Still valid??. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed...
forum.xda-developers.com
Sofiane toumi said:
What is the difference between this kernel and the one below?
[KERNEL][SURYA] Optimus Drunk Kernel v12.10 [12-07]
Optimus Drunk Kernel for POCO X3 (NFC) #include /* * Your warranty is... Still valid??. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed...
forum.xda-developers.com
Click to expand...
Click to collapse
Developer.
thaks for the kernel, please add exfat support for sdcard, thanks
Thanks friend for your work.
Work in last Havoc rom?
jeryll said:
thaks for the kernel, please add exfat support for sdcard, thanks
Click to expand...
Click to collapse
I think it's there already.
Star_king12 said:
I think it's there already.
Click to expand...
Click to collapse
then it will be something related to OTG, since I'm connecting my sdcard via OTG adapter and was not even detected (usually Android complain about formatting my card if it can't read it), thanks again
Kernel working fine over ArrowOS! Things definitely feel slightly smoother, haven't run any benchmarks however. I do appreciate is the latest Linux patches & the cleanup the Xiaomi junk!
I'm finally happy with my Poco X3, Thanks OP!
Star_king12 said:
DISCLAIMER:
Haha warranty goes brrr. . .
I am not responsible for your broken phones, sdcards, dreams and etc. You are on your own, kernel is provided as-is.
Features:
1. Wireguard.
2. Adjustable TTL.
3. Based on latest ALS (CAF+upstream) source with Xiaomi edits applied and slightly cleaned up.
4. Embedded dtbo - you don't need to worry about bad/leftover dtbo's, kernel uses its own and ignores dtbo partition altogether.
Optimizations applied:
This list most likely isn't full.
1. Compiled with GCC 10.2 and O3.
2. Performance critical kthreads/irqs API.
3. Cpusets/Stune assists.
4. Optimized frequent memory allocations.
5. Greatly sped up memory regular memory allocarions.
6. Simple LMK for better multitasking.
7. BBR TCP algorithm.
8. mmap/mremap, TLB invalidation, mmu_gather backported from mainline for a major performance boost. (thx Arter <3)
9. General undebugging, reduced logging and fixes for braindead Xiaomi/CAF code.
10. Entropy, and crypto engine optimizations.
11. Scheduler improvements from Google.
OS Support:
Anything that isn't MIUI or based on it should work.
Where to download:
Releases on Github.
Franco Kernel Manager integration:
If you purchased FKM you can tap on the link below, open it with FKM and install this kernel automatically
+ check for updates every day.
https://raw.githubusercontent.com/F1xy-kernels/SURYA_kernel/Q-surya/fkm/update.json
Support chat in Telegram:
(I'm much more active there)
My Poco X3 chat in TG
Credits:
CAF Help Desk | devloopers.
Ferat Kesaev and Niko Schwickert for inspiration and for entertaining me in the darkest points of my life.
Donations:
paypal - my friend's paypal, please add a note "To Yaro" if you decide to donate.
Click to expand...
Click to collapse
Flashing instructions?
Can anyone confirm if this kernel has power efficient work queues enabled?
So far, it appears only Stormbreaker kernel has it.
Revontheus said:
Can anyone confirm if this kernel has power efficient work queues enabled?
So far, it appears only Stormbreaker kernel has it.
Click to expand...
Click to collapse
It does.
sammanesh1 said:
Flashing instructions?
Click to expand...
Click to collapse
Reboot to twrp, flash.
it is support ip6tables nat ?
Infrared not working for me
mandanga said:
Infrared not working for me
Click to expand...
Click to collapse
Indeed, gonna try to fix it for the next release.
I tried this on Pixel Experience Android 10, My phone went to bootloop. Please write flashing guide

Categories

Resources