[Galaxy S 4 i9506 Android Development] arter97:
​

arter97 kernel for Galaxy S4 LTE-A​

/* Features */

Based on stock GT-I9506 kernel source

Supports AOSP and Touchwiz

Upgraded to the latest Linux

Compiled using latest ARM Linaro-toolchain with optimization options

Speed improvements

New CPU Governors

New I/O Schedulers

Color inverting by quadriple tapping on home button

/* Details */

Upgraded to the latest Linux 3.4.109

Kernel & ramdisk compression in LZO format

Kernel scheduler improvements

Full unaligned access enabled

Improved memcpy, hrtimer, mutex, cpufreq, memory-management, writeback

Optimized RWSEM, crypto, math drivers

Wi-Fi wakelock reduced

BFQ v7r8, SIO, FIOPS, FIFO, VR, ZEN I/O Schedulers added

Deadline I/O Scheduler speed improved

Asynchronous fsync from hTC ported by faux123

Dynamic fsync from faux123

Networking speed improvements

Disabled MMC-CRC for better speed

ARCH_POWER enabled for better power savings

Replaced MP-Decision with Intelli_plug

Fauxsound from faux123

Random driver backported from Linux 4.0+

SCHED_AUTOGROUP enabled for best multitasking experience

Bic as default TCP congestion control for best networking speed

i2c clock rates adjusted to 19.2 MHz for better battery life

Built with LTO(Link-Time-Optimizations) to provide optimum performance

Power-efficient workqueues from Linaro

Uses Samsung's sdcardfs replacing Google's FUSE daemon for better battery and performance

SELinux set to permissive

Compiler optimizations for Krait architecture

Fully ready for AOSP Android 5.0 Lollipop

Proper, full support for f2fs & backported from Linux 4.3+

Kernel-side trimming disabled for performance

Cryptographic drivers optimized for NEON

Entropy hook on storage removed for performance

Default file-system mount option with noatime & nodiratime

Power-efficient workqueues backported from linaro-lsk

Deep-discard-trim; FIDTRIM support for ext4

/* User configurable vnswap toggle */

vnswap is a virtual ramdisk driver from Samsung that can be used with zswap.

The goal is to efficiently replace zram.

Enabling vnswap will try to compress 50% of your RAM, resulting in

6GB+ usable memory on Galaxy Note 3 and

4GB+ usable memory on Galaxy S4 LTE-A.

Enabling this will drastically improve multitasking experience at the cost of slightly reduced power efficiency.

This is recommended for users who heavily multitasks or do not turn off the phone for days.

This is turned on by default on all Touchwiz ROMs.

You can manually enable or disable it via writing 1 or 0 to /data/.arter97/vnswap and reboot.

(You will have to create /data/.arter97 directory and create vnswap textfile yourself.)

You can check if the vnswap is working properly by checking /proc/swaps

/* Disclaimer */

Your warranty is now void.

I am not responsible for bricked devices, dead SD cards,

thermonuclear war, or you getting fired because the alarm app failed. Please

do some research if you have any concerns about features included in this kernel

before flashing it! YOU are choosing to make these modifications, and if

you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.

/* Supported device */

Galaxy S4 LTE-A SK (SHV-E330S, ks01lteskt)

Galaxy S4 LTE-A KT (SHV-E330K, ks01ltektt)

Galaxy S4 LTE-A LG (SHV-E330L, ks01ltelgt)

Galaxy S4 LTE + International (GT-I9506, ks01ltexx)

/* Warning */

Redistribution, modifying files used within this project or integrating with other projects are prohibited with no exceptions other than my projects.

Making mirrors, re-uploading to another servers are also prohibited with no exceptions.

/* What you need to know */

'Opensource' does not mean 'no-respect'

Leave credits to original developers

/* FAQ */

Why are other CPU governors disabled?

I personally don't want any of my users to play around CPU governors. It'll start be a mess when I try to add support for other CPU governors.

Can I use stock mpdecision and stock thermal engine?

This one too, I'd like my users to stick with Lazyplug and intelli-thermal. Stock implementation is faulty, cores can lock down with stock mpdecision. As for intelli-thermal, the benchmarking score may reduce but will help for a lower temperature of the device and increase the efficiency of the thermal control.

How can I switch to another or stock kernel?

You may have to reinstall the entire ROM. Wipe /system and install the ROM. The included addon.d script helps the kernel to survive on nightly upgrades, but you need to remove it or wipe /system to switch to another kernel.

/* Thanks to */

faux123

Yank555.lu

temasek

MinL(xens0117)

hsk from Matcl

Codeaurora

Cyanogen

/* Contact */

Email : qkrwngud825@gmail.com

Twitter : @arter97_dev

/* Downloads */

http://arter97.com/msm8974_kernel.htm

Source code - https://bitbucket.org/arter97/android_kernel_samsung_msm8974

/* Installation */

1. Put the downloaded kernel on your internal storage

2. Enter ClockworkMod(or PhilZ) recovery

3. Flash kernel

XDA:DevDB Information

arter97 kernel for Galaxy S4 LTE-A, Kernel for the Samsung Galaxy S 4

Contributors

arter97, faux123, yank555

Source Code: https://bitbucket.org/arter97/android_kernel_samsung_msm8974

Kernel Special Features:

Version Information

Status: Stable

Created 2015-02-11

Last Updated 2015-10-09