A Kernel for Gingerbread
Last updated: 1/16/2012
Standard disclaimer: I did this for myself more than anything. If this kernel causes you to sleep through an appointment or kills your firstborn or whatever, them's the breaks.
By using this kernel you understand that it comes with no warranty whatsoever, and that flashing anything to your phone invalidates the warranty on that as well.
For Fascinate, Mesmerize, and Showcase
and ROMs based on EH09, EI20, and EH03
TKSGB has been renamed to KGB Kernel, because it's a kernel for Gingerbread (for the SCH-I500, and TouchWiz ROMs). I decided that posting a new thread would let me rename the kernel with the Most Imaginative Name EverŪ, close the old thread for getting too long, and rewrite the first post all at the same time.
CUSTOM SETTINGS APP
I wrote an app to replace the command-line scripts that controlled some of the settings in the kernel. It will auto-install upon boot and may even work with some features of the other TWGB kernels out there.VOODOO
Voodoo Lagfix (with autoconvert) and Voodoo Sound v10. Compatible with Voodoo Control app.OVERCLOCKING/UNDERVOLTING
Supported up to to 1.7GHz with Pimp My CPU/Voltage Control.TWEAKED CPU GOVERNORS AND I/O SCHEDULERS
ondemand is the default and recommended CPU governor. interactive, smartassv2, and tweaked conservative governors are included. ondemand and interactive are renamed from ondemandX and interactiveX, updating what was already there.
deadline is the default and recommended I/O scheduler. sio, vr, and bfq are included. deadline, sio, and vr have been tweaked for flash memory.NO HOTSPOT MONITORING
The Wi-Fi driver is ported from i9000, and has updates that some have said make it more stable than the driver included in the stock kernels. Tethering with Wireless Tether for Root Users and other apps is supported.
Using Verizon's built-in 3G Mobile Hotspot is never recommended.THIRD-PARTY BATTERY SUPPORT
Batteries for other Samsung Galaxy S models, off-brand batteries, and third-party extended batteries are all supported. Genuine Samsung i9000 batteries and third-party batteries that live up to the 1500mah ratings can now be had for well under $10.USER-ADJUSTABLE TRICKLE CHARGE
Credit for this feature goes to djp952. There are still a couple of reasons why this is considered experimental, but it will definitely get rid of Gingerbread battery drop if you are experiencing it. I extended it so that it can be enabled from userspace, so that one version of the kernel can accommodate people who want to use this feature and people who don't. Turning trickle charge on can be easily done with the included KGB App.IN-CALL VOLUME BOOST
User-adjustable in-call volume boost settings can be changed by running the included KGB App.IN-CALL MIC GAIN
User-adjustable in-call mic gain settings can be changed by running the included KGB App.AOSP-STYLE COLOR TUNING
Voodoo Color hasn't been working right for anybody and was causing greenish blotchy artifacts on videos, so AOSP-style color tuning has been implemented and can be adjusted by running the included KGB App.TOUCHKEY BACKLIGHT TIMEOUT
Custom touchkey backlight timeouts is another AOSP feature ported to KGB Kernel, and can be adjusted by running the included KGB App.BACKLIGHT NOTIFICATIONS
neldar's BLN v9 is included, and can be enabled with BLN Control app or Blinky.ZRAM
At the cost of increased CPU usage, zram effectively gives you more RAM by setting aside a portion of it and compressing what gets stored there.
zram can be enabled by running the included KGB App.DOCK AUDIO SUPPORT
Apparently this is working to the satisfaction of those who actually have docks (I don't).LED FLASHLIGHT
Didn't work with stock kernels, but works now. Strobe is not supported.BOOT ANIMATIONS
Automatically chooses between Samsung-style boot animations and AOSP-style (zip) boot animations.CIFS, TUN, UTF8
All built into the kernel, with no need to load any modulesLOW-LEVEL TWEAKS AND UPDATES
Various autogroups, RCU updates, jhash3, ext4 updates, and memory management updates are included. So are patches for the ARM SoC by ARM and Samsung and a number of other patches to the Linux kernel. In sum these clean up the kernel source code and help interactivity.
KGB Kernel source on Github: I don't know C. I kang everything.
Don't you dare think that you have to ask for my permission before using my source however you like.
It appears that I have finally gotten the .gitignores correct and the git repo will build a working kernel! Let's not dwell on how shameful it is that my repo didn't even build until two months after my first release. I have updated the xda wiki article on building KGB Kernel. If someone tries it out let me know how it goes!
imoseyon, ccampos784, djp952, existz, jt1134, Tk-Glitch, Efpophis, SirGatez, erasmux, supercurio, renaudallard, zachariasmaladroit, xcaliburinhand, a bunch of people who made it into the mainline Linux tree.
I've tried to credit these people and others as best I can in my git repo's commit messages, but some of these people are on here because I used their code as a model for various things.Others
People from IRC/people who helped the community/testers/teamsbrissenmod members, including adrynalyne, imnuts, times_infinity, navenedrob, nemesis2all, nitsuj17, chopperthedog, ACLakey, veteranmina, brickbeats, etc.
Everyone who has ever tried my kernel!