My PM box, is for Emergency ONLY! do not send me PM's just because you cant post! that is lame, post something useful and post in thread.
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)
- Support Inteli CPU Temp control (by @faux123)
- Support for Touch BOOST CPU'S code (by @alucard_24)
- Support for Async CPU, every core can have it's own min/max + cpu governor! (by @alucard_24)
- Support 4 GPU Govs! + Tuning in STweaks. (by @myfluxi)
- Support limit OC to 2.3Ghz / 2.5Ghz / 2.7Ghz / 2.8Ghz (by @faux123)
- Support undervolt/overvolting via sysfs interface/apps interface (by @faux123).
- Support using phone as keyboard and mouse for PC over USB! (by @pelya)
- You will need APP USB Keyboard! also to enable USB keyboard in STweaks.
- CIFS network share mounting supported.
- Debugging is OFF by Default to save CPU cycles, and extend battery life.
- Internal kernel function fixes (ie, memory leaks, scheduler fixes).
- High performance, low latency kernel.
- Compiled with -O2 flags and hardware neon-vfpv4 FPU enabled.
- Built from official LG v20d/v20E/v20f/v20u/v21p kernel source.
- Lokified during flash! Suport ONLY JB BootLoaders!
- File systems support: Ext2/3/4, FAT32, CIFS, USB OTG.
- Support F2FS filesystem! but will not auto mount it on boot for now.
- EXFAT, NTFS supported but need USB OTG APP! it's not native!
- WIFI Driver 1.88.60 + Many updates.
- Sound Driver Control (Headphones Gain) use Faux Sound App.
- Sound Driver Controls for MIC/Speaker Gain via STweaks APP.
- Always forced fast charge! no matter what you select in ROM.
- Sweep2Sleep! allow sweeping from right to left and backwards! on soft buttons to turn off the screen.
- Kernel created using Linaro 2014.08 compiled by me, powerful ToolChain GCC 4.9.2 + all needed mods for it.
- Running Scripts from /system/etc/init.d/ is SUPPORTED but OFF in STweaks! if you need it, enable.
- STweaks Kernel Control App will be installed with kernel.
- Synapse Kernel Control/Status App will be installed with kernel.
- Support JDI and LGD Screen types by Auto! (by @dr87)
- Added UltraSound high performance audio hardware support.
- Added USB SmartCard Driver.
- Added support for MultiROM kexec-hardboot! (by patrik.KT ) (disabled!)
- Added support for relaxed CPU idle functions to save power.
- Added support for USB PPP Simple modems.
- Added support for USB to Serial adapter. (module).
- Added Auto F2FS Mount on boot for /system /data /cache if formatted as F2FS.
- Added GPU OC/UC to Max 650Mhz Min 100Mhz (by @neobuddy89)
Post reports, i will fix.
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.
TO DOWNLOAD GO DOWN!!! YES MORE DOWN...(do i need to repeat?)
How To Install:
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.
If you cant make KNOCK ON to work! visit this site and do all steps till you get it working!
LINK TO KNOCK ON FIX GUIDE
- Meanmike (serious donation!)
- P_Toti X4
- Wimmme X2
- Androloid X2
- Pitsgraft X2
- Joschi 744
- Dick Gordon
- Iko11 X2
- Naomi G. (guest) X2
- Luiz S. (guest)
- Ben P. (guest)
- Arkadiy Y. (guest)
- Josue S. (guest)
- Aloys G. (guest)
- Bjorn S. (guest)
- BIANCHI A. (guest)
- Brian E. (guest)
- Andrea M. (guest)
- Krzysztof B.(guest)
- German H. (guest)
- Alejandro V. (guest)
- Anton P. (guest)
- Christian S. (guest)
- Jessica F. (guest)
- Sascha B. (guest)
- Carmine M.
Mirror #2 by willflint
Info for Web Hackers,
in my mirrors, there is nothing to take!
My work is public and for the people!
Please let my mirrors work in peace.
Before you Install
Check WHAT model you have downloaded!!!.
Best to use OTA APP by @Diechel
Get it in Google Play
*Set Selinux to Enforce as in default, no reason to set permissive for now.
*Merged D801 20g changes.
*Merged workqueue code from 3.9 kernel! it's HUGE update to kernel
major function. that control all works in kernel, all drivers!!!
it's added real speed increase in response and operation.
*Merged sound driver updates.
*Merged fixes for USB Audio critical fixes.
*Merged NET/WIFI updates.
*Merged MDSS (LCD panel) updates.
*Set force charge to REAL possible max ma from charger = 1600.
1800 or 2000 never actually worked.
*Fixed STOCK Hotplug driver.
*Updated all hotplugs + all govs with new workqueue functions.
*Alucard made optimizations to all his drivers. (cpufreqs/hotplug)
*Fixed some mess in BOOT INIT scripts in RAMDISK.
*Fixed wrong min/max cores online after Hotplug Gov switch.
*Merged updates to fix MEM corruption with GCC 4.9.x
*Fixed Low Power mod code to prevent stuck in suspend.
*Merged updates to speed up CPU code.
*Restored BT driver updates.
*Restored LowMemKiller updates + fixes.
*Disabled ARCH POWER, may lead to SOD.
*Merged updates to main CPUFREQ driver.
*Removed mods to MDSS (LCD Panel driver) that caused BLACK screen on wakeup.
*Reduced overhead in Acpuclk driver, idea by @duki994
*Disabled dual kernel boot for now as we have locked boot loader.
*Released 16mb locked RAM to low mem pool.
*Merged updates to OCMEM, BINDER, MMC, ARM, CORE, SCHED, TIME, NET
*Merged lots of updates to FileSystem:
Including FAT,F2FS,EXT4+JBD2, EXFAT, DEBUGFS, + core FS code updates.
*Merged BFQ 7r6 update.
*Fixed GPU OC code. now works very good.
*Merged Alucard HotPlug + Govs fixes/optimizations by DEV.
*Merged OOM code fixed, now mem management is very good.
*Enabled MMC deferred resume to speedup the wakeup.
*Reduced Power Drain by WIFI in suspend.
*Merged updates to kernel modem driver.
*Updated LINARO to 2014.10 build with soft FPU.
*Restored some changes to BT driver, now it's more STOCK. (works good)
*Removed some changes to FS to make the code more stable.
*Found and fixed broken code in sync driver that was stuck
and created SOD from kernel 4.0 till 8.7. now it's GONE!.
*Merged fixes to ARM,LPM,QSECCOM,CGROUPS,USB code.
*Merged new updates to sound driver and sound policy.
*Merged quickwakeup driver that help to resume system fast, and suspend fast.
*Fixed bugs in touch screen driver for all models.
*Fixed CRON service stop.
*Removed FSTRIM CRON, we can only use it with screen on. it's has to sync all data with active system.
*Restored new ROM INIT binary's for all models.
Profiles will be reset.
*Added GPU OC/UC max/min 650Mhz/100Mhz works great.
*Merged updates to slimbus driver for HDMI and others USB devices.
*Merged Update to Sound Driver.
*Merged updates to ARM code + kernel code performance boost.
*Merged fix for useless SYNC to FS during suspend. one sync on screen off is all we need.
*Reduced min brightness in dark.
*Fixes for FAST CHARGE driver.
*Fixes for BT driver.
*Merged GPU driver update.
*Merged update to Alucard Hotplug + Alucard CPU GOV from DEV.
*Reverted LMK updates to fix stability.
*Reverted Kernel tuning to fix stability.
*Reverted some WIFI changes to fix stability.
*Restored Audio Policy to fix stability.
*Fixed Cron bugs in scripts.
*Fixed charge only set on boot for some users of G3 Port. now will be MTP
*Tuned Msm Adreno GPU gov in all profiles.
*Merged new crypto neon accelerated 256/512bit driver.
*Merged fix for microseconds calculation in CORE driver.
*Merged USB MTP connection speedup for file transfers + bug fixes.
*Merged Sound Driver updates from CAF.
*Merged New updates to WIFI driver from Nexus 5 source.
*Merged updates to Alucard,Nightmare,Darkness CPU govs by DEV + tuning.
*Merged updates for Alucard HotPlug by DEV.
*Restored function that needed for LG driver. possible big BUG fix.
*Cleaned CPU STATS Driver, seems was bugged. now all ok.
*Removed fake AC when using USB, it's useless hack, just brake things in ROM.
*Merged updates to global CPUFREQ driver.
*Merged new Alarm Timer driver from CAF and Main Line kernel.
It's responsible for suspend, and fixed many bugs.
*Restored changes to Touch Screen driver that i ported, best to use latest STOCK LG driver.
*Fixed bug in msm thermal.
*Fixed F2FS auto mount scripts, there was BIG mess, and they didnt work!
Now all OK.
*Fixed CROND terminated by kernel as it's was not running from root script.
Now it's protected from kill, same as cortex.
*Merged updates for sound driver.
*Merged updates for CORE code.
*Fixed manual charge lock on 900ma using 1.8a charger.
*Merged updates for SeLinux.
*Added Auto mount F2FS partitions if formatted as F2FS on boot.
*Fixed CRON functions and added calibrate battery every week.
*Tuned Intelli and Alucad HotPlugs.
*Fixed Thermal Core down/up control.
*Added new controls for how many cores can be OFF during high temp.
IF! Core control is Enabled.
*Added HotPlug Live Status is Synapse main tab.
*Fixed Profiles backup/restore
*Made arrangements in STweaks XML to look more clear to understand.
*Fixed Stuck freq on core0 after high pressure thermal test.
will be reset to max on 55C temp.
*Merged updates for Alucard Hotplug. more performance and smart hot-plugging.
*Merged updates to Alucard, Darkness, Nightmare CPU govs from DEV.
Improved freq handling.
*Updated with latest ZVD+ZVE LS980 Source update from LG. it's common code
for all branches.
+Update to NFC driver
+Update to MTP driver
+Update to LCD panel driver
+Update to sound driver
*Tuned Ondemand to be more fast, and respond fast.
*Fixed BUG in OOM LMK driver.
*Moved all Thermal Controls back to STweaks, in new TAB.
Synapse is now for live date state. for debugging. and for fun.
*Fixed Stuck freq on CORE0 after boot. and after thermal event.
*Updated Alucards Touch boost driver + add/remove control for it.
*Tuned Ondemand gov.
*We now Boot on 2.26Ghz then set by profiles. was 2.8Ghz (version 8.4 only)
*Now ROM thermal alone can handle huge stress test on max TEMP of 77C
for 5 min, that all i tested, i am sure it's can hold hour... just bad for hardware.
*Fixed 1000ms description.
*We now boot on four cores! so boot will be little faster.
*Fixed possible SOD bug on charger overnight.
and when disconnecting power.
*Allowed to charge from USB3 port on 900ma as it's give us that.
*Merged update for Alucard and Darkness CPU GOVS.
*Fixed MIN freq stuck on some freq above 1GHZ
now we can set MIN freq up to 1.03Ghz no more!
we dont need more for MIN freq.
*Fixed BUG in multi core freq set that can cause deadlock = SOD.
*Tuned Alucard HotPlug, now last core will work on stress load. as others.
Improved idle state on one core.
HotPlug is smart, it's not turning all core for a finger swipe... so you will need to stress is a bit to see all cores online.
*Updated ExFat driver, critical bug fixed inside the module.
*Fixed performance degradation when freq reduced due thermal event.
now will be restored back to max every time temp is reduced.
by this boost performance to state of awesomeness!
*Tuned ROM thermal policy to work with 5c temp diff for freq cuts.
*Added controls for Touch boost driver in STweaks.
*Possible random SOD on suspend FIX!
*Disable some not used drivers.
*Added zip binary for zipping kernel log on creation.
so data inside will not be damaged on transfer to me.
*Merged power use reducer code, for CPU, will allow to save more power on idle
or low load.
*Fix slow wakeup from long suspend.
*Fix for Alucard Hotplug suspend function.
*Tuned Intelli HotPlug to perform faster.
Kernel 8.4 (STILL BUGGED!!)
*Fixed kernel Install Script.
*Merged update to Audio Driver.
*Merged new Touch Boost CPU'S code made by Alucard!
much better than old one, it's FAST and less battery drained, but getting
great "Micro LAG" removal.
*Merge Fix for mess in freqs after ROM thermal released from limit. now that
we can control each core by it's it's own freq and gov, ROM thermal made mess.
Now kernel will take care of that mess, and correct all as should be when core
is cold again. under 55C.
*Fixed broken in past freqs in I2C BUS. now all good.
*Fixed not started MTP on boot. now USB driver will be reloaded after boot.
if USB/Charger cable is detected. and by this fix MTP or Fast Charge.
Kernel 8.3 (BUG IN Install Script, deleted from storage)
*Fixed BUG with suspend SOD.
*Fixed Force Fast Charge.
*Cleaned POWERSUSPEND code.
*Adapted install script for old recovery's
*Fixed MSM HotPlug performance drain.
*Fixed CPU BOOST battery drain.
*Added missing sqlite3 for DB optimization cron.
*A lot of work made in RAMDISK boot scripts and Cortex and STweaks + Synapse.
See Ramdisk GIT for more info.
*Profiles and /data/.dori dir will be reset on first boot. to clean old problems.
*New Max freq limit driver added, it's now limit per core, there is no longer need for Global Max Freq limit. so it's removed.
What is set in STweaks, that is the MAX limit per core. no other app can change that.
WAS ADDED BEFORE (SOD BUG)
*Merged updates to PM code from CAF 3.5.y Kernel.
responsible for low power mods in suspend.
*Added FSTRIM also to Cache partition.
*Moved Synapse App from SYSTEM to DATA on kernel install.
*Set SELinux to Permissive on BOOT. seems some ROMS just BUGGED.
and cant take the Enforce MODE. not my problem. now will be OK.
*Fixed MSM/INTELLI Hoplug Suspend function, now it's safe to use for 100%
*Fixed BOOT tuning for MSM Thermal control.
*Added new status to Synapse that show active CORES in LIVE.
*Clean Synapse data when profiles cleaned.
*Link wget binary to /system/xbin/
*Updated refresh times for Synapse status tab.
*Profiles will be RESET on first boot.
*Fixed OndemandPlus CPU gov.
*Fixed Long vibrates bug when typing.
*Added support for Synapse Kernel control app! BIG Thanks to @neobuddy89 for help!
it's like STweaks but can show live data from kernel controls.
for now it's will control the thermal driver.
*Added support for USB Simple PPP modems. (WWAN PPP).
*Added support for USB to Serial adapters.
it's a module that can be loaded by some app for USB adapter.
*Merged fix for CMA RAM pages.
*Merged Multi CPU Policy code by @alucard_24
that allow us to set different freq for each core, and different cpu gov!
All controls are in STweaks.
*Fixed Force Fast Charge and made it super smart!
Now it's will on/off it's self if battery is above 95% to preserve battery LIFE.
as fast charge can in time reduce battery life if used till 100%
Will charge fast when in ON state, or Manual state.
also added MAX 300mA as requested, to force slow charging to prolong battery life, if fast charge is not needed.
*Merged fix to alucard hotplug from DEV. will improve hotplug performance.
*Merged kernel code alignment fix.
*Merged some new functions for kernel drivers future use.
*Removed old panels hack, as JDI/LGD panels fixed on kernel install.
*Fixed GPU update button in STweaks.
*Added copy of /data/.dori/ files to /data/.dori_bkp folder before profiles reset!
In this new build profiles will be reset on first boot!
*Added Anti Fast User function in boot script, that will not allow user to open STweaks till it's service loading controls, to prevent BUGS and mess.
User will be denied access to STweaks till all ready!
*Added SElinux control to STweaks Other Tab, you can set Enforce or Permissive.
*Added File System TRIM support! will be run on boot!
And user can push TRIM NOW in I/O Tab in STweaks. if it's show 0 then all was OK.
Also we can now set to run TRIM on /system + /data
every day at 6:00AM in CRON Tab, active by default!
*Removed not used tuner modules from kernel image.
*Fixed possible BUG that make SOD on charge, phone alive but screen is black.
*Merged CPUFREQ fixes that improve performance.
*Added new tweak to STweaks Hotplug tab. now cpu boost duration can be tuned.
*Merged updates for CPUFREQ and SCHED CORE code.
*Merged HUGE update to Power Manager and QOS Code.
*Merged big update to ARM code and CPU code + L2 CACHE speedup fixes.
*Merged update to MEM code power suspend.
*Merged updates to USB code.
*Merged Updates to CRYPTO code.
*Merged HUGE update to CPUIDLE code.
*Fixed Force Fast Charge code. now will charge fast.
*Merged HUGE update to Kernel IRQ distribution Domain.
*Merged update for Security Keys code.
*Fixed PowerSuspend delaying screen wakeup.
*Merged HUGE update to FileSystem code and Kernel System code.
*Merged NET code update.
*Tuned MSM and Intelli HotPlugs now will hold steady on idle. not jumps.
*Reduced Debug code that slowed kernel by 10%.
*Fixed stuck SuperSU service on boot.
*Added new control to STweaks, that allow to use faster kernel workqueue
or more power saver.
*Fixed power drain in IDLE/Suspend.
OLD CHANGE LOGS MOVED TO PAGE 3
[KK 4.4.2 Kernel 3.4.104][22 NOV] Dorimanx 9.0 LG G2 800/1/2/3/5/6 F320* LS/VS980, Kernel for the LG G2
dorimanx, alucard_24, neobuddy89, Diechel, duki994, d_Schizzo, vPro97, bloof, siggey, Tinchoska, cybernetus, johnbeetee, xanthrax, berryman13, Ganjax, jeebspawnshop, g.paganini, blastagator
Source Code: https://github.com/dorimanx/Dorimanx...ts/LG-STOCK-KK
Kernel Special Features: Read the What Inside.
Current Stable Version: 9.0
Stable Release Date: 2014-11-22
Last Updated 2014-11-22