[T-Mobile Samsung Galaxy S II SGH-T989] Sultanxda:
This is a stable, unofficial CyanogenMod 11 ROM based off of official CyanogenMod sources with some interesting (and extensive) modifications to both the kernel and the ROM. The kernel is a new custom kernel I modified based off of the official Samsung Jelly Bean kernel source code release.

This is based off of my ROM and kernel for the Skyrocket from here: http://xdaforums.com/showthread.php?t=2718129

Please make a backup and perform a factory reset before installing this ROM for the first time (so nothing explodes).

The only kernel that will work with this ROM is my kernel. All other kernels will not boot! Additionally, my kernels will not boot on any other ROMs except for this one. Read the FAQ in the 3rd post for more details on why other kernels cannot be used.

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are 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 ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at any of us for messing up your device, we will laugh at you.
* Collectively, and at the same time.
*/

ROM features:

Fully-functional camera and camcorder

Fixed available front-facing-camera camcorder resolutions (so it can record at higher resolutions)

Disabled LPA (as it isn't functioning correctly on MSM8x60)

Enabled Qualcomm BSP (Board Support Package)

Enabled Qualcomm bionic optimizations

Uses CAF media HAL (media-caf)

USB mass storage mode (disabled by default; enable it in Settings -> Storage)

Newer Adreno graphics libraries for faster graphics (Adreno version: AU_LINUX_ANDROID_JB_2.5.5.04.02.02.092.059)

Fixed sound coming out of speakers when "Ok Google" is enabled

Fixed broken microphone after using Snapchat or Hangouts Dialer

Kernel features:

Based off of official Samsung JB kernel source (very clean and stable)

Custom low-power flash mode, automatically enabled at 35% battery (device doesn't shut down when taking pictures with flash on low battery)

Upgraded the amount of real RAM by 56MB (userspace now has 841MB of RAM, as seen in Settings->About Phone)

Removed LOTS of excessive debugging and other garbage (a lighter kernel is a faster kernel)

Newest-available video core (vidc) drivers backported from CAF LA.AF.1.1_rb1.7

Newer graphics drivers (KGSL) backported from CAF jb_2.5

Newest-available framebuffer drivers (MDP) backported from CAF LA.AF.1.1_rb1.7

Newest-available audio drivers (QDSP6v2) backported from CAF LA.AF.1.1_rb1.7

Newest-available WiFi drivers (bcmdhd) backported from Samsung's Galaxy S5 kernel

Newest-available Ion memory drivers backported from CAF LA.AF.1.1_rb1.7

New Bluetooth drivers (no more high battery drain from Bluetooth and no more drop-outs)

WiFi direct works

WiFi hotspot works

Sweep2Wake

Enhanced BLN (backlight notifications)

Kernel-based thermal mitigation

CPU Input Boost driver (this boosts the CPU a little bit every time you touch the screen, ensuring everything feels smooth)

Option to undervolt the display by up to 500mV

Extremely smooth graphics thanks to the latest-available framebuffer & graphics drivers

No 5-second delay in camcorder (as a result of the vidc upgrade)

Fixed cable-type 6 charging wakelocks (cable-type 6 = unknown charger)

Fixed slow charging speed with some chargers

Ultra-fast charging over USB (up to 1200mA, regular fast charge in most other kernels was 900mA)

Increased maximum current for AC charging to 1200mA (Samsung default is 900mA)

GPU overclockable up to 320MHz

CPU overclockable up to 1.944GHz

Improved screen colors via HTC MDP color enhancement (screen colors are less saturated)

Source code:

My manifest (cm-11.0 branch): https://github.com/sultanxda/Android

Kernel source (cm-11.0-new branch): https://github.com/sultanxda/sultan-kernel-celox

Vendor binaries (cm-11.0 branch): https://github.com/sultanxda/android_vendor_samsung_celox

Device trees (cm-11.0 branch):

https://github.com/sultanxda/android_device_samsung_msm8660-common

https://github.com/sultanxda/android_device_samsung_celox-common

https://github.com/sultanxda/android_device_samsung_hercules

https://github.com/sultanxda/android_device_samsung_qcom-common

Credits (in no particular order):

Team Chopsticks

CyanogenMod and its contributors

CAF

PA for the gapps

bryan2894

If I forgot you, slap me and force me to use an iPhone

Social networking:

Google+ community

Downloads:

ROM: https://www.androidfilehost.com/?w=files&flid=19281&sort_by=date&sort_dir=DESC

Google apps: http://downloadandroidfiles.org/Fil...gapps-modular-micro-4.4.4-20150308-signed.zip

Kernel-only updates/kernel Aroma installer***: https://www.androidfilehost.com/?w=files&flid=22030&sort_by=date&sort_dir=DESC

***The ROM comes with my kernel built into it; however, sometimes I may release an update for only the kernel and not the entire ROM, so the newest ROM update might not come with the newest kernel. The kernel-only update package also comes with an Aroma installer that can be used to configure some kernel options (such as display-undervolt).

XDA:DevDB Information

Stable CyanogenMod 11, ROM for the T-Mobile Samsung Galaxy S II

Contributors

Sultanxda

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.0.x

Version Information

Status: Stable

Created 2014-09-23

Last Updated 2015-07-06