Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,206 Members 43,858 Now Online
XDA Developers Android and Mobile Development Forum

[KK 4.4][KERNEL] CyanCore Kernel v3.5.0 {NEW !!!]

Tip us?
 
ts1506
Old
(Last edited by ts1506; 8th December 2013 at 04:47 AM.)
#1  
ts1506's Avatar
Recognized Developer - OP
Thanks Meter 4434
Posts: 3,271
Join Date: Sep 2012
Location: Kolkata
Default [KK 4.4][KERNEL] CyanCore Kernel v3.5.0 {NEW !!!]



This kernel is based on Semaphore Kernel by stratosk with a few changes I felt to be missing in Semaphore.

This kernel combines the speed and stability of semaphore along with few additions for the best combination.

It is compatible with all KK 4.4 ROMs based on official CM10.2 layout.
Kernel versions 3.3.0 and lower are compatible with JB 4.3.x.
Kernel versions 2.9.0 and lower are compatible with JB 4.2.x.

Differences with Semaphore
 

Quote:
Entropy tweaks
Patched for 720p usage
Kernel Samepage Merging (KSM) enabled
ZRAM enabled as module (usable via init.d script, attached below)
SWAP enabled
FRANDOM module included
Some Kernel Debug related stuff disabled
Wheatley Governor added (select via Setting->Performance-> CPU)
Intellidemand Governor added (select via Setting->Performance-> CPU)
Lulzactive Governor added (select via Setting->Performance-> CPU)
Lazy Governor added (select via Setting->Performance-> CPU)
Lagfree Governor added (select via Setting->Performance-> CPU)
Load_freq(4*HZ+61) to avoid Loadavg Moire
A bit more RAM ( 1MB more )
Read Ahead increased to 1024kB max
Using Neon instead of SoftVFP
Ondemand , Conservative , smartassv2 , lulzactive , lazy and interactive tweaked
ROW , SIO , SIOPlus , Deadline , BFQ and CFQ Scheduler tweaked
Normal OC Steps ( upto 1400MHz )
XZ Compression for Kernel and initramfs
Optimized AES and SHA1 routines
CPU Unaligned Access
TUN enabled by default
Block and ROW improvements
BFQ IO Scheduler
FIFO IO Scheduler
ZEN IO Scheduler
VR IO Scheduler
SIOPlus IO Scheduler
EXT4 patches
Other optimizations
Selective Live OC
ROW Updates
SIOPlus tweaks
Optimized Flags
SQLB Memory Allocator
GPU Driver updates
WiFi Driver updates
RCU updates
Disabled SAI
Dynamic Dirty Page Writebacks
TCP Tweaks
ION Patches


General Features
Quote:
Based on Linux Kernel 3.0.101 and Semaphore 3.4.0s
397-409MB Usable RAM
Live OC ( Upto 130% )
Compiled with Cortex A8 Optimized Linaro GCC Toolchain
Point to note
Ticking BigMem will break 720p recording

All bug report of this kernel must be posted in this thread , with a clear description of the error , its reproducability , your ROM details , any custom settings etc.

Please use it at your own risk! I am not responsible for any damage that may occur to your device.

Semaphore Auto Brightness Script
 

Code:
#!/system/bin/sh
# Script for Semaphore Auto Brightness
# Module loading
# insmod /system/lib/modules/sema_autobr.ko
# Tunables
# echo 0 > /sys/devices/virtual/misc/sema_autobr/max_br_threshold
# echo 0 > /sys/devices/virtual/misc/sema_autobr/effect_delay_ms
# echo 30 > /sys/devices/virtual/misc/sema_autobr/instant_upd_threshold
# echo 15 > /sys/devices/virtual/misc/sema_autobr/min_brightness
# echo 255 > /sys/devices/virtual/misc/sema_autobr/max_brightness
# echo 3000 > /sys/devices/virtual/misc/sema_autobr/max_lux

Module Loading Script
 

Code:
#!/system/bin/sh
# CyanCore Module loader script
# CIFS
# insmod /system/lib/modules/cifs.ko
# Logger
# insmod /system/lib/modules/logger.ko
# UHID
# insmod /system/lib/modules/uhid.ko
# USBHID
# insmod /system/lib/modules/usbhid.ko
# Xbox Pad
# insmod /system/lib/modules/xpad.ko
# Mouse
# insmod /system/lib/modules/mousedev.ko
# FM Radio
# insmod /system/lib/modules/radio-si4709-i2c.ko
# config.gz
# insmod /system/lib/modules/configs.ko
# Bigmem
# echo 1 > /sys/kernel/bigmem/enable

ZRAM Script
 

Code:
#!/system/bin/sh
insmod /system/lib/modules/lzo_compress.ko
insmod /system/lib/modules/lzo_decompress.ko
insmod /system/lib/modules/zram.ko
# You may replace 70 with the number of MB you want ZRAM to be
echo $((70 * 1024 * 1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0


Download - Click Here

Sources
CyanCore Kernel - Click Here
Semaphore Kernel - Click Here
ICS-Ramdisk - Click Here

Other Versions
1. Captivate - Thread Link
2. Vibrant - Thread Link

XDA:DevDB Information
[KK 4.4][KERNEL] CyanCore Kernel v3.5.0, a Kernel for the Samsung Galaxy S I9000

Contributors
ts1506
Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: v3.5.0
Stable Release Date: 2013-12-08

Created 2013-09-13
Last Updated 2013-12-07
Attached Files
File Type: apk NSTools.apk - [Click for QR Code] (202.4 KB, 1016 views)
Google Nexus 5 D821
Android version: 4.4.4 KTU48P
Kernel version: 3.4.0 ElementalX 1.0.0
Internals: 2GB RAM, 300-2265MHz CPU with ondemand, ROW
ROM: Stock + Root + Xposed
Samsung Galaxy S GT-i9000
Android version: 4.4.2 KVT49L
Kernel version: 3.0.101 CM kernel
Internals: 371MB RAM, 800-1000MHz CPU with ondemand, ROW
ROM: CyanogenMod 11 M7

My projects
CyanAOSP ROM 4.4 - Galaxy S - Galaxy S2 - Nexus S - Captivate
CyanAOSP ROM 4.3 - Galaxy S
CyanAOSP ROM 4.2 - Galaxy S - Vibrant - Captivate
CyanCore Kernel - Galaxy S - Vibrant - Captivate

Official Facebook Page - Here Twitter - Here Youtube - Here



Press button if I helped you instead of typing it.
The Following 133 Users Say Thank You to ts1506 For This Useful Post: [ Click to Expand ]
 
ts1506
Old
(Last edited by ts1506; 7th December 2013 at 08:20 PM.)
#2  
ts1506's Avatar
Recognized Developer - OP
Thanks Meter 4434
Posts: 3,271
Join Date: Sep 2012
Location: Kolkata
Changelog

CyanCore 3.5.0
1. Updated to support Kitkat
2. Enabled SElinux
3. CWM updated to 6.0.45
4. ZRAM updates from CM kernel

CyanCore 3.3.0
1. Updated Linux Kernel v3.0.101
2. Updated RAMdisk

CyanCore 3.2.0
1. Updated Linux Kernel v3.0.99
2. Tons of patches to ION
3. Build Logger into kernel
4. Using Latest 2013/09 Toolchain
5. Disabled In-Call Volume Control
6. RAM Disk updates from Semaphore
7. Lots of other patches (see source for info)

CyanCore 3.1.7
1. Updated Linux Kernel v3.0.96
2. Removed Proportional Rate Reduction of TCP
3. Lazy Cache Flushing on non-mapped pages

CyanCore 3.1.0
1. Updated Linux Kernel v3.0.93
2. FUSE FS now compiled into kernel
3. SIOPlus tweaks
4. Lagfree tweaks
5. Block update (recursively merge requests)
6. Proportional Rate Reduction of TCP (thanks kasper_h)
7. Dynamic management of Dirty Page Writebacks (thanks christopher83)
8. Compiled with newest ARM Cortex A8 2013/08 Linaro 4.7.4 toolchain

CyanCore 3.0.0
1. Updated Linux Kernel v3.0.91
2. Updated Ramdisk for 4.3 support
3. Updated CWM to 6.0.36
4. Yaffs Filesystem patches.
5. Bigmem patch updated for 4.3

CyanCore 2.9.0
1. Updated Linux Kernel v3.0.88
2. Disabled SAI.
3. Improved USB Signal Quality (adapted from old commit) (under testing).
4. VR IO Scheduler
5. Various other patches and fixes for better performance.

CyanCore 2.8.6
1. Updated Linux Kernel v3.0.86
2. EXT4 Patches from GearKernel via Devil
3. Removed UKSM for now
4. USB CD-ROM mode as requested by someone
5. SIOplus I/O Scheduler added and tweaked
6. Compiled using new Cortex A8 Linaro 4.7.4 2013.07 Toolchain
Google Nexus 5 D821
Android version: 4.4.4 KTU48P
Kernel version: 3.4.0 ElementalX 1.0.0
Internals: 2GB RAM, 300-2265MHz CPU with ondemand, ROW
ROM: Stock + Root + Xposed
Samsung Galaxy S GT-i9000
Android version: 4.4.2 KVT49L
Kernel version: 3.0.101 CM kernel
Internals: 371MB RAM, 800-1000MHz CPU with ondemand, ROW
ROM: CyanogenMod 11 M7

My projects
CyanAOSP ROM 4.4 - Galaxy S - Galaxy S2 - Nexus S - Captivate
CyanAOSP ROM 4.3 - Galaxy S
CyanAOSP ROM 4.2 - Galaxy S - Vibrant - Captivate
CyanCore Kernel - Galaxy S - Vibrant - Captivate

Official Facebook Page - Here Twitter - Here Youtube - Here



Press button if I helped you instead of typing it.
The Following 34 Users Say Thank You to ts1506 For This Useful Post: [ Click to Expand ]
 
ts1506
Old
(Last edited by ts1506; 21st June 2013 at 11:34 AM.)
#3  
ts1506's Avatar
Recognized Developer - OP
Thanks Meter 4434
Posts: 3,271
Join Date: Sep 2012
Location: Kolkata
Thanks to
Stratosk for his source and all his help
Fishears for some of his code
kasper_h for some of his code
derteufel1980 for some of his code
Atomixxx and didhiy (for bootlogo)
Nick0703 for normal OC code
Christopher83 for toolchain
Franco's Dev Team [ malaroth, osm0sis, joaquinf, The Gingerbread Man, pkgnex, Khrushy, shreddintyres ]
All people on stratosk's list
All people who have inspired me , supported me and stood by me
Google Nexus 5 D821
Android version: 4.4.4 KTU48P
Kernel version: 3.4.0 ElementalX 1.0.0
Internals: 2GB RAM, 300-2265MHz CPU with ondemand, ROW
ROM: Stock + Root + Xposed
Samsung Galaxy S GT-i9000
Android version: 4.4.2 KVT49L
Kernel version: 3.0.101 CM kernel
Internals: 371MB RAM, 800-1000MHz CPU with ondemand, ROW
ROM: CyanogenMod 11 M7

My projects
CyanAOSP ROM 4.4 - Galaxy S - Galaxy S2 - Nexus S - Captivate
CyanAOSP ROM 4.3 - Galaxy S
CyanAOSP ROM 4.2 - Galaxy S - Vibrant - Captivate
CyanCore Kernel - Galaxy S - Vibrant - Captivate

Official Facebook Page - Here Twitter - Here Youtube - Here



Press button if I helped you instead of typing it.
The Following 20 Users Say Thank You to ts1506 For This Useful Post: [ Click to Expand ]
 
johnsin5393
Old
#4  
Senior Member
Thanks Meter 24
Posts: 385
Join Date: Sep 2011
Default Re: [JB 4.2.1][KERNEL] Semaphore Plus

Quote:
Originally Posted by ts1506 View Post


This kernel is based on Semaphore Kernel by stratosk with a few changes I felt to be missing in semaphore.

This kernel combines the speed and stability of semaphore along with few additions for the best possible combinations.

It is compatible with all JB 4.2.x ROMs based on official CM10.1 layout.

Differences with Semaphore


General Features


Thanks to
Stratosk for his source and help
All people on stratosk's list

Point to note
In S Version , Hugemem Libs must be flashed for 720p record to work
In both versions , ticking bigmem will break 720p recording.
Tar version must be flashed with Odin/Heimdall , zip with CWM/TWRP.

I expect to get more features in the differences soon, including ISO CDROM functionality , normal OC ( upto 1400MHz ) and other features.

This build will be updated when stratosk makes new version , or when I have lots of new additions.

All bug report of this kernel must be posted in this thread , please do not disturb stratosk regarding this kernel.

Please use it at your own risk! I am not responsible for any damage that may occur to your device.
Can you explain about the xz compression & arm... that meanings?

Sent from my GT-I9000 using xda premium
 
ts1506
Old
#5  
ts1506's Avatar
Recognized Developer - OP
Thanks Meter 4434
Posts: 3,271
Join Date: Sep 2012
Location: Kolkata
Quote:
Originally Posted by johnsin5393 View Post
Can you explain about the xz compression & arm... that meanings?

Sent from my GT-I9000 using xda premium
ARM Coresight is a tool used to debug and trace issues in ARM based processors. It unnecessarily adds a load to the CPU , so I disabled it.

For XZ Compression you can read it here - http://en.wikipedia.org/wiki/Xz
Google Nexus 5 D821
Android version: 4.4.4 KTU48P
Kernel version: 3.4.0 ElementalX 1.0.0
Internals: 2GB RAM, 300-2265MHz CPU with ondemand, ROW
ROM: Stock + Root + Xposed
Samsung Galaxy S GT-i9000
Android version: 4.4.2 KVT49L
Kernel version: 3.0.101 CM kernel
Internals: 371MB RAM, 800-1000MHz CPU with ondemand, ROW
ROM: CyanogenMod 11 M7

My projects
CyanAOSP ROM 4.4 - Galaxy S - Galaxy S2 - Nexus S - Captivate
CyanAOSP ROM 4.3 - Galaxy S
CyanAOSP ROM 4.2 - Galaxy S - Vibrant - Captivate
CyanCore Kernel - Galaxy S - Vibrant - Captivate

Official Facebook Page - Here Twitter - Here Youtube - Here



Press button if I helped you instead of typing it.
The Following 2 Users Say Thank You to ts1506 For This Useful Post: [ Click to Expand ]
 
dark_knight35
Old
#6  
dark_knight35's Avatar
Senior Member
Thanks Meter 997
Posts: 1,936
Join Date: Jan 2012
Default AW: [JB 4.2][KERNEL] Semaphore Plus

Quote:
Originally Posted by ts1506 View Post
ARM Coresight is a tool used to debug and trace issues in ARM based processors. It unnecessarily adds a load to the CPU , so I disabled it.

For XZ Compression you can read it here - http://en.wikipedia.org/wiki/Xz
I once asked Stratos why he doesn't use xz, and he told me that he uses a better compression method. Anyways, good job and have fun with further development of your kernel!
 
ts1506
Old
#7  
ts1506's Avatar
Recognized Developer - OP
Thanks Meter 4434
Posts: 3,271
Join Date: Sep 2012
Location: Kolkata
Quote:
Originally Posted by dark_knight35 View Post
I once asked Stratos why he doesn't use xz, and he told me that he uses a better compression method. Anyways, good job and have fun with further development of your kernel!
Thanks for the info . I will try both and decide then.
I am going to upload build which will change the name of the kernel to something else, as stratosk doesnt want the name Semaphore in the kernel.
Google Nexus 5 D821
Android version: 4.4.4 KTU48P
Kernel version: 3.4.0 ElementalX 1.0.0
Internals: 2GB RAM, 300-2265MHz CPU with ondemand, ROW
ROM: Stock + Root + Xposed
Samsung Galaxy S GT-i9000
Android version: 4.4.2 KVT49L
Kernel version: 3.0.101 CM kernel
Internals: 371MB RAM, 800-1000MHz CPU with ondemand, ROW
ROM: CyanogenMod 11 M7

My projects
CyanAOSP ROM 4.4 - Galaxy S - Galaxy S2 - Nexus S - Captivate
CyanAOSP ROM 4.3 - Galaxy S
CyanAOSP ROM 4.2 - Galaxy S - Vibrant - Captivate
CyanCore Kernel - Galaxy S - Vibrant - Captivate

Official Facebook Page - Here Twitter - Here Youtube - Here



Press button if I helped you instead of typing it.
The Following 3 Users Say Thank You to ts1506 For This Useful Post: [ Click to Expand ]
 
9827243709
Old
#8  
Senior Member
Thanks Meter 12
Posts: 146
Join Date: Dec 2009
Location: Katni
Default Re: [JB 4.2][KERNEL] Unofficial Semaphore+ (name to be changed soon)

SWAP ?

Sent from my GT-I9000 using Tapatalk 2
The Following 3 Users Say Thank You to 9827243709 For This Useful Post: [ Click to Expand ]
 
vigneshnallamad
Old
#9  
Senior Member
Thanks Meter 55
Posts: 184
Join Date: Aug 2012
wow ts... u rock dude... nice work
Samsung galaxy s gt-i9000
 
ts1506
Old
#10  
ts1506's Avatar
Recognized Developer - OP
Thanks Meter 4434
Posts: 3,271
Join Date: Sep 2012
Location: Kolkata
Quote:
Originally Posted by 9827243709 View Post
SWAP ?

Sent from my GT-I9000 using Tapatalk 2
Will look into it in next version.
Google Nexus 5 D821
Android version: 4.4.4 KTU48P
Kernel version: 3.4.0 ElementalX 1.0.0
Internals: 2GB RAM, 300-2265MHz CPU with ondemand, ROW
ROM: Stock + Root + Xposed
Samsung Galaxy S GT-i9000
Android version: 4.4.2 KVT49L
Kernel version: 3.0.101 CM kernel
Internals: 371MB RAM, 800-1000MHz CPU with ondemand, ROW
ROM: CyanogenMod 11 M7

My projects
CyanAOSP ROM 4.4 - Galaxy S - Galaxy S2 - Nexus S - Captivate
CyanAOSP ROM 4.3 - Galaxy S
CyanAOSP ROM 4.2 - Galaxy S - Vibrant - Captivate
CyanCore Kernel - Galaxy S - Vibrant - Captivate

Official Facebook Page - Here Twitter - Here Youtube - Here



Press button if I helped you instead of typing it.

The Following 3 Users Say Thank You to ts1506 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes