[Touch Pro2, Tilt 2 Android Development] detule:
.39 Kernel Refresh EXT4/BTRFS/NILFS2 supported

***UPDATE (12.27)***

This post is no longer relevant. 2.6.39 has been under active development since October and is waiting for the release of xdandroid build with the new audio routing (libacoustic). In addition, 3.0.9, and 3.1.6 kernels have been brought up to speed. You can view the current progress here https://gitorious.org/linux-msm-rhod/linux-msm-rhod

*********************

Before I begin, let me once again thank jonpry and WisTilt2 for their tour-de-force in May/June (when most of the work associated with porting this kernel to Rhodium was done). This is a spanking new kernel and it is pretty amazing that we have an opportunity to drive it on our devices, when my Fedora build server uses a kernel <.39.

Several times now I've read posts from people asking for newer kernels, with support for newer file-systems. I thought I would share the version of .39 I've been using. I am always wary of qualifying how fast this kernel/build is in relation to another, but IMO this kernel has had a very positive effect on my device.

I spoke briefly with jonpry and he gave me the go-ahead to refresh this thread with a kernel built from my tree: https://gitorious.org/~detule/linux-msm-rhod/detules-linux-msm-rhod/commits/htc-msm-2.6.39 Downloads at the end of the post, but should you decide to try it, make sure to read this entire post.

Notes:

0. This kernel is designed to be used with the new acoustic libraries. Therefore you can only use this kernel if you have a copy of FRX06+ around (don't ask how to get one), or are proficient enough to follow the instructions in this thread http://xdaforums.com/showthread.php?t=1076884 (to use with the .39 kernel).

1. There was an issue with the testing kernel when it was originally released - it would come to a crawling halt after some usage. This (I believe) was a function of incorrect memory allocations in the kernel, and is resolved in this updated edition.

2. I've imported Alex's clocks (via emwe's tree). This has led to a measurable increase in performance (Neocore score jumped from 15.5 to +20fps), but it may be the culprit behind why the camera doesn't work in this updated kernel.

3. This kernel is up to date with LED notifications. However, in modernizing the LED code I needed to move the led_regime parameter to /sys/module/board_htcrhodium_led (vs. /sys/module/microp_klt as in the .27 autobuild). Therefore I am providing an up to date XdaLedRegime.apk that works with this .39 kernel (only) and allows you to turn on LED sleep debugging.

4. This kernel enables the proximity sensor (driver provided by ACL). To enable this functionality, you need to mount the provided sensors.default.so library. One way to do this is in the .conf file:

mount --bind /sdcard/sensors.default.so /system/lib/hw/sensors.default.so

(If you save the library at a location other than the root of your sdcard adjust the command accordingly)

Minor notes:

1. This kernel has EXT4/BTRFS/NILFS2 support enabled. I am currently using this with EXT4 /system and /data partitions on a partitioned build. Take it away with testing on which one is the best.

2. This kernel is KEXEC patched (this dates back to jonpry's tree). Meaning, if you are on 06+ (or any other build that has kexec support), you can "reboot" directly into android (props to hyc for building this feature into his build). This has been a HUGE boon for me lately, when I tend to swap kernels in/out quite frequently in testing.

3. See this post to get wifi working.

4. Overclocking *should* work, with the caveat that the startup.txt parameter should be acpuclock-arm11.oc_freq_khz (let me know if you have any feedback on this).

What does not work:

0. Camera: like I said I may have broken this.

1. Bluetooth: Currently turned off in kernel. Not sure what kind of issues jonpry originally had with BT, I may need to ping him about this.

2. 3.5 mm: Should be a matter of finding the time to sit down and figure out what ACL did to get it to work in .27.

Downloads:

10-29: Kernel and Modules

.39 XdaLedRegime.apk

sensors.default.so