[Galaxy S 4 i9506 Android Development] kitakami:
Lightning(Krait) Kernel Change LOG

Release 1

I revert adreno-idler that gugu0das added and rework.

Release 2

Support KSM&UKSM

Optimize entering HS400 mode

Optimize Kernel

Release 3

Add Yankactive

Optimization

Add MSM Limiter

Release 4

Improve memory usage.

Optimize CFQ I/O Scheduler & Kernel.

Set ROW as default I/O Scheduler

Improve performance. PCMark Work 2.0 score is 3288, 3.14% better than Galaxy S5, also about 1% better than Galaxy S5(Snapdragon 805)

Release 5

Fix Memory Leak with MSM(Thanks to [MENTION=270921]lss[/MENTION]wizard)

Enable Fast Charging when Phone is Charged by USB, not AC.(You can turn on at Kernel Adiutor)

Add Google's Snappy Compresion

Add Smarter Wake-affine logic by [MENTION=1546289]googy[/MENTION]nas

Release 6

Merge with latest [MENTION=7385747]gugu0das[/MENTION] kernel

Add Bricked Hotplug

Fix some bugs at Release 5

Update Powersuspand driver to 1.7.1

Release7

Disable IntelliPlug because of using Bricked Hotplug as default.

Merge with gugu0das kernel beta 2017.02.12

Merge some commits from kyasu's LOS 14.1 commit.

Release 7.1(Minor fix)

Fix Thermal Monitor is off at defconfig

Fix DMB is not working with SHV-E330S/K

Fix Vibration Feedback code miss

Set Hybrid as default Powersuspend Mode

Release 7.2

Improve Performance

Merge with gugu0das kernel Release 1

Disable ZRAM & Use VNSWAP (Thanks to [MENTION=4898097]arter97[/MENTION])

VNSwap is new technology that replace ZRAM.

It tries compress Memory 50%, which means you can use your Galaxy S4 LTE-A

as 4GB RAM. If you want to check Vnswap is working, type cat /proc/swaps at terminal.

Release 8.0

Fix Conflict between MPDecision & Bricked_Hotplug by deleting MPDecision

Backport Random Driver from Linux 4.0 (Thanks to arter97)

Improve CFQ Scheduler

Remove SysV IPC from kernel

Release 8.1

A little bit of Optimization.

(Not a necessary update)

Release 8.2

Merge with gugu0das kernel 0308 beta except S4 Driver

Release 8.3

Merge with gugu0das kernel 0318

Thanks to [MENTION=7385747]gugu0das[/MENTION], fix delay after using Camera, backlight

Improve multitasking(Thanks to [MENTION=7385747]gugu0das[/MENTION])

Release 8.4

Merge with gugu0das kernel 0324

Optimized Kernel Source.

Revert I9506XXUDOJ2 Drivers.

* sensor and char drivers reverted.

Maximum charge current to 1800mAh

Release 8.5

Merge with gugu0das kernel Release-2

Changelog from gugu0das blog:

'Optimized Kernel Source

* For details, Refer to the github Kernel commits.

Revert I9506XXUDOJ2 Drivers.

* GUD and GPU drivers reverted.'

Release 10.0

It may not be stable

Port chacha20 &poly1035 from Linux 4.8(Thanks to [MENTION=4898097]arter97[/MENTION] )

Release 10.1

Optimize Kernel (SHA-256, SHA-512, AES etc..)

If you are using Release 10.0, I recommend to update to Release 10.1

Release 10.2

Micro-Optimize Kernel

Release 11

Change default Bricked_Hotplug Setting (Max CPU when Screen off : 1→2)

Merge some commits from kyasu's Lineage OS 14.1 Kernel

Release 11.1

Fix bug at 11.0(Phone becomes slow)

Revert Sdcardfs to samsung stock

Revert Net driver to I9506(Thanks to [MENTION=7385747]gugu0das[/MENTION])

Revert some other drivers to I9506 (Thanks to [MENTION=7385747]gugu0das[/MENTION])

Release 11.2

Rework with F2FS & Fix 'set dentry bits on random location in memory'

Backport posix_acl: Clear SGID bit when setting file permissions

Optimize Kernel

Release 12.0

Merge with gugu0das kernel Release 3

(A lot of commits are uploaded).

Build with Linaro 6.3.1 Toolchain

Release 12.1

Merge with [MENTION=7385747]gugu0das[/MENTION] kernel Release 3.1

Update default sets.

Merge Lowmemorykiller with caf/LA.BF.1.1.1_rb1.26

Backport ZCache from QCKernel 3.18

f2fs: posix_acl: Clear SGID bit when setting file permissions

Release 12.1.1

Update Intelliactive governor

Release 12.2

Revert Merge Lowmemorykiller with caf/LA.BF.1.1.1_rb1.26

drivers,mm : Sync LMK with arter97/android_kernel_samsung_exynos7420 (Exclude adoptive LMK, nul parameter excluded, Motorola's RBTREE excluded)

Tweak Lowmemorykiller

Update Yankactive governor

12.2.1

Fix External SD card doesn't work.

Merge with gugu0das release 4.

12.3

Fix some Securiety bug.

Release 12.4

Fix some security Problem with Kernel.

Set WQ_PowerEfficiency on to make battery goes more longer.

Release 12.4-GPU_OC

Overclocked Adreno 330 GPU to 600mHz.

Its testing version. I'm testing with Resurrection_Remix Rom right now.

GPU Clock steps become 200mHz/320mHz/450mHz/487mHz/533mHz/600mHz

At Release 13.0, GPU Step will be 100mHz~578mHz.

GFX Bench mark score is almost same as SD801, 3.4% improved when comparing to Non-GPU-OC I9506 (TRex-OpenGL ES 2.0)

Release 13.0

GPU OC/CPU OC is not working. (3lambda and I am thinking that it is caused by DVFS, as we share our idea by PM.)

L2 Cache bump.

Release 13.0N(NougatROM-device source code based on Gugu0das which is included at my RR Build)

CPU Overclocked to 2.46Ghz(Same as GS5(MSM8974AC)).

GPU Freq step is changed to 100/200/320/450/487/533/578mhz.

Release 13.0N is included at RR_ROM 20170701 which will be uploaded as soon as possible.

Release 14.0N

Name is changed to Lightning Kernel.

Camera source and dts is updated.

Update some dts & fix values

Revert some commits which is related with GPU.

Add Ram Console

Lower CPU Voltage at high-clock

Optimize Kernel

Release 15.0.1N

Fix Some Kernel Security Bug.

Backport some F2FS Source code.

Optimize Kernel

Release 16.0

Fix Some Kernel Security Bug.

Backport some F2FS Source code.

Fully Merged with Gugu0das-Release 5, Which means: Call delay fixed&Fix Game Frame drop.

Import some commits from Lineage OS Galaxy S5 Kernel Source.

Fully using Adaptive LMK

Improve Virtual Memory

Fix net bcmhd driver's security problem.

Enable QCOM Crypto Engine Device (Beta)

Release 16.1

Change some default sets with Virtual Memory

for example, swappiness changed 130 to 40, dirty_ratio changed 50 to 40.

Disable Adaptive LMK default because it makes multi tasking performance even worse

for example, LMKcount was 230 when disabling Adaptive LMK while internet surfing for 4hours,

LMKCount was 410 when enabling Adaptive LMK while internet surfing for 4 hours.
​