[Captivate Android Development] stratosk:
​

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