[G2 Android Development] dorimanx:
One more post for me. (backup)

OLD CHANGE LOGS!

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 [MENTION=5129430]iko11[/MENTION] 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 [MENTION=5031300]blastagator[/MENTION]

*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 [MENTION=3970210]krija[/MENTION]

*Set ZEN and other I/O govs to support high fifo batch tuning to reduce load on eMMC

Thanks to [MENTION=3441913]duki994[/MENTION] 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 [MENTION=5031300]blastagator[/MENTION]

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 [MENTION=2941286]xdabbeb[/MENTION]

*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 [MENTION=3970210]krija[/MENTION] 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.

So have fun testing, please report, so i can fix. Remember! this is BETA, bugs are OK to find :)

Lets do it together!