[Galaxy S II Android Development] Gustavo_s:
KERNEL INFO

- Kernel for Cyanogenmod 10.2 & 11, Omni 4.4 & Slimkat (will not work on 4.3, 4.2, 4.1 etc)

- Tested on official builds for cyanogenmod 22/12/2014

- Based on smdk4412 cyanogenmod kernel, updated to linux 3.0.101 + cherry-picks

- If you are coming from another kernel that also supports stweaks, please flash kernel wipe script by hawkerpaul before the kernel! or you might get stuck at samsung logo! Download: http://d-h.st/Hh1

KERNEL FEATURES:

CPU:

- 6 step CPU frequencies from 200 to 1400 mhz

- CPU hotplug control

- CPU Voltage Control

GOVERNORS:

- Multiple governors available:

- zzmoove

- conservative

- userspace

- powersave

- ondemand

- pegasusq

- performance

- intellidemand

- HYPER

- NeoX

- Nightmare

- 10 profiles for zzmoove governor

- Full control over governor's tunables

GPU:

- Mali r3p2-01rel4 drivers, hacked to be compatible with rel3 blobs

- Updated rel3 mali blobs from note 2 kikat stock rom

- 4 frequency steps gpu

- GPU clock control, from 54 to 520 mhz, 10 different frequencies with vpll mode enabled

- GPU voltage control

- GPU threshold control

SCREEN:

- Screen mode/scenario control

- Negative mode

- Brightness curve control

- Gamma control

- slide2wake

SOUND:

- Headphone amplification control

- Microphone amplification control

- Speaker amplification control

BLN:

- BLN (Backlight notification)

- BLN Effects

- BLNWW (without wakelock)

- Touchkey leds on/off

- Touchkey leds timeout

- Touchkey leds fade in and fade out effects

- Touchkey leds voltage control

MEMORY SETTINGS:

- This kernel follows google recommendations for memory management:

- http://source.android.com/devices/low-ram.html

- They are all off by default, but you can enable and control them in stweaks/synapse

- LZ4 compression for ZRAM

- https://code.google.com/p/lz4/

- ZRAM Control

- SWAP on ZRAM

- KSM (Kernel Same-page Merging)

- Improved SLUB memory allocator

FILE SYSTEM:

- Multiple I/O schedulers available:

- deadline

- cfq

- bfq

- row

- sio

- zen

- SD Card read-ahead configuration

- Internal memory read-ahead configuration

- TRIM support (thanks to [MENTION=4141005]Lanchon[/MENTION])

TWEAKS:

- GENTLE_FAIR_SLEEPERS on/off

- ARCH_POWER on/off

- Charge current control

- Vibration level control (for omni, in CM11 use the rom one)

- GPS Tweaks (stweaks: copy your custom gps config to /data/gps.conf and forget about 3rd party apps for GPS tweaks! synapse: just type your location code in the text box)

MISC:

- Android loggers (logcat) on/off

- Linux loggers (kmsg) on/off

- Reset fuel-gauge chip

- Calibrate G-sensor

UNDER THE HOOD CHANGES:

- FPBug fix (thanks to [MENTION=5948587]zeitferne[/MENTION])

- CWM 6.0.4.9

- TWRP 2.7.0.0

- GCC: linaro 4.9.1 with O3 optimization level

- And more...

DOWNLOADS

Stweaks:

https://play.google.com/store/apps/details?id=com.gokhanmoral.stweaks.app

Synapse:

https://play.google.com/store/apps/details?id=com.af.synapse

This is what synapse looks like:

CPU:

http://oi62.tinypic.com/10pmwxj.jpg

GPU:

http://oi57.tinypic.com/2wf7k2x.jpg

SCREEN:

http://oi62.tinypic.com/zv1ph5.jpg

SOUND:

http://oi57.tinypic.com/2s5zfw8.jpg

BLN:

http://oi62.tinypic.com/xeyhu.jpg

MEMORY:

http://oi62.tinypic.com/214p384.jpg

I/O:

http://oi58.tinypic.com/2vlmxqb.jpg

TWEAKS:

http://oi57.tinypic.com/24bonqw.jpg

MISC:

http://oi62.tinypic.com/kc1jxg.jpg

System Status app (created by [MENTION=4660820]boscorama[/MENTION]):

http://xdaforums.com/galaxy-s2/themes-apps/app-status-app-gustavos-kernel-t2686379/post51197740

USEFUL LINKS/TIPS

Having wakelocks?

http://asksven.github.io/BetterBatteryStats-Knowledge-Base/howto.html

Looking for minimal gapps?

http://xdaforums.com/android/software/gapps-google-apps-minimal-edition-t2943330 (thanks to BaNkS)

Want to know more about kernel/governors/schedulers?

http://xdaforums.com/showthread.php?t=1369817 (thanks to droidphile)

CHANGELOGS AND SOURCE

https://github.com/gustavoss/android_kernel_samsung_smdk4412/commits/master

https://github.com/gustavoss/ramdisk/commits/master

KNOWN PROBLEMS

https://docs.google.com/spreadsheets/d/1CBiv3KYTGeOKMnrXVAr1_SqKXDxq1E_6wvBb2Vs8Ttw/edit#gid=0

- Stweaks is not working at the moment, and i can't work to fix it because of reasons above.

- Freezes from undervolting/overclocking and any data lost in the freezing process is your responsibility!

- The stable kernels in OP are tested for stability before being posted here.

- If you have problems follow these steps to flash a stock cm kernel with odin:

- First of all install the correct drivers:

http://sourceforge.net/projects/cm10i9100vsync/files/latest/download?source=files

- Download odin and extract it:

https://docs.google.com/file/d/0B64DyNFMhOJJSUFvYmZYaXEzNjQ/edit

- Download the cyanogenmod's kernel tar:

https://drive.google.com/file/d/0B64DyNFMhOJJdGptbW9UVXE0RFU/edit?usp=sharing

- After installing the drivers, open odin, boot your phone in download mode (vol down + home + power) and connect it to your computer

- In odin select PDA mode and select the kernel's tar file

- Hit "Start" button and it will install the kernel then reboot your phone.

- Here you have 2 options: if you are running cyanogenmod just let it boot, if you are not running cyanogenmod, take the battery out and boot it into recovery (vol up + home + power) and flash a kernel or rom zip with stock kernel.

CREDITS

gokhanmoral, codeworkx and all CM team for their wonderful work

franciscofranco, faux123, myfluxi, neobuddy89, Lanchon, zeitferne, omni team and geeckodev

Tungstwenty for helping me a lot

hawkerpaul for kernel wipe script

AndreiLux for synapse app:

https://github.com/AndreiLux/Synapse/wiki

https://github.com/AndreiLux/Synapse/wiki/Element-listing-and-documentation

XDA:DevDB Information

Kernel for AOSP ROMs with synapse support, Kernel for the Samsung Galaxy S II

Contributors

Gustavo_s

Kernel Special Features: Features explained above.

Version Information

Status: Stable

Current Stable Version: 05-01

Stable Release Date: 2015-01-05

Created 2015-01-06

Last Updated 2015-01-10