[Hero CDMA Android Development] urushiol:
***Explaination***:

I, as many of us have, been using Toasts #89 Overclocked kernel since it's inception. I have been thrilled with it's performance, and that our community has produced kernel source code before one was avaliable to us from HTC. Thats quite impressive :cool:

The only cons with this kernel that I have found are:

1: Would occasionally (20% of the time?) get a Force Close when a phone call is coming in, resulting in the phone being borked, and me having to reboot the phone.

As many of you have noticed, toast incorporated a script into the kernel that makes it more likely to do this on reception of a call from your lover. Yes, this is a proven fact and can easily cause problems![/sarcasm]

2: The Application "WiFi Tether for Root Users" would start properly, and would share the internet connection over wifi as intended, but would hardlock the phone when you tried to stop the tether, requiring a battery pull to get the phone going again.

So in comes DarchDroid. I tried out darchdroid 2.6.4, and even tough it was an overclocked rom, I experienced NO force closes on phone calls, and a flawlessly working WiFi Tether.

I felt that both the problems above must be caused by the kernels, because I had never experienced them when using stock HTC kernel. So I thought it might be possible to use Darch's Kernel from 2.6.4(2.6.5 broke WiFi Tether), in a Sense rom. At the time I was using IceHoneyBun(from androincentral), after trying to make a update.zip myself using parts from darchs rom and getting nothing but boot loops, PMs back and forth with Darchstar, and Beezy(cooker of HoneyBun roms), Beezy posted a flashable zip to successfully use Darch's Kernel on HoneyBun. It worked! No phone FC, and working Wifi tether. Many people who use Toasts #89 experience the FC on incoming call, and everyone using it experiences hardlock on wifi tether end. So we thought we should share the fix, and make zips for Fresh and Damage based roms as well.

Enough jibber jabber, on the the good stuff!!!!

IMPORTANT READ THIS

Due to the folder structure for the .ko modules being different between the stock, the v4, vUV, and vUV2, you MUST run this remover to erase /system/lib/modules/* . Some of the zips below create a folder inside /modules to put the ramzswap.ko. If you flash the newest vUV 2 it puts it directly in /modules, and will not override the /modules/*/ramzswaps.ko, leaving you with 2 ramzswaps.ko. To avoid any conflicts or bugs, I am going to suggest running the remover zip before flashing ANY of the zips below. Simply put the zip on your SDcard, flash it, then flash the kernel of your choice.

http://www.4shared.com/file/mvUNHgqJ/ModuleRemover.html

DO NOT FLASH WITHOUT READING INSTRUCTIONS

INSTRUCTIONS:
1. Place zip kernel zip file and module remover zip file on root of SDcard
2. Boot into recovery
3. Perform Nandroid+EXT backup
[size=3][B]4. Flash ModuleRemover.zip[/B][/size]
5. Flash your kernel of choice

AS ALWAYS NANDROID FIRST, AND POST IF YOU HAVE PROBLEMS!

[B][size=4]vUV2 Kernel[/b][/size] 1.2v
HTC Synaptics driver! (thank you Darchstar!)
CPU is undervolted.
All versions overclockable using an app to 768.
Uses 2.6.29-cyanogenmod - ameer@darchstar #6 kernel
With custom ramdisk for each rom/mod

[B][COLOR="blue"]Standard
Uses stock 2.27.651.6 RUU Ramdisk with apps2sd support added
Compatible with: Nfinitefx45's 2.27.651.6, ZenHeroFX, Fresh Rom 2.1.1/2.1.2/2.3.3[/COLOR][/B]
[URL="http://www.4shared.com/file/PgbKNp_0/Standard_vUV2_691.html"]Darchkernel vUV2 691mhz for roms using 2.1 RUU ramdisk[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]
[URL="http://www.4shared.com/file/Ojlxi-lD/Standard_vUV2_710.html"]Darchkernel vUV2 710mhz for roms using 2.1 RUU ramdisk[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]
[URL="http://www.4shared.com/file/rlOXyLcr/Standard_vUV2_768.html"]Darchkernel vUV2 768mhz for roms using 2.1 RUU ramdisk[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]

[URL="http://www.4shared.com/file/tcpFg_TS/Standard_vUV2_691_M.html"]Darchkernel vUV2 691mhz with freememkiller tweak for roms using 2.1 RUU ramdisk[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]
[URL="http://www.4shared.com/file/t5-qeBkS/Standard_vUV2_710_M.html"]Darchkernel vUV2 710mhz with freememkiller tweak for roms using 2.1 RUU ramdisk[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]
[URL="http://www.4shared.com/file/6mfmPmzf/Standard_vUV2_768_M.html"]Darchkernel vUV2 768mhz with freememkiller tweak for roms using 2.1 RUU ramdisk[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]

[B][COLOR="blue"]HoneyBun[/COLOR][/B]
[URL="http://www.4shared.com/file/31GuJx7Z/Honeybun_vUV2_691.html"]Darchkernel vUV2 691mhz for Honeybun[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]
[URL="http://www.4shared.com/file/YbYt2lR4/Honeybun_vUV2_710.html"]Darchkernel vUV2 710mhz for Honeybun[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]
[URL="http://www.4shared.com/file/CeIa3x24/Honeybun_vUV2_768.html"]Darchkernel vUV2 768mhz for Honeybun[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]

[B][COLOR="blue"]Damage Control[/COLOR][/B](has ramdisk from 2.09,will work in 2.08 and 2.09)
[URL="http://www.4shared.com/file/pW0_QiMf/Damage_vUV2_691.html"]Darchkernel vUV2 691mhz for damagecontrol based roms[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]
[URL="http://www.4shared.com/file/UkiGynor/Damage_vUV2_710.html"]Darchkernel vUV2 710mhz for damagecontrol based roms[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]
[URL="http://www.4shared.com/file/Y4EceZgS/Damage_vUV2_768.html"]Darchkernel vUV2 768mhz for damagecontrol based roms[/URL][color=orange]***BUGS IN zIMAGE FREEMEMKILLER***[/color]

KNOW ISSUES WITH UV v2 KERNEL
*FREEMEMKILLER BUG IN ZIMAGE, MAY EXPERIENCE MEMORY LEAK, INTERMITTEN LAG, AND LOCKUPS.
*Audio pop can be head through headphones when music/sound first starts
*You can select 787mhz using an OC app, but this frequency setting is broken,
768 is the highest frequency that works.

[B][size=4]v4 Kernel[/b][/size] 1.325v

HTC Synaptics Driver, Standard CPU Voltage.
All versions overclockable using an app to 768.
Uses Darchstar 2.6.34-GoDmOdE-Darchshizz-OC
ameer@darchstar#4 kernel
With custom ramdisk for each rom/mod

**BUGS FOUND IN FREE MEMORY TWEAK VERSION OF V4, RECOMMEND YOU USE vUV KERNEL INSTEAD**

[B][COLOR="blue"]Fresh 2.0d[/COLOR][/B]
[URL="http://www.4shared.com/file/OSUauZsW/Fresh20b_v4_768_M.html"]DarchKernelv4 768mhz with Free Memory Tweak For Fresh 2.0d[/URL] [COLOR="orange"][B]**POSSIBLE BUGS WITH FREEMEMKILLER TWEAK**[/COLOR][/B]
[URL="http://www.4shared.com/file/0QiLL5Ru/Fresh20b_v4_710_M.html"]DarchKernelv4 710mhz with Free Memory Tweak For Fresh 2.0d[/URL][COLOR="orange"][B]**POSSIBLE BUGS WITH FREEMEMKILLER TWEAK**[/COLOR][/B]

[B][COLOR="blue"]Infinitefx45's 2.27.651.6[/COLOR][/B]
[URL="http://www.4shared.com/file/tTFeHUJJ/Infinitefx_v4_768_M.html"]DarchKernelv4 768mhz with Free Memory Tweak For Nfinitefx45[/URL][COLOR="orange"][B]**POSSIBLE BUGS WITH FREEMEMKILLER TWEAK**[/COLOR][/B]
[URL="http://www.4shared.com/file/Pman261O/Infinitefx_v4_710_M.html"]DarchKernelv4 710mhz with Free Memory Tweak For Nfinitefx45[/URL][COLOR="orange"][B]**POSSIBLE BUGS WITH FREEMEMKILLER TWEAK**[/COLOR][/B]
[URL="http://www.4shared.com/file/snpFERGY/Nfinitefx45_v4_691.html"]DarchKernelv4 691mhz For Nfinitefx45[/URL][COLOR="SeaGreen"][B]**WORKING**[/COLOR][/b]
[URL="http://www.4shared.com/file/P3TciJjT/Nfinitefx45_v4_691_M.html"]DarchKernelv4 691mhz with Free Memory Tweak For Nfinitefx45[/URL][COLOR="seagreen"][B]**WORKING FREEMEMKILLER TWEAK**[/COLOR][/B]

[B][COLOR="blue"]HoneyBun[/COLOR][/B]
[URL="http://www.4shared.com/file/4N0ggqZ8/HoneyBun_v4_768.html"]DarchKernelv4 768mhz for Honeybun[/URL][COLOR="SeaGreen"][B]**TESTED**[/COLOR][/B]
[URL="http://www.4shared.com/file/2vcrF2fJ/HoneyBun_v4_710.html"]DarchKernelv4 710mhz for Honeybun[/URL][COLOR="SeaGreen"][B]**TESTED**[/COLOR][/B]

[B][COLOR="blue"]Fresh 2.1.1/2.1.2/2.3.3[/COLOR][/B]
[URL="http://www.4shared.com/file/yOuAlojE/Fresh21_v4_768_M.html"]DarchKernelv4 768mhz with Free Memory Tweak For Fresh 2.1.1/2.1.2/2.3.3[/URL] [COLOR="orange"][B]**POSSIBLE BUGS WITH FREEMEMKILLER TWEAK**[/COLOR][/B]
[URL="http://www.4shared.com/file/z5TRFGnd/Fresh21_v4_710_M.html"]DarchKernelv4 710mhz with Free Memory Tweak For Fresh 2.1.1/2.1.2/2.3.3[/URL] [COLOR="orange"][B]**POSSIBLE BUGS WITH FREEMEMKILLER TWEAK**[/COLOR][/B]
[B][COLOR="blue"]Damage Control[/COLOR][/B](has ramdisk from 2.09,will work in 2.08 and 2.09)
[URL="http://www.4shared.com/file/AzNynVNU/Damage_v4_768.html"]DarchKernelv4 768mhz for DamageControl[/URL] [COLOR="SeaGreen"][B]**TESTED**[/COLOR][/B]
[URL="http://www.4shared.com/file/hiYH5bQz/Damage_v4_710.html"]DarchKernelv4 710mhz for DamageControl[/URL] [COLOR="SeaGreen"][B]**TESTED**[/COLOR][/B]

KNOW ISSUES WITH UV v2 KERNEL
*Audio pop can be head through headphones when music/sound first starts
*Freememkiller versions may be buggy due to a typo that was copy/pasted into all v4 kernels,need to redo when I get an hour or so. I should note that I haven't actually seen this problem manifest in the real world, though I think it could.

Camera Fix(thanks infinitefx45!)

Camera/Media Fix**Should work on most De-Odexed roms that DO NOT use friendstream, PM me if this boot loops your phone, and I'll edit the zip for your rom. NANDROID FIRST**, **This will revert your htcdialer to an unthemed version if you are running a theme or a themed rom, you have been warned!**

[B][size=4]CHANGE LOG[/size][/b]

[b]vUV 2[/b]
*Build from newer kernel source.

*Added HTC synaptics driver (Thank you Darchstar)

*Consolidated Nfinitefx45's 2.27.651.6 stock, ZenheroFX, and Fresh into one category. Not 100% sure if it will work on fresh, if not I'll add in the fresh rom category again.

[b]vUV[/b]
*Undervolted CPU

*Fixed my incorrect settings in ramdisks that sometimes caused CPU to drop to 19mhz.
Bug is present in all V4 kernels.(use SETCPU/Oc widget and
manually set the frequency in the V4 kernels to avoid this!!)

*Fixed a mistake I made when performing freemem tweak on the V4 kernels,
those who used the V4 kernels with freemem killer tweak that experienced
lag/slowness/stuff closing when it shouldn't/, should have no problems with
the vUV kernels with freemem killer tweak.

[b]v4[/b]
*Added 710mhz default, and 768 mhz default versions(both clockable to 768 using an OC app)

*Added separate update.zips for Fresh, Damage, Honeybun, and Infinitefx
in an attempt to solve problems with failed boots on infinitefx rom, and to
allow for lowmem tweaks in fresh roms without effecting damage roms!

*Tweaked lowmemkiller settings for Fresh and Infinitefx roms
(Honeybun is already using a tweak; gumbo.sh. and
Damage control has lowmemkiller settings accessible in Dconfig)

*A Fresh 2.0b version, just for fun!(I was testing with Fresh 2.0d and had
problems trying to use the ramdisk from fresh 2.1.2

[b]v3[/b]
*Fixed Wifi, was broken in v2!

[b]v2[/b]
*Fixed for touchscreen lag

*Fixed improper auto detect maximum frequency
(reporting as 787 while actually only being 768)

[b]v1[/b]
*Initial release

________________________________________________________________

****Many thanks to Darchstar for compiling the kernel, Toastcfh for his kernel source, Beezy420(from android central) and Jus10o for creating the flashable ZIPS with the proper ramdisks, and everyone envolved in testing, or who gave any input!!****

________________________________________________________________

Links:

Original Thread at AndroidCentral

DarchDroid, the rom the kernel was pulled from

Excellent guide on Kernel Compiling

Toast's Kernel Source =D