[KERNEL][CWM/TWRP][CM12][15/03]Kernel for AOSP ROMs with synapse support

Search This thread

Gustavo_s

Senior Member
Aug 15, 2011
659
2,740
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 @Lanchon)


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 @zeitferne)
- 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:


System Status app (created by @boscorama):
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
 
Last edited:

Gustavo_s

Senior Member
Aug 15, 2011
659
2,740
Has this been released with permission from gokhanmoral?

Sent from my GT-I9100 using xda app-developers app

afaik linux kernel must be opensource, his sources are here:
https://github.com/gokhanmoral

CM sources with mali drivers are here:
https://github.com/CyanogenMod/android_kernel_samsung_smdk4210

if GM or any member has any problem with the name "Siyah" i will respect it and change it in OP, no problem. Also this kernel will be removed as soon as GM updates his own kernel to work with latest cm10.1. I do not claim this to be my work, i just got the sources and updated drivers then compiled.
 

parag1dubey

Senior Member
Oct 15, 2012
4,198
10,116
Thanks for clarifying. :) will this work with hybrid roms like Rootbox and jellybam? And would it not be better to use siyah 6.0b4 as base since it has more gpu steps?

Sent from my GT-I9100 using xda app-developers app
 
Last edited:

Gustavo_s

Senior Member
Aug 15, 2011
659
2,740
Thanks for clarifying. :) will this work with hybrid roms like Rootbox and jellybam? And would it not be better to use siyah 6.0b4 as base since it has more gpu steps?

Sent from my GT-I9100 using xda app-developers app

it will work as long as the rom has the same video drivers from cm10.1 (r3p1)

b5 has 5 gpu steps aswell but i don't know if the kernel is using all gpu steps because cm kernel's default is 3 steps and i haven't touched the driver's code. If you meant cpu steps i think its not worth the effort, both siyah and cm kernels use 5 step cpu for some good reason :)
 

fr3quency

Senior Member
Sep 20, 2008
2,199
856
32
Patra
fr3quency.deviantart.com
afaik linux kernel must be opensource, his sources are here:
https://github.com/gokhanmoral

CM sources with mali drivers are here:
https://github.com/CyanogenMod/android_kernel_samsung_smdk4210

if GM or any member has any problem with the name "Siyah" i will respect it and change it in OP, no problem. Also this kernel will be removed as soon as GM updates his own kernel to work with latest cm10.1. I do not claim this to be my work, i just got the sources and updated drivers then compiled.
Nicely said. +1 :)
 

iamnotkurtcobain

Senior Member
Oct 30, 2010
12,963
4,554
Vienna
I thought siyah 6b5 isn't properly working for cm10.1....? But if it is working great work gustavo!

Gesendet von meinem GT-I9100 mit Tapatalk 2
 

King_Rat

Senior Member
Mar 19, 2011
1,244
155
ASUS ROG Phone 3
Q: Will this kernel work with my current rom??

Screenie begins:

attachment.php
 

Attachments

  • Screenshot_2013-04-07-20-22-10.jpg
    Screenshot_2013-04-07-20-22-10.jpg
    29 KB · Views: 17,695

Top Liked Posts