FORUMS

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

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

637 posts
Thanks Meter: 2,736
 
By Gustavo_s, Senior Member on 6th April 2013, 03:50 AM
Post Reply Subscribe to Thread Email Thread
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/d...al.stweaks.app

Synapse:
https://play.google.com/store/apps/d...com.af.synapse

This is what synapse looks like:


System Status app (created by @boscorama):
http://forum.xda-developers.com/gala...9/post51197740

USEFUL LINKS/TIPS

Having wakelocks?
http://asksven.github.io/BetterBatte...ase/howto.html

Looking for minimal gapps?
http://forum.xda-developers.com/andr...ition-t2943330 (thanks to BaNkS)

Want to know more about kernel/governors/schedulers?
http://forum.xda-developers.com/show....php?t=1369817 (thanks to droidphile)

CHANGELOGS AND SOURCE

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

KNOWN PROBLEMS

https://docs.google.com/spreadsheets...Ttw/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/cm10...d?source=files

- Download odin and extract it:
https://docs.google.com/file/d/0B64D...ZYaXEzNjQ/edit

- Download the cyanogenmod's kernel tar:
https://drive.google.com/file/d/0B64...it?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...-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 by Gustavo_s; 15th March 2015 at 04:04 AM.
The Following 347 Users Say Thank You to Gustavo_s For This Useful Post: [ View ]
 
 
6th April 2013, 03:56 AM |#2  
parag1dubey's Avatar
Senior Member
Thanks Meter: 10,653
 
More
Has this been released with permission from gokhanmoral?

Sent from my GT-I9100 using xda app-developers app
The Following 3 Users Say Thank You to parag1dubey For This Useful Post: [ View ]
6th April 2013, 04:00 AM |#3  
Gustavo_s's Avatar
OP Senior Member
Flag Curitiba
Thanks Meter: 2,736
 
Donate to Me
More
Quote:
Originally Posted by parag1dubey

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/andro...msung_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.
The Following 58 Users Say Thank You to Gustavo_s For This Useful Post: [ View ]
6th April 2013, 04:13 AM |#4  
parag1dubey's Avatar
Senior Member
Thanks Meter: 10,653
 
More
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 by parag1dubey; 6th April 2013 at 04:17 AM.
6th April 2013, 04:31 AM |#5  
Gustavo_s's Avatar
OP Senior Member
Flag Curitiba
Thanks Meter: 2,736
 
Donate to Me
More
Quote:
Originally Posted by parag1dubey

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
The Following 17 Users Say Thank You to Gustavo_s For This Useful Post: [ View ]
6th April 2013, 10:52 PM |#6  
Gustavo_s's Avatar
OP Senior Member
Flag Curitiba
Thanks Meter: 2,736
 
Donate to Me
More
- 06/04 Fixed recovery and RIL
The Following 18 Users Say Thank You to Gustavo_s For This Useful Post: [ View ]
6th April 2013, 11:26 PM |#7  
lerkin's Avatar
Senior Member
Flag msk
Thanks Meter: 371
 
More
Quote:
Originally Posted by Gustavo_s

- 06/04 Fixed recovery and RIL

Great job, thank you!

Sent from my GT-I9100 using Tapatalk 2
7th April 2013, 01:57 AM |#9  
Senior Member
Flag Germany
Thanks Meter: 104
 
More
delete me
The Following User Says Thank You to lynx2k50 For This Useful Post: [ View ]
7th April 2013, 05:22 AM |#10  
fr3quency's Avatar
Senior Member
Flag Kalamata/Patra
Thanks Meter: 695
 
More
Quote:
Originally Posted by Gustavo_s

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/andro...msung_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
The Following 4 Users Say Thank You to fr3quency For This Useful Post: [ View ]
7th April 2013, 07:29 AM |#11  
DSC05's Avatar
Senior Member
Thanks Meter: 168
 
More
Tyvm, the kernel is running perfect so far. Great work!

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes