[Galaxy S 4 i9506 Android Development] kiffmet:
This is my first i9506 Kernel. It is based off the original Samsung lollipop sourcedrop and has some modifications i consider wise compared to pure stock. The aim is set on maximizing the performance and battery life by introducing as few changes as possible to the codebase but as many as necessary. Features that enhance the user experience (e.g Faux Sound) are also included. If you want a specific feature to be included and you think more people would like it, please feel free to ask me to include it.

*THIS PROJECT HAS BEEN DISCONTINUED, feel free to clone the sources*

Supported Roms:

XXUDOA6, XXUDOB5, XXUDOC5, XXUDOD3, XXUDOF2

[ROM][i9506][LP][eXtremely Tweaked][De-bloated]

Darklord S6 Port v3 *needs DOF2 Baseband*

If you want a specific, non-AOSP-based ROM supported, please write it in this thread

If you are a ROM developer you are free to ship this kernel with your ROM, just leave proper credit

Features:

SELinux "Permissive"

SuperSU 2.46 by Chainfire included and automatically installed

Busybox

Init.d Support with Initscript stdout logging and adjustable logsize

KNOX Removal on Install

Arteractive CPU Governor

Snapdragon Optimized memutils

Based on Samsung I9506 XXUDOE2 Sourcedrop

Faux Sound 3.6

Intelli Plug 3.8

Touchboost

eMMC and SDCard read_ahead 2048 KB

Idle GPU Frequency 200 MHz for Battery

Fiops IO Scheduler

FSTRIM Init.d Script. This trims /system /data and /cache at boot.

Built with Linaro GCC 4.9.3/2014.11

Support for XBOX360 Controller with LED and Rumble

Regarding init.d:

The logfile is located at /data/initdlog. The logfile contains date and time, so you can relate the entries with the current boot. What is also logged is which scripts from /etc/init.d were executed and their stdout. If you want an initdscript to write extra stuff to this logfile just add "echo" to your scripts.

[*]You can also specify a maximum log size for /data/initdlog. For this, you need to edit /system/bin/sysinit. The default is 8KB. When the logfile gets too big, it gets deleted and is then recreated at boot.

[B]Changelog:[/B]
[LIST]
[*]18th of Sep, 2015 Information
[INDENT][I]As no issues have been reported within a week, Darklord S6 Kernel can be considered functional[/I][/INDENT]
[*]11th of Sep, 2015 Information
[INDENT][I]Added experimental Darklord S6 Port v3 ROM support[/I][/INDENT]
[*]10th of Sep, 2015 Information
[INDENT][I]Added XXUDOD3 Zip[/I][/INDENT]
[*]10th of Sep, 2015 Release 0.4.0
[INDENT][I]Rebase on latest Samsung XXUDOE2 Sourcedrop[/I][/INDENT]
[INDENT][I]FSTRIM is back once and for all[/I][/INDENT]
[INDENT][I]Installation does now wipe dalvik cache to prevent issues[/I][/INDENT]
[INDENT][I]Enabled Support for XBOX360 Controller LED and Rumble[/I][/INDENT]
[*]26th of Mar, 2015 Information
[INDENT][I]Made FSTRIM Optional. Please tell me if you are experiencing battery drain or not with this.[/I][/INDENT]
[*]25th of Mar, 2015 Bugfix Release 0.3.2
[INDENT][I]Now that Init.d is working the way it should, it turns out that fstrim at boot might be causing wifi battery drain issues.
Therefore, this version deletes /system/etc/init.d/01-fstrim as a workaround.[/I][/INDENT]
[*]25th of Mar, 2015 Bugfix Release 0.3.1
[INDENT][I]Wrote completely new script for Init.d support. Also, added some goodies to it. [/I][/INDENT]
[*]24th of Mar, 2015: Feature Update 0.3.0
[INDENT][I]Added Faux Sound 3.6[/I][/INDENT]
[INDENT][I]Added Intelli Plug 3.8[/I][/INDENT]
[INDENT][I]Enabled Touchboost to Prevent Lag in Energy Saving Mode[/I][/INDENT]
[INDENT][I]Set eMMC & SDCard read_ahead to 2048 KB[/I][/INDENT]
[INDENT][I]Add Fiops and set as the default IO Scheduler for eMMC and SDCard[/I][/INDENT]
[INDENT][I]Lowered Default GPU Frequency from 320mhz to 200mhz[/I][/INDENT]
[*]18th of Mar, 2015: Feature Update 0.2.0
[INDENT][I]Added FSTRIM at boot[/I][/INDENT]
[INDENT][I]Optimized SELinux audit[/I][/INDENT]
[INDENT][I]Added msm8974 specific memcpy and optimizations[/I][/INDENT]
[INDENT][I]Added arteractive CPU governor and set default[/I][/INDENT]
[INDENT][I]Rebase on Samsung LL Sources Update 1[/I][/INDENT]
[*]15th of Mar, 2015: Bugfix Release 0.1.3
[INDENT][I]Revert: Separate Initrd for XXUDOB5 --> this fixes the Camera[/I][/INDENT]
[INDENT][I]Kernel ZIP is now for both, XXUDOB5 and XXUODA6.[/I][/INDENT]
[*]15th of Mar, 2015: Minor Update/Bugfix Release 0.1.2
[INDENT][I]Built with "-O2" instead of "-Os" for a small performance boost[/I][/INDENT]
[INDENT][I]Fixed a typo in updater-script[/I][/INDENT]
[INDENT][I]Set permissions for the remaining kernel modules in updater-script[/I][/INDENT]
[*]15th of Mar, 2015: Bugfix Release 0.1.1
[INDENT][I]Fixed Init.d Support[/I][/INDENT]
[*]15th of Mar, 2015: Added version with XXUDOB5 initrd
[*]15th of Mar, 2015: Initial Release version 0.1
[/LIST]

How to Install:

Just flash the zip with CWM or TWRP.

Currently this has only been tested with TWRP 2.8.5.0 and TWRP 2.8.7.0!

After install, SuperSU will ask you to update the su-binaries. Just hit "normal" install, reboot and you are good to go.

If you have WiFi-Issues, please make sure that your Baseband Version is the same as your ROM Version!

Download:

PLEASE CHECK THE DOWNLOADS TAB

Source Code:

See post no.2

Special Thanks:

Arter97 (SELinux Disable, Arteractive, SELinux Optimize, copy_template.S for memutils)

Faux123 (Faux Sound, Intelli Plug)

This kernel was built on a machine using Arch Linux

XDA:DevDB Information

[i9506] [Touchwiz] [Lollipop] FireWork Kernel, Kernel for the Samsung Galaxy S 4

Contributors

kiffmet

Kernel Special Features:

Version Information

Status: Stable

Created 2015-03-15

Last Updated 2015-09-10