• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL][AOSP][AnyKernel][LOS-16.0+EAS] Gamma Kernel for [All Lineage Variants]

Search This thread


Nov 2, 2016
I am facing scrolling lag in Chrome and Facebook with this kernel. With linageos kernel scrolling is smooth. I like this kernel very much please fix this issue. Thanks for your work. ?


Senior Member


  • flashable-lge-v20-stock-thermal-engine-mod.zip
    234.4 KB · Views: 63
  • flashable-vs995-gamma-kernel-v20.0.0.zip
    13.2 MB · Views: 81

Top Liked Posts

  • There are no posts matching your filters.
  • 34

    Hey guys, I have started a custom Kernel based on LineageOS sources with 98% CAF. So I would like to share my own performance and usability improvements with minimal feature and enhancements on top. The intention is to have a minimal light-weight kernel that is very fine tuned for the device.


    • Minimal Kernel with a stripped defconfig base to be more streamlined and have less memory footprint
    • User space display color calibration (KCAL) with screen calibrated against iPhone 8 Plus, also helps reducing screen retention
    • Schedutil governor making use of EAS features with updates from Linux 4.4 and 4.12
    • Up to date with LineageOS sources for maximum compatibility and security bugfixes
    • Memory and cache subsystem optimizations, you will feel it
    • Adaptive LMK enabled by default
    • Transparent Hugepages are enabled
    • ZRAM/Swap partition is disabled by default
    • BFQ IO scheduler set by default to avoid slow-downs on task intensive scenarios
    • No overclocking was chosen to avoid unnecessary heat, optimizations were focused on other different areas
    • Kernel Samepage Sharing enabled with deferred timer by default to gain some memory usage optimizations, the process sleeps on regular basis and I've profiled it so that there's no battery drains due to it
    • Simple temperature controls for msm_thermals exposed
    • Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags
    • Undervolted the Adreno 530 GPU voltage rail to keep things cooler
    • CAF Rebase on major portions of the Kernel has helped lower the memory footprint a lot
    • ES9218 Quad DAC automatic toggling working inside the kernel for headphone HIFI playback, please read here for details


    AnyKernel: Click Here (Or check top of the post, download tab)

    (Recommended) Stock Tasha XML Audio Mixer FIles : Click Here

    (Recommended) Stock Thermal Engine with Tweaked Values Flashable : Click Here



    • Two second delay between plugging charger and detecting it.

    I would also like to thanks to various people who contribute tremendously such as:

    and many others! :)

    << If you like my work here is my hat, please donate! >>

    XDA:DevDB Information
    Gamma Kernel, Kernel for the LG V20

    Source Code: https://github.com/oxavelar/V20-Kernel-Gamma

    Kernel Special Features:

    Version Information
    Status: Testing
    Current Stable Version: 9.0.0
    Stable Release Date: 2019-09-21

    Created 2019-06-16
    Last Updated 2019-09-21

    • 9.0.0 - Increased responsiveness by adjusting input boost and stune values. Updated the thermal mod values again, revert LA.UM.6.5.r1-11700-8x96.0 to fix green tint crashes and updated to AnyKernel3.
    • 8.0.0 - Merging LA.UM.6.5.r1-11700-8x96.0.
    • 7.0.0 - Update SDCARDFS driver. And updated the thermal mod values to account for GPU undervolt.
    • 5.0.1 - Re-enabled -O3 optimizations and increased little cores boost.
    • 5.0.0 - Compiled with Linaro GCC 8.3.
    • 3.2.0 - Biased a little towards better performance and keeping power consumption almost intact.
    • 3.0.0 - Working camera with Lineage OS 16.0, and extended screen with notch enabled.
    Thank you Omar for keeping this phone alive
    can we please get a change log or what new in new kernel versions?
    thank you awsome job!!
    does anybody know how to turn up the DAC volume so it will be more similar to stock on high impedance mode?
    i have very low volume on any headphones using LOS 16 with this kernel
    btw which version of this kernel should have best battery? 4, 5.0.1 or other version?

    I have reasons to believe that ES9018 Quad Dac is not properly working on any RR or LOS builds. Proof of that is that no one is able to trigger high impedance mode even forcing it through mixer_paths_tasha.xml as always worked in Oreo. I have a pair of Audeze LCD2's Fazor , (70Ohm Planar) which should trigger high impedance mode by themselves but it does not happen.

    Also typing in terminal "su -c tinymix | grep Es9*" returns me this status flag: ES9018 State Bypass when it should be ES9018 State HIFI for proper Dac use. Also the flags AVC Volume and Headset Type both show 0 and 0, should be 1 for AVC Volume and 2 for Headset Type.

    Im using Poweramp with Hi Res Output activated. No matter what i do its always the same result. I would be grateful if skilled devs could share some help here because this is one of the best qualities of this phone! Thank you very much and excuse me for my rusty english!
    Thank you Omar, just realized v13 is out. It's running really well on h990ds. Phone feels so quick! What changes have been done?

    I'll report back if any issues.