Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,692 Members 52,946 Now Online
XDA Developers Android and Mobile Development Forum
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

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

Tip us?
 
Gustavo_s
Old
(Last edited by Gustavo_s; 10th July 2014 at 04:45 AM.)
#1  
Gustavo_s's Avatar
Senior Member - OP
Thanks Meter 2301
Posts: 607
Join Date: Aug 2011
Location: Curitiba
Default [KERNEL][CWM/TWRP][21/06]Kernel for AOSP ROMs with synapse support

Quote:
KERNEL INFO
My device's screen is broken and touch sensor is not working anymore. MAYBE i'll get a new screen and replace it, i'm not sure yet.

- 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:
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 ART compatible core gapps?
http://forum.xda-developers.com/show....php?t=2012857 (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)
Moto X: Stock KK
GT-I9100: CM11, my custom kernel (broken screen)

http://goo.gl/XjX1Dy <- click here if you wish to buy me a coffee
The Following 315 Users Say Thank You to Gustavo_s For This Useful Post: [ Click to Expand ]
 
parag1dubey
Old
#2  
parag1dubey's Avatar
Senior Member
Thanks Meter 10649
Posts: 4,107
Join Date: Oct 2012
Has this been released with permission from gokhanmoral?

Sent from my GT-I9100 using xda app-developers app
The Galaxy S2 is the most powerful handset in the world. So, you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya, punk?
The Following 3 Users Say Thank You to parag1dubey For This Useful Post: [ Click to Expand ]
 
Gustavo_s
Old
#3  
Gustavo_s's Avatar
Senior Member - OP
Thanks Meter 2301
Posts: 607
Join Date: Aug 2011
Location: Curitiba
Quote:
Originally Posted by parag1dubey View Post
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.
Moto X: Stock KK
GT-I9100: CM11, my custom kernel (broken screen)

http://goo.gl/XjX1Dy <- click here if you wish to buy me a coffee
The Following 54 Users Say Thank You to Gustavo_s For This Useful Post: [ Click to Expand ]
 
parag1dubey
Old
(Last edited by parag1dubey; 6th April 2013 at 04:17 AM.)
#4  
parag1dubey's Avatar
Senior Member
Thanks Meter 10649
Posts: 4,107
Join Date: 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
The Galaxy S2 is the most powerful handset in the world. So, you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya, punk?
 
Gustavo_s
Old
#5  
Gustavo_s's Avatar
Senior Member - OP
Thanks Meter 2301
Posts: 607
Join Date: Aug 2011
Location: Curitiba
Quote:
Originally Posted by parag1dubey View Post
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
Moto X: Stock KK
GT-I9100: CM11, my custom kernel (broken screen)

http://goo.gl/XjX1Dy <- click here if you wish to buy me a coffee
The Following 16 Users Say Thank You to Gustavo_s For This Useful Post: [ Click to Expand ]
 
Gustavo_s
Old
#6  
Gustavo_s's Avatar
Senior Member - OP
Thanks Meter 2301
Posts: 607
Join Date: Aug 2011
Location: Curitiba
- 06/04 Fixed recovery and RIL
Moto X: Stock KK
GT-I9100: CM11, my custom kernel (broken screen)

http://goo.gl/XjX1Dy <- click here if you wish to buy me a coffee
The Following 18 Users Say Thank You to Gustavo_s For This Useful Post: [ Click to Expand ]
 
lerkin
Old
#7  
lerkin's Avatar
Senior Member
Thanks Meter 353
Posts: 1,054
Join Date: Jan 2011
Location: msk
Quote:
Originally Posted by Gustavo_s View Post
- 06/04 Fixed recovery and RIL
Great job, thank you!

Sent from my GT-I9100 using Tapatalk 2
 
infected_
Old
#8  
infected_'s Avatar
Senior Member
Thanks Meter 8365
Posts: 3,628
Join Date: Jul 2008
Location: Portugal

 
DONATE TO ME
@ Gustavo_S

can you please read the PM i sent you?

thanks.
please support my work (check OP's) ..
linaro/sabermod builds - official threads
v500/G Pad - cm_11.0 | slimkat | aospa
yuga/Xperia Z - cm_11.0 | slimkat | aospa
honami/Xperia Z1 - cm_11.0 | slimkat | aospa
The Following User Says Thank You to infected_ For This Useful Post: [ Click to Expand ]
 
lynx2k50
Old
#9  
Senior Member
Thanks Meter 101
Posts: 854
Join Date: Jan 2010
delete me
 
Konstantinos
Old
#10  
Konstantinos's Avatar
Senior Member
Thanks Meter 393
Posts: 1,416
Join Date: Sep 2008
Location: Wherever my imagination decides.
Quote:
Originally Posted by Gustavo_s View Post
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 Konstantinos For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes