[Kernel] 12/27/10 Reoriented for CyanogenMod 6.1 Beta 3.5
12/27 Update - A few minor changes in the initramfs, also updated to JPX source and fixed charge death. A single kernel is provided now that charge death has been fixed. By default, max. clock speed will be 1200MHz. To limit this, use setCPU or xan's app. To set the undervolt use the version of xan's app on my other kernel thread. Either flash the kernel with Odin, or extract the zImage and use Heimdall or Neldar's kernel flashing app.
This is a kernel to give the proper screen orientation, home/back button, and headphone/speaker logic, wired headset support, and backlight notification on the Captivate while using Aery's CyanogenMod 6.1 ROM. Look to the left of your screen, now back to me. See how I don't have a donate button? That's because all of the developers involved with this deserve any donations so much more than I do. I support the kernel hackers who really make our phones awesome, I hope you do too.
Note: The OC/UV kernels will, by default, have a max CPU frequency of 1.2GHz. If you don't want to overclock flash a non oc-uv kernel or install xan's UV
app which can limit the max clock to 1GHz (or install setCPU). [̶B̶]̶A̶l̶s̶o̶[̶/̶B̶]̶,̶ ̶t̶h̶e̶ ̶o̶c̶-̶u̶v̶ ̶k̶e̶r̶n̶e̶l̶s̶ ̶h̶a̶v̶e̶ ̶a̶ ̶t̶e̶n̶d̶e̶n̶c̶y̶ ̶t̶o̶ ̶c̶r̶a̶s̶h̶ ̶w̶h̶e̶n̶ ̶y̶o̶u̶ ̶l̶e̶a̶v̶e̶ ̶t̶h̶e̶m̶ ̶p̶l̶u̶g̶g̶e̶d̶ ̶i̶n̶ ̶w̶e̶l̶l̶ ̶p̶a̶s̶t̶ ̶a̶ ̶f̶u̶l̶l̶ ̶c̶h̶a̶r̶g̶e̶.̶
FIXED
12-8 - More fixes. Backlights work, but you have to toggle them on each reboot it seems, ie, use the app to turn them off then on, and then they work. I'll let neldar know about this. Y̶o̶u̶ ̶a̶l̶s̶o̶ ̶n̶e̶e̶d̶ ̶t̶o̶ ̶p̶u̶s̶h̶ ̶t̶h̶e̶ ̶l̶i̶b̶l̶i̶g̶h̶t̶s̶.̶5̶p̶c̶1̶1̶0̶.̶s̶o̶ ̶t̶o̶ ̶/̶s̶y̶s̶t̶e̶m̶/̶l̶i̶b̶/̶h̶w̶/̶.̶ ̶ ̶M̶a̶y̶b̶e̶ ̶s̶o̶m̶e̶ ̶k̶i̶n̶d̶ ̶u̶s̶e̶r̶ ̶w̶a̶n̶t̶s̶ ̶t̶o̶ ̶m̶a̶k̶e̶ ̶a̶ ̶z̶i̶p̶ ̶f̶o̶r̶ ̶e̶v̶e̶r̶y̶o̶n̶e̶?̶ (thanks wi|son, I don't care what the people of Gamehendge say about you, you're not so bad.) I patched in Xcaliburinhand's wired headset support. What a job by that guy, btw. Mad props to him. Buy the guy a beer would ya?
12-5 - Lots of fixes. Wired and wireless tethering working with JK3. It's late and I don't feel like making flashable zips, so do it yourself or nut up and Odin flash the tars I'm posting. (There were some pre-made zips posted a couple weeks ago, look around if you're that lazy

. If upgrading to the nightly, you probably want to install
Superuser.
11/29 - Mount fixed, superuser working properly, wifi connection fixed, no adb needed for either. Beta 2 build available in Aery's thread. Added a no OC/UV kernel for people having issues with it.
11//28 - Beta 1 release. Support for both SD cards, Wifi* & GPS fixed. Flashing zImage (kernel) from recovery is now supported.
As of this release, to get wifi working you must do the following:
No longer relevant
Code:
adb shell
cp /data/misc/wifi/wpa_supplicant.conf /data/wifi/bcm_supp.conf
chown -R wifi:wifi /data/wifi
And to fix su (superuser.apk)
No longer relevant
Code:
mount -o remount,rw,noatime,nodiratime,noauto_da_alloc /dev/block/stl9 /system
11/21 - Kernel updates include support for both SD cards. The headphone out jack is now functional as well with the 1120A build. For the moment WiFi appears to be broken with this kernel, so pick your poison, ie, functional wifi and one SD card or no wifi and both SD cards.
11/16 - Initial Beta0 release reoriented kernel.
Read Aery's instructions on how to install CyanogenMod 6.1
here..
Note/system will be ext4 when you flash this, so the process of going back to other ROMs isn't as easy as it was before, but certainly not impossible, so look at the current issues before flashing. Reverting is pretty easy if you leave the update.zip for rooting on your SD card and Odin One Click back to stock. You might be able to flash a Voodoo 5 kernel, reboot to recovery and go from there, but this HAS NOT BEEN TESTED. After reading Aery's instructions (twice) if you're NOT upgrading a previous CM6.1 release, start by Odin flashing the tar file Aery has posted or flash the cm61-b1-sgs-initkernel.zip I have posted here in Clockwork recovery, reboot into Clockwork recovery, then flash CM6.1-GalaxyS-BETA1.zip, reboot to recovery then flash the most recent kernel above and the Google apps.
This is still very beta. A lot of things aren't perfect. I'm not really a developer, I just made this so I could use CyanogenMod a little bit better on my phone, and I thought I'd share it.
Again, all the credit for the ROM starts with Aery, and coolya, and probably a few others I'm not aware of and ends with Cyanogen. They put a lot of work into this, I'd suggest buying them a beer (I know I did). I also want to give a shout out to xcaliburinhand for posting his code on git and getting these problems fixed in the first place, as well as raspdeep for his excellent OC/UV work, and hardcore for some of the other mods.
I'll be updating this kernel as fixes become available.
What's included:
Hardcore's memory & jhash tweaks
Supercurio's color
Raspdeep's OC/UV
Coming up:
Other nonspecific items that I'll later include for Optimal Placebo Effect