[Galaxy S Plus I9001 Android Development] Christopher83:
​

In this thread you may find my customized kernel 3.4.x for KitKat rom (CM 11 and derivatives) that use PMEM memory allocations.

Of course, your feedback, as always, are welcome and certainly valuable.

The main features are the following:

- Kernel 3.4.x

- Sources synched with cm-11.0 repo branch of DevCon Team

- Built with my custom Linaro 4.8.3-2013.11 toolchain optimized for Cortex-A8

- Built with Cortex-A8 and NEON VFP optimization flags (both kernel and modules)

- Built with -O3 optimization flag (both kernel and modules)

- CPU overclockable up to 1824 MHz

- CPU frequencies undervolted (UV version) or extremely undervolted (EXUV version)

- CPU voltage control VDD sys interface (click for more details)

- 360MB, 370MB or 390MB of free RAM

- Init.d support

- Fast Charge support (default disabled, click for more details)

- Battery Life eXtender support (default disabled, click for more details)

- Ram Console support (click for more details)

- Backlight Notification v9 (BLNv9) (click for more details)

- USB OTG support (if also implemented on rom side)

- Customizable vibration intensity (click for more details)

- Lowered display panel voltage

- Lowered touchscreen voltage

- Lowered wifi voltage

- Lowered swappiness (60 -> 45)

- Increased CPU frequency during boot

- Optimized AES and SHA1 routines for ARM cpu architecture

- Fixed 100% battery notification after charger unplug

- Increased audio volume on board side

- Con Kolivas' CK3 Tweaks

- Optimized SLUB memory allocator

- Optimized ARM RWSEM (read/write semaphore) algorithm

- Optimized asynchronous I/O latency on solid state disks

- Disabled Gentle Fair Sleepers for better UI performance

- Filesystem dynamic read-ahead (based on disk size)

- CIFS support on boot

- Memory compaction

- Dynamic compression of clean pagecache pages

- Fast Random generator (frandom) support (click for more details)

- New display drivers from Samsung Galaxy SII

- Updated light sensor driver and display driver light sensor changes

- Updated sensor drivers

- Phantom key presses filter (click for more details)

- Dynamic FSync v1.2 (click for more details)

- Dynamic dirty page writebacks (click for more details)

- VM tweaks for performance and less battery consumption

- Revised LowMemoryKiller parameters for better performance (click for more details)

- Customizable timeout for touchkeys backlight after a key press or touchscreen press (click for more details)

- Customizable activation status of touchkeys backlight on touchscreen press (click for more details)

- Timer slack controller (click for more details)

- Dynamic management of the minimal timer slack value during suspend/resume (click for more details)

- LowMemoryKiller management of not killable processes (click for more details)

- exFAT support

- Additional TCP Congestion algorithms

Available CPU governors:

- Adaptive

- BrazilianWax

- Conservative

- Hyper

- Intellidemand

- Interactive

- InteractiveX

- LionHeart

- LulzActive

- OnDemand (default)

- OnDemandX

- Performance

- Powersave

- SmartAssV2

Available I/O schedulers:

- BFQ

- CFQ

- Deadline

- Fiops

- Noop

- ROW

- SIO (default)

- V(R)

Kernel Downloads for KitKat:

K^Kernel KK-4.4 Mediafire Folder

[QRCODE]https://www.mediafire.com/folder/q5jpjtaurx1zo[/QRCODE]

- v1.1 -

for ADC CM 11.0

and the other roms based on this latest CM 11.0
​

Howto install the kernel:

1) Download the preferred kernel zip file to sdcard or external sdcard

2) Reboot to recovery mode

3) Flash the kernel zip file

4) Wipe cache and dalvik cache

5) Reboot the system

Kernel sources (on GitHub):

Development branch of K^Kernel 3.4 for KK 4.4

​

Useful info:

- Special features and sysfs settings

- Frequently asked questions

​

Rom and kernel 3.4.x known problems:

- For the builds with 390MB of free RAM, the camera works and the video recording works only in 480p mode

Tables:

​

Changelog:

[B]12/12/2013 - K^Kernel 3.4 v1.1 for KitKat[/B]
- Kernel 3.4.74
- Sources synched with cm-11.0 repo branches of DevCon Team
- Built with my latest custom Linaro 4.8.3-2013.11 toolchain optimized for Cortex-A8
- crypto: msm: Check destination buffer write access (credits to Mona Hossain)
- crypto: msm: Check for invalid byte offset field (credits to Mona Hossain)
- crypto: msm: Fix issues related to non-zero byteoffset input (credits to AnilKumar Chimata)
- crypto: msm: Fix null pointer exception in qcrypto_count_sg() (credits to AnilKumar Chimata)
- crypto: msm: Use scnprintf() instead of snprintf() (credits to AnilKumar Chimata)
- Ramdisk fixes

[B]24/11/2013 - K^Kernel 3.4 v1.0 for KitKat[/B]
- Initial release
- Kernel 3.4.70
- Sources synched with cm-11.0 repo branches of DevCon Team
- Built with my latest custom Linaro 4.8.3-2013.11 toolchain optimized for Cortex-A8
- msm: kgsl: Avoid turning on GPU clock if already off (credits to Ananta Kishore K)
- Update defconfigs to enable some netfilter options (credits to Christopher83)
- Revert "ALSA: fix oops in snd_pcm_info() caused by ASoC DPCM" (credits to Christopher83)
- Update default and custom defconfigs for additional TCP Congestion algorithms (credits to Christopher83)
- Add exfat support (credits to radu)
- Update default and custom defconfigs for exFat support (credits to Christopher83)
- msm: vidc: Reset stop_called state when START is called (credits to Deepak Verma)
- msm: vidc: set EOS on output buffer pending transaction (credits to Deepak Verma)
- Clone ion.h to msm_ion.h (credits to Arco68)
- acpuclock-7x30: Raised some standard UV and stock voltages for high OC cpu frequencies (credits to Christopher83)
- Add extra free kbytes tunable (credits to Rik van Riel)
- input: Updates to Phantom Key Presses filter (credits to Christopher83)
- SELinux: include definition of new capabilities (credits to Eric Paris)
- msm: vidc: Check validity of userspace address (credits to Deepak Verma)
- ALSA: pcm: check for integer overflow during multiplication (credits to Phani Kumar Uppalapati)
- base: genlock: Zero a structure before sending it to user space (credits to Jordan Crouse)
- softirq: reduce latencies (credits to Eric Dumazet)
- fs: vfat: reduce the worst case latencies (credits to xiaogang)
- jiffies conversions: Use compile time constants when possible (credits to Joe Perches)
- qt602240_ts: updated touchscreen driver in according of Multi-touch protocol (credits to CastagnaIT)

Credits and Thanks to:

Arco68, CastagnaIT and Ivendor for their awesome work and their kernel sources

Ezekeel, Doomlord, Faux123, Stratosk, Tegrak, ErasmuX, Imoseyon and other devs I'm surely missing

CyanogenMod, Kernel.org, Code Aurora Forum, Google, Linaro GCC developers

KTulu84, Smeroni68, XeLLaR* for their support in testing

Sament83, B1tt1, Dellup, Pierm, Leonbeson, Cippoz89 and Marco Z. for their donations

XDA:DevDB Information

[GT-I9001][PMEM] K^Kernel 3.4 for KK 4.4, Kernel for the Samsung Galaxy S I9000

Contributors

Christopher83

Kernel Special Features: Customized kernel 3.4.x for JB 4.2.2 and JB 4.3 rom (CM 10.1, CM 10.2 and derivatives)

Version Information

Status: Stable

Current Stable Version: v1.1

Stable Release Date: 2013-12-12

Created 2013-11-25

Last Updated 2015-06-08