[Hero CDMA Android Development] Decad3nce:
Hi guys. As you may have noticed around people have been using an 'uncapped' version of Darch's Kernel source. The Kernel inside of the CM6(including nightlies) is capped at 691 as to allow anyone and everyone the ability to boot.

But what if you're a self-proclaimed speed demon whose hero is capable of high frequencies and enjoys insanely high MFLOPS and crazy high Quadrant scores?!

Well guess what!?

This kernel is for you.​

ROMS that use this kernel source

(This is so that you don't just flash over something that you are already running, check with the ROM cook to see how up-to-date they are)

[ROM][GPL][NONSENSE] aospMod v0.9.7 | AOSP 2.2.1 (Froyo) [Maintainer: aosp]

[ROM] FroYo 2.2 - CM6 Extremely Blue, BlackMod, Red, Purple, Vanilla [Maintainer: jaybob]

[ROM-DEV] HTC Sense Android 2.2.1 [Maintainer: Zenulator]

DecaFuct. Stable Kernel. In blue.
​

DecaFuct Kernel Releases (CFS versions)​

adnan@Decad3nce 12/22/2010 *NEW*

Commits: https://github.com/Decad3nce/htc-kernel-heroc/commits/heroc

NEW Maintenance update. Reverted VM tweaks.

Kanged erasmux frequency table. Fixed stepping and QCT CDMA radio fixup

Included 06tweaks script that configures kernel and overwrites the overwrite to scaling_governor in CM6

Revised a few low level configurations in the script regarding VM

All frequencies(except 480mhz) are on the same PLL (PLL 2).

A lot of updates to smartass cpu governor from Erasmux

Updates on the lowmemorkiller driver from AOSP

Backport smd rpcrouter from 2.6.35 to (hopefully) solve problem with Auto-answer mode - Erasmux

Reverted every usleep and msleep integration

Fixed i2c errors

Set smartass cpu governor as default, and renamed kernel (DecaFuct)

Changed sleep mode back to HTCs recommendations

Download adnan@Decad3nce-DecaFuct #589 768mhz

Dropbox Mirror

MD5: 0ea00f5af58c84ff40d94bbd1e10657d

Download adnan@Decad3nce-DecaFuct #589 691mhz

Dropbox Mirror

MD5: a6d60ca7c89255e5e66cd1aba36b0f10
​

Resources for source:

Original CyanogenMod Branch

Master Branch(Darch's)

My fork​

Credits:

s0be!!!

Phusson for giving us overclock

Toastcfh for being like the most awesome kernel developer ever

Darchstar for just about everything

Ninpo

Eran(erasmux)

jaybob413

The entire CyanogenMod team for their hard work

Koush for AnyKernel update.zip!

Zenulator for the AnyKernel update.zip for HeroC

Collin_ph for ideas regarding msmsdcc and CFS scheduler help

Google and HTC

AOSP

XDA

Specific Kernel Contributors via github

KingKang, this is how you give credit and show your source via GPL and on Github.

I'll add in more explanations to things as time progresses and as I merge in more of my commits that I have locally.

How to install:

Place the downloaded update.zip at the root of your sdcard. Then boot to recovery mode, wipe dalvik, and flash it. Your ramdisk will remain intact and unchanged, but your kernel will be replaced.

You MAY need to wipe dalvik cache if you're having strange problems.​

Please nandroid first, that way you always can go back after you hate me.

Older releases:

[CENTER][INDENT][COLOR="RED"][SIZE="4"][B]BrainFuct Kernel Releases (BFS versions)[/B][/SIZE][/COLOR][/CENTER]
[SIZE="3"][B]BFS Release 11/18/2010[/B][/SIZE]
[LIST]
[*]Commits: [url]http://github.com/Decad3nce/htc-kernel-heroc-BFS/commits/master[/url]
[*] Completely in-line with the Stable(CFS) branch(See on CFS changelog)
[*] Fixed a lot of bugs in sched_bfs.c rooted in my reverting from .330 -> .318
[*] Reverted mutex adaptive spin update from sched_bfs.c
[*] THERE MAY BE A PROBLEM WITH UI LAG. YOU CAN FIX IT BY CHANGING YOUR rr_interval IN /proc/sys/kernel.
[*] [CODE] echo "1" > /proc/sys/kernel/rr_interval

[/LIST]

Download adnan@Decad3nce-Brainfuct #16 768mhz

MD5: 2a67808019b4de2b739079964f820f5b

Download adnan@Decad3nce-Brainfuct #16 691mhz

MD5: 289749aa06f064112a52731c0439e2e1​

BFS Release 11/07/2010

Commits: http://github.com/Decad3nce/htc-kernel-heroc-BFS/commits/master

Updated kgsl, better graphics performance

Updated msm_camera

Updated s5k3e2fx camsensor from .32(3000+ changes)

Updated Interactive Governor.

Download adnan@Decad3nce-Brainfuct #15 768mhz

MD5: 9ee656a01503d1aeea43bb2f5ed4b25f

Download adnan@Decad3nce-Brainfuct #15 691mhz

MD5: 4ac17e572155ecf2f753137b16c38eaa​

BFS Release 10/27/2010

Commits: http://github.com/Decad3nce/htc-kernel-heroc-BFS/commits/master

Added erasmux's "smartass" governor (See CFS changelog for details)

Optimized ARM RWSEM algorithm

vmscan: raise the bar to PAGEOUT_IO_SYNC stalls

arm: mm: Don't free prohibited memmap entries

Download adnan@Decad3nce-Brainfuct #14 768mhz

MD5: 54ff919b8df88b6baee048b293ac124f

Download adnan@Decad3nce-Brainfuct #14 691mhz

MD5: f1f77a1082453fc435efdc4c256ef27c​

BFS Release 10/12/2010

Commits: http://github.com/Decad3nce/htc-kernel-heroc-BFS/commits/master

Fixed camera->gallery->camera bug(hw3d release). Thanks to erasmux/ninpo for the patch and jaybob413/aosp for testing.

Backported .32 lowmemorykiller.c. Much more efficient RAM handling.

Set up easy to compile for beginners. (defconfig + script)

WIPE DALVIK BEFORE/AFTER FLASHING THIS RELEASE.

Download adnan@Decad3nce-Brainfuct #13 768mhz

MD5: 48eef774c094165c95bd35a857da9634

Download adnan@Decad3nce-Brainfuct #13 691mhz

MD5: eded283732647f941e1eb367cd1c39a4​

[/INDENT]

BFS Release 10/03/2010

Commits: http://github.com/Decad3nce/htc-kernel-heroc-BFS/commits/master

Adapted erasmux idle code backport from .34 to BFS

Built in CIFS module

Ramzswap module is built in

Cleaned up

Download adnan@Decad3nce-Brainfuct #12 768mhz

MD5: 54dfeee2d5daf3c8885f9a5210898821

Download adnan@Decad3nce-Brainfuct #12 691mhz

MD5: 669572be0bacdc025dda355f251b6476​

BFS Release 09/28/2010

Merged stuff from stable branch

COMMITS:

Squash bugs in board-heroc.c

Drop freqs under 245760 since no one uses them anyways; prevents override/instabilty.

Bring touchscreen more in-line with mahi-mahi (uses the same hw) - s0be

This is superfluous whitespace, move along

Download adnan@Decad3nce #11 BFS (Uncapped)

MD5: e26b4f07dbbe050c61ef593aa37c3d6f

Download ramzswaps.ko for #11 BFS Uncapped

Download adnan@Decad3nce #11 BFS (Capped)

MD5: f6573225e19f442e858c7cf400eb923d

Download ramzswaps.ko for #11 BFS Capped

BFS Release 09/26/2010

Merged stuff from stable branch, see below

Added a 691-capped version

Download adnan@Decad3nce #10 BFS

MD5: 96d60585731363850d9922e0b04ea9f7

Download ramzswap.ko for #10-BFS-Uncapped

691 Capped version

Download adnan@Decad3nce #10 BFS (691 CAPPED!)

MD5: c7dd749233f78d2ffc9fa546b80509eb

Download ramzswap.ko for #10-BFS-Capped

BFS Release 09/22/2010

Mostly reverted .330 BFS patch, roll back to .318

UI lag/delay is virtually completely gone!

http://github.com/Decad3nce/htc-kernel-heroc-BFS/commit/1568ef90ed464087a83c98de3ee145ffa0aacdb7

http://github.com/Decad3nce/htc-kernel-heroc-BFS/commit/6c9b675efd42324f16477d2d080b7593338ae254

FIRST BFS RELEASE THAT I AM SATISFIED WITH. :D

Download adnan@Decad3nce #9 (NO CACHE WIPE) (DIAG FUNCTION ENABLED)

MD5: eb7cf9e34bd22a90d43a324465029f36

Download ramzswap.ko for 09/22/2010 #9 Kernel

BFS Release 09/20/2010

Lots of work put in this release

Fixed Goggles FC (http://github.com/Decad3nce/htc-kernel-heroc-BFS/commit/7b438a53cc03701b14bd2f18c2d0f8f49074cf77)

Fixed posix-timers-cpu.c compilation error, from inheriting .31 scheduler updates (http://github.com/Decad3nce/htc-kernel-heroc-BFS/commit/1478838f0f407447cc7b2437d05c9b5452b946cb)

Merged in mutex adaptive spin changes (http://github.com/Decad3nce/htc-kernel-heroc-BFS/commit/bce7d6729a18c10efb788cbe2e48eae4eb22d702) (http://github.com/Decad3nce/htc-kernel-heroc-BFS/commit/55829b4b81bb606c4f97a62d80851900500fdaf6)

Mostly stabilize GPS via setting rr_interval to 1 (http://github.com/Decad3nce/htc-kernel-heroc-BFS/commit/d6cee5ac10db4a2a176f75c5f076d8a880725330) Untested while driving.

Download adnan@Decad3nce #7 -Brainfuct

MD5: 9b55b409f94bb63fa9db0eafadadee28

ramzswaps.ko for BFS

BFS Release 09/03/2010

Added back ext3/4 support

Added ramzswap(for compcache) via darch(and actually enabled it this time)

Patched BFS to .330(idk how stable it is, might revert to .318 if it isn't)

Reverted msleep integration in board-heroc-mcc.c

The update.zip wipes the cache partition, so first boot will take a while

If you're having random 'lock ups' or 'reboots' set the cpu governor to ondemand

Download adnan@Decad3nce #10 -BrainFuct

MD5: 8ea499e7f35206cc0afe7a5c885d9225

BFS Release 08/29/2010

Added desirec(Eris) compatibility, via darch

Added usleep function, and applied it throughout.

Fixed some things I fuxed up in the .config

Updated touchscreen source via darch

Commits: http://github.com/Decad3nce/htc-kernel-heroc-BFS/commits/master

Download adnan@Decad3nce-brainfuct #4

MD5: 492e93a6587a5912ea43c15333568dab

BFS Release 08/26/2010

Brought it up to .316

Recompiled wlan.ko

Lots of changes

libgps isn't starved: see this commit Still not completely stable. Doubtful that it'll ever be stable with .29

Commits and new repo are all here

DOWNLOAD adnan@Decadence-brainfuct #1

MD5: 20797d27463b3c63592d6d66b9fe310c

Stable Kernel Releases (CFS versions)​

adnan@Decad3nce 11/18/2010

Commits: http://github.com/Decad3nce/htc-kernel-heroc/commits/master

Made the frequency table more efficient: Less steps, Less freq's, etc.

Re-merged in the .32 msm_camera updates

Updated s5k3e2fx camsensor PROPERLY for better camera/camcorder performance

Reverted mutex adaptive spin updates since they fux with sleeping-while-atomic with KGSL

Download adnan@Decad3nce-Uncapped #43 768mhz

MD5: c6a96df1200bfff884740a3b6f0fba5d

Download adnan@Decad3nce-Uncapped #43 691mhz

MD5: e16383d88150ddaf5c30822d75e14868 ​

adnan@Decad3nce 11/15/2010

Commits: http://github.com/Decad3nce/htc-kernel-heroc/commits/master

FIXED WAKE LAG. I PROMISE. K.

Reverted .32 camsensor updates(reworking for next release).

Updated interactive cpu governor(more stable).

Sleep.

Download adnan@Decad3nce-Uncapped #23 768mhz

MD5: 5d04797f0573fcccc7a21f6f849649f2

Download adnan@Decad3nce-Uncapped #24 691mhz

MD5: 219907892b3a8fe961b8f1b54e6771e4​

adnan@Decad3nce 11/12/2010 V2

Commits: http://github.com/Decad3nce/htc-kernel-heroc/commits/master

Removed Swap

Increased clock speed of s5k3e2fx camsensor to 83mhz(charasingh)

Fixed atomic functions in bfq iosched(damentz)

Reverted updates to interactive cpu governor(wake lag gone).

Revert "cpufreq: Remove input event handler code" from cyanogen. (NEW)

Download adnan@Decad3nce-Uncapped #20 768mhz

MD5: 2a7a758cec97cdf4e92ce7d21ddb9aa6

Download adnan@Decad3nce-Uncapped #15 691mhz

MD5: 53be09df3703b1dba202f42c5e67365c​

adnan@Decad3nce 11/07/2010

Commits: http://github.com/Decad3nce/htc-kernel-heroc/commits/master

Updated kgsl, better graphics performance

Updated msm_camera

Updated s5k3e2fx camsensor from .32(3000+ changes)

Updated Interactive Governor.

Download adnan@Decad3nce-Uncapped #16 768mhz

MD5: 6e72cf3714324519ce1d16fd5b828d1c

Download adnan@Decad3nce-Uncapped #13 691mhz

MD5: 399fd9110be4e1655ef1efafab995ddd​

adnan@Decad3nce 10/27/2010

Commits: http://github.com/Decad3nce/htc-kernel-heroc/commits/heroc

Added erasmux "smartass" governor

See second post for technical details

Added 176000 frequency, so one step below 245760

Interactive is still default cpu governor, use batterytweak/setcpu to change to smartass

Download adnan@Decad3nce-Uncapped #15 768mhz

MD5: be98a2450d6db32bc7372dd447cec8bb

Download adnan@Decad3nce-Uncapped #11 691mhz

MD5: 03636eea703ce9d3ee903f8bdeae5b5c​

adnan@Decad3nce 10/25/2010

Commits: http://github.com/Decad3nce/htc-kernel-heroc/commits/heroc

Optimized ARM RWSEM algorithm

vmscan: raise the bar to PAGEOUT_IO_SYNC stalls

arm: mm: Don't free prohibited memmap entries

All updates are from upstream.

Download adnan@Decad3nce-Uncapped #13 768mhz

MD5: ce01b1817700419969d43b938665e842

Download adnan@Decad3nce-Uncapped #10 691mhz

MD5: 2cbfb2e662680a765b398a24c605d9b7​

adnan@Decad3nce 10/12/2010

Commits: http://github.com/Decad3nce/htc-kernel-heroc/commits/heroc

Fixed camera->gallery->camera bug(hw3d release). Thanks to erasmux/ninpo for the patch and jaybob413/aosp for testing..

Backported .32 lowmemorykiller.c. Much more efficient RAM handling.

Set up easy to compile for beginners. (defconfig + script)

WIPE DALVIK BEFORE/AFTER FLASHING THIS RELEASE.

Download adnan@Decad3nce-Uncapped #9 768mhz

MD5: f7ed6ae3ff50a5dd3f68a2af9d9eed31

Download adnan@Decad3nce-Uncapped #9 691mhz

MD5: b77c52471d5dde114b9544c3ea041560​

adnan@Decad3nce 10/03/2010

Commits: http://github.com/Decad3nce/htc-kernel-heroc/commits/heroc

Adapted erasmux idle code backport from .34

Built in CIFS module

Ramzswap module is built in

Cleaned up

"Failed to find CPU subsys" spam is gone

Download adnan@Decad3nce-Uncapped #6 768mhz

MD5: 50f8eaae80558977dab96a354f8ce8a9

Download adnan@Decad3nce-Uncapped #? 691mhz

MD5: 36e458d73ba0760261f6dff5bec6514a​

adnan@Decad3nce 09/28/2010

COMMITS:

Squash bugs in board-heroc.c

Drop freqs under 245760 since no one uses them anyways; prevents override/instabilty.

Bring touchscreen more in-line with mahi-mahi (uses the same hw) - s0be

This is superfluous whitespace, move along

Download adnan@Decad3nce #5

MD5: 43e9a5cd836f59965be354c1d428a71e

Download ramzswaps.ko for adnan@Decad3nce #5

adnan@Decad3nce 09/26/2010

Enabled USB_DIAG function for you CDMA workshop users

Reverted some debug stuff

Removed 19.2mhz from the freq table, should up stability.

Fixed a bad patch integration in ipv4

Commits: http://github.com/Decad3nce/htc-kernel-heroc/commits/heroc

Download adnan@Decad3nce #2

MD5: 8ac35187acc3dac7f223f873e68df6e0

Download ramzswap.ko for #2 Uncapped

adnan@Decad3nce 09/14/2010

Changes: http://github.com/Decad3nce/htc-kernel-heroc/commit/bbd66bf7867d1e0135cb5fcf2f743355dbc24c75

Download adnan@Decad3nce #14

MD5: e665bbd8d5bb5cae4c29e7f523197ece

ramzswap.ko (NOT FLASHABLE)

adnan@Decad3nce 09/11/2010

Merge in .31 scheduling updates from Ninpo(http://github.com/Decad3nce/htc-kernel-heroc/commit/fe71ab000ba3e70ba57516880b5f2b09da5e4481)

Finally added .config to my github(sorry about that), and fixed the Goggles fc errors by enabling ipv6 support instead of optional modules.

Compiled ramzswap.ko and wlan.ko for new revision

Reverted back to deadline i/o scheduler

Most stable this has been.

Download adnan@Decad3nce #13

MD5: 360f48e347fd3eb09a2cae3a57d9198c

Download optional ramzswap.ko (NOT FLASHABLE)

adnan@Decad3nce 09/03/2010

Added back ext3/4 support

Added ramzswap(for compcache) via darch(and actually enabled it this time)

Reverted msleep integration in board-heroc-mcc.c

The update.zip wipes your cache partition for you, so first boot will take a while

#10 Stable kernel was a failure.

Download adnan@Decad3nce #11 -Stable

MD5: 045547cd3c592d7f39fe8e5984a82034

adnan@Decad3nce 08/27/2010

Added the 'usleep' function. Applied it throughout, should save on cpu cycles and save battery.

Commit: http://github.com/Decad3nce/htc-kernel-heroc/commit/23fe04b6c05a4608cbb4478e6eab2b01c8f2ab36

Reset the default governor as interactive so that when you flash to a different ROM(other than CM6) it actually sets to interactive(unless otherwise specified by the ramdisk).

Most of the credit goes to Ninpo

Download adnan@Decad3nce #9 -Uncapped

MD5: 5ba126e58d02233c9e9699cc241883f5

adnan@Decad3nce 08/19/2010

Re-added all the default cpu governors

Set BFQ I/O sched as default

Default governor is 'ondemand'

You can still enable a different governor either with setcpu or manually, ask about how.

Pull the config.gz and extract .config to see the rest of the changes, nothing in source

Download adnan@Decad3nce #8 -stable

MD5: dec8112b00bb032b59d7552a44dec05a

adnan@Decad3nce 08/18/2010

Made Interactive CPU governor default

Default Scheduler is still deadline

Recompiled wlan.ko, added to to the update.zip

Download adnan@Decad3nce #7 -stable

MD5: 19fe8851ef74585b8125bdbef60e9523

adnan@Decad3nce 08/17/2010

Added in BFQ I/O via Darchs commit) Original Source: (http://bit.ly/aoX7Bj)

Default scheduler is Deadline

Added 'interactive' cpu governor

Fixed kernel panic reboots

Download adnan@Decad3nce #5

MD5: c86247444d5e642d3ebd0be2edfe7413

adnan@Decad3nce 08/16/2010

Decreased thre msmsdcc_fmax to 32000000

Set the msmsdcc_pwrsave to 0

Merged in various commits from AOSP

Merged in various commits from Cyanogenmod

Kept up to date with Darch's branch

Left the kernel to scale from 19200 to 768000

Download adnan@Decad3nce #1

MD5: This zip doesn't exist anymore(I doesn't has it).

[/CODE]