[HTC One S] AKToronto:
******************Sources up at https://github.com/AKToronto/Canuck ********************************

****currently working off the testing branch I created****************

Hi folks,

Im posting this kernel because there might be a number of people who want to use a custom CM10 base ROM and just want to get some better battery life. Basically its for someone who would be interested in a kernel synced with the latest CM10 sources for 4.1.2 JB and who doesn't want to go to CM10.1 ROMS yet until they become more stable.

Huge thanks goes out to Zarboz as well as ShowP1984

ShowP1984 and Zarboz are real kernel masters. I am still just a simple padawan learner, lol.

Most of the custom source code for this kernel is either cherry-picked, merged or inspired by their work.

For more information on custom kernel settings, governors, schedulers, modules, etc, please check out:

http://xdaforums.com/showthread.php?t=1369817

Please let me know if anything doesn't work! ie reboots or other programs not working. Give the kernel some time to settle too before reporting.

And dont blame me if your device gets borked, lol. "Insert standard disclaimer here"

v1.0 Canuck Kernel

-CM10 JB Kernel sources synced 3.0.61 linux

-Governors included (and code cleaned up a bit) - brazilianwax, intellidemand, SavagedZen, interactiveX, smartass, smartassV2, lagfree, interactive, conservative, userspace, powersave, Lionheart, ondemand, performance (originally from klin's source)

-mpdecision using ShowP's code from Zarboz's AOZP source added

-Force MHL [MENTION=3621271]720p[/MENTION]60hz (also from Zarboz's AOZP)

-regular 4.6 eabi toolchains for now

v1.1

Synced with latest 3.0.62 linux

**GPS appears to be fixed and locking properly

v1.2

-Added Undervolting and Overclocking to 1.89gz (1.89 seems the most stable for folks) (taken from Zarboz Beastmode Bricked sources)

v1.3

-various fixes to undervolting, gpu overclock and to default on demand governor (also removed 2 phase on it for now).

v1.4

-removed some more problematic governors (that I also noticed were not compiled in Beastmode)

-enabled two phase ondemand

-added badass governor and cleaned up some of the badass code so that default phase frequency settings stick

v1.5

-thermald added to userspace (allows user to configure settings for when the device gets hot! ie lower cpu clock speed, etc)

-added lower default values to badass governor

**an experimental 2.1 ghz overclock version is also compiled, but that is experimental***

v1.6

-Wheatley governor added (likely the last governor I will add)

-enabled xz compression

-Fixed GPU OC so that settings stick (i recommend 266 for 2d and 320 or 400 for 3d)

-both 1.89 and 2.1 ghz versions added 2.1 ghz seems stable, just make sure you are undervolting correctly (dont undervolt a lot at the higher frequencies)

v2.0 ***Huge update thanks to Zarboz

-Rebuilt with Linaro 4.7 toolchains with -O3 compression flags

-Updated ThermalD and mpdecision source code (hot off the press stuff here!)

-Latest sweep 2 wake added

-various other fixes

v2.1

-Real -O3 compression this time ( on v2.0 it was really only -O compression)

-updated to latest CM10 sources and 3.0.63 linux

v2.2

-Added force mhl to ville defconfig for compile (feel free to test)

-Synced with 3.0.66 linux sources

v2.3

-Faux tweaked intellidemand

-Dynamic fsync enabled (by faux)

-Fastcharge enabled

v2.4

-Removed faux tweaked intellidemand (I didnt like the faux tweaks personally. Im just not sure that governors that try tie in to GPU clocks have

the right default settings to work well on the One S, regular intellidemand could be combined with other the other governors and not introduce instability. I had issues with tweaked plus smartass v2 for example)

-rebuilt using rmbq's cortex-a15 optimized toolchain (this seemed pretty cool, and I thought I would try it out. Seems like the device boots faster now too)

To use sweep to wake, when your screen is off, put your finger on the back button, then sweep all the way to the right in one motion. It works best when you do it fast. To turn the screen off, sweep in the opposite direction.

Compatible ROMs currently include (all CM10 base, not CM10.1):

-Latest CM10 nightlies http://goo.im/devs/cm/ville/nightly

-Latest PAC Man ROM

-Latest AOKP http://xdaforums.com/showthread.php?t=2141549

-Latest Dark Jelly (I think)

-Any other CM10 AOSP ROM that is synced with the latest jellybean branch (not the old jellybean-stable branch) of https://github.com/CyanogenMod/android_kernel_htc_msm8960

Install instructions:

1. Navigate to your /system/bin folder and rename the file mpdecision to something else like mpdec_backup (IMPORTANT)

2. Navigate to your /system/bin folder and rename the file thermald to something else like therm_backup (IMPORTANT)

2. Fastboot flash the boot image from your bootloader

*step one and two is needed because the kernel uses its own mpdecision and thermald controls and the ones included in your ROM are not needed and can only cause problems.

DOWNLOAD LOCATION:

http://www.androidfilehost.com/?a=show&w=files&flid=3192

****BE CAREFUL WITH UNDERVOLTING... Just want to give a fair warning... Undervolting too much, especially below 900, etc on the low end is not recomended. Read up on undervolting before doing too much more. In fact, if you are experienceing issues, try increasing the voltages.

Also recommend using kernel tuner to tweak (found in the app store), following Zarboz's suggestion. It's a good program and let's you set governors for individual cpus, tweak governors, mpdecision, gpu overclock and thermald, and settings tend to stick well.