[Galaxy Note 4 Android Development (Snapdragon)] kevintm78:
I've been working on another kernel that I've been using for a little over a month that imo is the most stable that I've been able to put together. For example, the camera seems to work much better (no focus problems), battery life has been 4+ hours SOT (even with my 3 year old battery), and that little stutter in the keyboard that would pop up from time to time with the past kernels isn't showing up anymore. It's not really the most exciting kernel though since most of the performance features have been stripped from it but it still seems as snappy as previous versions.

If you or anyone else would like to fork it and build upon it or any of the other kernels you're more than welcome to it.

The source code for the one that I'm using is here.

So far the only features added are these:

Built with latest SM-N910F source (DRI2)

Upstreamed to Linux 3.10.108

Upstreamed F2FS to v4.11

F2FS support

Permissive

Disabled CRC by default

MSM Hotplug

Bricked Hotplug

Power Suspend

Voltage Control

Kcal Color Control

Adreno Idler support

Thermal Temp Control

Removed Cpu Boost

Extended Battery support (separate branch from the master branch)

Lz4 compression for better performance

Switch to Anykernel format for better compatibility

The upstreaming was done by me and while I'm not the most knowledgeable when it comes to coding this was my third time doing it. I think I'm understanding it more each time and third times the charm, right? I recently noticed that the official F2FS branch has been updated to v4.21 (I think) and I'll try to get that done today or tomorrow.

Another thing about the latest SM-N910F source which is the one I'm using and the most recent of all the snapdragon models. The battery no longer charges to 100% (stops at 95%) and by the look of the code has been done on purpose, probably due to the Note 7 fiasco. It appears to be fixable but I'm honestly not sure if it should be since almost all the information I've found suggest that not charging all the way is better for your battery's life span. It also cuts out fast charging at around 85% as far as I can tell. I'll attach the difference between the last source that does charge to 100 and the newer one to give a better idea of what I'm looking at and possibly the fix to it as well.

I can make a tutorial about building and cherry-picking features if anyone would like to take this further. It's something that I've been wanting to do for awhile. Unfortunately my little laptop just doesn't have what it takes to download and build lineage kernels. I had built one _mone's AICP rom once and basically had to delete everything on my laptop to even get the space to download the source and even then the build time was like 8hrs. So I don't know how much help I will be on that front but it looks like you've already got that under control and the cherry-picking shouldn't be much different.

I'll get the newer kernels posted soon. This time around I'm going to make a different kernel for each (snapdragon) model and with the help of AnyKernel2 try and maximize the compatibility.

Everything isn't quite ready but the build script that I've been putting together should make building this kernel or any of the past kernels as user friendly as possible.

Any thoughts and opinions on what should be done about the way the battery is charging and the capacity are more than welcome. I find it to be kind of annoying that it stops at 95% but maybe it's for the best.