Find Your Device:
Or Continue to Thread: [KERNEL] Semaphore 2.7.4 (CF-R…
6th June 2011, 06:31 PM
stratosk's Avatar
OP Recognized Developer
Flag Thessaloniki
Thanks Meter: 32,023
Donate to Me
[KERNEL] Semaphore 2.7.4 (CF-Root + Voodoo Snd v10 + OC/UV + BLN)

This is a kernel rebuilt from the latest updated gingerbread sources and based on the CF-Root kernel (


- Voodoo Sound v10
- Voodoo Color
- OC/UV (1200MHz, 1300MHz)
- CWM v5.0.2.7
- Speedmod color fix
- Patched with the latest Samsung kernel sources.
- JVU initramfs
- compiled with Linaro GCC 4.6.2 toolchain
- O3 and other compiler optimizations
- 337 MB available RAM (353 bigmem versions - it breaks 720 video recording)
- Auto brightness driver
- Reworked cpufreq driver. cpu states 100-200-400-800-1000/1200/1300.
- Bundled with Semaphore Script Manager to v0.62
- su binary v3.0.3.2
- Governor ondemand (default)
- ondemand: sampling_down_factor tunable by momentum
- Governor conservative (module)
- Governor smartassV2 (module)
- Noop I/O scheduler (default)
- Deadline I/O Scheduler (module)
- Simple I/O Scheduler (module)
- Netfilter (iptables) as modules
- CIFS as module
- TUN as module
- Logcat disabled (as module only)
- cpufreq statistics as module (is loaded by default)
- Standard network packet scheduler
- Kernel log buffer size 4KB (from 128KB)
- deleting boot sounds procedure creates backup on /data/local
- Battery polling to 60 seconds
- jhash3
- No debug info
- TinyRCU
- HZ=256
- CPU frequency on stock music player when screen off to 400 MHz
- /system/etc/init.d directory creation if not exist
- Custom boot animation
- HM.Cardide's Addon scripts.
- VM dirty chainfire's tweak as script
- Kernel scheduler tweak as script
- noatime chainfire's tweak by default
- OC test scripts to 1200MHz, 1300MHz (Script Manager)
- enabled /proc/config.gz
- bootloop detection (clears init.d directory, if the phone does not complete 2 minutes of normal operation)
- Script to change /cache to virtual 50MB (in case you want to download apps > 30MB from Market)
Make sure to disable this option before convert to ext4. You may enable this after the conversion

In order to control voodoo sound and color and BLN you have to download Voodoo Control and BLN control applications respectively from android market.
The max CPU frequency is by default 1Ghz.
You may use applications like Voltage Control to control UV.

In order to load various modules of the kernel and enable or disable features use HM.Carbide's Semaphore Script Manager application. It automatically copies and runs the respective scripts from /res/scripts to /system/etc/init.d directory. The scripts:

- S05enable_oc_1000_default (disable overclocking)
- S05enable_oc_1200 (enable overclocking to 1200MHz)
- S05enable_oc_1300 (enable overclocking to 1300MHz)
- S10enable_gov_conservative (load and enable conservative governor module)
- S10enable_gov_ondemand_default (enable ondemand governor)
- S10enable_gov_smartassV2 (load and enable conservative smartassV2 module)
- S15enable_sched_deadline (load and enable the deadline I/O scheduler module)
- S15enable_sched_noop_default (enable noop scheduler)
- S15enable_sched_sio (enable and load SIO scheduler module)
- S20enable_netfilter (load netfilter modules for firewall or WiFi, USB tethering)
- S25enable_sm_cold (enable SpeedMod cold preset)
- S25enable_sm_neutral (enable SpeedMod neutral preset)
- S25enable_sm_warm (SpeedMod warm preset)
- S30enable_logger (enable logging)
- S35enable_tun (load tun module)
- S40enable_cifs (load cifs module)
- S42enable_bl_dis (disable bootloop detection)

For more information check the semaphore kernel website:

Please check first the F.A.Q. article if you have any questions and before post in this thread.

For questions or issues about Semaphore Script Manager please visit HM.Carbide thread

You may find custom Semaphore specific boot animations here.

Thanks to

Special thanks to Chainfire who allowed me to use his initramfs and distribute his applications with my kernel.
Supercurio for Voodoo sound and Voodoo color
Neldar for BLN
Existz for OC/UC, his work on porting the Nexus S driver, Voodoo color and for the bigmem settings and for his helpful hints.
HM.Carbide about Semaphore Script Manager application.
Hardcore for the 334 MB configuration and color fix and his hints.
Rebel2k, quangmach for their help on testing the fix for the BT issue.
darckengel about his investigation about cpu frequencies.
malcho for his support, for making custom boot animation for this kernel and for Semaphore logo.
Mialwe for his hints and for his mount code for CWM
All people who support this kernel by testing, reporting issues, donating or simply using it.


2.7.4 (18/04/2012)
- Updated with the latest Samsung kernel sources
- JW5 initramfs (Works also on JW4. Does NOT work on previous versions)
- CPU frequency statistics built-in
- Logger built-in
- Removed Power on sound restore scripts (kernel does not remove Power on sounds, because there is enough space for ext4 conversion)
- Conservative min sampling rate 10000
- 366.4MB available RAM


- 374.8MB
- breaks 720p video recording

- 384.5MB
- breaks 720p video recording
- breaks front camera pictures and photo capture during video recording

- 366.4MB
- stock colors

- 374.8MB
- stock colors
- breaks 720p video recording

- 384.5MB
- stock colors
- breaks 720p video recording
- breaks front camera pictures and photo capture during video recording

2.5.0 (15/01/2012)
- su permissions changed to 6755 (?)
- Added script to load configs module
Bigmem version 2.5.0bm
- 353 MB available RAM
Breaks 720p video recording
Breaks photo capture during video recording
Breaks front camera photo capture in JVU

Stock colors version 2.5.0sc
- Reverted Voodoo Color and Speedmod Color
Bigmem version 2.5.0scbm

Restoring backups made with CWM3 is not recommended. Although it maybe possible, I didn't test this functionality. Please create new backups with CWM5.

JVU_2.5.0beta (12/01/2012)
- CWM v5.0.2.7 (special thanks to Mialwe for his hints and for his mount code and of couse many thanks to CM team)
- busybox v1.19.3-cm7
- JVU initramfs
- fix front camera pictures issue
- fix capture frames during video recording (maybe dropped in final release)
- 337MB available RAM (due to the above fixes)
- updated Semaphore scripts by HM.Carbide (thanks to him, some scripts will be available as addon packages)

A backup of your data is HIGHLY recommended before you use the new version and new CWM.

JW1_2.4.0 (30/12/2011)
- New version of Semaphore Auto Brightness driver (details here)
- Update Semaphore Script Manager application v0.71 (thanks to HM.Carbide)
- fixes bug when sampling rate is changed.
Bigmem version 2.4.0bm
- 353 MB available RAM (it breaks 720p video recording)

JW1_2.3.0 (27/12/2011)
- ondemand: is_is_busy = 0, sampling_down_momentum = 0, sampling_rate = 40000 when screen off
- Semaphore Auto brightness driver (enable through Semaphore Application - disable auto brightness from settings first, for best results set brightness to lowest value from settings)
Bigmem version 2.3.0bm
- 353 MB available RAM (it breaks 720p video recording)

JW1_2.2.0 (23/12/2011)
- initramfs JW1
- ondemand: implemented sampling down factor
- ondemand: iowait time calculated as load (io_is_busy=1)
- ondemand: New sampling_down_momentum tunable (explanation here)
- enabled /proc/config.gz (as module)
- updated su binary v3.0.3.2
Bigmem version 2.2.0bm
- 353 MB available RAM (it breaks 720p video recording)

JVT_1.8.0 ( To my father )
- Updated Semaphore Script Manager to v0.51 (thanks to HM.Carbide)
- dropped OC to 1100MHz (investigate again for next versions)
- Added OC test scripts to 1200MHz, 1300MHz (Script Manager)
- includes all changes of 1.8.0beta1, rc1, rc2
Bigmem version 1.8.0bm
- 352 MB available RAM (it breaks 720 video recording)

Full changelog:


The Linux Kernel
Samsung Kernel sources
Supercurio's voodoo sound v10
Existz OC/UV
Neldar's BLN
Semaphore kernel sources

Please use it at your own risk!

The attachment tar files are for flashing with ODIN.

Attachment files md5sum:

5853f4cdfca192c580b4a4f75f1d8cda Semaphore_kernel_JVT_1.8.0.tar
04fe56cf602d2829923f87d2af59ea87 Semaphore_2.5.0.tar
bbb68c65984329d6e92adb0ebdcfe22f Semaphore_2.5.0bm.tar
034065485d2dc727647c51ddf9b37647 Semaphore_2.5.0sc.tar
dc8f3b2f723941dc4f71c705f5122b1e Semaphore_2.5.0scbm.tar

cdb807157a88e38b017a8b0eb4c3e5a0 Semaphore_2.7.4.tar
6d12e37d17e5d07bb46772605e24936a Semaphore_2.7.4bmfr.tar
3968f116065dfbd4f847641cab20a0a6 Semaphore_2.7.4bm.tar
65999f729ed9f55451daa4535c39a9d2 Semaphore_2.7.4sc.tar
078c3d2cec04c71abc2c36da85fda49e Semaphore_2.7.4sbf.tar
fab94d07cd60a099b428e3e543d5db46 Semaphore_2.7.4scbm.tar

Alternative download from
Attached Files
File Type: tar Semaphore_kernel_JVT_1.8.0.tar - [Click for QR Code] (6.74 MB, 53230 views)
File Type: tar Semaphore_2.5.0.tar - [Click for QR Code] (7.45 MB, 45467 views)
File Type: tar Semaphore_2.5.0bm.tar - [Click for QR Code] (7.45 MB, 9644 views)
File Type: tar Semaphore_2.5.0sc.tar - [Click for QR Code] (7.44 MB, 53978 views)
File Type: tar Semaphore_2.5.0scbm.tar - [Click for QR Code] (7.44 MB, 17553 views)
File Type: tar Semaphore_2.7.4.tar - [Click for QR Code] (7.44 MB, 38623 views)
File Type: tar Semaphore_2.7.4bmfr.tar - [Click for QR Code] (7.44 MB, 3107 views)
File Type: tar Semaphore_2.7.4bm.tar - [Click for QR Code] (7.44 MB, 4317 views)
File Type: tar Semaphore_2.7.4sc.tar - [Click for QR Code] (7.44 MB, 10514 views)
File Type: tar Semaphore_2.7.4scbm.tar - [Click for QR Code] (7.44 MB, 6737 views)
File Type: tar Semaphore_2.7.4sbf.tar - [Click for QR Code] (7.44 MB, 14129 views)
The Following 505 Users Say Thank You to stratosk For This Useful Post: [ View ]