My kernel was based on LG G2 Stock Kernel v20*/21*.
Kernel Tree is 3.4.103, + LG KitKat updates + my tweaks and lots of tuning!
Global Credits! Big thanks to g.lewarne for helping me to start! Savoca for many kernel mods Cyanogen (rmcc@github) for many kernel mods Faux123 for UV/OV, Sound Gain Control, Inteli Hotplug, Fast Charge support!and more! Alucard_24 for AlucardHotplug and mods. LG for Stock kernel base! MyFluxi for kernel updates and fixes. To all my sources in GITHUB! Linus Torvalds for Linux source!
Default I/O Scheduling: ROW.
More I/O Scheduling present in kernel: DEADLINE, NOOP, CFQ, SIO, BFQ.
Default CPU frequency: 300-2803 MHz (MAX OC up to 2.8Ghz speed!).
You can set MIN/MAX CPU Freq in CPU tuning apps.
You can set MAX freq for screen OFF state!
Default CPU governor: Ondemand.
More CPU Govs present, conservative, performance, Intelidemand, OndemandPlus, Nightmare, Hyper, Pegasusq, IntelliActive, Alucard.
Support for Kernel HOTPLUG (Intelli HotPlug by @faux123)
Support for Kernel HOTPLUG (Alucard HotPlug by @alucard_24)
Support for Kernel HOTPLUG (MSM HotPlug by @myfluxi)
By installing this kernel YOU will take full responsibility for any damage to your device! Hardware or software! no one forcing you to install it. So please do not blame me if you read wrong! or didn't read at all the instructions that i have written for YOU.
But you can feel SAFE to use it, as I test every release on my phone! Before I publish it for download.
Your warranty will be void by installing custom kernel as my.
This kernel will ROOT ADB Shell!
Global Info About LG Models: D800 = AT&T Model (Support KNOCK CODE from base 20u) D801 = US Tmobile Model (Support KNOCK CODE from base 20e) D802 = International Model (Support KNOCK CODE from base 20b or 20d) D803 = Canada Model (Support KNOCK CODE from base 20f) F320* = Korean Model (Support KNOCK CODE from base 21p) D805 + D806 (same as D802) (Support KNOCK CODE from base 20b or 20d) LS980 = SPR Model (Sprint) (support KNOCK CODE from base ZVD) VS980 = VZW Model (Verizon) (support KNOCK CODE by ME!)
if your ROM base is BELOW the Knock Code Base for your model!
use OLD NO KNOCK CODE kernel. or Update your ROM.
You will need to have ROOTED device with Recovery installed! Refer to other threads for recovery install process.
Download kernel, upload it to your SDCARD, anywhere. Download STOCK Kernel for your device! so you will always have it on sdcard in case of any disaster!!! Reboot to Recovery. Install kernel as you installed ROM or any mod.
In case that you stuck on boot logo and want to revert to STOCK kernel. Connect USB Push PWR + Vol Down till phone reboot and you will see LG Logo! Release and press the buttons again! till you see screen asking if you want to WIPE your device! if you have recovery installed, then it's will just OPEN the recovery! no WIPE will happen!!!
Just push 3 time the PWR key. and you will be moved to recovery. Install your device STOCK kernel and wait for FIX.
Have Fun and report.
INFO FOR USER!!! READ ME FIRST:
LG has started to update all ROM + Kernels with new TOUCH SCREEN DRIVER.
that includes new feature "KNOCK CODE" see youtube!
For now only for D800/D801/D802/D803/F320/LS/VS980 ROMS that have 20B/D/E/F/U/21P/ZVD base!
In download site, you will see kernels with normal version just numbers.
And kernels with "No-Knock-Code" labels.
If your ROM do not support KNOCK CODE on screen OFF!
Then use kernel without support for it!
or you will loose the ability to wake phone with KNOCK KNOCK gesture.
If knock code on screen OFF is supported use the normal build.
Soon all ROMS will have support! all depend on LG and our great ROM Devs.
*About force fast charge. not all devices/models support that HACK.
so if it's not working for you and you are using DEFAULT profile in STweaks.
Then it's NOT WORKING FOR YOU. no need to complain. it's HACK. not LG feature.
*Merged fixes for MSM/Intelli/Alucard HotPlugs to allow them to work
as should in Awake/Suspend mode! no more SODS caused by them.
*Allowed to set Speaker Gain max to 20, if that is needed.
*Updated LINARO 2014.08 Toolchain kernel builder, compiled by me and tuned.
*Merged fix for WIFI driver.
*Merged update for CPU BOOST driver, will help in wakeup speed.
*Merged updates for Nightmare,Alucard,Darkness CPU GOVS from DEV.
*Merged fix for sound driver.
*Fixed long vibrates when typing fast, now much less frequent, one in 20~30 clicks.
Kernel 7.0 STABLE
*Updated with 3.4.103 main stream patch.
*Tuned Interactive gov.
*Added new Sound Policy config to allowed higher sample rates
to go via hardware decoder.
*Merged Sound driver updates.
*Merged fix for low mem killer code.
*Disabled useless kernel config for all models.
*Merged small fix for WIFI.
*Added new control for HotPlugs to STweaks, it's allow to suspend hotplug when screen is OFF, or not (default) we had is SUSPENDED!!! for 5 versions now.
So i suspect that all SOD reporters have device/rom not compatible for hotplug suspend.
and other MANY other have 0 problems... so it's not suspended by default.
this will also help with faster wake up on In Call. but may use little more battery when screen is OFF and sleeping... test and see.
*Profiles will be reset after boot, once.
*Merged updates for sound driver.
*Merged updates for SCHED CORE.
*Fixed MSM/INTELLI hotplugs wake/resume functions.
*Merged BIG update to SLIMBUS (HDMI) driver.
*Merged updates to OCMEM.
*Enabled possibility to use external app modules with my kernel.
should fix all kind of MODS.
*Merged updates for MMC driver.
*Updated LINARO kernel builder internal code to 2014.08 release.
*Merged updates to Interactive + tuning.
*Merged big update to kernel futex and rmutex code. used for many functions and drivers.
*Merged update for EXT4 code.
*Fixed STweaks Sound Controls when used along with Faux sound App.
now both control gains as needed. mic + speaker via STweaks, and headphones + in call speaker via Faux App!
*Merged update for cpu-boost code that help hotplugs to run better.
*Uploaded VS/LS980 no knock builds.
Kernel 6.8 STABLE!
*Merged HUGE update to SCHED CORE and RCU code from 3.10.y Android MSM CAF.
Apps open faster, many bugs fixed, CPU cores working great, and much more.
*Merged many Suspend updates to get rid of wakeup problems.
*Merged updates to Interactive CPU gov.
*Fixed PowerSuspend code messing with LCD panel wakeup... should fix all sods.
*Added ability to set max 3 cores online in STweaks (Triple Core)
*Merged many USB updates, that include better file transfer and bug fixes.
*Merged GPU (KGSL) updates.
*Patched with 3.4.102 main stream patch.
*Fixed sound noises when using old decoded files or low sample rates.
*Merged Sound Driver updates.
*Merged HDMI updates.
*Merged MMC Updates.
*Merged Power Manager updates and timekeeping!
*Fixed old bug in suspend code.
*Updated ONDEMAND CPU gov + Tuning.
*Merged NET and WIFI updates.
*Uploaded one more build for VS980 without knock code support. i hope it's will work for people without ROM that support Knock code.
Kernel 6.7 STABLE for 95%
*Restored all MMC updates from CAF.
*Restored all Qseecom updates + new fixes from CAF
*Merged many new sound driver updates from 3.10.y CAF.
*Merged NET fixes and other misc system updates.
*Restored CMA updates and ARM updates.
set 16MB allocated for drivers only to speedup kernel operations.
*Restored all GPU commits to fix GPU power controls and many bugs.
*Restored Wireless TV driver updates.
*Restored CPU code updates and cleanups.
*Restored OCMEM updates and cleanups.
*Restored GPIO updates.
*Restored IOMMU updates.
*Restored SCHED CORE updates.
*Merged update to Intelliactive CPU GOV by faux123
*Merged sound driver control updates to ver 3.5 by faux123
and fixed sound controls lock for LG sound driver.
we dont loose STweaks tuning after using Faux Sound App any more.
So what you set in STweaks is now sticking till reboot. no matter what.
*Merged update to Interactive CPU GOV.
*Merged small camera driver update.
*Merged small LED control fix. help with stuck leds, no more...
*Restored Audio Policy config file with new controls and sample rates
and support for offload and compression and latency fixes.
Kernel 6.6 STABLE!
*Merged new updates to Alucard/Nightmare/Darkness CPU Govs.
*Merged new updates to Alucard HotPlug.
*Reverted MSM/INTELLI/CPUFREQ LIMIT usage of LCD Notify for suspend!
Suspected as the SOD maker! now it's will use powersuspend as was with 5.9
*Installed patch 3.4.101 from main line.
*Restored Random number generator and sync it with 3.16.y kernel code.
*Fixed AC3 decoded files, noise when playing music. i dont hear any noise!
*Restored MSM/INTELLI HOTPLUG and CPU-BOOST tuning.
*Restored Thermal Tuning.
*Restored CPU boost commits.
This kernel has all that was restored in 6.5.4 and more fixes.
Kernel 6.3/4/5.1 (Deleted bugged)
*Reverted LCD panel update that came from LS980 LG source update.
*Fixed MSM HotPlug Resume function.
*New Update for WIFI to allow to use hidden SSID connections.
*Patched with 3.4.100 main line patches.
*Reverted some commits of MMC updates...(suspected as wakeup bugs)
*Fixed and perfected MSM/INTELLI/CPUFREQ-LIMIT wakeup/suspend code!
This should fix the wakeup BUG. No problem here...
*Small correction in STweaks script. Profiles will be RESET on first BOOT.
To all users! please delete this folder with any ROOTED file explorer or via ADB
then REBOOT install 6.5 kernel. or install, delete, reboot!
Suspected as problem maker from older kernel wrong perm set.
*Reverted 2 CPU commits that can be responsible for performance loose.
*Restored ability to use only ROM thermal Control for people that want more speed,
in cost of possibility to damage the screen with too high temp over time!
Playing heavy games, but it's will allow to run games more smooth... (THIS IS DEFAULT LG SETTING!!!)
See Thermal Controls in Main tab in STweaks.
For others! i strongly suggest to use DUAL Thermal Protection! as set by DEFAULT.
*Set Thermal control to use sensor 0 (ZONE0) for cpu temp check.
Correct your readings path in monitor apps!
*Fixed broken suspend for ALL hotplugs! they didnt sleep! for 6 builds or more!
Now they are OFF after 10sec of screen OFF. and when turned ON, in less than 400Msec cores are online! and wakeup is fast and smooth.
*Merged new Sound updates.
*Added KNOCK CODE Support for VS980! as it's the same as LS980
*Reverted some MMC updates, possible SODS problems for some models.
*Reverted Seecom Updates. lets use STOCK.
*Reverted CMA Updates, all was OK with MEM before.
*Merged updates for WFD (Samsung video over WiFi to TV)
*Merged New update to Audio Policy to include new sound formats and rates!
*Merged new sound driver updates.
*Reverted Crypto updates.
This build made to restore stability and usage.
I have went back to 5.9 and added only good stuff that i trust.
Kernel 6.2 STABLE.
*Big update to Random Generator (Entropy) from 3.16.y kernel!
This allow fast random data generate used by kernel or APPS/ROM
*Merged updates for KSGL (GPU) Driver.
*Merged many new updates for Sound and HeadSet drivers.
*Reverted USB Audio drivers to STOCK, after reports that it's was broken.
*Big update for MMC (internal storage) driver from CAF and Nexus 5.
*Merged updates for qseecom driver.
*Merged new ZVD LG Source update for LS980 Knock Code support!
and new touch screen firmware. all new ZVD base ROMS can use this kernel.
Others use OLDER NO Knock build.
*Merged big update for LowMemKill driver from CAF and Nexus 5.
Now it's much more smart and relaxed, not killing apps without need.
you may see less free RAM, but it's all under control!
*Fixed some NET bugs i have found.
*Merged updates for ARM code from CAF.
*Merged many new updates for Ondemand GOV, it's rewritten!
and much more smart and efficient!
some controls removed as they are no longer needed.
*Tuned Touch Boost driver.
*Tuned new Ondemand.
*Found working wget binary and restored AD-Block update via STweaks and kernel version check!
*Fixed some small bugs in STweaks scripts.
*Improved deepsleep power usage and performance when active.
*Possible fixed the strange CPU HANGS in some different conditions.
*Found out that if one of the CPU cores overheat too much! it's shutdown and will not work any more till reboot, this is hardware protection!
so if you see that one of your cores have 0Mhz when it's online. you burned it too much!
reduce MAX cpu temp in STweaks for 2C less.. and REBOOT.
Now all CPUS can handle high temp! this why Default profiles and lower have 78C max.
*Updated LINARO 2014.07 toolchain for kernel building, personally compiled by me.
*Updated with patch 3.4.99 from main stream.
*Updated Qseecom driver from CAF, responsible for secure communication from ROM to Kernel.
*Updated Crypto driver. faster and with less bugs!
*Major update for USB Audio driver.
*Merged major update for sound driver from CAF and Nexus 5,
now we have high performance hardware decoding support!
and that help to reduce CPU usage when playing super heavy sound files!
for example i can play FLAC 192khz/24bit file (350mb just 9:00min)
and when screen is OFF, CPU is at 300Mhz one core!
and playing without any problem! when screen is ON it's jump to higher freqs
but again much less than was.
So playing music now use less power! and quality is great!
*Merged new CODEC support for WMA,MP2,ACC via DSP processor.
*Tuned max CPU temp on boot to prevent reboots when CPU is too hot,
for some models / low quality CPU chips.
*Tuned Ondemand GOV to provide balanced power/battery save.
as people reported higher drain. now should be good.
don't expect high score in bench apps, no need to post this junk.
*Tuned Touch Boost driver to provide better performance.
*Merged updates for modem driver.
*Merged updates for BT driver.
*Merged updates for Interactive CPU gov.
*Merged update for reboot code.
*Allowed higher speaker gain in STweaks! up to 15. (use in your own risk!)
*Boot D800 with older INIT till new one will be available from LG.
*Tuned MSM Hotplug to balance performance.
*Added new Button in STweaks under Force fast charge,
it's allow to reset battery fuel gauge, and allow recalibration.
if you think that % that you see is not right, push that button, and it's should
drop/rise or stay as was, than it's OK.
after this allow full charge and discharge. don't play with this button too much.
it's reset battery calibration in kernel.
*Fixed Profiles backup/restore function in STweaks.
*Fixed BT connect delays.
*Merged major Sound Driver update from CAF and Nexus 5!
Including improvements to Ultra Sound (192khz 24bit) audio drivers.
and many fixes for protecting kernel from crash and compatibility with different headsets.
*Merged CORE, MEM, CMA updates.
we lost 16MB from total ram that now allocated for drivers, this allow much faster kernel work, as ram already free for drivers and no app can touch it.
*Fixed stereo call recording support.
*Added new option to STweaks to control CPU gov sample rate.
*With help from @Formhault now STweaks control descriptions are written much better, and typos fixed.
*Fixed WIFI wakelock drain.
*Update to Alucard CPU gov by DEV.
*Thanks to @pendroz we now have updated RAMDISK binary's from 20D and 20F STOCK kernels!
For all Knock Code supporting models.
*Headphones volume boosted! make sure you have normal volume set before use
it's much more clear and powerful now.
*Added auto FIX for panel type! on kernel install! thanks to @dr87
now JDI panel type users will get fully working LCD panel! no white lines!
No need to flash any modded kernels or use any MOD zips to set panel.
*Merged updates to camera driver.
*Merged Critical fixes for NET and ROW I/O sched.
*Merged fixes for Interactive Gov.
*Merged critical fixes for GPU driver! GPU performance increased.
*Merged new encryption driver, for now just there for future use by some app.
*Merged update for LCD panel that allow brightness change even if no GPU activity!
when nothing moved, brightness was stuck as last set, even if needed. delay was small... but now it's gone!
*Merged LCD driver update to suspend faster, will save power on screen Off.
*Merged fixes for MMC driver all about power suspend when not used.
*Merged fixes to Modem driver.
*Merged fixes for CPU drivers.
*Merged update to MSM CPU FREQ Limiter code. now more optimized.
*Merged new driver for stream synchronization during capture and playback.
*Fixed typos in STweaks descriptions.
I will not release any more updates for D800/1/2/3/F320 without knock code!!!
All Roms have the base updated! so time to update your ROM.
No knock code base is end of life. if you cant update use 5.6 kernel.
*Removed NET tweaks from kernel scripts.
*Fixed broken ROOT, by removing the root/unroot options. no needed any more.
we all have ROOT any way.
*Fixed NET problems in all branches + added missing NET code to D803 branch.
*Updated Busybox to support kitkat + fixes.
*Fixed my booting scripts to mach new kernel PATH to controls.
*Fixed SElinux code.
*Updated logger and binder from main line.
*Fixed Alucard HotPlug power code.
Kernel 4.1 first public Alpha Build!
*Kernel based on D800/2/3 20E Source!
*I have merged all the cool stuff from my LG JB kernel
See what inside list!
*Kernel is in high Alpha test stage! but it's STABLE
and working good on STOCK Builds.
*This kernel not supporting CM/AOKP ROMS!!! STOCK ONLY.
*If you loose ROOT after kernel install, download SuperSu 1.94 zip and install via recovery!
link Provided in Know Bugs!
I will fix it till next release.
For now post ALL in this thread till Q&A thread will be UP!
“The Kingdom of God is within man” - not one man nor a group of men, but in all men! In you! You, the people have the power - the power to create machines. The power to create happiness! You, the people, have the power to make this life free and beautiful, to make this life a wonderful adventure.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?