FORUMS
Remove All Ads from XDA

[Kernel][CAF][7.1] Neon kernel v23

2,042 posts
Thanks Meter: 5,066
 
By Tomoms, Senior Member on 22nd July 2017, 01:36 PM
Post Reply Email Thread
Announcement from Tomoms: A new custom kernel for CAF/Sultanxda ROMs!
Neon kernel for Oneplus One (bacon)

Disclaimer:
use this kernel at your own risk. Flashing it the wrong way might brick your device. I'm not responsible for any software/hardware damage.

Features/changelog:
v23 (June 8th)
  • kernel code base updated to Linux 3.4.32
  • DCACHE_WORD_ACCESS optimization for ARM devices

old releases:

v22 (May 13th)
  • AutoSMP hotplug
  • support for wakelock blocker (by franciscofranco)
  • code base updated to Linux 3.4.18
  • minor fixes & improvements

v21.1 (May 6th)
  • a couple of fixes for the GPU drivers

v21 (May 3rd)
  • CPU undervolting & overclocking
  • kexec-hardboot patch
  • zen I/O scheduler
  • impulse CPU governor
  • msm_limiter v5.4
  • sound control interface
  • miscellaneous fixes, tweaks & improvements

v20 (April 21st)
  • added State Notifier
  • added bricked hotplug
  • many miscellaneous improvements and fixes
  • a few security fixes

v19 (April 15th)
  • built from scratch on top of Sultan's latest sources - read this post for more info
  • built with QUVNTNM-TC (based on GCC 7)
  • f2fs backported from Linux 3.10
  • sdcardfs support
  • many architecture-specific improvements, tweaks and optimizations
  • many of the latest CVE fixes have been implemented
  • CPU underclocking (268,8 MHz)
  • unaligned memory access enabled
  • zen-tune scheduler tweaks
  • lots of minor updates, fixes and improvements (check Github for more details)

v18.5 (27th February)
  • security fixes

v18.4 (17th February)
  • minor updates & fixes for cpufreq and f2fs

v18.3 (14th February)
  • adreno crashes are possibly fixed

v18.2 (February 10th)
  • cpufreq governor tweaks
  • minor updates & fixes

v18.1 (February 4th)
  • cpufreq governor improvements & fixes
  • a few security updates
  • zen-tune scheduler tweaks

v18 (20th January)
  • lots of source updates (among which, spi & qseecom backports from 3.10)
  • minor optimizations and improvements

v17.1
  • a couple of security fixes
  • fixed some issues with the getrandom syscall

v17 (8th January)
  • f2fs driver backported from Linux 3.10
  • random number generator driver backported from Linux 4.1
  • several updates & optimizations for the ARM platform and our MSM8974 SoC
  • some security fixes
  • improved memory management parameters (might provide better battery life)
  • up-to-date with Sultan's kernel
  • new (and default) TCP congestion control algorithm: "ascarex" by Klozz
  • ZRAM, zcache, zsmalloc are supported (they are disabled by default)

v16.2 (27th December)
  • a few source updates
  • swap support
  • improved power consumption during suspension

v16.1 (24th December)
  • compiled with more GCC optimizations
  • fix for issues with Magisk modules
  • minor updates and improvements

v16 (21st December)
  • additional GCC optimizations
  • loads of source updates applied to: locking, cpuidle, binder and other parts of the kernel
  • AutoSMP has been re-added and updated
  • added & implemented quickwakeup
  • other minor, miscellaneous changes

v15 (December 15th)
  • improved memory compaction routine
  • some security fixes
  • patches by Nvidia to improve power usage

v14.1
  • minor security & bug fixes
  • improved automatic memory compaction algorithm

v14 (4th December)
  • up-to-date with Sultan's kernel
  • removed zzmoove governor, added ondemandplus and impulse
  • removed AutoSMP, added intelliplug by faux123
  • kernel/workqueue and cpufreq backports from Linux 3.10
  • directIO patches ported from Linux 3.16
  • random number generator improvements
  • CPU overclocking (disabled by default) and underclocking
  • max CPU freq. set to 1,9 GHz during the booting process
  • task scheduling algorithm updates & improvements
  • kexec-hardboot patch fixed
  • KCAL color control interface updates
  • binder updates
  • hundreds of minor security fixes, improvements, and optimizations

v13 (12th November)
  • Efficient unaligned memory access & dcache word access
  • random number generator driver backported from Linux 3.16
  • several backports for the kernel's task scheduling algorithm
  • memory management/lowmemorykiller source updates & backports
  • zzmoove CPU governor added
  • minor source updates, fixes and backports

v12 (5th November)
  • Spectrum support (profiles will be perfected in the next releases)
  • added the possibility to block certain wakelocks (thanks to franciscofranco)
  • UKSM v0.1.2.3 added and enabled by default
  • maple I/O scheduler tweaks
  • minor miscellaneous improvements and fixes

v11 (23rd October)
  • code base updated to Linux 3.4.113
  • I/O schedulers: maple
  • built with the most appropriate set of compiler optimizations for Krait CPUs
  • hundreds of source updates & backports, mainly related to the kernel's task scheduler
  • completely renewed and up-to-date sdcardfs driver
  • smarter AutoSMP hotplug

v10 (6th October)
  • kernel code base updated to Linux 3.4.108
  • I/O schedulers: fiops
  • built with an up-to-date gcc-5 based UBER Toolchain

v9.1
  • performance improvements (?)

v9 (27th September)
  • built with up-to-date GCC 5 UBER toolchain
  • kernel code base updated to Linux 3.4.83

v8 (21st September)
  • kernel code base updated to Linux 3.4.60
  • minor improvements (more details on Github)

v7 (9th September)
  • kernel code base updated to Linux 3.4.45
  • several minor optimizations and security fixes (see Github for more details)
  • f2fs driver updated
  • I/O schedulers: added cfq and zen (default)
  • kexec-hardboot fix (still not working)

v6 (28th August)
  • kexec-hardboot patch (not working at the moment)
  • support for charging at up to 2,5 A
  • up-to-date with Sultan's kernel

v5 (26th August)
  • kernel code base rolled back to 3.4.27
  • CPU memory bandwidth overclock & tweaks
  • added new compiler optimizations as suggested by the Linaro team
  • security updates & fixes

v4 (15th August)
  • kernel code base updated to Linux 3.4.64
  • minor improvements, fixes and optimizations

v3.1 (7th August)
  • rebased on top of Sultan's latest updates
  • "impulse" CPU governor

v3 (5th August)
v2 (2nd August)
  • built with krait and neon vfpv4 optimization flags (for Krait CPUs)
  • KSM is available
  • source updated to Linux 3.4.8
  • Gentle fair sleepers and Arch power toggles
  • Power-efficient workqueues
  • optimized Krait memcopy libraries
  • frandom support
  • other minor tweaks/improvements/fixes

v1 (22nd July)
  • built with UBER gcc 4.9 toolchain
  • no CPU underclocking
  • async fsync
  • sdcardfs support
  • franciscofranco's sound control
  • state notifier with PM suspension hooks
  • AutoSMP hotplug by mrg666 and neobuddy89
  • other minor improvements and optimizations (check commits on Github)


Compatibility
The kernel is fully compatible with Sultanxda's LineageOS 14.1. It should be compatible with all the other CAF/"sultanized" ROMs. If you decide to try it on any other ROM please report if it's working or not. The kernel is obviously not compatible with non-CAF ROMs.

Download
The kernel can be download from AFH: Neon kernel on AndroidFileHost

Credits to:
@franciscofranco
@neobuddy89
@faux123
@AdrianDC
@dorimanx

XDA:DevDB Information
Neon kernel for Oneplus One, Kernel for the OnePlus One

Contributors
Tomoms
Source Code: https://github.com/Tomoms/neon_kernel

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: 23.0
Stable Release Date: 2018-06-08

Created 2017-07-22
Last Updated 2018-06-08
The Following 32 Users Say Thank You to Tomoms For This Useful Post: [ View ] Gift Tomoms Ad-Free
22nd July 2017, 01:36 PM |#2  
Tomoms's Avatar
OP Senior Member
Flag Trieste
Thanks Meter: 5,066
 
More
Reserved
Not supported as of v19.

How to tweak the parameters that are not shown in Kernel Adiutor
battery charging limiter:
open
Code:
/sys/kernel/charge_levels/charge_level_ac
or
Code:
/sys/kernel/charge_levels/charge_level_usb
and write the maximum charging current you want (measured in mA). Obviously the -ac file applies the limit when charging via the wall charger, the -usb file when charging via USB. 0 = stock settings.
The Following 7 Users Say Thank You to Tomoms For This Useful Post: [ View ] Gift Tomoms Ad-Free
22nd July 2017, 01:36 PM |#3  
Tomoms's Avatar
OP Senior Member
Flag Trieste
Thanks Meter: 5,066
 
More
Reserved
Bugs:
in v19 there are no major bugs or known issues.
The Following User Says Thank You to Tomoms For This Useful Post: [ View ] Gift Tomoms Ad-Free
22nd July 2017, 02:46 PM |#4  
Senior Member
Thanks Meter: 38
 
More
Does this kernel have LCD KCAL?
22nd July 2017, 03:15 PM |#5  
Tomoms's Avatar
OP Senior Member
Flag Trieste
Thanks Meter: 5,066
 
More
Quote:
Originally Posted by aocboe

Does this kernel have LCD KCAL?

Yes, indeed.
The Following User Says Thank You to Tomoms For This Useful Post: [ View ] Gift Tomoms Ad-Free
22nd July 2017, 03:24 PM |#6  
pankspoo's Avatar
Senior Member
Flag in front of ENCHILADA
Thanks Meter: 824
 
More
Fast charge
22nd July 2017, 03:37 PM |#7  
Tomoms's Avatar
OP Senior Member
Flag Trieste
Thanks Meter: 5,066
 
More
Quote:
Originally Posted by pankspoo

Fast charge

Is that a question or a feature request or whatnot? This kernel hasn't got fast charging and I'll probably add it soon.
The Following 3 Users Say Thank You to Tomoms For This Useful Post: [ View ] Gift Tomoms Ad-Free
22nd July 2017, 03:53 PM |#8  
pankspoo's Avatar
Senior Member
Flag in front of ENCHILADA
Thanks Meter: 824
 
More
Ok thanks. I just used sdcardfs with u r kernel and RRM sutenized rom is running snappiest ever. Thanks your kernel is really amazing.
22nd July 2017, 04:15 PM |#9  
Tomoms's Avatar
OP Senior Member
Flag Trieste
Thanks Meter: 5,066
 
More
Quote:
Originally Posted by pankspoo

Ok thanks. I just used sdcardfs with u r kernel and RRM sutenized rom is running snappiest ever. Thanks your kernel is really amazing.

Thank you! Yeah, I've noticed too that with this kernel and sdcardfs the phone really flies.
The Following User Says Thank You to Tomoms For This Useful Post: [ View ] Gift Tomoms Ad-Free
22nd July 2017, 04:24 PM |#10  
Mr.Ak's Avatar
Senior Member
Flag *RESTRICTED AREA*
Thanks Meter: 1,968
 
Donate to Me
More
Quote:
Originally Posted by Tomoms

Thank you! Yeah, I've noticed too that with this kernel and sdcardfs the phone really flies.

Your kernel will work with aosp-caf?
22nd July 2017, 04:36 PM |#11  
Tomoms's Avatar
OP Senior Member
Flag Trieste
Thanks Meter: 5,066
 
More
Quote:
Originally Posted by Mr.Ak

Your kernel will work with aosp-caf?

I have no idea. I'm still a beginner in the world of OPO's ROM's. If AOSP-CAF uses Sultan's camera, my guess is that the whole kernel will probably work. If you try, let me know the result.
The Following User Says Thank You to Tomoms For This Useful Post: [ View ] Gift Tomoms Ad-Free
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes