[myTouch 3G, Magic Android Development] TigerTael:
This thread is for my personal kernel patches that I use to patch the main android kernel source to be able to build a working kernel for 32A Magic/Sapphire devices. Various people have chipped in during the development of this, please see the old thread for details.

The old dev thread is located here: http://xdaforums.com/showthread.php?t=548061

Who is this for?

Anyone that builds kernels for HTC 32A Magic/Sapphire devices and has experience patching, configuring and building kernels for the ARM architecture. This thread is not intended as a guide for beginners.

Please do not ask how to build a kernel or how to configure a kernel.

Why?

It is true that HTC have released their kernel sources here, but one would have to use this exact source and would be unable to simply build a patch to make a 2.6.29 kernel due to the numerous differences in the HTC kernel source. One could not also just rely on pulling a new kernel snapshot from the main GIT tree. This patch intends to patch the kernel from the main msm branch with as little changes as possible.

What do you need?

Get the latest snapshot here (currently c7f8bcecb06b937c45dd0e342450a3218b286b8d.tgz)

Do not try and patch HTC's Kernel Source.

Notes:

For the time being, this patch works properly for both 2.6.27 and the 2.6.29 branch.

You will not be able to build kernels for 32B devices after you use this patch. Please keep a separate copy of your kernel for 32B devices.

[NEW] Built a 2.6.29 kernel from cyanogens /proc/config.gz, everything seems to be working fine.

The Files:

Kernel Patch 2.6.27 TT V3

Example Kernel:

32A Cyanogen 2.6.29 (v4.0.4 - stable version, updated 8/28) with wlan.ko - ONLY FOR USE WITH 4.0.4 CYANOGEN ROM (Cyanogen contains extra modules on his ROM for this kernel)

There seems to be a bug in 4.0.4 ROM where wifi tethering is not working. I have reverted back to 4.0.3 with the above kernel and all is working fine including tethering.

32A Cyanogen 2.6.29 (v4.1.1) with wlan.ko - ONLY FOR USE WITH 4.1.1 CYANOGEN ROM (Built from cyanogen github w 4.0.4 config)

Multi-touch is working in the browser.

32A Cyanogen 2.6.29 (v4.1.5) with wlan.ko - ONLY FOR USE WITH 4.1.5 CYANOGEN ROM (Built from cyanogen github w/4.1.5 config)

Cyanogen says he will be changing the scheduler to BFS soon.

32A Cyanogen 2.6.29 (v4.1.6) with wlan.ko - ONLY FOR USE WITH 4.1.6 CYANOGEN ROM (Built from cyanogen github w/4.1.6 config)

Includes BFS scheduler. Wow, browser flies.

32A Cyanogen 2.6.29 (v4.1.7) with wlan.ko - ONLY FOR USE WITH 4.1.7 CYANOGEN ROM (Built from cyanogen github w/4.1.7 config)

Haven't really tested this completely but seems fine.

32A Cyanogen 2.6.29 (v4.1.8) with wlan.ko - ONLY FOR USE WITH 4.1.8 CYANOGEN ROM (Built from cyanogen github w/4.1.8 config)

Camera working, Camcorder not working.

32A Cyanogen 2.6.29 (v4.1.9.2) with wlan.ko - ONLY FOR USE WITH 4.1.9.2 CYANOGEN ROM (Built from cyanogen github w/4.1.9.2 config)

Everything appears to be working properly

32A Cyanogen 2.6.29 (v4.1.11.1) with wlan.ko - ONLY FOR USE WITH 4.1.11.1 CYANOGEN ROM (Built from cyanogen github w/4.1.11.1 config)

Everything appears fine.

ROM boot images:

V2.1 eViL hero 2.9.5x (2.6.29, BFS, SLUB) 32A only (apply as update) - THIS IS EXPERIMENTAL. Any bugs, let me know.

Bluetooth,Wlan,Gps - working. (Not sure about headset but bluetooth turns on)

Graphic intensive apps - Working (Armadillo roll works, Gears gets 60fps)

Camera working this time

eViL hero 2.9.9 (2.6.29, SLUB, Anticipatory) 32A only (apply as update)

Seems to work properly!

Hero Volume Fix:

Hero Volume Fix (tested on eViL Hero) (Do a backup first and then test) -- Apply as update

Disclaimer:

These patches are experimental and should not be used for mission critical operations without extensive testing. I nor anyone else, will be held responsible for the use of these patches. If any damage or loss is experienced due to these patches, these are at your own risk. You will not be reimbursed by anyone for any amount what-so-ever.