FORUMS
Remove All Ads from XDA

[KERNEL] Semaphore 2.5.0c (2.5.0cbm) (CF-Root + Voodoo Snd v10 + OC/UV + BLN)

6,105 posts
Thanks Meter: 31,759
 
By stratosk, Recognized Developer on 8th November 2011, 09:39 PM
Post Reply Email Thread

This is the Captivate version of Semaphore kernel that is initially built for i9000.
Many thanks to existz for this version.
Also thanks to geokilla for testing the first version.

Features

- Voodoo Sound v10
- Voodoo Color
- OC/UV (1200MHz, 1300MHz)
- BLN
- CWM 5.0.2.7
- Speedmod color fix
- Patched with the latest Samsung kernel sources.
- JVU initramfs
- compiled with Linaro GCC 4.6 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
- increase light sensor polling to 1s
- 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: www.semaphore.gr

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 animation in malcho's thread.


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.
Hardcore for the 334 MB configuration and color fix and his hints.
HM.Carbide about Semaphore Script Manager application.
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.
All people who support this kernel by testing, reporting issues, donating or simply using it.

There are two available versions:
normal - 1.8.2cap
bigmem - 1.8.2cbm
The only difference is that in bigmem there are 353MB available RAM but 720p video recording is not possible.

Changelog

2.5.0c (19/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)
- su permissions changed to 6755 (?)
- Added script to load configs module

Bigmem version 2.5.0cbm
- 353 MB available RAM
Breaks 720p video recording
Breaks photo capture during video recording
Breaks front camera photo capture in JVU

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

JW1_2.4.0c (31/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.0cbm
- 353 MB available RAM (it breaks 720p video recording)

JW1_2.3.0c (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)

- 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.3.0cbm
- 353 MB available RAM (it breaks 720p video recording)

JVZ_2.1.1c (08/12/2011)
- updated JVZ initramfs
Bigmem version 2.1.1cbm
- 353 MB available RAM (it breaks 720p video recording)

JVT_1.9.1c (02/12/2011)
- compiled with Linaro GCC 4.6-2011.11
- added script to disable bootloop detection
Bigmem version 1.9.1cbm
- 353 MB available RAM (it breaks 720p video recording)

JVT_1.9.0c (23/11/2011)
- cpu frequency transition latency 10000
- restore DVFS locks introduced on newmail's patch
- fixed clean busybox script
- minor updates to scripts
Bigmem version 1.9.0cbm
- 353 MB available RAM (it breaks 720 video recording)

JVT_1.9.0beta (21/11/2011)
- Semaphore Script Manager updated to v0.62
- updated reworked scripts by HM.Carbide
- 341MB available RAM
- dropped CWM, Superuser applications (you have to manually delete them)
- ondemand patched with newmail's (thanks) deepsleep detection (also works with OC, latency 20000, thanks darckengel for extensively testing this)
- booloop detection (if phone reboots before 2 minutes of operation, init.d backed up and clear, thanks HM.Carbide for his idea)
- usb dock support (thanks xcaliburinhand)
- back to gzip initramfs compression (little bit faster boot)

Full changelog: http://www.semaphore.gr/changelog


Sources

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


Please use it with your own risk!


The attachment tar files are for flashing with ODIN.

Attachment files md5sum:

de90ac7c69b1d4fe052257d00a5a11db Semaphore_kernel_JVT_1.9.0c.tar
e2c6b2044acc874edce2a4eb1e9cb79c Semaphore_kernel_JVT_1.9.0cbm.tar
ca5cdfc8da26116f0cc52a254a18b08c Semaphore_kernel_JVZ_2.1.1c.tar
439ce1aac858260171b56b129a224e34 Semaphore_kernel_JVZ_2.1.1cbm.tar
4ff30395cf86c26220c160424d0510e9 Semaphore_kernel_JW1_2.4.0c.tar
6aeed40c4d11305aa1abebf124560903 Semaphore_kernel_JW1_2.4.0cbm.tar
794a145a21853816b7d92f696377ff24 Semaphore_2.5.0c.tar
732802018a56a288a9973a2afe2d595f Semaphore_2.5.0cbm.tar

Alternative download from www.semaphore.gr/downloads/captivate
The Following 39 Users Say Thank You to stratosk For This Useful Post: [ View ]
 
 
8th November 2011, 10:44 PM |#2  
sinichi21's Avatar
Senior Member
Flag Los Angeles
Thanks Meter: 351
 
Donate to Me
More
Ok here's a CWM flashable zip of semaphore I have update the script to delete the new voltage settings of darek.xan and the oc script of semaphore to make it more stable on first boot.

NOTE:
THIS WILL REMOVE YOUR VOLTAGE SETTINGS AND OC SETTINGS, YOUR FIRST BOOT WILL TAKE LONGER DUE TO THE DALVIK CACHE IS WIPE OFF GIVE A LITTLE MORE TIME TO BOOT
The Following 18 Users Say Thank You to sinichi21 For This Useful Post: [ View ] Gift sinichi21 Ad-Free
9th November 2011, 01:33 AM |#3  
Senior Member
Flag Ho Chi Minh
Thanks Meter: 37
 
More
try it now, thanks stratosk!

PS: where I can download bigmem version?
The Following User Says Thank You to saobang3886 For This Useful Post: [ View ] Gift saobang3886 Ad-Free
9th November 2011, 04:27 AM |#4  
geokilla's Avatar
Senior Member
Flag Toronto
Thanks Meter: 330
 
More
Quote:
Originally Posted by saobang3886

try it now, thanks stratosk!

PS: where I can download bigmem version?

It'll be out in due time when he knows everything works on the Captivate.

With the test version he posted in the I9000 thread, everything but capacitive search button worked. And since my phone isn't 100% stable, more testing is required.
9th November 2011, 04:42 AM |#5  
Senior Member
Flag Ho Chi Minh
Thanks Meter: 37
 
More
Quote:
Originally Posted by geokilla

It'll be out in due time when he knows everything works on the Captivate.

With the test version he posted in the I9000 thread, everything but capacitive search button worked. And since my phone isn't 100% stable, more testing is required.

flash few hours ago, ultil now every things work good for me, 4 button work, include search, but I don't known how to convert to ext4, will try OC and run game when I have free time
9th November 2011, 04:49 AM |#6  
1tontomato's Avatar
Senior Member
O.C. California
Thanks Meter: 126
 
More
More new stuff is good thanks.

Sent from my A500 using xda premium
9th November 2011, 05:00 AM |#7  
geokilla's Avatar
Senior Member
Flag Toronto
Thanks Meter: 330
 
More
Quote:
Originally Posted by saobang3886

flash few hours ago, ultil now every things work good for me, 4 button work, include search, but I don't known how to convert to ext4, will try OC and run game when I have free time

Convert to ext4/RFS by using the chainfire ext4 app
The Following User Says Thank You to geokilla For This Useful Post: [ View ] Gift geokilla Ad-Free
9th November 2011, 06:47 AM |#8  
Senior Member
Flag Ho Chi Minh
Thanks Meter: 37
 
More
first bug:

Script to change /cache to virtual 50MB (in case you want to download apps > 30MB from Market)

-> when enable it, market can't download or update app ^^!
9th November 2011, 07:07 AM |#9  
geokilla's Avatar
Senior Member
Flag Toronto
Thanks Meter: 330
 
More
Quote:
Originally Posted by saobang3886

first bug:

Script to change /cache to virtual 50MB (in case you want to download apps > 30MB from Market)

-> when enable it, market can't download or update app ^^!

Have you tried restarting the phone? I remember reading about that. I think you need to do this on ext4 partition, and restart the phone.

I'm happy to report that Semaphore feels like a good release, and that it's not beta anymore.
The Following User Says Thank You to geokilla For This Useful Post: [ View ] Gift geokilla Ad-Free
9th November 2011, 07:28 AM |#10  
stratosk's Avatar
OP Recognized Developer
Flag Thessaloniki
Thanks Meter: 31,759
 
Donate to Me
More
@geokilla
Thank you for testing the first Captivate version and for encourage me to release this version. I patched this version with all the changes that existz (many many thanks) suggested. 1.8.2 version is very well tested for i9000, but I still call captivate version 'beta' since I don't have a captivate to test it.

@saobang3886
Additional installed busybox versions may cause this error. Kernel comes with an embedded busybox version. Please try to uninstall any busybox version you installed and retry.
The Following User Says Thank You to stratosk For This Useful Post: [ View ]
9th November 2011, 08:39 AM |#11  
Senior Member
Flag Ho Chi Minh
Thanks Meter: 37
 
More
Quote:
Originally Posted by stratosk

@saobang3886
Additional installed busybox versions may cause this error. Kernel comes with an embedded busybox version. Please try to uninstall any busybox version you installed and retry.

I just disable this option and it work well now, will try again when I need it

Test with some big game ( alphast 6, TinTin HD ..) run smooth so far ^^!
Post Reply Subscribe to Thread

Tags
bln, cf-root, oc/uv, semaphore, voodoo-sound

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes