Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
stratosk
Old
(Last edited by stratosk; 19th January 2012 at 06:04 PM.) Reason: 2.5.0c
#1  
stratosk's Avatar
Recognized Developer - OP
Thanks Meter 19880
Posts: 4,626
Join Date: Mar 2011
Location: Thessaloniki

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


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: [ Click to Expand ]
 
sinichi21
Old
(Last edited by sinichi21; 19th January 2012 at 08:07 PM.)
#2  
sinichi21's Avatar
Senior Member
Thanks Meter 234
Posts: 888
Join Date: Oct 2010
Location: Los Angeles

 
DONATE TO ME
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
________________________________________________
Device: Samsung Galaxy S III
ROM: Stock
Modem: I747UCLH1
Current ROM: Deodex UCALG1
Current Kernel: KT747 Sammy Kernel
Current Theme: Dark Theme for Captivate

If I help you out give me a thanks button
The Following 18 Users Say Thank You to sinichi21 For This Useful Post: [ Click to Expand ]
 
saobang3886
Old
(Last edited by saobang3886; 9th November 2011 at 02:26 AM.)
#3  
Senior Member
Thanks Meter 22
Posts: 173
Join Date: Apr 2009
Location: Ho Chi Minh
try it now, thanks stratosk!

PS: where I can download bigmem version?
The Following User Says Thank You to saobang3886 For This Useful Post: [ Click to Expand ]
 
geokilla
Old
#4  
geokilla's Avatar
Senior Member
Thanks Meter 144
Posts: 2,080
Join Date: Jun 2010
Location: Toronto
Quote:
Originally Posted by saobang3886 View Post
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.
LG Optimus G E971
ROM: Optimus Z v1.5

Samsung Galaxy S2 I9100M
ROM: Chameleon v3.0.1
Kernel: Dorimanx 8.13
Modem: UGMA5

Google Nexus 7
ROM: SmoothROM v5.0
Kernel: M-Kernel a50

Instead of posting to say thank you, I will use the Thanks button.
 
saobang3886
Old
#5  
Senior Member
Thanks Meter 22
Posts: 173
Join Date: Apr 2009
Location: Ho Chi Minh
Quote:
Originally Posted by geokilla View Post
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
 
1tontomato
Old
#6  
1tontomato's Avatar
Senior Member
Thanks Meter 113
Posts: 441
Join Date: Nov 2010
Location: O.C. California
More new stuff is good thanks.

Sent from my A500 using xda premium
 
geokilla
Old
#7  
geokilla's Avatar
Senior Member
Thanks Meter 144
Posts: 2,080
Join Date: Jun 2010
Location: Toronto
Quote:
Originally Posted by saobang3886 View Post
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
LG Optimus G E971
ROM: Optimus Z v1.5

Samsung Galaxy S2 I9100M
ROM: Chameleon v3.0.1
Kernel: Dorimanx 8.13
Modem: UGMA5

Google Nexus 7
ROM: SmoothROM v5.0
Kernel: M-Kernel a50

Instead of posting to say thank you, I will use the Thanks button.
The Following User Says Thank You to geokilla For This Useful Post: [ Click to Expand ]
 
saobang3886
Old
#8  
Senior Member
Thanks Meter 22
Posts: 173
Join Date: Apr 2009
Location: Ho Chi Minh
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 ^^!
 
geokilla
Old
#9  
geokilla's Avatar
Senior Member
Thanks Meter 144
Posts: 2,080
Join Date: Jun 2010
Location: Toronto
Quote:
Originally Posted by saobang3886 View Post
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.
LG Optimus G E971
ROM: Optimus Z v1.5

Samsung Galaxy S2 I9100M
ROM: Chameleon v3.0.1
Kernel: Dorimanx 8.13
Modem: UGMA5

Google Nexus 7
ROM: SmoothROM v5.0
Kernel: M-Kernel a50

Instead of posting to say thank you, I will use the Thanks button.
The Following User Says Thank You to geokilla For This Useful Post: [ Click to Expand ]
 
stratosk
Old
(Last edited by stratosk; 9th November 2011 at 07:33 AM.)
#10  
stratosk's Avatar
Recognized Developer - OP
Thanks Meter 19880
Posts: 4,626
Join Date: Mar 2011
Location: Thessaloniki

 
DONATE TO ME
@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: [ Click to Expand ]
 
Post Reply+
Tags
bln, cf-root, oc/uv, semaphore, voodoo-sound
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...