Witam wszystkich maniak贸w nie mog膮cych wytrzyma膰 bez TWRP 馃檪
Chcia艂bym przekaza膰 Wam dobre wie艣ci. Doczekali艣my si臋 build'u kernela od Doriego pod androida 5.0 Lollipop.
Kernel b臋dzie przeznaczony pod stock rom tak samo jak i wersja z Kitkat'a.
Przepraszam z g贸ry za brak t艂umaczenia lecz nie jestem w tym dobry 馃檪
殴r贸d艂o XDA:
http://forum.xda-developers.com/lg-g2/development/lp-5-0-2-kernel-3-4-107-dorimanx-1-0-lg-t3102512
Og贸lnie:
Kernel 3.4.113, + LG LP updates + tweaks and lots of tuning
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!
Co otrzymamy:
Default I/O Scheduling: ZEN.
More I/O Scheduling present in kernel: ROW, FIOPS DEADLINE, NOOP, CFQ, SIO, BFQ.
Default CPU frequency: 300Mhz-2.26GHz (MAX OC up to 2.8Ghz speed!).
You can set MIN/MAX CPU Freq in Dorimanx App.
You can set MAX freq for screen OFF state!
Default CPU governor: Ondemand.
More CPU Govs present, conservative, performance, Intelidemand, Intellimm, Interactive, Nightmare, Hyper, Pegasusq, IntelliActive, Alucard, Darkness, Impulse, YankActive.
Support for Kernel HOTPLUG (Intelli HotPlug by @
faux123 )
Support for Kernel HOTPLUG (Alucard HotPlug by @
alucard_24 )
Support for KernelHOTPLUG (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 Dorimanx App. (by@
myfluxi )
Support limit OC to 2.5Ghz / 2.7Ghz / 2.8Ghz (by @
faux123 )
Support undervolt/overvolting via sysfs interface/apps interface(by @
faux123) .
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 30B kernel source.
File systems support: Ext2/3/4, FAT32, CIFS, USB OTG.
Support F2FS filesystem! code updated up to 4.5.rc1 backported for 3.10.y FS
EXFAT, NTFS supported but need USB OTG APP! it's not native!
Sound Driver Control or via Dorimanx APP or via Faux Sound App.
Allowed forced fast charge! hack.
Sweep2Sleep! allow sweeping from right to left and backwards! on soft buttons to turn off the screen.
Kernel created using GCC 5.2 compiled by me, powerful ToolChain + all needed mods for it.
Running Scripts from /system/etc/init.d/ is SUPPORTED but OFF in Dorimanx App! if you need it, enable.
Dorimanx Kernel Control App will be installed with kernel.
SynapseKernel Control/Status App will be installed with kernel.
Added UltraSound high performance audio hardware support.
Added support for MultiROM kexec-hardboot! (by
patrik.KT ) (disabled! cant be used for now.)
Added support for relaxed CPU idle functions to save power.
Added GPU OC/UC to Max 650Mhz Min 100Mhz (by @
neobuddy89 )
Added support for KK BootLoader! "BUMPED" kernel (by @Cybojenix && @Thecubed)
Advanced Color interface + App (color control) (by @savoca)
Support using phone as keyboard and mouse for PC over USB! (by @
pelya )
need APP USB Keyboard! also to enable USB keyboard in Dorimanx App.
Auto F2FS Mount on boot for /system /data /cache if formatted as F2FS you need Blastogator TWRP Recovery for this!.
Added UKSM driver to allow apps to share same RAM, and by this free global RAM for other things.
Added LCD State Notifier to signal different drivers in kernel to suspend when screen is OFF and 10sec passed.
Added ZRAM virtual swap with LZ4 merged from 4.2.y kernel. to extend memory pool by 25%.
Added ZSMALLOC driver from 4.2.y kernel to support memory fast allocation and swap control.
Merged 98% of all the memory code from 3.10.y android kernel, and some parts from 3.12.y kernel. to fight with LP RAM leaks!
Merged 98% of all cpu sched core code from 3.10.y android kernel, and some parts from 3.16.y kernel.
Merged 98% of all FS and BLOCK code from 3.10.y android kernel.
Merged 99% of all SCSI active drivers from 3.10.y android kernel.
Set internal kernel clock to 300HZ.
Czego nie obs艂uguje:
DATA ENCRYPTION! DO NOT ENCRYPT!!!! use STOCK KERNEL for encryption if you need it.
Instalacja:
Musimy posiada膰 root'a:
Spos贸b nr 1. https://forum.android.com.pl/topic/225160-root-dla-lollipop-502/
Spos贸b nr 2. https://forum.android.com.pl/topic/230072-root-dla-lg-g2-lolipop-502-alternatywna-metoda-by-pcstore/page-1
TWRP z instalacji Autorec: https://play.google.com/store/apps/details?id=b007.autorec2&hl=pl
TWRP aktualizacje: http://forum.xda-developers.com/lg-g2/development/twrp-twrp-2-8-0-0-kernel-f2fs-tools-t2898705
Wejd藕 w recovery
Wykonaj kopie zapasow膮 systemu
Wipe cache / dalvik cache
Zainstaluj KK Bootloader je艣li system bazuje na JB btld ( dla bezpiecze艅stwa )
Zainstaluj kernela
Gotowe
Wymagane:
KK Bootloader http://www.dorimanx.com/LG-LP/
Je艣li system bazuje na JB btld( scroll down )
Download:
https://github.com/dorimanx/LG-G2-LP-DOWNLOADS
( Pobieramy po klikni臋ciu w opcj臋 "RAW" )
Wersja stabilna:Dorimanx 12.0
Wersja beta:Dorimanx 11.9
Aktualizacja:
Dla u偶ytkownik贸w lubi膮cych wygod臋 polecam aplikacj臋 dla aktualizacji z poziomu OTA
stworzon膮 przez u偶ytkownika @Diechel z xda.
Wersja FREE: https://play.google.com/store/apps/details?id=com.diechel.xda.dorimanxota&hl=pl
Wersja PRO: https://play.google.com/store/apps/details?id=com.diechel.xda.dorimanxota.pro
XDA: http://forum.xda-developers.com/lg-g2/themes-apps/ota-dorimanx-ota-beta-lg-g2-800-1-2-3-5-t2861756
Change logs:
Kernel 12.0 Wersja Finalna, stabilna.
08/01/17
*Updates to Dorimanx App by @ krija big Thanks for that!
*Merged updates to NET,FS code.
*Created kernel with 6.2.0 GCC with latest libs tuned for our CPU.
*Merged new updates to busybox now it's 1.27.0 build with today changes.
Restored few options to fix CRON and other scripts that kernel use on boot.
19/12/16
Kernel 11.9
*Allowed modem to go to deepsleep when there is no data traffic.
User can control the modem state via dorimanx app. (see TWEAKS TAB)
when modem is in sleep state, it's may delay incoming notifications,
as whatsup and push mails over data connection. but will save standby power!
if it's critical to get all notifications on time, then switch to awake mode.
Kernel modem driver was set in awake mode in last 10 kernel builds!
Delay can be from 5 to 30sec, but power usage is from -10mA/h~25mA/h(sleeping) to -35mA/h~-60mA/h (Awake)
*Merged updates to ZRAM driver from main line kernel.
*Merged fix for NET code.
*Merged updates to File System code from CM14.1
*Updated EXFAT driver from my source.
*Merged huge update to F2FS driver from 3.18.y kernel. many fixes for SYNC code that was broken before.
*User profile will be RESET on first boot.
28/11/16
Kernel 11.8
*Fixed broken FS SYNC for F2FS driver.
*Merged fix for BFQ I/O driver.
*Added F2FS to ASYNC_FSYNC code.
*Merged fixes to DSYNC/O_SYNC AIO.
*Merged massive update to android binder driver from google kernel source.
This driver is main driving power or all applications and memory allocations.
ROM and APPS getting speed boost when running, see GIT for tech dev info
02/11/16
Kernel 11.6 ( Problem F2FS )
*Merged updates to BINDER driver from main line.
*Merged fixes for ARM code
*Merged updates to sound driver code. (no sound output changes, just bug fixes)
*Merged updates to memory code and ram leaks fixes.
*Merged updates to F2FS driver from 3.10.y stable tree including all changes up to main line kernel 4.9-rc3
*Merged 3.4.113 last kernel patch that included many fixes to NET,ARM,FS,TIMERS,MM
*Merged fix for screen panel that will reduce screen shatter during app transitions for all models.
This fix existed only for D802 till now.
*Merged cleanup for MMC driver.
*Merged ram leak fix for touch screen driver.
*Updated busybox with latest patches from source.
28/09/16
Kernel 11.5 BETA
*Merged code changes to RMNET,NET,SOUND,CRYPTO,ARM,AUDIT,TTY,HID,BLOCK,QSE ECOM,DMA,SMP2P2,KGSL,QCEDEV
*Updated kernel GCC builder to latest 6.1.0 build + all needed fixes found during kernel build.
*Updated busybox with all latest code changes from source
06/09/16
Kernel 11.4 BETA
*Merged fixes for NET,ASHMEM,SOUND,FS,BT,USB,BLOCK,PROC code from CAF (kernel 3.10.y + 3.14.y)
*Updated GCC Kernel builder to 5.4.0 latest edition.
*Merged update to Dorimanx App by @Krija
*Updated Busybox with latest updates from source.
08/08/16
Kernel 11.3 Wersja stabilna!
*Merged update to ZSMALLOC from 4.8 kernel.
Memory control improved.
*Merged updates for HID,NET,PPP,USB,Sound drivers.
14/07/16
Kernel 11.2 Wersja powinna by膰 stabilna ( beta )
*Merged updates for USB/NET/BT from CM13 and CAF sources.
*Merged updates to sound driver for stability.
*Changed Modem driver power save state to allow suspend in low level connections as G/Egde (2g)
has no effect on high level connections, as H/H+/4G. pwr drain is NORMAL in limits, and allow steady link in suspend.
for notifications/mails/other.
28/06/16
Kernel 11.1 Wersja stabilna!
*Merged updates to NET and WIFI code.
*Merged HUGE update to F2FS driver from 3.18.y kernel.
*Merged update to CPU code.
*Merged update to GPU driver.
*Updated Busybox to 1.26.0 from source.
19/06/16
Kernel 11.0 Wersja stabilna!
(I have skipped 10.8/9 as old KK kernel has that numbers already as last builds.)
*Merged fix for persistent ram code.
*Merged updates to sound driver.
*Merged updates to WIFI driver.
*Upgraded GCC from source, made with updated crosstoolng by me.
*Merged fix for ZSMALLOC from 4.6.y
*Merged small fix for GPU driver.
*Merged updates for keys and crypto drivers from CM13 source.
07/06/16
Kernel 10.7 Wersja stabilna!
*Fixed DATA modem IRQ enable in suspend. will help with connection stability and notifications.
*Merged MMC driver fix.
*Merged WIFI driver fix after switch to 300Mhz kernel internal speed.
WIFI connection is more stable even with LOW signal.
1/06/16
Kernel 10.6 BETA
*Merged fix for USB driver
*Switched MMC core affinity to per IRQ to save power. all cores waste too much.
*Fixed problem with ram cache drop. now we can use CROn again with no fear of stuck CPU.
*Fixed bug with muted headphones when there is In CALL. reported by few users.
*Merged optimization fix for boot config order.
*Merged fix for unbalanced IRQ 61 when suspended.
*Reduced VM pressure file min to 68 to reduce apps kill by LMK.
*Profiles will be RESET on first boot.
NEW MIRROR 2 is in github.
https://github.com/dorimanx/LG-G2-LP-DOWNLOADS
26/05/16
Kernel 10.4 BETA
*Merged updates for USB driver.
*Merged updates for sound driver.
*Merged update for CPU code.
*Merged updates for ZSMALLOC and ZRAM from 4.6.y kernel.
*Merged fix for F2FS.
*Merged MMC driver update for PM QOS, that speedup storage operations,
and help with fast suspend of MMC to save power.
MMC will work on ALL active cores now. reducing time to read/write in cost of small battery usage.
During USE only. i didn't noticed any heavy drain.
*Merged Dorimanx App update by @Krija
*Updated Kernel Debug Log. and added LIVE debug log in case of need to report
BUG in kernel or system, when ROM is still alive! and kernel didn't crash.
17/05/16
Kernel 10.3 BETA
*Merged updated to sched clock code.
*Merged big update to futex code and sync it with 4.6.y kernel.
*Merged swap speed update to ZRAM driver.
*Merged fixes for netfilter code.
*Merged fix for procfs from CM13
*Fixed clean cache code by reverting one change that i cant use yet.
Now RAM cache clean CRON will work as should.
Kernel 10.2
09/05/16
*Merged all mutex/spinlock locking code from 4.6.y! and many other changes to support it.
it's main driving force of kernel. all work on it.
many things fixed, and new code added.
*Merged new code for RCU used by percpu locks.
*Fixed cache release and calculation code by reverting few changes in memory code.
there is much to do more before using that part of code. all was great before, and should be now.
*Merged some updates to memory code from 4.6.y and some fixes to shrinker code.
*Merged updates to busybox from source and included in kernel.
Kernels 9.9 to 10.1 DELETED as found unstable. fixed changes moved to 10.2
*Merged update to sound driver.
*Merged fix for GPU driver.
*Merged updates for USB,arch_timer,NET,DM
*Merged kernel patch 3.4.112 many changes to NET/FS/USB/KERNEL/CRYPTO/TTY
*Restored lost configuration for FREQ INPUT. now all drivers that used that working again.
this fixed the "battery overheat bug" and many others that we didn't see.
*Merged updates to SCHED CORE.
*Merged big update to MUTEX lock/unlock code, core base for all drivers in kernel.
*Merged updates to stop machine (CPU) code.
*Merged updates to pipe code to limit apps hunger for RAM.
*Merged updates to FUSE and other FS code.
*Merged updates to F2FS from 3.18.y stable branch.
*Merged updates to SCSI and SG code.
*Tuned LMK to start free RAM at 294MB Free, to reduce LAGS with RAM under 300MB.
*Disabled Cleancache,ZBUD,ZCACHE to reduce LAGS with LOW RAM, battery drain, and cpu stress.
*Added new control to dorimanx app in Memory tab. for LMK min RAM before aggressive apps kill.
*Updated sweep2sleep driver and released ram usage when it's OFF.
*Updated state notifier driver.
*Merged updates to LIB code.
*Merged many updates to SMD,FUSE,QOS,THERMAL,SPM,CPUIDLE drivers.
*Merged many updates to sound driver.
*Merged many updates to memory code, including vmpressure and new shrinker API.
*Merged many updates to FS code including F2FS,EXT4,NOTIFY,PSTORE.
*Merged many updates to SCHED CORE and RT.
*Merged new LZ4 Cryptographer API and enabled it. used by ZCACHE.
*Merged new ZCACHE,ZBUD,CLEANCACHE code from 3.10.y and parts from 4.4.y kernel to help
with RAM access speed and reduce ram drain by apps.
by compressing cached RAM with LZ4 compression till needed again.
*Boosted internal kernel clock to 300 from 100 to speedup all functions and drivers.
this was tested and adapted in new kernels by google.
LG forgot us. so I went there and took it my self! big thanks to neobuddy89 for sharing!
*Merged many updates to ION,GPU,NET,IRQ,BLOCK,BDI,MMC,SWAP drivers.
*Updated busybox to latest build from source today!
*Merged Dorimanx app XML descriptions corrections.
*Changed CRON tasks timers, google service will be restarted every 8 hours now.
other RAM cleaners will run every 3 hours. ONLY if enabled!
*Allowed to use 1GB ZRAM Compression! and enabled 1 concurrent compressor for each 256mb of ZRAM.
to boost ZRAM performance, also added it to synapse to show how many compressors online.
Kernel 9.8Wersja STABILNA!
07/04/16
*Merged fix for pipe buffer
*Merged changes to ARM memory TLB.
*Merged updates for sound driver stream code.
*Merged support for ALAC/APE/VORBIS sound codex's for sound driver + FLAC switch fix.
*Merged fix for WIFI roaming standby drain. and fixed frame buffer overflow.
Wifi will use less power and connect faster. maybe drain less memory.
*Updated busybox from source.
Kernel 9.7 BETA!
31/3/16
*Merged many changes to ARCH memory defines for all ARCH drivers and other global drivers.
Memory management is improved and less RAM wasted for cache that never released.
few crash bugs fixed, hard to trigger but one day kernel can stuck on them.
many fixed! many to find and fix
same story with programming.
*Merged update to definition code to optimize RAM speed for our SOC and CPU.
*Merged updates to sound driver. for WMA format.
*Merged latest updates to F2FS code from 3.18.y F2FS branch.
*Merged CRC32 API for new F2FS driver.
*Updated Busybox with latest updates from source.
24/03/16
Kernel 9.6 Wersja STABILNA!
*Merged fix for video driver.
*Merged fixes for Qseecom driver.
*Merged updates to ZRAM and ZSALLOC from 4.6.y kernel.
*Merged fix for stagefright bug, now hackers will have hard times, till next HOLE found in ROM development.
*Merged updates to BLOCK,SLIMBUS,FORK
*Merged EXT4 driver from 3.18.y kernel with all needed changes in the system to support it.
Reduced power usage and many things optimized and bug fixed.
*Updated F2FS to support FS changes for 3.18.y EXT4 driver.
*Merged many updates to SCHED CORE code, driver perform much better with task management.
*Merged updates to SOUND,NET,MODULE(big update),MDSS,SCRIPTS,USB
*Merged updates from patch 3.4.111, many changes to NET and some FS and other drivers updates.
*Included updated Busybox from SOURCE made with new GCC compiler 5.3 + new libs.
*Reverted change for BT driver power save mode, it's create kernel crash when connected to BT audio
and call is received, modem in ROM crash and device stuck. very rare, but it's reproduced in my tests.
*Made few changes in cron scripts and added profile DIFF in debug log, so i can see what changed by user.
*Compiled new GCC 5.3 with updates to LIBS and compiled kernel with it. also used the GCC libs to build.
should be more stable. as toolchain now used fully. before my Linux box LIBS where used to build some stuff.
14/03/16
Kernel 9.5 Wersja STABILNA!
*Merged global CPU and Process fork code from 3.10.y
Many changes to why kernel work with process starting and controlling.
Including starting apps, maintain there RAM usage and close them when asked.
*Merged big update to cputime code to fix many bugs in cpu accounting code that run all the time.
*Merged code update that git rid of many code complications in kernel boot code.
*Merged fixes for GCC compiler used to create kernel, so it's will not brake kernel RAM
limits and other preset values during compile to binary code.
*Merged kernel patch 3.10.99 and 3.10.100 that included many fixes to:
FS, SCHED CORE, IRQ, MMC, USB, NET, TRACE, SOUND, RFKILL
and other global kernel code!
some of them are critical! and found by main line maintainers and published for us.
*Found missing SCHED CORE config that was OFF long time, and enabled.
Provide more accurate tick sched readings for SCHED CORE in sched mode that we use.
*I have set reset systemUI every night OFF by default. its crash systemui for some ROMS.
Can be enabled if no problem found before.
*Merged Dorimanx APP XML updates by @zdrawko12
12/03/16
Kernel 9.4 BETA!
*Merged many updates to sync more with 3.10.y
Including ARM,SIGNAL,MM,FREEZER,SCHED,PTRACE,SYSCALLS,SYSCTL
and much more common code that i missed before.
Many bugs fixed and new code optimizations added.
*Merged fix for BT drain! when BT used by some device. need to test.
*Fixed all Ondemand based GOVS, and fixed LAG with Ondemand GOV.
Now will work fast and balanced.
Kernel 9.3 BETA! Nie stabilny.
07/03/16
*Merged updates to Alucard HotPlug from DEV.
*Merged Alucards Touch Boost update from DEV.
*Merged update to all ondemand based CPU GOVS to optimize load calculation
and produce more performance. also many bugs fixed after long hours of testing.
now we get more calm CPU freq when there is no actual high load.
affected govs = HYPER, Alucard, Conservative, Darkness, IntelliDemand, Intellimm, Nightmare, Ondemand, Pegasusq.
*Merged updates to DM-CRYPT driver.
*Added Touch Core boost code to AUTOSMP hotplug and to Thunder HotPlug now when you touch the screen,
Driver will boost cores as set in Control APP. same as MSM HOTPLUG do. + many fixes!
*Updated BUSYBOX from source.
*Added check if /sdcard was not linked and SuperSu failed for some ROMS. with stock all OK!!!
And LINK it! as should.
*Added control to disable LG MLT app and then disable LOGCAT. no more cpu load from that APP.
Read the description about what is it doing in your device. if app is removed. then it's just OFF
By default i have disabled LG MLT + LOGCAT in control app.
*Profiles will be RESET on first boot.
Kernel 9.2 BETA!
02/03/16
*Merged updates to USB,HID,SPI,JBD2,EXT4,AIO and to other FS code.
*Merged updates to sound drivers.
*Merged updates to TTY,CYPTO,SSR,KLIST,CPU HotPlug code.
*Merged all updates to CIFS driver and some other missing code updates for FS from 3.10.y
*Merged update to MMC,DM-CRYPT.
*Merged 2 new HOTPLUGS! AutoSMP and Thunder HotPlug added to CONTROL APP.
AutoSMP is more aggressive toward performance, thunder hotplug is more balanced but also strong!
*Merged updates to NET,KGSL,RPM,RMP-SMD
*Merged updates to Alucard Hotplug from DEV.
*Merged big update to SCSI driver that load our storage and control USB stick mounts. full sync with 3.10.y
*Merged updates to Module,FUTEX,DMA,MM,TRACE,driver-core, and full sync to ASYNC driver.
*Merged full update to F2FS for 3.10.y FS from source! many fixes and optimizations. original code from 4.5.rc1
*Merged fix to Binder driver from 4.5.rc1.
*Added new control to turn logcat OFF and save power! logcat is OFF by default now.
*Merged CONTROL APP XML corrections by @hermitblue thanks for your work!
*Added new CRON task to reset SYSTEMUI service and reload it every night. to release stuck RAM.
*Few bugs corrected in cortex,swaptweaks and CRON service scripts.
Kernel 9.1 MEGA BETA!
21/02/16
*Merged updates to ARM code, used for GCC code alignment and other fixes.
*Merged update to SMD driver. and to camera VIDC.
*Merged code updates to thermal sensor driver.
*Reverted changes to FS from 3.16.y in order to update FS to 3.10.y much of that code was bugged anyway.
*Merged all FS(filesystem) code from 3.10.y, that includes: EXT4,FUSE,NTFS,FAT,CIFS,INOTIFY,EXFAT,F2FS,PROC,RA MFS,ENCRYPTFS,PIPE, and more.
This is huge step toward making kernel for LG G2 that is 3.10.y, where LG failed, i have won.
*Merged all BLOCK and INIT code from 3.10.y to support new FS and other massive changes in kernel drivers.
That include updates to ALL I/O Sched govs to 3.10.y version.
*Merged updates to sound driver, bug fixes, not sound quality related.
*Merged all IPC code from 3.10.y to support new FS and BLOCK code.
*Merged many updates to Audit code for selinux and other drivers in FS.
*Merged updates to Memory code to support new FS and BLOCK.
*Merged many updates to NET code to support new FS/PROC code.
*Updated touchboost code to check min/max freq ranges from sysfs.
*Tuned process reclaim code.
*Converted BT driver to support new FS structure.
*Merged updates to USB,SCSI,DM code.
*Updated ram console code to support new FS.
*Merged updates to Alucard and Nightmare CPU GOVS. and tuned Ondemand Gov.
*Merged new updated to SCHED CORE,FAIR,DEADLINE and workqueue code.
*Merged mods to ZRAM to support 3.10.y BLOCK code.
*Allowed KSWAPD memory reclaim to run on all 4 cores to speedup memory release for other needs.
*Merged updates to LIB code.
*Fixed ADB switch script in Control App.
*Reduced SWAPPINESS to 50 from 60 in all profiles.
*Merged XML descriptions for control app rewritten by @ hermit blue big thanks for hard work!
*Added new option to enable storage SWAP to extend RAM by 256MB or 512MB, in cost of storage space and cpu power, and battery.
set OFF by default, if you have high RAM shortage, you can enable to get some air. if not, leave it OFF.
It's read/write to storage and consume I/O speed. there are no free gifts here
*Integrated new swap to synapse status.
*Profiles will be reset on first boot.
08/02/16
Kernel 9.0 BETA!
*Merged updates to NET code.
*Merged updates to Alucard HotPlug by DEV.
*Merged updates to Alucard,Nightmare CPU govs by DEV.
*Merged updates to sound,usb,hid from patch 3.10.96
*Merged updates to LIB drivers, many changes that change the way code is made and operate.
*Merged updates to Crypto drivers, many new crypto features and performance boost.
*Merged updates to random32,radix-tree and genalloc.
*Merged updates to LZ4 compression driver.
*Merged updates to QSEECOM,Android-Alarm and camera VIDC.
*Merged many changes to ARM LIB code. this boost performance and correct memory distribution.
*Merged fix for Selinux driver.
*Updated GCC 5.3 toolchain with latest binutils and other libs, and used to compile kernel.
*Enabled encryptfs and set all needed to allow DATA encryption when using EXT4! will not work for F2FS!!!
*Merged updates to SCHED CORE,FAIR and NOOP I/O Sched.
*Merged fix for serial tty used for BT connections.
*Merged fixes for ratelimit and llist code. some are critical!
*Added new tuning in Dorimanx App for HotPlug sample rate.
it's best to sync with CPU gov sample rate! but if you feel performance drop,
feel free to set it to 10 samples. this was the default.
*Disabled UKSM by default, this driver is helping to save 25MB or little more, but drain power.
so it's should be used only if you think you need that 25mb for one small app in ram.
*Added FSTRIM crontab option, disabled by default. will run FSTRIM on system/data/cache at 22:00 every day.
*Fixed CRON service OFF/ON and other scripts belong to CRON, there was some mess
now all good.
*Updated BUSYBOX with latest changes from busybox source!
*Fixed AD UPDATE script that run every SAT, now it's will work as should. it's was missing connection and fail.
Now it's will try to connect to internet longer...
*Changed OOM profile to STOCK, it's work good for me for 2 weeks now. and i have free RAM for my needs.
*Updated DEBUG script to include also live dmesg log that written to /data/logging/ all the time by ROM.
So i will have more bigger picture what happened before device crashed.
*Profiles will be RESET on first boot!!!
Old change logs:
26/01/16
Kernel 8.9 Wersja stabilna.
*Merged critical fixes for ZMALLOC for ZRAM.
*Fixed Process Reclaim code, now releasing RAM as should.
*Merged fix for FUSE driver.
*Added new sysfs for checking ram pressure for LMK and Process Reclaim
And added them to SYNAPSE status page. now you can see your RAM pressure
*Added new CRON task to clear RAM cache from apps only! every 2 hours.
This will help to get smooth and stable device for longer time.
The option will not kill any apps from RAM, it's just strip cached RAM
by them. so other apps that running for you right now, will run faster.
*Fixed CRON timezone script, and fixed few small bugs in scripts.
*Merged updates to ramdisk and init from D802H stock kernel for D802 build only.
Kernel 8.8 Beta.
24/01/16
*Merged Selinux updates and fixes.
*Merged updates to Memory process reclaim, now less aggressive and less CPU power used.
this lead to less heat and more battery save. ram is still managed as should.
*Merged updates to FS and MM to improve global kernel performance.
*Merged updates to KEYS code including vulnerability fix that can crash kernel by using loop
script to drain all RAM. and many other fixes added from 3.10.y source.
*Merged updates to Camera driver, only few critical memory leaks and buffers crash fixes.
camera driver should be much more stable now. no quality changes!
*Merged new update to Dorimanx APP by @ krija big thanks for fast corrections!
*Merged updates to EXT4 and USB drivers from 3.10.95 kernel patch!
*Merged log cleanup for NET IPV6 code.
*Updated Busybox with latest source code updates. compiled with GCC 5.3 by me.
*Merged spelling and grammar updates to Dorimanx APP config XML. came from users that wish to help!
20/01/16
Kernel 8.7 Wersja stabilna
*Merged updates to FS Proc, Memory, and cpumask.
*Merged big update to Lib Bitmaps from 4.5.y source.!
Used in every driver, for every printing info function and other common stuff.
*Merged more fixes to F2F2 driver. now it's considered STABLE by Linux foundation.
*Merged updates to ZRAM from 4.5.y
*Merged HUGE updates to Network code, many optimizations in buffer driver and his friends.
*Reduced max CPU heat on boot, to allow some devices to boot safely.
*Reverted change to RMNET that seems to crash on workqueue process.
*Merged updates to RPM-SMD that allow to use much better way to communicate with modem and other drivers.
*Merged big update to IDR code that used in every driver in kernel + converted old IDR to new API
And removed old bugged IDR code as done in 4.5.y!
*Included NEW Dorimanx App made by @Krija looks great. big thanks for this update.
17/01/16
Kernel 8.6 MEGA BETA Stabilna 90%
*Merged massive update to base regmap driver that used by other drivers.
full sync with 3.10.y source.
*Merged updates to ARM code, including mem leak fixes, many bug fixes, optimizations, cleanups!
*Merged many updates to FS,SHCED CORE,RCU,OOM,DMA, and other global and common functions.
*Merged updates to MMC,CRYPTO,ION, and massive update to ADSPRPC (modem driver and sound soc).
*Merged updates to SCM, and massive update to USB driver including OTG and MTP + MIDI out updates.
*Merged updates to LIB,KEYS,PRINTK,EXT4,FAT,CPUIDLE,SYS and other critical fixes for CPU core.
*Merged massive update to memory code from 3.10.y and upstream code aurora updates backported from 4.5.y
Including many optimizations, bug fixes, and new ways to speedup kernel functions that work with RAM.
*Merged update to COMPILER defines and optimizations to get more stable kernel made by GCC compiler.
*Merged many updates to NET,RPM SMD,SPI,BUSPM,MSM_BUS, and other mods belong to network and kernel to ROM API's.
*Merged updates to timekeeping,net unix, cleanups in ARM code to release lost ram regions.
*Merged update to Alucard hotplug from DEV.
*Merged latest updates to ZRAM from 4.5.y kernel that include critical bug fixes with memory and IO allocation.
*Merged MASSIVE update to F2FS driver! all from latest 4.5.y kernel branch about 97 commits! + all needed changes
in global kernel code that lead to optimizations in many functions.
*Merged latest updated from CM13 and Aurora 3.4.y kernels, including updates to RMNET(data connection), USB, and ARM updates.
*Merged update to cron script that allow to use cron tasks with user timezone! and not UTC.
Kernel 8.5 Wersja testowa.
11/01/16
*Merged many updates to workqueue code.
*Merged updates to USB and MTP code.
*Merged Memory, SLUB, PAGE ALLOC and UKSM critical updates.
*Merged ARM IRQ updates, many bugs fixed, and new optimizations added.
*Merged update to Alucard CPU gov.
*Merged updates to KGSL GPU driver.
*Merged updates to DMA and IOPOOL.
*Merged updates and optimizations to DEVRES, CMA and SLIM.
*Corrected debug log script to detect chargerlogo log, and tell user that it's useless for dev.
Kernel 8.4 Wersja stabilna!
06/01/16
*Merged updates to SIO I/O gov and its named now SIOPLUS!
*Merged updates to rbtree code.
*Merged massive update to SCHED CORE,FAIR,RT,TIME,CPUTIME,SMP it's brings many bug fixes and performance vs battery save optimizations that hold CPU in idle when nothing to do with less spikes to higher freqs, and allow max performance when needed, always considering the heat! that actually reduce performance.
*Merged updates to MMC code.
*Merged updates to power management code.
*Merged updates to Memory code.
Many ram leaks fixed in kernel drivers.
*Merged big update and bug fixes for workqueue code.
*Updated ToolChain with GCC 5.3 builder. + optimizations.
*Cleaned some junk fails and errors on boot in log. some fixed now,
some just removed as not exist in code from stock.
*Merged updates to memory group counter code. and enabled it for ROM.
*Merged updates to NET code to support new counter code and CGROUP updates.
*Merged updates to GPU sync driver and to ION CMA HEAP code, mem leaks fixed.
*Merged many updates to IRQ code that allow enable/disable IRQ's based on active cores and not just on core0, by this improving performance of kernel
tasks and drivers operations.
*Merged update to impuse cpu GOV.
*Merged updates to Suspend code to show more info about wakeup sources.
*Merged updates to RPM-SMD, and QMI drivers mostly bug fixes.
*Merged updates to ARM DMA driver and few other null pointer bug fixes.
*Updated busybox from source and build it with GCC 5.3 and optimized gcc flags.
*Cleaned some broken not existing commands from ramdisk boost scripts.
31/12/15
Kernel 8.3 Wersja stabilna!
*Compressed kernel with better LZ4 compression.
*Fixed F2FS mount when Selinux enabled.
*Allowed better support for busybox functions when Selinux is enabled.
*Removed useless console drivers that never used.
*Changed kernel GCC optimization to increase performance.
*Merged updates to PROC FS code.
*Updated Busybox with latest updates and better GCC optimizations.
*Updated debug log script and Dori App XML descriptions + cleanups.
Kernel 8.2 IN TEST
27/12/15
*Merged updates to sound driver, wma,flac sound quality improved!
And more optimizations and code fixes!
*Merged update to NET code that prevent total crash in kernel.
*Merged update to memory code to calc total used ram by apps.
needed for devs to see whats is going on... see GIT.
*Updated kernel toolchain with updated crosstool compiler.
*Merged change to remove ipc router logs, no one read them...
*Merged update to core load balance code.
*Merged update to irq affinity code.
*Merged fix for wifi on/off in suspend possible crash fix.
*Updated Memory OOM profiles, and removed LOW profile, it's useless.
Kernel 8.1 Wersja Stabilna.
22/12/15
*Merged updates to RCU code.
*Merged updates to Memory code!
ram performance boosted!
*Switched to zone0 thermal sensor to reduce too high cpu temp.
ROM and Kernel thermal drivers will have better global temp
value for max freq cut when cpu is hot. made many tests,
CPU is holding very good.
*Merged update that allow to limit kswapd service to use only 2 cores!
This allow to reduce power usage and increase performance!
Kswapd is the ram cleaner that work non stop to release ram.
with many ways. less it's consume, more we have for us
*Merged updates to workqueue code and fs LRU buffers.
*Merged updates to kernel modem code.
*Added new oom profile named LP STOCK. it's same tuning as ROM INIT
set on boot. it's more aggressive than my default, but help to get more
free RAM for ROM and APP by removing background apps from RAM.
*Added kernel version to kernel debug zip. as requested.
*Allowed to disable the screen off oom profile set.
20/12/15
Kernel 8.0.1 IN TEST
*Updated Impulse CPU gov.
*Fixed sound bug with players.
Kernel 8.0 (sound bug fixed in 8.0.1, build removed)
*Merged NET code updates.
*Merged fixes for WIIMOTE driver and enabled it. it's possible to use phone as WII remote.
No idea HOW ask CM13 what to do.
*Reverted changes to GPU driver that create BUG in adreno dispatcher. they seems to be reverted in CAF kernel.
*Merged SCHED CORE/FAIR/DEADLINE code updates from Code Aurora (CAF) all from 3.10.y source.
I was missing much! as my sources didnt sync with CAF. and DEVS there are best in the WORLD!
Merged all possible! cpu loadbalace and power save is greatly improved.
many controls of sched added. none given to user for now.
I need to check what i can do with them and how to config them.
Also this code fix some memory leaks in SCHED functions.
*Merged sound driver code updates. to prevent bugs and reduce possible CPU power leaks.
*Updated all profiles with UKSM changes, and temp range set to 10C to reduce overheat.
Profiles will be RESET on first boot!
Kernel 7.9 Sporadyczny problem z GPU.
16/12/15
*Merged critical updates to kernel modem driver. should prevent modem crashes,
in rare conditions. if ROM modem driver crash, it's will not help.
*Hard limited CPU min freq to 990Mhz not possible to set higher! to prevent overheat
if user set higher than should.
*Cleaned not usable min/max freqs limits from dori app xml. so user will not be able to
set wrong freq that can lead to cpu stall or cpu critical overheat. see ramdisk GIT.
*Fixed touch boost driver bug with possible lock min freq to touch boost freq in rare condition.
Also respond to heat checks that say if CPU heat is above 70C do not force CPU min freq boost!
this should prevent too high temps playing games.
*Corrected thermal zone sensor set for ROM thermal. now set as kernel thermal zone.
this fix freq reduce too early without reaching real overheat point, and loosing performance.
now thermal control will work more effective.
*Merged updates to GPU KGSL driver from 3.10.y MM kernel. many bugs fixed,
many optimizations added to boost GPU performance with high thread priority's.
*Merged small fix for NET code.
*Enabled CPUSETS tuning, for now without user controls. it's set to allow 4 cores usage
for active on screen app, and only 2 cores for background apps and system services.
so this should give us small power save.
13/12/15
Kernel 7.8 Wersja stabilna!
*Merged updates for ipc router.
*Merged updates for diag driver.
*Merged many updates for proc base driver and it's friends. massive update!
*Merged update for memory oom driver as made for marshmallow kernel.
*Merged many NET updates from 3.10.y
*Merged fixes for memory leaks in ARM code.
*Merged Many updates to Sound and USB drivers.
*Compiled kernel with more stable build flags to support ROM code.
*Converted all kernel drivers to use optimized helper function.
*Merged updates to keys driver that had memory leak!
*Merged updates and fixes to kernel modem driver.
*Merged new code for SDIV/UDIV emulation for ARMv7 processors will be needed one day.
*Merged updates and fixes for MMC driver!
*Merged updates for Kernel: timer,sched core,cpusets(massive update), and many many!updates
to kernel core drivers, All came from 3.10.y marshmallow kernel!
*Updated debug script to create zip with USELESS name if there is nothing for me
to find inside. to save YOUR time. and mine.
08/12/15
Kernel 7.7 Wersja stabilna 97%
*Merged update to video code, overflow fix and optimizations.
*Merged fixes for smd_pkt driver to prevent crashes.
*Merged fix for sched core global defines.
*Merged fix for GPU for better register touch.
*Merged fix for ondemand cpu gov.
*Created updated kernel toolchain with updated crosstool builder.
*Merged latest init binary and other updates for D802! from stock 30F kernel
07/12/15
Kernel 7.6 Wersja stabilna.
*Merged all RCU and SRCU code from 3.10.y kernel.
Huge update 225 commits!
It's change the way kernel operate with every driver.
Code is optimized and many bugs that lead to crashes are fixed.
*Merged code optimization to all RCU functions in every possible driver in kernel.
*Merged few fixes for GCC kernel builder.
*Merged few NET updates to support new RCU code.
04/12/15
Kernel 7.5 IN TEST
*Merged updates to memory and io global kernel defines.
*Set sweep2sleep to off by default in kernel. to fix always ON
after boot. now if user leave it ON in config, it's will be enabled
30sec after full boot.
*Fixed ondemand gov tuning that prevented usage of high OC freqs.
and speedup performance for all other freqs.
*Merged updates to sched core.
*Merged updates PM code.
*Reverted CPU QOS code that was merged from Nvidea kernel long time ago.
Found to be unstable with new cpuidle code.
*Reverted CPU relax code from Nvidea kernel, to gain stability in cpu code.
as we have 3.10.y sched core now.
*Merged updates to kernel futex code that allow faster code processing.
*Merged updates to time code.
*Merged update to SMP to prevent memory leak from hotplug driver.
*Reverted few changes to WIFI driver. now it's 99.85 stock. any wifi bugs!
Report to LG. i dont have answers for you.
*Merged updates to MMC driver from CM13.
*Disabled DMUX fast shutdown, possible bug hit on calls.
*Reverted HACK for modem no crash. was added to fix D805 modem, now we don't need it.
Seems it's was blocking modem restart and panic kernel with it.
*Updated all profiles! they will be reset on boot! do not restore your saved profile.
Just tune new one for your needs.
*Updated UKSM sleep limit to max 1000, no more can be set.
*Trying to fix F2FS with SELINUX ON. need to test.
Kernel 7.4 MEGA BUILD! Wersja stabilna.
26/11/15
*Merged HUGE amount of updates to kernel core from 3.10.y!
CPU code and scheduler code updated big time, many bugs fixed.
Fair scheduler updated to max, CGROUP and AUTO GROUP for task per CPU updated to max.
*Fixed binder min_nice level set bug.
*Merged many updates to sound driver that allow great sound and safety from buffer overflow and null panics.
*Merged fixes to driver core printk functions.
*Updated BFQ with new cgroup structure.
*Merged NET and module fixes from CM13.
Kernel 7.3
22/11/15
*Reverted changes to slimbus driver, added at 7.0 kernel and we started to have stuck at call.
*Merged updates to cpufreq table code, to allow to monitor other cores freq usage. when they online!
*Merged updates and fixes to USB Gadget driver.
*Merged updates to binder driver that allow to speedup all android OS.
*Merged updates to RMNET(data internet) driver mostly code fixes and optimizations.
*Merged updates to alarm timer code, should allow to wakeup device from SHUTDOWN state!
when ROM default alarm is set. Need to test this
*Merged updates to sound voice call driver.
*Updated busybox with more applets and added missing user/group information for cron and other applets.
*Fixed cron scripts.
*Fixed no access to storage after boot if usb was connected all the time and original ADB is used.
No need to unplug and plug now. kernel will restart USB by auto.
Kernel 7.2 "MEGA BETA"
19/11/15
*Merged many updates to sound driver code. audio quality and code checks improved!
*Added HIFI audio performance mode that allow to improve sound for hifi flac and wave formats.
for MP3 this mode is auto off in kernel to save power, as there is no difference.
Now you will be able to listen to music a lot longer on one charge cycle.
*Possible fix for strange hang after call bug. not sure if it's kernel related.
*Updated kernel toolchain with new libs and crosstool updates. made for 3.4.110 build.
*Merged many updates for modem driver, more stable operation and crash checks and subsystem restart
in case of modem stuck. if kernel cant hot restart modem without reboot, then kernel will reboot.
*Merged many updates to critical code named susbsystem restart, it's responsible for everything in kernel!
every driver that register ON/OFF its self, use it, and now it's very smart in it's way of operation.
see git, it's a lot more complicated!
*Merged updates to ZRAM driver from 4.2.6 kernel! and to ZSMALLOC that support ZRAM.
*Merged many updates to percpu macros defines that now check many many things before allowing drivers
to use cpu, preventing crashes and optimizing cpu speed! made my tests and i see 25% improvement!
in cpu power from cold to hot state.
*Made new busybox 1.25.0 from source! using my custom toolchain for LG.
Busybox will be auto updated on first boot. it's include new applets and its much better than what we had before.
*Fixed audio hissing and pop/bz sound bugs! i didnt hear anything wrong so far
15/11/15
Kernel 7.1 Wersja stabilna w 99%
*Merged updates to sound driver to fix hang after call. After last update.
Now should be stable.
Sound driver now irq aware and power management aware. Should be great.
Kernel 7.0 Wersja testowa.
13/11/15
*Fixed EXFAT windows check disk errors.
*Updated ZRAM dmesg prints.
*Merged update to Memory, XHCI, Module load code.
*Merged big updae to sound driver code, improve MIC detect and sound output.
My headphones love the change
*Disabled watchdog, causing false reboots.
*Updated toolchain gcc 5.2 with new libs, stable tuning, and new crosstool.
*Merged big update to SPS,SPI,SLIMBUS,OF, drivers from 3.10.y
improved HDMI,SOUND, and other global functions in drivers.
many bugs fixed, many optimizations added.
*Tuned all profiles for dirty memory usage tuning. to reduce ram drain.
Profiles will be reset on boot, once.
Kernel 6.9 Wersja testowa.
08/11/15
*Merged update for input driver.
*Merged update for NET, MEMORY, VFS, SPS, MUTEX, SOUND
*Merged fix for LZ4 compression used in ZRAM.
*Allowed to modify VFS pressure and set it to 100% default value.
*Fixed and updated state notifier code.
*Merged update to ZRAM, now will compact its self when screen goes OFF.
*Disabled cpusets code, our core manage cpu better than ROM.
*Found missing config for multicast IP that needed for mirror cast driver.
*Updated ToolChain GCC 5.2 wiht new libs and new crosstool that create it.
*Modified profiles, see GIT. will be reset on first boot.
*Allowed to modify dirty cache down to 0.
Kernel 6.8 Wersja testowa.
04/11/15
*Merged fix for sound driver recording max allowed bit rate.
*Merged many updates to Selinux Driver. from 3.10.y kernel.
it's not used by default, but works very good if enabled.
*Tuned UKSM to wakeup every 1000ms by default. to save power.
*Set selinux to permissive on boot by kernel.
*Merged fix for NET driver.
*removed kernel logcat from config, logcat run always by ROM.
LP do not use kernel logcat anymore. it's OFF in stock.
*Fixed Ondemand GOV stuck with max freq if more than 1 core forced to be online.
*Fixed Intelli Hotplug stop working and stuck with all cores ON after suspend.
*Updated boot script for selinux enabled kernel. now will patch xposed if installed.
with selinux perms. when switching from selinux OFF to ON. when rebooting, kernel
will order dalvik-cache delete on boot once. and reboot! all written in dorimanx app.
for selinux switch button.
*Added internal kernel cron task to clean ram cache every day at 1:00AM. to speedup
device for many days.
29/10/15
Kernel 6.7 Wersja testowa
*Merged critical fix for kernel workqueue driver.
*Updated GCC 5.2 ToolChain with latest libs and patches.
*Updated cpufreq Limit control driver. now suspend min freq works.
and much more fixed.
*Updated state notifier driver, fixed sound BZBZBBZZZ when music play and screen goes off
now it's possible to hear some "BZ" as max freq switch from high to low. players need to catch up.
possible to hear on high CPU usage and screen goes off.
*Merged fixes for NET driver.
*Merged updates to ARM MMAP from 3.10.y aurora.
*Fixed few bugs in boot scripts and cortex function.
Kernel 6.4 Wersja STABILNA.
19/10/15
*Merged all changes (bug fixes and code optimizations) for ZRAM + ZSMALLOC + ZPOOL from 4.2.y main line kernel!
I was thinking if i can use the 3.10.y code, why not try to merge up to maximum that i can get from 4.2.y!
and it's took some time and few adaptations and manual relocations, and it's BOOTED! and works GREAT!
New driver is made by non humanoids! that's for sure
super complex and reprogrammed by 90%
*Fixed wrong compression set for ZRAM. now it's LZ4 as should be. was LZO (slower but stronger compression)
LZ4 is much faster but little less compression.
19/10/15
Kernel 6.3
*Fixed RAM allocation for Camera Decoder thanks to @duki994
*Merged ZRAM driver from 3.10.y kernel with LZ4 compression and highly advanced features!
it's able to compress RAM up to 45% and create more FREE RAM pool for apps to use.
by default set to 512MB for default and above and 256MB for battery profile.
Also added synapse status for ZRAM and control in Dorimanx app.
*Removed D805 build. all D805 users should use D802 kernel + LP D805 MODEM!
*Enabled advanced ZSMALLOC driver that help to operate memory allocations
and speedup the kernel.
*Fixed UKSM config defines in ramdisk scripts.
Kernel 6.2
16/10/15
*Tuned low mem killer driver to work harder and when ram pressure is in range of 85-94% it's will
order quick RAM release first by low priority apps in RAM, then to middle, and only then to highest RAM drainers.
*Merged changes to BINDER code from 3.10.y, it's should prevent few unexpected bugs with ROM stuck.
but kernel is OK... binder needed to run apps and ROM system.
*Merged fix for GPU ION Ram DMA corruption bug.
*Merged few mods to NET code, and profiling code.
Have fun.
this build should solve the device LAG after day of use. as ROM and apps drain RAM, and create shortage.
Now LMK will deal with them and restart them with low ram usage.
Kernel 6.1 In test.
14/10/15
*Updated slimbus driver that operate the hdmi and mirracast.
*Merged huge update to kernel timer code that needed every where!
all logic is based on time in nano seconds, so bugs in that lead to crashes.
Found few critical bugs that added with wrong patches in the deep past.
*Updated NTP code from 3.10.y and merged new driver to sync time after power loss.
*Merged few kernel core fixes.
*Tuned lowmemkill driver to be less aggressive and not burn too much power by releasing ram
when there is no need.
*Added few changes to kernel debug script, to add more info for me, and simplified check operation
Kernel 6.0 In test.
11/10/15
*Merged updates to kernel modem driver.
*Merged update to alucard hotplug from dev.
*Merged many updates to lowmemory driver, and to global ram shrinker code from 3.12.y kernel.
Now ram managed much much faster and better. result is amazing! ram growing free on it's own!
*Merged updates to random char code (entropy) + tuning. apps start faster and no more shortages
that lead to lags.
*Merged all updates to BAM_DMUX driver that allocate RAM for video, audio and much more.
*Merged few kernel fixes for futex and smp.
*Merged updates to color change driver from DEV.
*Merged SPS driver from 3.10.y operate modem and other hardware connected to network.
*Merged fixes for ext4 driver, about memory calculation.
*Merged fix for Selinux driver.
*Merged fix for ARCH DMA ram cache release.
*Merged updates to BUG trace code. so i will see more info if any BUGS will happen.
*Merged update to NET CUBIC congestion driver.
*Merged update for suspend notify driver, fixed bug of stuck in suspend and LAG like hell.
27/09/15
Kernel 5.9.2 STABLE
*Fixed freeze on boot.
REVERTED:
---Update for mem release in lcd driver.
---Fixed wrong control set for BUS control for GPU.
kernel 5.9 Usuni臋ty.
*Merged update for mem release in lcd driver.
*Merged updates for driver load core and power control from 3.10.89 kernel patch.
*Cleaned hotplugs from not needed control for io busy.
*Merged update to Alucard Hotplug from DEV.
*Fixed wrong control set for BUS control for GPU. LG BUG... now fixed.
possible performance boost in video driver.
Kernel is STABLE. as 5.8 is very stable. this changes only fix more bugs. so should be great.
Kernel 5.8
22/9/15
*Updated with kernel patch 109. many drivers updated.
detected bugs by world DEVS now fixed.
*Merged new way to signal drivers when device screen is OFF
when to enter suspend mode and when to wakeup!
it's replaced older driver that seems to create reboot bugs
with LP stock kernel. and working fine for KK code.
so now all CPU Hotplugs, FS drivers, LMK, and logger use new code.
it's called State Notify. using LCD driver to ON/OFF to signal.
*Merged fixes to Alarm Timer code and RTC that used to sync device time
with NET, now should save correct time after shutdown for some time.
also other code fixes and optimizations added.
*Merged fix for mem leak in bam_dmux driver. (modem and chip set)
*Merged updates to interactive GOV.
*Merged speed boost for MMC driver.
*Merged fix for VMA ANON naming code.
*Merged updates to Alucard Hotplug from DEV.
*Switched all CPU govs and Hotplugs + touch boost to more stable
workqueue function. there is noticeable performance boost!
and should be more stable now.
*Updated Sweep2Sleep code, now it's OFF in second that screen is OFF.
No more screen touch regs when screen is OFF and suspend timer still
in range of 0 to 10sec.
Some reported that they can END CALL when screen is OFF by touch where
the button is located. now it's will not work
*Adapted cortex script to work with new state notifier to mod kernel
based on screen ON/OFF
*Updated CPU LIMIT driver, now it's fully using state notify and when
suspend Freq is set, it's set on all 4 cores! before was set only on core0
so now when we listen to music and screen is OFF. we save more power.
*Suspend delay for all effected driver is set to 10sec after screen was
been turned OFF by user or by auto. if in that range screen is turned ON.
counter is reset. and device remain in full wake.
that help with quick wake during usage.
*Disabled msm watchdog code that create false panic when CPU is loaded with something.
kernel know to panic when there is a real problem. (it's will reboot device).
20/09/15
Kernel 5.7 IN TEST
*Updated all CPU GOVS with more checks to prevent BUGS in CPU code when GOV start on cores.
This should prevent many random unknown reboots.
Thanks to Alucard for help! for more info see GIT.
*Updated LMK code that was found bugged and crashed kernel when there was LOW RAM. in some
rare conditions. now more stable.
*Merged few updates to memory code from 3.10.y updates.
Kernel 5.6
16/09/15
*Removed kernel flag optimizations. as i use GCC 5.2 to compile kernel.
it's best to let GCC to set what needed by auto.
Any way i don't see any performance drop, or high battery usage.
kernel is stable and perform as expected.
*Merged fixes for 3.10.y memory code from 3.10.y main line.
*Merged bug fixes for Sound driver. no sound output change.
*Cleaned memory code from patches that belong to 3.4.y memory code.
we have 3.10.y memory code now.
*Updated PROC code to be able to use new memory code structure.
*Updated CpuSet code to use new memory code.
*Set Alucard Hotplug sample rate to 50. to reduce battery drain.
*Set watchdog timers to default to prevent possible bugs from my customer sets.
*Merged full update to IPC code from 3.10.y, it's responsible for memory allocation
and permissions check and filter from ROM to Kernel. and much more.
very big update! 100 commits.
*Merged code updates to Alucard,darkness,nightmare CPU govs from DEV.
*Set hotplug suspend OFF (always ON) after tests it's save more power than
when it's suspend. when we listen to music with screen OFF.
When device is going to sleep more, hotplug not working anyway.
*Profiles will be reset on first boot.
12/09/15
Kernel 5.5 IN TEST
*Merged code updates to ARCH timer that seems to be broken long time now.
and crushed kernel in suspend when irq thread was corrupted. not any more!
*Merged code updates from 3.10.y kernel for PM,CORE,FS,MM all for better performance
and bug fixing in Memory code.
*Merged update to Alucard hotplug from DEV.
*Merged lockless wake queues to speed up driver wakeup from suspend.
Kernel 5.4
08/09/15
*Merged ARCH code updates from 3.10.y to comply with all memory updates added till now.
*Merged critical fixes for ram management code from 3.10.y other branch.
this will fix random apps kill even if there is a free ram left.
also reduce battery drain and reduce cpu heat. it's will mess LESS with kill/start apps during operation.
*Disabled panic and reboot on oops bugs. that resolved by kernel at time they registered.
Kernel will try again same operation and in 99% cases will work normally.
if not. kernel will hang. then we will catch the real bug behind random reboots.
*Merged updates to Alucard and Nightmare CPU govs. and to Alucard HotPlug from DEV.
*Merged updates to fork main code and to main boot code. from 3.10.y
News Update!
Kernel 5.3
03/09/15
*Merged new Ultra Kernel SamePage Mapper tuned to work with android, much faster and less power use.
also has sleep and wake mods. to preserve battery and provide more free RAM.
See Synapse for more info. and Dorimax app MEM tab for more controls.
*Added new tuning to MEM tab for low ram reserve ratio. can help to maintain heavy loaded systems
when user always suffer from low RAM. now can be more aggressive to release cached RAM by apps to help
to speedup the system, in cost of battery.
*Merged many ARCH RAM code updates and fixes from 3.10.y. some critical bug fixes!
Much changed, need to test stability for long runs.
*Merged kernel ram table sort before boot to speedup booting! now my build server do the math and not our device.
*Merged update to Color tuning code by @ Savok a seems to stay tuned as we like after boot now!
Color tuning works good as was. but with less ram leaks and bugs in code.
*Added VENO TCP congestion protocol that was requested. read google for info.
*Updated and cleaned PowerSusped code that allow to use WAKE/SLEEP controls we have.
and do much much more under the hood!
News Update.
Kernel 5.2.1
30/08/15
*Set mmap value back to 32MB to fix few apps that use lowest ram block allowed.
*Set RAM release pressure higher to force kernel to reduce ram cache by auto. and free RAM for apps.
*Changed bootscript to be more smart about running functions in case user messedup the busybox.
*Set KSM values after boot again in case ROM or some crap app, changed the tuning for it.
News Update!
Kernel 5.2
29/08/15
*Merged updates to KGSL (gpu driver) from 3.10.y
*Merged updates to MMC code from 3.10.y
Need to check if WIFI works for ALL. all good here. mmc provide support for wifi chip.
*Increased min mem setting and min mmap setting to reduce kernel null pointer bugs from low ram.
*Integrated new feature called KSM, kernel samepage merging module to kernel, dorimanx app, synapse
it's allow to allocated shared RAM for apps that use same RAM blocks, and free more RAM for other things.
it's scan RAM every 250ms using CPU to release RAM and allow apps to share same RAM.
see how it's works in synapse.
*Merged update to LMK driver. now it's more accurate about what should be free from RAM.
26/08/15
Kernel 5.1 IN TEST
*Merged updates to KGSL (GPU Driver) from 3.10.y. concentrated on RAM usage fixes.
*Tuned Kernel OOM to be more aggressive when using "DEFAULT" oom setting.
This allow to have more free RAM for ROM/Kernel and user needs.
Now its acting as STOCK kernel. but much smarter
Kernel 5.0
24/08/15
*Merged updates to GPU driver from CM12.1 kernel.
*Reverted few changes to GPU driver that allowed it to use more RAM
than we can give, this was draining RAM and kill other apps from RAM.
also possible crash ROM/Kernel drivers.
Now it's will allocate with 2mb chunks max to 32MB.
*Merged new updates to MM code from 3.10.y
*Merged sound driver updates.
*Merged IRQ code from 3.10.y, IRQ code is in sync!
*Removed IRQ unbalanced warning from LOG for modem wakeup on suspend.
Kernel 4.9
22/08/15
*Merged updates to printk driver up to 3.10.y source.
after report from one user that catch BUG with it.
*Merged more updates to Memory code. now more ram released on boot
and more ram free for apps.
*Merged updates to SMP, GIC and VFP drivers.
*Merged updates to QseeCom up to 3.10.y.
Improve stability during apps load.
*Set to reset OOM levels to what set in Dorimanx app when screen is turned ON.
*Enabled Auto Sched Group to boost performance.
18/08/15
Kernel 4.8 STABLE
*Merged all remaining Memory code from 3.10.y
*Enabled LMK Adaptive feature and added it to Dorimanx App.
It's allow to quickly remove ram draining apps from RAM when free RAM is needed for something else.
without delay. this helps with LOW ram problems, and kernel crashes from too slow ram release process.
It's ON and best to leave it like that.
*Tuned min free RAM before LMK start to clean apps from RAM, now allowed to clean more than before.
LP drain RAM for ROM stuff and block kernel from removing system apps from RAM, now kernel will not ask...
If ram needed, we have it.
16/08/15
Kernel 4.7.3 BETA
*Merged all SLUB code from 3.10.y + all it's friends!
This code is the heart of memory code, and now we have it 3.10.y!
Many things fixed, many optimizations, and more.
*Merged Vmpressure code maxed to 3.10.y, allow smooth memory performance giving us smooth UI!
*Merged new code for process reclaim that help to reduce memory leaks. and speed up kernel.
*Merged Alucard hotplug and Nightmare,Darkness,Alucard CPU govs updates from DEV.
*Upgraded my build machine to MAX, latest GCC 5.2 and latest python 2.x for kernels. + many other.
*Merged update to LMK, new function added that use vmpressure to kill memory leaking apps when there is high
pressure on ram, for now it's OFF. i need to test it for some time, then i will add new control for it.
12/08/15
Kernel 4.7.2 STABLE
*Restored lost RAM for video driver. now all gallery and other apps will be OK.
*Merged lots of other RAM code updates, i am getting close to 3.10.y RAM code!
*Merged more memory optimizations and code fixes.
*Improved memory release after boot, to give all possible free RAM to user.
*Ram is auto growing when not used, releasing leaks and possible LOW RAM bugs.
]09/08/15
Kernel 4.7 BETA
*Merged many updates to Memory processing code and compaction.
Should help to fix memory drain bugs and kernel panics on high mem usage.
Before we had some external hacks and broken code in Memory code.
In time i will merge more updates to other memory processing code.
*Merged Fix for D805/6 hacked modem to try to fix signal drops
Please wait 1Min after boot before posting that it's not working.
It's running ROM DEVS hack to fix modem library load on boot for D805/6
02/08/15
Kernel 4.6 STABLE
*Merged update for CFQ I/O gov to speedup I/O for SSD storage.
*Merged few fixes for ION memory allocator.
*Merged big update to memory allocation and reservation
and DTC config reading code.
Many things fixed, and new code added. to allow less RAM to be used for
Normal operations. now we save more RAM for other things. like loading
apps faster, and more things in RAM without removing things we need.
*Merged update to Nightmare,Alucard,Darkness CPU govs from DEV.
30/07/15
Kernel 4.5 STABLE
*Fixed RAM leak, now free RAM will be normal again and not close to LOW RAM 220MB
*Merged fix for NET IPV6 code.
*Merged fix for cgroup define.
28/07/15
Kernel 4.4 BETA
*Merged updates to WorkQueue and IDR code from 3.10.y kernel.
*Fixed low memory crashes. by allowing LMK to kill system services and restart them.
To free leaked RAM, also allowed root apps to be killed from RAM.
*Merged Sound Driver fixes for RAM crash and other code, no sound change.
*Merged fix for CMA MEM code release to have free RAM when needed.
*Merged USB code that allow to reduce CPU usage when connected to USB
and no traffic from PC to device. it's can even sleep now. for small time steps.
this reduce heat from charge, and allow more faster charge, as CPU is sleeping.
25/07/15
Kernel 4.3 STABLE
*Merged fixes to FS code from 3.4.y aurora.
*Merged fixes to smpboot code, fixes NULL pointer bugs with CPU.
*Merged other critical fixes to thread exit code.
*Merged improved CPUIDLE code to remove old bugged one. merged up to 4.2.y main line!
*Fixed MMC fast write mode.
*Removed High Mem is Dirtable option from Dorimanx App and set OFF by default.
to prevent RAM crashes.
*Merged kernel ARM/CPU/RAM updates from 4.2.y main line kernel.
*Fixed restore profiles script, was not always working, now like atomic clock!
*Profiles will be reset on first boot.
*Made with new Linaro 2015.06
16/07/15
Kernel 4.2 STABLE
Kernel 4.2.2 for LS980 only!
*Fixed USB/CARRIER/MTP and other stuff using original ZVG kernel source.
*Merged fixes Power on/off API.
*Merged fix for modem crash for D805/6 need to test! kernel uploaded to mirrors.
*Merged fixes from lowmemkiller RBTREE selection. was mess long time!
*Merged fixes for reboot framework code that will try to alert first if possible
and not just reboot the kernel on drivers subsystems errors...
*Enabled WatchDog code to reboot in case of system crash.
*Removed changes to MSM CPUFREQ code and set it close to stock to gain stability.
*Enabled thermal control really early at boot.
*Merged MDSS and Camera fixe.
*Merged FS code fixes from aurora 3.4.y kernel. now we can mount/unmount RO our system partition.
before was stuck in RW mode and reduce read performance on system files.
*Merged fixes to alucards cpu govs.
*Fixed power mode script each screen on off.
*Disabled OndemandPlus gov. it's old and broken.
*Removed few govs from CPU0 GOV selection. left only the STABLE govs.
CPU0 is critical core that hold all workqueue of the system as it's always online.
it's must have stable GOV on it, or system crash.
For other govs that ON/OFF many times, we can use any other govs. they works good.
*Kernel will Reset Profiles on first boot.
10/07/15
Kernel 3.9.1+2
*Found and fixed nasty bug in all CPU GOVS.
*Fixed all 3 Alucards CPU GOVS. now fast again.
*Fixed Thermal Core driver! now will be activated on boot faster.
and will check for CPU0 temp. and not global cores temp.
this will allow much colder device, and stable performance.
no more overheat BUGS that crash and reboot during high pressure
tasks. like Facebook + music play
*Merged few missing MMC updates for power shut code and voltage checks.
*Merged fix for lowmemkiller driver.
*Merged fix for sharedmem probs! broken in 3.8, now all ok.
*Added fix checks in workqueue on boot. to reduce warning logs.
*Disabled sched auto group code, we use ROM cpu group control.
*Fixed bug in CPUFREQ code, for ALL GOVS, including alucard,nightmare,darkness
*Ordered to delete chargerlogo binary in case we boot to ROM!
to prevent strange bug that kill ROM using that file.
07/07/15
Kernel 3.8
*Merged and synced kernel work queue and scheduling code with 3.10.y android kernel.
Many bugs fixed, now kernel will try to resolve stuck schedule and not to reboot.
major update! lots of code. see GIT
*Merged IDR code to support new kernel work queue also maxed to 3.10.y source code.
Also updated many kernel drivers to use new IDR code structure to speedup and secure from bugs.
*Merged fixes to KGSL (GPU) to prevent ram drain and bugs.
*Merged fix to Alucard Hotplug from DEV.
*Merged fix NET code.
*Merged fixes to USB driver.
Kernel 3.7
*Removed Modem hack in D800/1/2 builds, possible bug with IMEI and modem crash and reboot!
*Locked Modem restart code that comes from LS980 Source to LS980 kernel only.
Probably crash other models modem and create reboots.
*Reverted change to try to catch modem reboot logs, if modem should restart, do it!
dont block it, as if it's not rebooting, device is Rebooting! we dont even see that happen
it's in kernel, and very fast.
*Optimized work queue code for HYPER, Intellimm, Pegasusq
*Found bug in Idle/suspend with CPUIDLE code that added in updates,
but i was missing critical fix from main line kernel.
*Merged updates and bug fixes for CPUIDLE code from main line kernel.
*Added D805/6 model build that include Cloudy Fix RIL script. it's same as D802 in code base.
05/07/15
Kernel 3.6.1
*Made big MMC rework restoring our voltage and RAM controls to restore WIFI
Driver operation on many devices.
Also found out the in old days i have make mistake in workqueu priority change
that prevented MMC from getting high priority in system chain.
and on high load it's could stuck! this = DEAD device... reboot/Sod broken data.
Now it's FIXED.
With big help from my great beta tester @@iko11 i was been able to fix MMC for WIFI!
now all works as should!
02/07/15
Kernel 3.6
DELETED BUGGED WIFI
*Merged HUGE mass of code to MMC driver from 3.10.y android kernel.
it's brings many fixes to many many bugs!
it's will save power!
it's will give faster access!
it's will use less CPU to work.
*Merged fixes to camera and LED panel.
*Merged change to help with modem reinit.
*Merged mods to WIFI to save more power and reduce wakelocks.
*Merged fixes to sound driver.
*Merged fixes to DSI PHY lane.
28/06/15
Kernel 3.5.1
*Merged tuning for WIFI suspend mode
*Merged update from Alucard to CPU GOVS.
*Merged fix for sound driver ocmem allocation.
*Fixed busybox running and probably other things.
by restoring default protection for null pointer bugs.
no other choice. need to seek for bugs and fix them in code.
kernel will show 3.5 as build number.
*Merged updates to ARM and IRQ
*Merged updates to CPUFREQ stats code.
*Merged updates to QsecCom driver.
*Merged updates to SPI_QSD driver.
*Merged change to allocate 2MB RAM more for sound driver to prevent crash!
*Merged MMC change that allow to boost write performance or reduce bu save power.
*Added new control option in Dorimanx App for MMC power/performance.
till now we had it set to powersave. now we can have faster MMC.
*Merged Update to all CPU GOVS that allow correct CPU freq limit checks.
*Merged tuning to WIFI suspend mode.
*Merged updates to CPUSET CGROUP as i have seen that some kernel panics came from it.
*Restored min RAM for apps to 16MB was 64MB this was my change to fight with panic bugs.
but it's was no helping. just reduced allowed RAM for apps. the null pointer protection should help.
26/06/15
Kernel 3.4
*Updated AIO FS code. cleaned old hacks from it. now in sync with 3.10.y by 98%
not all can be ported without more changes.
*Restored MMC code change that needed for LP, i have removed it in early builds 1.xx
with KK it's crash MMC. but here it's was by default from stock... so i have tested and restored.
*Cleaned wakelock check/clean on every check for charger... to many checks, can lead to bugs.
we dont need it any more, was made for KK.
*Merged fix to Selinux perms in case used in enforce mode by @blastagator
*Merged Google Services power drain and wakelock fix by @Alcolawl
*Merged fix for switch mutex guards from KK kernel.
*Merged fix to speedup I/O for SSD flash.
24/06/15
Kernel 3.3.1
*Merged patch 3.4.108 and lost patches 3.4.0->1
*Merged Adreno Idler that save power by quick drop GPU to idle if no load on GPU.
This will save power when screen is ON and OFF
*Fixed App WatchDog to stop rebooting kernel when his own IRQ stop responding
as kernel busy with other things... then it's respond again.
But watchdog think that system is frozen, and order REBOOT. now will order reboot
on REAL bugs only. not on it's self.
*Merged fix for WIFI/NET code checks.
*Merged fix for VFP cpu on/off code.
*Cleaned BOOT scripts from possible boot fail triggers! and some other ramdisk mess.
21/06/15
Kernel 3.2
*Switched to LINARO 2015.03 GCC 4.9.3 as it's was great all the time.
I suspect that RAM bugs that lead to reboots started when i changed to GCC 5.1
*Reserved more 32MB for kernel drivers. so apps cant touch it. best to kills apps
to release RAM, and not kill kernel... and REBOOT or just stuck.
19/06/15
Kernel 3.1.2
*Fixed mount of cache as EXT4. was broken from 2.9 no SELINUX.
*Fixed reboots from watchdog kill it's self... extended check time out.
*Enabled 3 cores when screen is OFF and system is no sleeping! (call,music,file transfer, and others)
When will enter suspend, then only core0 is in deepsleep, others OFF.
This should fix reboots from resource shortages.
one core cant handle LP ROM. and our needs.
*Reverted change that make reboot in suspend. now stable (i had reboot too!)
*Merged fix for Alucard cpu hotplug by DEV.
*Merged fix for HDMI code. resolution change fix.
*Fixed OTA app access to /cache/recovery/
*Set max GPU freq to 450 for performance profile. just in case. set higher if you wish.
kernel 3.0/3.1 will be removed. BUGGED.
17/06/15
Kernel 3.0
*Merged updates to cpufreq code structure.
*Merged big update to drivers/base code including power and RAM code fixes.
Many bugs fixed, code updates from 3.10.y android msm.
*Merged update to Dorimanx App by @Krija
*Set ZEN and other I/O govs to support high fifo batch tuning to reduce load on eMMC
Thanks to @duki994 for pointing this out.
*Set eMMC nomerges = 2 to reduce CPU load when high I/O is needed for APPS or downloads.
this speedup SQL Data Bases read/write by 6sec! it's LONG time to wait for something to "MOVE"
*Enabled CPU accounting and grouping per task as LP ROM need that, and i have disabled in config.
Seen errors in LOGS and enabled. now all clean. should help with CPU power redistribution per apps.
*Fixed max 4 cores online. even if user set max 2 and turned screen OFF/ON, now kernel obey user needs after boost on wakeup.
*Corrected some Dorimanx XML descriptions.
*Fixed setting SELINUX ON, and mounting modem with full selinux rights and perms after selinux was OFF.
*Corrected busybox not working if Selinux is ON and set to enforce.
*Corrected permissions for selinux ON mode in kernel folders and scripts.
12/06/15
Kernel 2.9
*Added support for VS980 Model. need to have last KK bootloader for this model to boot kernel.
*Merged updates to Alucard,Nightmare,Darkness CPU GOV from DEV.
*Merged fixes to kernel modem driver.
*Merged fixes to input driver and to spi_qsd driver.
*Disabled SELINUX totaly on boot. you can enable it via Dorimanx APP if you wish,
This will fix many bugs and increase performance and save more battery power. (if it's stay OFF)
*Merged big update to driver core code. many updates to checks and power code!
device will wakeup from suspend faster! and power is saved more in suspend.
*Disabled ROM kernel log to data, waste of room and power by using CPU non stop.
*Fixed many file permissions bugs that i have discovered after updating drivers core.
*Merged updates to Alucard HotPlug from DEV.
*Merged update to BFQ I/O gov to build v7r8
*Fixed some adb start stop in USB ramdisk scripts.
*Set faster CPU gov sample rate for performance profiles.
*Fixed no GSM link for other models than D802
*Merged Selinux context perms mods by @blastagator
07/06/15
Kernel 2.8
*Added support for D800/1 and LS980 need to test.
Till BETA testers report that kernel is OK, i cant say that it's working!
*Merged updates to memory compaction code.
*Merged updates to BINDER,NET,SOUND,REGULATOR from aurora kernel.
*Added missing check/fix binary for F2FS
*Added more RAM buffer for NET connection.
04/06/15
Kernel 2.7
*Merged updates to kernel watchdog code, this should prevent 80% of reboots.
it's was too slow and was not getting resources when high load on CPU, and think that system is stuck!
and order reboot. now it's works with high priority and have many new checks to see what is going on.
*Merged updates to GPU/ION code.
*Merged update to alucard cpu gov.
*Merged latest F2FS driver updates for 3.4.y.
*Merged mods to RAM cache code to have more free RAM by releasing not used RAM cache.
*Compiled Kernel with new GCC 5.1.0 toolchain, with hard VFP Neon and latest libs.
Kernel code more optimized and fast.
*Cleaned useless spam log.
02/06/15
Kernel 2.6
*Removed limits in few govs for tunable options.
*Fixed setting sample rate for all govs via Dorimanx App.
*Blocked ROM hotplug driver from messing with CPU govs. we don't want that.
*Allowed Hotplug to allow 2 cores max online during standby. when device suspend only core 0 is alive in PM mode.
*Fixed possible BUG in Alucard hotplug suspend function.
*Merged NULL pointer fix in GPU driver.
*Tuned reserved RAM for VM/kernel to 32MB from 16mb this allow faster UI and apps access.
*Restored default rq affinity for I/O to finish tasks on CPU that started them.
*Fixed typo in ram release log. and corrected XML for dorimanx app.
*Enabled highmem_is_dirtyable by default in all profiles. very good tweak.
30/05/15
Kernel 2.5
*Merged updates to fix memory leak in BAM DMUX (core driver for android needs)
*Merged updates to lowmemorykiller driver, should work little faster when low ram condition is triggered.
*Merged sound driver updates to fix ram allocations.
*Merged updates to nightmare,alucard,darkness CPU govs from DEV.
*Merged updates to devfreq code to allocate RAM in better way and code speed optimization.
*Added control in dorimanx app to mark highmem as source of free RAM in case of need, see Memory tab!
it's OFF by default. need to test for long time. this can improve performance, but also can add strange bugs.
*Added new cron task to restart google services every 3 hours, this will make sure to release all leaked RAM
and stop non stop CPU power drain, i have found that this service can stuck after long use without REBOOT.
service is ON by default.
*Tuned profiles for min backlight, temp hysteresis, mic gain, and fixed some cron scripts.
Profiles will be reset on first boot.
23/05/15
Kernel 2.4
*Possible final fix for F2FS support in LP for system/data/cache
Thanks to @xdabbeb
*Reverted few changes in MSM CPUFREQ driver that maybe responsible for CPU GOVS crashes.
need to test now if OK. and CPU GOVS stable.
*Merged few other good changes to CPUFREQ that prevent possible problems with hotplug cpus.
*Merged HACK to stop ROM messing with min/max freqs and not letting kernel cpuboost driver to work.
21/05/15
Kernel 2.3.1
Kernel will show version 2.3 in the info.
(kernels from 1.6 to 2.1 deleted. beta tests with bugs anyway...)
*Reverted sound driver changes to fix stock music player.
*Prevent default hotplug ROm binary to make any CPU freq changes if not selected as hotplug.
Kernel 2.2
*Fixed bugs in all active CPU GOVS. should be stable for all govs.
*Fixed USB/Keyboard HID code and interface. (use only if you need it, then disable to have default USB connection)
*Merged update to speedup rpm_smd code.
*Merged sps low memory guard, adds stability to ROM needs.
*Merged fix for suspend counters that possibly delayed suspend and wasted battery..
19/05/15
Kernel 2.2 STABLE 95%
*Fixed Force Fast charge code. removed possible NULL pointer bugs, works very good now.
*Compiled and used new GCC 5.1.0 kernel build Toolchain! very advanced and powerful tool
on first compile found many bugs that can create many problems. and FIXED...
*Merged special binary for D806/5 models to create stable network connection with modded baseband.
Please try to use profiles that i have set... still more work needed on different CPU govs.
And no need to set OOM to aggressive. default works just fine.
Kernel 1.6 --> 2.1
*Merged more Selinux and NET updates from aurora 3.7.y kernel.
*Merged Alucards CPU Govs cleanup commit from DEV.
*Removed tons of logs from camera when it's active. no one care..
*Fixed and tuned FORCE FAST CHARGE driver.
now will be possible to use 2000ma max charge if charger can supply!
and you select FAST CHARGE and not MTP in USB connection selector.
if you need MTP with charge, then it's will charge ~1600max.
*Removed few RAM tweaks, that seems to brake RAM cache release.
Will work good without it. it's not enabled by LG...
*Removed 300ma forcefast charge limit, we can limit only 500! no less.
*Fixed Nightmare, Alucard, Darkness CPU GOVS. now stable!
*Merged updates and fixes to SeLinux code. from 3.7.y aurora kernel.
*Restored and fixed BOOT init scripts.
*Updated Alucard,Nightmare,Darkness CPU govs from DEV.
*Reverted changes to WIFI driver.
*Merged update to Alucard hotplug from DEV.
*Removed added ROM tweaks that maybe where OK with KK, but not good with LP.
*Merged new KERNEL RAM protection code, to block access to critical registers that can be used
to stuck kernel... now it's protected. code from aurora kernel.
*Restored default playback and record timer periods... possible bug with call start.. and freeze.
*Merged USB driver updates from Aurora and my KK kernel.
*Merged USB/Keyboard controller driver. support for usb keyboard app is restored.
*Fixed OndemandPlus gov. now should be stable again.
*Tuned all profiles to balance performance via battery.
*Turned off ARCH POWER and SLEEPERS to gain performance and stability.
*Merged fixes to WIFI driver.
*Disabled one more cpu performance counter that no one need. or use.
*Renamed STweaks app to Dorimanx, and placed it in /system/priv-app
same for color tune app.
*Removed logs from vibrate driver that spam the dmesg log.
*Improved memory usage, by allowing kernel to count high memory free buffers as free RAM.
This allow apps to use more RAM then before, and OOM driver to be more accurate.
My advice is to set screen on OOM to aggressive in Dorimanx App RAM tab.
*Cleaned MSM THERMAL driver from unsupported vdd restrictions and other code for G3 model.
13/05/15
Kernel 1.5
*Merged sound driver updates from aurora.
*Fixed MEM leak with lowmemkill not releasing home and systemui from RAM.
in case of low ram, and not killing system services. not it's will release.
needed services will auto start without mem leak.
*Updated OndemandPlug CPU gov with latest mods i found.
*Merged updates to USB driver.
*Merged updates to MMC driver.
*Major code cleanup for msm cpufreq driver and cpu code. works great and in sync
with android 5.1
*Merged fix for GPU freqs scaling. should work more correctly.
*Merged update to crypto driver.
*Added 499Mhz freq step.
*Removed non needed debug logs from dmesg non stop write..
*Removed Analog PA gain control. it's no longer supported with LP drivers / ROM.
*Fixed CPU UV/OV voltage table code. now works as should. every freq can be tuned.
*Tuned profiles for lower MIC gains. seems that we dont need +10 any more! +3 is good.
Also bumped GPU gov simple ramp threshold to boost video performance.
*Fixed kernel ver check via Dorimanx App.
10-05-15
Kernel 1.4
*Reverted change to lowmemkill that allow to low ram level and system LAG too much.
*Merged Sound driver update from aurora.
*Merged big mass of power saver tweaks and hacks from KK kernel.
All this mods fix many critical kernel panics and possible fails.
It's also boost performance and reduce battery usage in suspend and wake.
for full change log see GIT... all that we had with KK and it's WORKS.
*Merged new updated Dorimanx App, thanks to @Krija for support.
Kernel 1.3
*Merged updates to PM configs from aurora.
*Fixed BUG with Selinux code for rootfs
*Fixed delay in music tracks switch.
*Fixed MIN Back light control interface.
Now we can set MIN back light with auto brightness.
*Reverted commit that create LAG with CPU cores.
*Disabled debugs and compiled with -O2 flags for optimization.
*Enabled auto grouping of system tasks. to boost performance.
08-05-15
Kernel 1.2
*Fixed AD block download and set.
*Boosted performance to support LP heavy UI.
*Tuned Alucard CPU gov to deliver higher performance.
*Cleaned Zipalign and Camera reset. no longer supported.
*Few cleanups in boot scripts.
Kernel 1.1
D802 ONLY for now!
PEOPLE DO NOT USE ZIPALIGN!!! it's not supported with ART structure...
*Finished merges of ALL critical parts and good stuff from my KK kernel 10.5
Now you have all that with LP kernel
and more from LG.
Instaluj膮c to j膮dro bierzesz pe艂n膮 odpowiedzialno艣膰 za jakiekolwiek uszkodzenia firmware i software.
Instalacja Kernela zalecana jest na stock rom. W przypadku instalacji na romy bazuj膮ce na stock firmware musimy liczy膰 si臋
mo偶liwo艣ci膮 nieodpowiedniego dzia艂ania.
Dodatki:
Osobi艣cie do tej operacji u偶y艂em aplikacji TotalCommander https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander&hl=pl
Instalacja Viper4Android
Pobieramy wersj臋 2.3.4.0 http://www.dorimanx.com/LG-LP
Wrzucamy nasz膮 apk do /system/priv-app/ i nadajemy uprawnienia 0644.
Nast臋pnie edytujemy plik build.prop i dopisujemy na ko艅cu:
# Viper4Android
tunnel.decode=false
lpa.use-stagefright=false
lpa.releaselock=false
lpa.decode=false
Zapisujemy zmieniony plik i upewniamy si臋 czy ma uprawnienia 0755.
Edytujemy plik audio_policy.conf w /system/etc/ Usuwamy wpis:
# deep_buffer {
# sampling_rates 44100|48000
# channel_masks AUDIO_CHANNEL_OUT_STEREO
# formats AUDIO_FORMAT_PCM_16_BIT
# devices AUDIO_DEVICE_OUT_SPEAKER| (LONG LONG LINE!)
# flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
# }
Zapisujemy zmieniony plik i upewniamy si臋 czy ma uprawnienia 0755.
Uruchamiamy ponownie G2, android si臋 zaktualizuje i supersu zapyta si臋 o nadanie uprawnie艅 aplikacji viper4android.
Gotowe :cheers:
Informacja:
Je艣li z jakiego艣 powodu po instalacji kernela nie mamy za艂膮czonej aplikacji zarz膮dzaj膮cej kernelem " Dorimanx " (STweaks) musimy zrestartowa膰 telefon jeszcze raz.
Przywracamy ustawienia fabryczne kernela poprzez usuni臋cie folderu .dori wraz z zawarto艣ci膮 oczywi艣cie: system/data/.dori Po tym zabiegu uruchamiamy telefon ponownie i czekamy oko艂o 40sec.
Ta opcja przydaje si臋 po wielokrotnej instalacji kernela i ich aktualizacji.
Dla chc膮cych zg艂臋bia膰 wiedz臋 na temat zarz膮dzania kernelem jak i rozs膮dnego wykorzystania jego potencja艂u zamieszczam link.
http://forum.xda-developers.com/lg-g2/help/test-t3032171