[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
** 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://xdaforums.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://xdaforums.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:

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