[G3 Android Development] Omar-Avelar:
DESCRIPTION

This is a custom based Kernel for the D855/D852/D851/D850/VS985/LS990 variants of the LG G3 with performance enhancements and bug fixes that I have been using personally for a few months, thought it is time to share since I have had no inconvenient bugs and quite a big performance increase and smooth UI benefits. The intention is to have a minimal light-weight kernel that is fine tuned for the device.

FEATURES

User space voltage control

Backport MSM devfreq features from 3.18 Kernel for the smoothest experience, includes adding cache fabric frequency scaling and better bus utilization as well as the mincpubw governor

User space display color calibration (KCAL)

Deeper memory controller power savings on suspend (deeper power savings while sleep)

Two new L2 cache frequency steps: 1.88 & 2.03 GHz, allows for better multi-core utilization and hit rates

Wireless roaming disconnecting is now fixed

IRQ Balancer enabled with proper SELinux support to spread out the interrupts of our SoC

IntelliPlug to allow lower thermal dissipation by keeping some cores alive to distribute loads and keep frequencies lower accross SoC die

Reduced heat when using wireless chargers

Memory and cache subsystem optimizations, you will feel it int the UI

Adreno Idler to get better GPU frequency utilization and battery life [removed as msm-adreno now idles properly]

Interactive governor tweaks to focus on lower frequencies while still maintaining fluidity in the UI

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

Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags

Undervolted the Adreno 330 GPU voltage rail to keep things cooler, and reduced the GPU min frequency to 27 MHz while keeping it's temperature cool to reach 620 MHz overclock

Default thermal values work ok, since GPU voltage rails and others were shaved a few mV

100 Hz tick to prevent excessive battery usage, the smoothness of the UX does not come alone from raw processing -- there are many other changes in the subsystem that helped achieve the fluidity

An ultra low value in the interactive min_sample_time so that the interactive governor does not hover on excessive frequencies

Heavily tuned the GPU bandwidth and bus requirements to match closer the capabilities of the device and thus preventing micro-stutters

Optimized the MSM crypto engines thanks to @waau

Updated the KGSL drivers so that we can use the Adreno userspace drivers version Adreno-MOB30M-for-LG-G3-AOSP.zip

DOWNLOADS

AnyKernel: Click Here (Check Top of the Post, Download Tab)

SOURCE

D85X-Kernel-Gamma GitHub Source

NOTES

I recommend turning NFC off for way better idle battery consumption :victory:

KNOWN BUGS

FM Radio is causing hangs, still needs investigation

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

​

XDA:DevDB Information

Gamma Kernel , Kernel for the LG G3

Contributors

Omar-Avelar

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

Kernel Special Features:

Version Information

Status: Stable

Current Stable Version: 90.0.0

Stable Release Date: 2018-05-10

Created 2016-08-09

Last Updated 2018-05-13