[KERNEL][Unofficial][Discontinued] Semaphore JB 3.0.0c with Custom Features - Captivate Android Development

This is the modified version of the Semaphore kernel, JB 3.0.0c.
Since so many people were asking me for it, I've decided to share it with you guys.
Disclaimer: I will only update this kernel when I have the time. So do not ask for ETA please.
Before installing this, please take your time to read the Original OP.
This kernel contains every features that the Semaphore Kernel offers but with some additional custom features.
Features (Based on latest Semaphore)
- Linux kernel 3.0.84
- LiveOC
- Custom Voltage
- Voodoo Sound
- BLN & CM LED
- 384MB - 409MB available RAM
- Compiled with Linaro 4.7.3
- O3 optimization
- Auto brightness driver
- Touch Wake
- Vibration intensity
- Deep Idle
- USB host driver
- Governor ondemand (default)
- ondemand: sampling_down_factor tunable by momentum, smooth_ui, early_demand
- Governor conservative (module, smooth_ui)
- Governor smartassV2 (module, smooth_ui)
- Governor interactive
- Noop I/O scheduler (default)
- Deadline I/O Scheduler (module)
- Simple I/O Scheduler (module)
- ROW I/O Scheduler (module)
- CFQ Scheduler (module)
- CIFS as module
- TUN as module
- Logcat disabled (as module only)
- Standard network packet scheduler
- Kernel log buffer size 4KB (from 128KB)
- Reduced debug info
- TinyRCU
- Fast Charge support
- WiFi PM_MAX when suspend
- CWM: AROMA Filemanager
- /system/etc/init.d directory creation if not exist​
Custom Features
Swap/Zram enabled
Normal OC'd over LiveOC
1.1 - 1.4GHz
In-call Volume Hack
Voodoo Color
Entropy Tweaks
Load_freq(4*HZ+61) to avoid Loadavg Moire
arm/crypto: Add optimized AES and SHA1 routines
Backport AIO (Asynchronous IO) from Linux 3.5
Zen IO Scheduler
V(R) IO Scheduler
FIOPS IO Scheduler
IntelliDemand CPU Governor
Lulzactive CPU Governor
Wheatley CPU Governor
Linux 3.0.85
BrazilianWax CPU governor
Adaptive CPU governor
Hyper CPU governor
InteractiveX CPU governor
Lioneheart CPU governor
OnDemandX CPU governor
Lagfree CPU governor
Dynamic FSync
Massive update to IO schedulers
SLQB memory allocator
UKSM 0.1.2.2
Frandom
Plus more features to come in near future....
By installing this, you'll receive no support from Stratosk because;
This is an Unofficial Semaphore Kernel
Stratosk does not support it
So do not bug him if you have a problem with this kernel. But bug me instead!
If you guys want to see some more features added to this, feel free to tell me and I'll try my best to add them to it.
Please note that there are 3 variations:
Normal versions: for CM10 or ROMs without hugemem configuration, available RAM 384MB - 396MB
"s" versions: for Slim Bean ROM or patched ROMs with hugemem configuration, available RAM 397MB - 409MB
"vc" versions: is Voodoo Color Mod
Downloads
Normal Version (384MB - 396MB):
Unofficial_Semaphore_JB_3.0.0c​Normal Version (384MB - 396MB) with Voodoo Color:
Unofficial_Semaphore_JB_3.0.0vc_c​
S Version (397MB - 409MB):
Unofficial_Semaphore_JB_3.0.0sc​S Version (397MB - 409MB) with Voodoo Color:
Unofficial_Semaphore_JB_3.0.0s_vc_c​
Thanks to
Stratosk
kasper_h
fishears
BLOWNCO
Alberto96
And to everyone else that tested the kernel for me.
Source
Original Kernel Source
Modified Kernel Source

How to:
How to enable Swap?​
To enable Swap, you'll need to create a swap partition on you External SD card. I recommend following this guide for it. http://forum.xda-developers.com/wiki/SD_card_partitioning
1. Make sure to backup everything from your SD Card first
2. Do not reformat your SD Card while it's still in your phone, take it out and plug it to your computer through a card reader!
3. I recommend that you only create a Swap Partition around 256MB
4. Follow that guide and when you reach to Step 3, select the option "Linux Swap"
5. When you finished following that guide, plug in your SD Card to your phone and Reboot to Recovery
6. Then flash this zip Enable Swap
7. Reboot your phone and you should be good.
8. To make sure Swap is enable, go to Terminal Emulator and type "free".
9. You should see some info at the bottom about Swap.
How to Enable Zram?​
To enable Zram, go to (Settings -> Performance -> Memory management.)
Or Flash this zip Enable Zram
How to use the OC'd Steps?​
To use the OC'd Steps, use Nstools or CM Performance Settings (Settings -> Performance -> Processor -> Maximum CPU frequency.)
If the chosen Frequency setting is not sticking with Nstools or CM Performance Settings, try using CPU Control Lite or Voltage Control.
I flashed the "s" version and now 720p recording or playback is not working?​
You'll need to flash HugeMem Libs first and then you should have your 720p recording or playback working again.
How to get rid of the Green Screen Flash and get the best colour if using VC version?​
To get rid of it, I recommend using the following Voodoo Color Settings. To change them, use Voodoo Sound app (Available from the market).
Color profiles
Voodoo profile v1
Screen RGB multipliers
Red: 286xxxxxxx
Green: 333xxxxxxx
Blue: 392xxxxxxx
Screen v1 gamma hack
*Reset to 2.3.3 Then Change*
Red: -26
Green: -30
Blue: -33
Or use this gamma hack (Might get the green screen flash but with a better looking colour, thanks to aduka)
Red: -40
Green: -40
Blue: -31
*If you're still getting the green screen flash, increase the "Screen v1 gamma hack" by +4 for the red, green and blue till you stop getting the green screen flash*

Changelogs And Download Mirrors
Changelogs:
*Changes in italic are custom features*
3.0.0c (04/07/2013)
- gpu: pvr: Update to DDK [email protected]
- net: wireless: bcmdhd: Update to version 5.90.195.104
- cpufreq: ondemand: Drop early demand
- UHID built as module
- CWM: upstream updates
- new version AromaFM 1.90 (thanks to amarullz)
Changes by sUsH667 (many thanks) :
- base updated to aromafm 1.90
- deleted all languages except english
- deleted all iconsets
- deleted all fonts except roboto
- added german language
- added iconset "generic" from older aromafm-version
- added preconfigured config
- added bookmarks for often used folders: /system, /sdcard, /emmc, /sdcard/Download
- Linux 3.0.85
- BrazilianWax CPU governor
- Adaptive CPU governor
- Hyper CPU governor
- InteractiveX CPU governor
- Lioneheart CPU governor
- OnDemandX CPU governor
- Lagfree CPU governor
- V(R) IO Scheduler
- FIOPS IO Scheduler
- Remove BFQ Scheduler
- Dynamic FSync
- Massive update to IO schedulers
- SLQB memory allocator
2.9.26 (06/06/2013)
- Linux kernel 3.0.80
- ondemand: Change the calculation of frequency target
2.9.25 (14/05/2013)
- Linux kernel 3.0.78
- Auto brightness: max_lux up to 6000
2.9.23c (29/04/2013)
- Linux kernel 3.0.75
- UHID built as module
- UHID implementation (thanks to pawitp and n8r for merging it to Semaphore)
- CWM 6.0.3.1
- Updated ROW parameters (Thanks to kasper_h)
- Use XZ compression method for both Kernel and Ramdisk
- Fix Memory Leak
- More under the hood tweaks. (Check Github for more detail on commits for Apr 19, 2013)
2.9.21c (10/04/2013)
- Linux kernel 3.0.72
- binder: backport from 3.9-rc (also port some other changes to support this)
- lowmemorykiller: updates from 3.9-rc
- logger: updates from 3.9-rc
- mDNIe: suppress some debug messages (and do so minor cleanup)
- Auto brightness: calculate the average of light sensor adc values instead of normalized brightness
- Auto brightness: Intoduce max_br_threshold tunable. Over this, the brightness is updated to its max value (thanks to Necromancer3)
- Enable again android_ram_console (caused bootloops to some devices)
- Lowmemorykiller: Intoduce a white list with PIDs (up to 6) that never been killed (use: echo "PID1, PID2" > /sys/module/lowmemorykiller/parameters/w_list)
- CWM 6.0.3.0
- built with Linaro 4.7.3 201303
- add option to Semaphore Auto Brightness for parabolic function (echo 0 > /sys/devices/virtual/misc/sema_autobr/linear)
- Added frandom (much faster random number generator)
2.9.18c (02/04/2013)
- Linux kernel 3.0.71
- CWM 6.0.3.0
- built with Linaro 4.7.3 201303
- add option to Semaphore Auto Brightness for parabolic function (echo 0 > /sys/devices/virtual/misc/sema_autobr/linear)
- Zen IO Scheduler
- BFQ IO Scheduler
- IntelliDemand CPU Governor
- Lulzactive CPU Governor
- Wheatley CPU Governor
- UKSM 0.1.2.2
2.9.15c (17/03/2013)
- Linux kernel 3.0.69
- CWM 6.0.2.9
- conservative: Fix sampling_down_factor functionality
- conservative: Fix the logic in frequency decrease checking
- conservative: a minor improvement
- built with Linaro 4.7.3 201302
- remove some kernel debug messages
- KSM enabled
2.9.13c (06/03/2013)
- Linux Kernel 3.0.68
- arm/crypto: Add optimized AES and SHA1 routines
- Backport AIO (Asynchronous IO) from Linux 3.5
2.9.12c (24/02/2013)
- Linux kernel 3.0.66
- USB HID support (as module: usbhid.ko)
- ondemand: early demand feature.
- Entropy Tweaks "Should reduce some lag"; (http://lwn.net/Articles/489734/)
2.9.10c (14/02/2013)
- Linux kernel 3.0.63
- Semaphore Auto Brightness: filter sensor values for more smooth updates.
- Added 1.1GHz to 1.4Ghz OC'd Steps.
2.9.9c (08/02/2013)
- Linux kernel 3.0.62
- Ondemand: a couple of optimizations
- Auto brightness: tiny improvement
- built with Linaro 4.7.3 201301
- Voodoo Color Mod
- In-call Volume Hack
2.9.8c (06/02/2013)
- Linux kernel 3.0.60
- Semaphore Auto Brightness: use default work queue instead of a creating new one (more resource friendly). Change coding style to be Linux compliant.
- Swap/Zram enabled
- 1200Mhz OC'd added
- Initial release of the Custom Kernel of Semaphore​

Re: [Kernel] Unofficial Semaphore JB 2.9.8.c
Do you suggest any changes to voltages if running this at 1200?
Sent from my SGH-I897 using xda app-developers app

Re: [Kernel] Unofficial Semaphore JB 2.9.8.c
m1batt1 said:
Do you suggest any changes to voltages if running this at 1200?
Sent from my SGH-I897 using xda app-developers app
Click to expand...
Click to collapse
By default I've increased the voltage for the 1200MHz step to 1350 mV to make sure it's stable for everyone else as not every phone is same. But once your phone is stable at 1200MHz, you can undervolt the voltage until you find a sweet spot.
Like on my phone, I was able to undervolt the 1200MHz to 1275 mV.
Sent from my SGH-I896 using xda app-developers app

m1batt1 said:
Do you suggest any changes to voltages if running this at 1200?
Sent from my SGH-I897 using xda app-developers app
Click to expand...
Click to collapse
I UV by 50 with this kernel and devil kernel the same. Stable enough for me
Also. Nick0703. Sorry for posting in Stratosk thread regarding your kernel.
I was wondering how to make the 1200mhz stick. I tried through settings and then tried with nstools. No go on reboot.
Sky

Re: [Kernel] Unofficial Semaphore JB 2.9.8.c
SkyboneNoya said:
I UV by 50 with this kernel and devil kernel the same. Stable enough for me
Also. Nick0703. Sorry for posting in Stratosk thread regarding your kernel.
I was wondering how to make the 1200mhz stick. I tried through settings and then tried with nstools. No go on reboot.
Sky
Click to expand...
Click to collapse
Did you try saving the settings with NsTools?
Sent from my SGH-I896 using xda app-developers app

Nick0703 said:
Did you try saving the settings with NsTools?
Sent from my SGH-I896 using xda app-developers app
Click to expand...
Click to collapse
Yeah i made sure i deleted all my init.d/nstools/semaphore saves in recovery prior to installing as well.

Re: [Kernel] Unofficial Semaphore JB 2.9.8.c
SkyboneNoya said:
Yeah i made sure i deleted all my init.d/nstools/semaphore saves in recovery prior to installing as well.
Click to expand...
Click to collapse
I'll upload my NsTools settings and you can try that. I'll do it like in an hour. As right now I have some other stuff to do.
Edit: Check your PM.
Sent from my SGH-I896 using xda app-developers app

Hey Nick0703 would you be able to get screen off min 100mhz max 400mhz settings into the kernel or is it not really needed? I guess it sits at 100Mhz idle. Also, are you able to deep idle? BTW 1200 is optional but it wont stick on reboot still. Your settings disabled nstools to default.

Re: [KERNEL] Unofficial Semaphore JB 2.9.8.c
Try cpu control lite or voltage control if the settings do not stick.

SkyboneNoya said:
Hey Nick0703 would you be able to get screen off min 100mhz max 400mhz settings into the kernel or is it not really needed? I guess it sits at 100Mhz idle. Also, are you able to deep idle? BTW 1200 is optional but it wont stick on reboot still. Your settings disabled nstools to default.
Click to expand...
Click to collapse
I could add the screen off min 100mhz - max 400mhz to the kernel but I don't think you'll see any difference from it. But I compile a test version with that option and see if there is any difference. And yes, I'm able to deep idle. Deep idle works fine with my phone but keep in mind that not all the captivates are the same.
And for the 1200MHz, try using CPU Control Lite or Voltage Control just like sephhi stated.

Thanks guys. Good looking app but it didn't work. Not sure why. Always able to set to 1200 on devil kernel 4.1.2

Re: [KERNEL] Unofficial Semaphore JB 2.9.8.c
Version 2.9.9sc has been compiled. But it will need to go through testing first as the kernel configuration file had some few changes.
I'll need 2 people to test it. If anyone is interested, send me a PM.
Sent from my SGH-I896 using xda app-developers app

Re: [KERNEL] Unofficial Semaphore JB 2.9.8.c
Nick0703 said:
Version 2.9.9sc has been compiled. But it will need to go through testing first as the kernel configuration file had some few changes.
I'll need 2 people to test it. If anyone is interested, send me a PM.
Sent from my SGH-I896 using xda app-developers app
Click to expand...
Click to collapse
I do believe your kernel has given me better battery life! Excellent work sir!
Sent from my SGH-I897 using xda app-developers app

Version 2.9.9c uploaded.
Enjoy!

Re: [KERNEL] Unofficial Semaphore JB 2.9.9c
Great stuff Nick! Zram and 1200 smooth as butter! I'm too lazy to make a swap partition. LOL!
Sent from a heavily modded Cappy from parts unknown. Slimbean/Semaphore. FTW.

Re: [KERNEL] Unofficial Semaphore JB 2.9.9c
mrsubway said:
Great stuff Nick! Zram and 1200 smooth as butter! I'm too lazy to make a swap partition. LOL!
Sent from a heavily modded Cappy from parts unknown. Slimbean/Semaphore. FTW.
Click to expand...
Click to collapse
Thanks man! And lol making a swap partition won't take you more than 5 mins.
Sent from my SGH-I897 using xda app-developers app

Perfect. Got it to stick 1200mhz! What boot loaders do you use Nick0703? I'm wondering if i9000 loaders would help with deep idle.
Would suck if it's just my phone.

Re: [KERNEL] Unofficial Semaphore JB 2.9.9c
SkyboneNoya said:
Perfect. Got it to stick 1200mhz! What boot loaders do you use Nick0703? I'm wondering if i9000 loaders would help with deep idle.
Would suck if it's just my phone.
Click to expand...
Click to collapse
Congrats man! And I'm using stock Rogers Gingerbread Bootloaders. You could give the I9000 Bootloaders a try but I wouldn't risk it if I were you.
Sent from my SGH-I897 using xda app-developers app

Related

[KERNEL] [Sense] 1.76 Ghz OCUV/VDD sysfs/EXT4/BFQ/TUN/CIFS 05/04/2011

HTC Kernel 2.6.32 (Overclocked & Undervolted)
Max 1.6Ghz (for now)
Voltage min/max 900mV-1425mV
SNQ's VDD interface (change voltages on the fly)
BFQ io Scheduler (Paolo Valente)
EXT4 support
TUN support (module)
CIFS (+utf8) (module)
NFS
You can flash from recovery (modules get pushed to /system/lib/modules/)
Download:
http://xda.richardtrip.org/thunderbolt/kernel/Thunderbolt_1766_V4.zip
SNQ's VDD interface (change voltages on the fly): http://forum.xda-developers.com/showthread.php?t=821372
GPL: https://github.com/richardtrip/mecha-2.6.32
Credits:
Jaywan (testing)
psufan5 (testing)
Leedroid
BuzzBumbleBee
Cyanogen
adrynalyne (uvoc table)
SNQ- (vdd sysfs interface)
Changelog:
V4:
Voltage changes (lower values)
apm_power: Add missing break statement
V3:
Lots of testing going on (no release).
V2:
Fixed wifi
Added SNQ-'s VDD sysfs interface for on the fly voltage changing: http://forum.xda-developers.com/showthread.php?t=821372
1.76Ghz now (don't use if your device isn't stable)
disabled smartass
V1:
Kernel 2.6.32 (Overclocked & Undervolted)
Max 1.6Ghz (for now)
Voltage min/max 900mV-1350mV
BFQ io Scheduler (Paolo Valente)
EXT4 support
Smartass
TUN support (module)
CIFS (+utf8) (module)
NFS
Just flashed, will report back.
Does this work with bamf 1.3 since his kernel is included
Sent from my ADR6400L using XDA Premium App
What were the original voltages at those speeds?
Where is the download link...
richardtrip said:
Changelog:
V1:
Kernel 2.6.32 (Overclocked & Undervolted)
Max 1.6Ghz (for now)
Voltage min/max 900mV-1350mV
BFQ io Scheduler (Paolo Valente)
EXT4 support
Smartass
TUN support (module)
CIFS (+utf8) (module)
NFS
Click to expand...
Click to collapse
Nice, thanks for sharing. Is this kernel CFS or BFS? Anyway, look forward to trying out it.
B3L13V3 said:
Where is the download link...
Click to expand...
Click to collapse
http://xda.richardtrip.org/thunderbolt/kernel/Thunderbolt_1600_V1.zip
This does work with bamf 1.3
jlevy73 said:
Nice, thanks for sharing. Is this kernel CFS or BFS? Anyway, look forward to trying out it.
Click to expand...
Click to collapse
CFS (for now)
racinwarrior said:
This does work with bamf 1.3
Click to expand...
Click to collapse
Dont think that should be a problem.
jlevy73 said:
http://xda.richardtrip.org/thunderbolt/kernel/Thunderbolt_1600_V1.zip
Click to expand...
Click to collapse
thank you sir it was down for me...for awhile
Buckling my seatbelt.....this place is gonna get crazy!
Thank you!!
Just installed it on perfect storm. It works beautifly so far!
Just ran quadrant and got a 2333! Blazing!
Sent from my ADR6400L using XDA Premium App
I had a reboot on drods 1.5, any reason to believe this will more stable at 1.6? Are the voltages more finely tuned?
Phone froze when I switched it to the smartass gov.
CyD13 said:
Phone froze when I switched it to the smartass gov.
Click to expand...
Click to collapse
Same here...IDT smartass is working properly yet. I went back to adryn's 1200 kernal...speed and batt life
I dont mean to bash on anyone as I couldnt do better myself, but I felt better performance on drods 1.5 than this one. Can someone confirm its not just me...
stevessvt said:
I had a reboot on drods 1.5, any reason to believe this will more stable at 1.6? Are the voltages more finely tuned?
Click to expand...
Click to collapse
I'm on Drod's 1.8Ghz kernel. Had a couple locks at 1.8 and also streaming media (Pandora) was skipping. Brought it down to 1.7 and its been flawless since!
CyD13 said:
Phone froze when I switched it to the smartass gov.
Click to expand...
Click to collapse
Then dont use smartass for now. Ondemand should be fine.

Tell me your perfect ICS-Kernel settings

Tell me your perfect ICS-Kernel settings
So I' ll beginn :
Semaphore 0.9.7bm
Over/Underclocking : 1200mhz
Governors : smartass V2
Schedulers : Simple I/Q
Deep Idle is on
Sent from my GT-I9000 using ICS-Slim
Slim 2.9
Pawitp
Deep idle on
OneDemand - Best suited for me , for most of the activities.
Next, Semaphore 0.9.5 + Smartass + simple IO (othere combinations did not give me desired results)
slim 3.0 + glitch v6
Over/Underclocking : 1100mhz
Governors : smartass V2
Schedulers : Simple I/Q
Deep Idle is on
Blue Lightning 1.1.0 + glitch v6
Over/Underclocking : 800mhz
Governors : GlitchOndemand
Schedulers : noop
Deep Idle is on but only top on :/
ISCSGS 4.2
Kernel: Devil 1.1.6 BF + VC
Govenor: SmartassV2
CPU:200 - 1200Mhz
Sheduler: fiops
UV: 200Mhz @ 850 (lower = reboot)
~ 1-2 h more battery at music
Gesendet von meinem GT-I9000 mit Tapatalk
WeUI v0.8.7
Kernel: Semaphore
Governor: SmartassV2
CPU:200 - 1000Mhz
Like to keep it simple!
Black Infinitium with Midnight
Smartass v2 with 1200mhz overclock
INFINITUM-v1.1.0 + glitch v6
OC : 1000mhz
Governors : Performance
Schedulers : Simple I/Q
Slim ICS 3.1
Devil2 kernel
No overclock
Conservative
SIO
Sent from my GT-I9000 using xda premium
CM9 nightly 4.0.4
Semaphore 0.9.8sbm + 720p mod (ram 399mb)
Smartass V2
Noop
Deep idle
teamhacksung CM9
Icy Glitchy
Glitchass V2
No overclock
ROM: Elite V9.1
Kernel: Devil 0.62 with BLN support
Governor: Smartsass V2
OC/UV: Stock
Deep Idle: ON
SlimICS 3.1
Devil2 0.64 CFS BLN CMC XL BM
No OC/UV
smartass V2
Noop
dark knight V3
devil 0.62
cfs
lulzactive
100-1200mhz
no uv
aokp rom control: min free ram = 75mb
ROM: CM9 last nightly
Kernel: Devil Kernel 1.1.6b VC version
Performance settings: overclock 1200 MHz. Governor: smartassV2.
Slim ICS 3.1
Semaphore 0.9.7bm
Overclocking : 1200mhz
Governors : Smartass V2
Schedulers : Simple I/Q
Deep Idle ON
ROM: AOKP Milestone 4
Kernel: Devil Kernel 2_0.64 XL (390MB RAM)
Governor: lazy
Screen off max freq: ON
Scheduler: VR
Deep Idle: ON
Slim ICS 3.1
Midnight 0.9.0-2-HUGERAM
No overclock
Conservative
SIO
Elite v9.1 Rom
Midnight Hugeram kernel Smartass governator, best setup so far
Sent from my GT-I9000 using xda premium
Slim 3.2
Devil 0.64
Lulzactive
100-1320MHz
Sio
Didle on

[KK 4.4][JB 4.3/4.2/4.1][ICS][MIUI][CWM/ODIN] GearKernel (Universal/ICS 1.1.2)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This kernel is based on Semaphore Sources ( @stratosk ) with lots of optimizations and updates.
I'm working on all android version (4.0.3>). Of course this is based on official CyanogenMod partition layout. (Standard MTD/MMC for 4.0, LVM for 4.1 and newer)
Features ICS/Universal (updated for 1.1.2 Build)
Based on Semaphore Sources
Linux Kernel 3.0.101
Compile Flags Optimized
Compiled using Latest GCC 4.8.3 Cortex-A8 Optimized by Me (sources here)
Updated GPU Driver and fixed some checks (not for ICS)
SLUB Memory Allocator
Disabled MMC Checksum Check
Load_freq(4*HZ+61) to avoid Loadavg Moire
Optimized lib/string and lib/memcopy
Optimized ARM RWSEM algorithm and backported from 3.10 kernel
LowMemoryKiller from latest 3.4 kernel
VFP module optimized for NEON CPUs
Low RAM reserved to logger
GearTools app Built-In (not for ICS)
Disabled Gentle Fair Sleeper for smoother UI
Optimized SLUB Memory Allocator
Optimized some values such as vm_swappiness and much more
Entropy tweaks + Frandom built-in
Using LZO as default kernel compression and updated to latest version
Aligned CPU Access Enabled
Tweaked I/O Schedulers
Entropy patch applied to WiFi driver
Some useful GPU tweaks (all tested)
CPU Governors tweaks and backported from 3.4 Kernel (not all btw)
Updated WiFi Driver + Fixes
Using same sources for Universal
Optimized ReadAhead
Optimized RCU
Snappy Compression for ZRAM
ZRAM Support as module (use init.d script for this)
SWAP Support
Great Boot and Charging Logo (GearKernel ones)
OC Support up to 1400 MHz
1000 Hz Kernel
RCU Priority Boost Enabled
Using lots of stuff from 3.10 Kernel
BLX Support
Using WestWood TCP Congestion Algorithm
FSync disabled by default
TRIM Enabled
Disabled lots of debug stuff
EFS Patch by me included, no more imei lost risk (If you see wrong imei just reboot phone and imei will be restored ) Full Working
Improved USB signal quality (thx Talon for this patch)
Default Min CPU Freq 200000 MHz
TREE_PREEMPT_RCU for extreme performance
Using adapted Universal sources for ICS (with downgraded GPU Driver)
Updated audio drivers
GearKernel Recovery (with lots of features)
ExFat FileSystem support (needs testing)
All MIUI Versions Supported
ION Enabled
FTRIM Optimized
Performance Control Compatible (app here)
Dynamic RamDisk (Universal Kernel for 4.1/4.2/4.3/4.4 and MIUI | Since 1.1.0)
CPU Boost Driver for better CPU Frequency Scaling
CPU Governors (for more informations about each governor see here)
Adaptive
Wheatley
LagFree (default)
BrazilianWax
IntelliDemand
InteractiveX
Lulzactive
OnDemandX
Interactive
SmartAss2
Conservative
Hyper
PowerSave
LionHeart
OnDemand
Performance
I/O Schedulers
Noop
DeadLine
SIOPlus (default)
CFQ
BFQv6r1 (backported from 3.4 Kernel)
ROW (backported from 3.4 Kernel)
V(R)
ZEN
Click to expand...
Click to collapse
You can find all other minor features in changelogs.
My Kernel Builds are divided in 2 Groups with 2 Versions each one:
Universal for 4.1/4.2/4.3/4.4 and MIUI Kernel (>= 1.1.0)
ICS for 4.0 Kernel
Click to expand...
Click to collapse
Normal versions without s: for CM9 or ROMs without hugemem configuration, available RAM 38*MB - 39*MB
's' versions: for Slim Bean ROM or patched ROMs (patch here for KK 4.4, here for JB 4.3, here for JB 4.1/4.2, here for ICS 4.0) with hugemem configuration, available RAM 39*MB - 41*MB
"s" version will automatically patch rom when you flash kernel via cwm (Only for ICS)
NOTE: Enabling BigMem (using GearTools) in all kernel builds will break 720p Recording/Playback
Based on your android version you can choose your kernel build
Changelog for Universal
Changelog for ICS (same as /)
Issues Reporting
Kernel Downloads 1.0.4 =>
(Odin and CWM Version)
------------------------------------------------------------------------
Kernel Downloads <= 1.0.3
(Odin and CWM Version)
Github Sources Universal
Github Sources ICS
Init.d Scripts
ZRAM (updated for => 1.0.4 Kernel)
Code:
#!/system/bin/sh
insmod /system/lib/modules/zram.ko
# You can replace 50 with the number of MB you want ZRAM Device to be
echo $((50 * 1024 * 1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0
Optional Features
Code:
#!/system/bin/sh
# (remove the # before insmod if you want to enable that feature)
# CIFS (for VPN)
# insmod /system/lib/modules/cifs.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
Semaphore Auto Brightness
Code:
#!/system/bin/sh
insmod /system/lib/modules/sema_autobr.ko
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
Click to expand...
Click to collapse
Thanks to:
@stratosk for his source and all his hard work
@pawitp for his kernel
@zacharias.maladroit for his useful information about CM's initramfs
@Ezekeel for LiveOC, Custom Voltage
@sztupy for USB host driver
@Phil3759 for Phil'z Touch Recovery
@mialwe for his vibrator intensity and other fixes
@DerTeufel1980 for various hints and for his kernel app
@grinder777 for his great support
@n8r for UHID
@Morfic for GPU Tweaks
@ts1506 for the Init.d scripts idea
@N00B_IN_N33D for the GearKernel Logo
@NitroOxid for deep testing
and many others that i missed for sure (don't kill me for this, i can't remember all names) :fingers-crossed:
Click to expand...
Click to collapse
​
Awesome i was looking for a 4.1.1 and 4.1.2 kernel. This is great Lol. Thanks man.:beer:
Sent from my SGH-I897 using xda app-developers app
Downloading
Sent from my SGH-I897 using xda app-developers app
I would like to say this is awesome kernel it making my phone run fast so far guess I'll see what happens all week with it love the work thank u for sharing this with us
Sent from my SGH-I897 using xda app-developers app
It works! Can't say if it brings any performance advantages for now, will be testing it for an extended period first. Nice boot logo in B&W, clean and simple. No zRam options in Performance Settings (not an issue for me, I always turn zRam off), no Step OC in Performance Settings (this is an issue for me, I run 1200 step OC by default), In-Call Volume Controls in Advanced Settings (very useful, the reason I was always flashing Unofficial Semaphore), KSM enabled by default in Performance Settings, default CPU governor - ONDEMAND, default I/O scheduler - NOOP (exactly what I prefer and what gives best performance on my i896).
Thanks Alberto96 for sharing your work with us! :good:
It works! Can't say if it brings any performance advantages for now, will be testing it for an extended period first. Nice boot logo in B&W, clean and simple. No zRam options in Performance Settings (not an issue for me, I always turn zRam off), no Step OC in Performance Settings (this is an issue for me, I run 1200 step OC by default), In-Call Volume Controls in Advanced Settings (very useful, the reason I was always flashing Unofficial Semaphore), KSM enabled by default in Performance Settings, default CPU governor - ONDEMAND, default I/O scheduler - NOOP (exactly what I prefer and what gives best performance on my i896).
Thanks Alberto96 for sharing your work with us!
Click to expand...
Click to collapse
This, a thousand times this. hahaha. I ran some tests and it was equally faster than cyancore with 1.2 ghz OC.
Great work man
Waiting for 4.1 and 4.0 version
Well its been a week and it is well working I love this kernel best work I have seen so far
Sent from my SGH-I897 using xda app-developers app
New JB 4.2 build coming soon
Sent from my GT-I9500 using Tapatalk 4 Beta
JBPlus V0.3 is up!
Enjoy!
Sent from my GT-I9500 using Tapatalk 4 Beta
Alberto96 said:
JBPlus V0.3 is up!
Enjoy!
Sent from my GT-I9500 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Will have to try this kernel. Thanks for the work!
Sent from my SGH-I897 using xda app-developers app
OK I had v3 on for about a hr there is issues when turning on its also sluggish at the beginning all so try to use big memory and it did not work so am back on v2 it's still a good kernel in my eyes tho just needs tweek
Sent from my SGH-I897 using xda app-developers app
JBPlus V0.4 is up!
Enjoy!
Great!
Not sure why though but I'm getting SOD's almost immediately when screen goes off.
I'm running CM10 latest nightly (no SOD with stock kernel). No OC.
p.s. I'm new to captivate so i could be doing something wrong...
EDIT: played with a few settings and seems to be ok now. Might have been deep idle enabled causing it...?
oswade said:
Great!
Not sure why though but I'm getting SOD's almost immediately when screen goes off.
I'm running CM10 latest nightly (no SOD with stock kernel). No OC.
p.s. I'm new to captivate so i could be doing something wrong...
EDIT: played with a few settings and seems to be ok now. Might have been deep idle enabled causing it...?
Click to expand...
Click to collapse
Yes, deep sleep is not stable on all phones.
Alberto96 said:
Yes, deep sleep is not stable on all phones.
Click to expand...
Click to collapse
Thanks, good to know
So far this kernel rocks!!! Been running it since yesterday and its been super smooth with no bugs.
The only thing I need to figure out is a way to reduce the amoled saturation (Ariesparts.apk doesn't seem to be able to do this...)
Well v04 is the stuff love it well fast and smooth all I got to see now is battery life and that takes a day to test man your work is off the hook
Sent from my SGH-I897 using xda app-developers app
oswade said:
Thanks, good to know
So far this kernel rocks!!! Been running it since yesterday and its been super smooth with no bugs.
The only thing I need to figure out is a way to reduce the amoled saturation (Ariesparts.apk doesn't seem to be able to do this...)
Click to expand...
Click to collapse
I can't help you for screen adjustments, no enough knowledge.
casper846969 said:
Well v04 is the stuff love it well fast and smooth all I got to see now is battery life and that takes a day to test man your work is off the hook
Sent from my SGH-I897 using xda app-developers app
Click to expand...
Click to collapse
Thanks a lot. My objective is performance, but if battery life is also good why not
Sent from my GT-I9500 using Tapatalk 4 Beta
GearKernel ICS V0.2 is out!!!
Enjoy!
GearKernel JB V0.1 is out!!!
Enjoy

Extreme Kernel information

I'm making a kernel based on stock 4.0.2.A.62 (GB) and here are the changes this thread will be updated with every change I make until I release
Changes
UPTO 2.3GHz Overclock
Added Underclock To 24MHz For Low Voltages And Better Battery
720/480/000p recording Toggle
8MB VRAM
2048KB MAX READAHEAD
256KB MIN READAHEAD
SMARTASSV2 GOVONOUR & Performance
-O3 OPTIMIZATIONS
Removed Useless Govonours
Added dooms clocks and 21MHz,64MHz,1024MHz,1.583GHz,2.048Ghz,2.1GHz,2.2GHz,2.3GHz Frequinces
Changed Release to Extremekernel-r1
load Wifi Modules On Boot
Freed Some Ram From Logger
Doom's CWM5 Recovery
Enable KSM For Better Ram Management
Decrease Ram Console Size 256kb-128kb
4.4.3 Linux Toolchain (LInaro 4.7.3 Later)
Stock Partion Layout (420mb) soon to be changed to 600mb+
BLX (Battery Life Extender)
uv lcd display
uv wifi
and also could someone tell me how to use github as I have no idea
One question if you don't mind me asking...Based off of what stock? Gb? ics? 2.3.4, 2.3.7, 4.0.3, 4.0.4... I'm just curious about it.
Lordomn said:
One question if you don't mind me asking...Based off of what stock? Gb? ics? 2.3.4, 2.3.7, 4.0.3, 4.0.4... I'm just curious about it.
Click to expand...
Click to collapse
I'm pretty sure it's gb like joss other kernel was
Sent from my Xperia Play (r800x)
So whats "uv led display"
Great, Expecting this!
[Guide] How to use Github
ive got good news i uploaded my kernel source so i guess i only have to create the thread
extremetempz said:
ive got good news i uploaded my kernel source so i guess i only have to create the thread
Click to expand...
Click to collapse
Create thread and let me see your kernel :good:
Hey extremetempz, would removing 3g or GPS give some RAM?
extremetempz said:
I'm making a kernel based on stock 4.0.2.A.62 (GB) and here are the changes this thread will be updated with every change I make until I release
Changes
UPTO 2.3GHz Overclock
Added Underclock To 24MHz For Low Voltages And Better Battery
720/480/000p recording Toggle
8MB VRAM
2048KB MAX READAHEAD
256KB MIN READAHEAD
SMARTASSV2 GOVONOUR & Performance
-O3 OPTIMIZATIONS
Removed Useless Govonours
Added dooms clocks and 21MHz,64MHz,1024MHz,1.583GHz,2.048Ghz,2.1GHz,2.2GHz,2.3GHz Frequinces
Changed Release to Extremekernel-r1
load Wifi Modules On Boot
Freed Some Ram From Logger
Doom's CWM5 Recovery
Enable KSM For Better Ram Management
Decrease Ram Console Size 256kb-128kb
4.4.3 Linux Toolchain (LInaro 4.7.3 Later)
Stock Partion Layout (420mb) soon to be changed to 600mb+
BLX (Battery Life Extender)
uv lcd display
uv wifi
and also could someone tell me how to use github as I have no idea
Click to expand...
Click to collapse
WOW

[ROM][CM10.2][DIABLO KERNEL 2.8] Unofficial CyanogenMod10.2 - SGH-I757M

DIABLO Kernel 2.8 Unofficial CyanogenMod10.2 ​​
Just like the CM team.
"Your warranty is now void. We are not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications, and if you point the finger at any of us for messing up your device, we will laugh at you. Collectively, and at the same time."​
Bugs.
Should be the same as [ROM][CM10.2][RECOVERY][KERNEL][DEV][SGH-I757M]UNOFFICIAL CM10.2 For Bell SGH-I757M​
Installation instructions
1. Download ROM
2. Reboot into recovery, You must use CWM 6037+
3. Please back up your ROM before you begin!.
4. Wipe System, Data, Cache, Dalvik.
5. Flash the ROM
6. Flash gapps found at bottom
8. Reboot
8. Let it sit a while.
10. Enjoy CM10.2 with DIABLO 2.8 Kernel
YOU MUST USE A JELLYBEAN RADIO!​
USE TRICKSTER MOD TO CHANGE KERNEL SETTINGS.
(Other Kernel tuning apps may cause RRs and they do not allow you to use all of the features)
Diablo Kernel Features:
- Kernel version 3.0.101 -
- I/O schedulers CFQ, BFQ, ROW, NOOP, DEADLINE, SIO, VR, and ZEN
- Governors Intellidemand, InteractiveX, Ondemandx, Lazy, Wheatley, Smartass, Badass, Lionheart, HYPER, Samsung and normal Stock options too.
- CPU OC - 1836 MHz
- GPU OC to 320 MHz for 3D & 266 MHz 2D
- MSM_Mpdecision (non-stock) - Showp1984
- Thermal - Showp1984 - Keeps your phone from overheating while Overclocked.
- Fsync Toggle - "Turn it off for better performance but be aware that you may encounter data loss if your phone crashes"
- USB Fast Charge
- Sweep2Wake
- Voltage Control
- Frandom Lag Reducer
- Smaller sized kernel due to XZ compression
- IO Boosters
- Frontswap Support
- Fixed Annoying Bluetooth Wakelock
- CD Rom Emulation - (Use DriveDroid or something similar)​
Kernel Source
Rukusx7
ROM Sources
titanic-fanatic
CyanogenMod
Special thanks goes out to:
* @titanic_fanatic - For his continued development of Cyanogenmod and other great ROMS. Most importantly for staying dedicated and helping me learn along the way! If it was not for him, this could never have happenned!
* @Cl3Kener for his Kernel
* CyanogenMod Team - ROM Base
* @dsixda - Initial port of CM9/CM10 for SGH-I757M
* @Strange Peer - Continued development of CM10
* @bijon440 - Contributor
* @kj2112 - Contributor
* @Tronith - Contributor
* @Zippy Dufus - Contributor
* @formercontra - Contributor
Download DIABLO Kernel Unofficial CyanogenMod10.2 for the SGH-i757m
GAPPS: gapps-jb-20131231-signed.zip
Get the latest Philz Recovery here
---For battery life pair badass with row---
For Performance
Performance Governor - Full OC
Lionheart - Full OC
HYPER - Full OC
For good battery life with decent performance use
Intellidemand
Interactivex
Ondemand
Ondemandx
Samsung
Lazy
Moderately Conservative
Badass
Conservative
Wheatley (debatable could be in the above category)
Very Conservative
Powersave
SavageZen​
​
Great work. But it seems as if my Wifi isn't working anymore.
iDynamics said:
Great work. But it seems as if my Wifi isn't working anymore.
Click to expand...
Click to collapse
Thanks. I will have to fix that or compile it with a rom. I forgot to include dhd. ko from lib/modules
rukusx7 said:
Thanks. I will have to fix that or compile it with a rom.
Click to expand...
Click to collapse
Looking forward to it!. I'll restore my nandroid and flash the kernel again once it's fixed. :good:
I'll most likely just release this with CM-10.2 instead. save a lot of headache. Then hopefully we have a working build with this kernel, while i work out the kinks in Hellybean.
Is this kernel compatible with TF's cm 11, and if so, is there a fix I can apply for wifi in the mean time while waiting for the update? Great job btw. So excited to try this out!
Sent from my SGH-I757M using xda premium
bijon440 said:
Is this kernel compatible with TF's cm 11, and if so, is there a fix I can apply for wifi in the mean time while waiting for the update? Great job btw. So excited to try this out!
Sent from my SGH-I757M using xda premium
Click to expand...
Click to collapse
I don't know how to compile properly without a rom apparently. So i am going to build this kernel with cm-10.2 exclusively for now.
But the kernel should work with all cm-10.2 based roms and 4.3 based roms. if I can get wifi working I will release it separately.
New build is up.
Hey
I have no idea if this is even relevant for flashing this rom or just everyday use, but should I be concerned about this Trickster Mod? I have no idea what it is. Thanks
GrAt_On said:
I have no idea if this is even relevant for flashing this rom or just everyday use, but should I be concerned about this Trickster Mod? I have no idea what it is. Thanks
Click to expand...
Click to collapse
You will need to download Trickster MOD from the playstore if you wish to tune any values or set governors or i/o schedulers
Sent from my SGH-I757M using xda app-developers app
I dirty flashed this over t_f's 10.2 build. Everything seems to be working as it should.
Edit: Sometimes when I press the power button to wake my device the keys light up but the screen remains black.
iDynamics said:
I dirty flashed this over t_f's 10.2 build. Everything seems to be working as it should.
Click to expand...
Click to collapse
It should be like that for some time. I will let you know if any future builds will or will not.
Yeah. Some things are a constant. That issue plagues all these devices....
But i know tf's build was better. I'll look into his commits.
Sent from my SGH-I757M using xda app-developers app
New build in topic.
Fixed screen wake up delay
Same build otherwise, versioning updated to reflect that build's kernel is updated
Who mentioned some time ago that the hercules may be a closer match to the I757M (celoxhd) than the skyrocket? I am not sure about ROM wise...but you hit the nail on the head when it comes to kernels. Although this rom was compiled using a skyrocket kernel, guess where that skyrocket kernel came from? Yeah you guessed right. From the hercules! I am only playing with rom building for the time being, I'll leave that to our master titanic_fanatic. So since he is maintaining most him time to the development of popular roms for our device, I will maintain my time to the development of kernels. Users of the diablo kernel with proper settings should be experiencing performance and battery life differences even by now. I know I have. This will only get better.
My settings in trickster are always set back to default on reboot, is there a way I can change this?
formercontra said:
My settings in trickster are always set back to default on reboot, is there a way I can change this?
Click to expand...
Click to collapse
Yeah, top right corner of the app is settings button the slides open a menu, make sure" Kernel settings" is selected.
For a conservative setting and better battery life, choose badass for governor. Not sure on I/O scheduler, But for reference, i Know Interactive paired with bfq causes lags. Refer to op for update on governors.
The developer of the kernel has a good post on it here
http://forum.xda-developers.com/showpost.php?p=46007640&postcount=3
Here is a really good thread on Governors
CPU Governors Explained
Will a clean flash fix the issue I am having with the screen not waking?
iDynamics said:
Will a clean flash fix the issue I am having with the screen not waking?
Click to expand...
Click to collapse
I am not sure how i am going to fix that yet. It appears that the kernel dev chose to live with it, or the kernel behaves differently for skyrocket/hercules users. I tried applying titanic_fanatic's fixes, but it appears the issue remains. I will look at it again. For now, it might be helpful to choose a governor from the performance/battery section. I am currently on Intellidemand with row scheduler and Quallcomm mpdecision disabled (which enables kernel control). Battery life is looking amazing. Also having a snappier governor should help.

Categories

Resources