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

Search This thread

Tomoms

Senior Member
Feb 15, 2014
3,030
7,016
OnePlus One
Essential Phone
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
 

Tomoms

Senior Member
Feb 15, 2014
3,030
7,016
OnePlus One
Essential Phone
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.
 
Last edited:

Tomoms

Senior Member
Feb 15, 2014
3,030
7,016
OnePlus One
Essential Phone
Last edited:
  • Like
Reactions: Lisko

Mr.Ak

Senior Member
Jan 14, 2015
4,405
1,968
24
*RESTRICTED AREA*
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.

I don't think aosp-caf ROM that I'm using,is using sultan's camera.Here's the ROM that I'm using,
https://xdaforums.com/oneplus-one/development/rom-aosp-caf-t3584633
I'll give your kernel a try and let you know what works and what not.Thanks for your work!
 

Mr.Ak

Senior Member
Jan 14, 2015
4,405
1,968
24
*RESTRICTED AREA*
Meanwhile i created video how to use sdcardfs with this kernel
MOD EDIT: YOUTUBE LINK REMOVED

But video recording is upside down in RRM CAF rom is it bug?

Please take permission from OP before creating such videos,or,otherwise noted in OP.

---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------

I don't think it will work.

The camera or the whole kernel?
 
Last edited by a moderator:

pankspoo

Account currently disabled
Please take permission from OP before creating such videos,or,otherwise noted in OP.

---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------



The camera or the whole kernel?

Only camera screen while taking video. But saved video is playing ok.

And regarding OPs permission if he is not Ok with my work he will tell me about that, but he don't. So nothing is wrong man! I ak just spreading his work so most of peoples will get in touch, i am not copying anything.
 

Tomoms

Senior Member
Feb 15, 2014
3,030
7,016
OnePlus One
Essential Phone
Only camera screen while taking video. But saved video is playing ok.

And regarding OPs permission if he is not Ok with my work he will tell me about that, but he don't. So nothing is wrong man!

It's a ROM bug. On my phone it doesn't happen.

Yeah no problem with the video, asking for permission is right when you need to mirror a file, or publish it somewhere etc. To show my work in a simple video is totally fine!
 
  • Like
Reactions: pankspoo

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    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
    12
    No matter how thank you for doing all this,。I will experiment。 thank you!!!

    Ok, so I've released v16.2. It's a very small update that brings some source updates, adds swap support and improves power consumption by disabling the automatic memory compaction that I added in the past releases of the kernel. Enjoy!
    Here's the new kernel: https://androidfilehost.com/?fid=817906626617954941
    11
    Hello, the new kernel is available on AndroidFileHost!
    Be sure to check the changelog I've written in the first post. A small note on the new CPU governors and hotplug. The ones I removed were either not very stable or didn't provide much of an improvement. The governors that are now present are stable, reliable and fine-tuned for the Oneplus One. They work perfectly with the cpufreq stack that has been backported from Linux 3.10. Intelliplug is working fine as well. I don't think I'll ever add any other governor, but probably I'll implement one more hotplug so that we have two to choose between, apart from the default MPDecision.
    The Spectrum profiles have been updated and tweaked so that they better meet the needs of the users.
    By the way, the kernel is almost Oreo-ready. This means that when we have got fully "sultanized" Oreo ROMs, only one or two minor tweaks will be needed to get this kernel to work with them; 95% of the backports, updates and fixes needed to ensure Oreo compatibility is already implemented.
    As usual, let me know if you have any suggestion or question. Enjoy this new release :)
    10
    I've released a minor update! This kernel mainly fixes the problems someone faced when installing Magisk modules, and brings some useful improvements and optimizations: general performance might be slightly better. Let me know what are your opinions :)
    9
    New update released! The changelog is in the first post, on github you can find every single commit.
    Download link: Neon v2