Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
View Poll Results: What is your favorite CPU governor?
Conservative 1 1.11%
HYPER 14 15.56%
Intellidemand 5 5.56%
NeoX 8 8.89%
Nightmare 1 1.11%
Ondemand 32 35.56%
Pegasusq 19 21.11%
Performance 4 4.44%
Powersave 0 0%
Userspace 0 0%
zzmoove 6 6.67%
Voters: 90. You may not vote on this poll

Post Reply

[KERNEL][CWM/TWRP][21/06]Kernel for AOSP ROMs with synapse support

OP Gustavo_s

View First Unread
6th April 2013, 04:50 AM   |  #1  
Gustavo_s's Avatar
OP Senior Member
Flag Curitiba
Thanks Meter: 2,402
 
614 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Quote:

KERNEL INFO

- Take a few minutes to read the OP!

- 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 16/06/2014

- 100% based on smdk4412 cyanogenmod kernel, including initramfs, updated to linux 3.0.101 + cherry-picks

- This kernel aims to keep the 'stock core' offering some customizations for user

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

- KERNEL FEATURES:

CPU:
Quote:

- 6 step CPU frequencies from 200 to 1400 mhz
- CPU hotplug control
- CPU Voltage Control

GOVERNORS:
Quote:

- 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:
Quote:

- 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:
Quote:

- Screen mode/scenario control
- Negative mode
- Brightness curve control
- Gamma control
- slide2wake

SOUND:
Quote:

- Headphone amplification control
- Microphone amplification control
- Speaker amplification control

BLN:
Quote:

- 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:
Quote:

- 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:
Quote:

- Multiple I/O schedulers available:
- deadline
- cfq
- bfq
- row
- sio
- zen

- SD Card read-ahead configuration
- Internal memory read-ahead configuration

TWEAKS:
Quote:

- 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:
Quote:

- Android loggers (logcat) on/off
- Linux loggers (kmsg) on/off
- Reset fuel-gauge chip
- Calibrate G-sensor

UNDER THE HOOD CHANGES:

Quote:

- CWM 6.0.4.9
- TWRP 2.7.0.0

Quote:

- GCC: linaro 4.9.1 with O3 optimization level

Quote:

- And more...



Quote:

DOWNLOADS

Quote:

Kernels:
Removed until my phone is fixed

Quote:

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

Quote:

USEFUL LINKS/TIPS

Quote:

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)

Quote:

CHANGELOGS AND SOURCE

Quote:

KNOWN PROBLEMS

Quote:

- 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:


Quote:

- First of all install the correct drivers:
http://sourceforge.net/projects/cm10...d?source=files

Quote:

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

Quote:

- Download the cyanogenmod's kernel tar:
https://drive.google.com/file/d/0B64...it?usp=sharing

Quote:

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

Quote:

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

Quote:

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

Quote:

- 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.



Quote:

CREDITS

gokhanmoral, codeworkx and all CM team for their wonderful work

franciscofranco, faux123, myfluxi, neobuddy89, omni team and geeckodev for porting mali and s3cfb drivers to smdk4210

Tungstwenty for helping me a lot

hawkerpaul for kernel wipe script

ArchiDroid for some tweaks

AndreiLux for synapse app:
https://github.com/AndreiLux/Synapse/wiki
https://github.com/AndreiLux/Synapse...-documentation

dorimanx for these scripts:
http://pastebin.com/MJZvr3di (used in stweaks)
http://pastebin.com/F9P7Ds98 (used in stweaks)
and usb/mtp/ drivers (check git)
Last edited by Gustavo_s; 18th December 2014 at 01:03 AM.
The Following 318 Users Say Thank You to Gustavo_s For This Useful Post: [ View ]
6th April 2013, 04:56 AM   |  #2  
parag1dubey's Avatar
Senior Member
Thanks Meter: 10,652
 
4,127 posts
Join Date:Joined: Oct 2012
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, 05:00 AM   |  #3  
Gustavo_s's Avatar
OP Senior Member
Flag Curitiba
Thanks Meter: 2,402
 
614 posts
Join Date:Joined: Aug 2011
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 54 Users Say Thank You to Gustavo_s For This Useful Post: [ View ]
6th April 2013, 05:13 AM   |  #4  
parag1dubey's Avatar
Senior Member
Thanks Meter: 10,652
 
4,127 posts
Join Date:Joined: Oct 2012
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 05:17 AM.
6th April 2013, 05:31 AM   |  #5  
Gustavo_s's Avatar
OP Senior Member
Flag Curitiba
Thanks Meter: 2,402
 
614 posts
Join Date:Joined: Aug 2011
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 16 Users Say Thank You to Gustavo_s For This Useful Post: [ View ]
6th April 2013, 11:52 PM   |  #6  
Gustavo_s's Avatar
OP Senior Member
Flag Curitiba
Thanks Meter: 2,402
 
614 posts
Join Date:Joined: Aug 2011
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 ]
7th April 2013, 12:26 AM   |  #7  
lerkin's Avatar
Senior Member
Flag msk
Thanks Meter: 356
 
1,065 posts
Join Date:Joined: Jan 2011
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, 02:04 AM   |  #8  
infected_'s Avatar
Senior Member
Flag Portugal
Thanks Meter: 10,037
 
4,180 posts
Join Date:Joined: Jul 2008
Donate to Me
More
@ Gustavo_S

can you please read the PM i sent you?

thanks.
The Following User Says Thank You to infected_ For This Useful Post: [ View ]
7th April 2013, 02:57 AM   |  #9  
Senior Member
Thanks Meter: 102
 
854 posts
Join Date:Joined: Jan 2010
delete me
The Following User Says Thank You to lynx2k50 For This Useful Post: [ View ]
7th April 2013, 06:22 AM   |  #10  
fr3quency's Avatar
Senior Member
Flag Kalamata/Patra
Thanks Meter: 564
 
1,667 posts
Join Date:Joined: Sep 2008
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 3 Users Say Thank You to fr3quency For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread