Desire HD Kernel Fixes Camera on Sense 4 ROMs
Previously in HTC Desire HD development, there had been only one Sense 4 ROM that had camera and camcorder working. It was Virtuous ROM from XDA Recognized Developer chrisch1974. However, to use the same kernel on other Sense 4 ROMs meant losing other features such as WiFi. So, the driving attempt has been to get a kernel for the other Sense 4 ROMs so that they could have working camera and camcorder as well. Now that work has finally paid off.
XDA Senior Member ted77usa recently released a ROM that gives camera and camcorder support to Desire HD Sense 4 ROMs without losing WiFi. The breakthrough came after XDA Forum Member tgeorg was able to figure out the problem with the kernel. As tgeorg puts it:
The problem with the virtuous kernel is, the module for wifi is renamed from bcm4329.ko to bcmdhd.ko and also the firmware files are changed.
So I take one of the virtuous kernel updates for my camera chip and changed the name of the module from bcmdhd.ko to bcm4329.ko but this is not enough. If I insmod the name is still bcmdhd , this must be changed in the module at offset 582E4 from bcmdhd to bcm4329. then lsmod shows “bcm4329 440166 0 – Live 0xbf000000” and also the firmware files from the virtuous rom must be taken to fully functioning. they are 7 files:
After that, tgeorg gave the proper list of files that needed to be compiled into a flashable zip for users that made everything work. From there, ted77usa released the kernels. Now, all ROMs using Sense 4 have camera and camcorder working without borking anything. With one of the biggest porting issues out of the way, the devs can now focus on fixing the rest of the problems. And HTC said it couldn’t be done. Oh HTC, you’re so silly.
For more info, check out the original thread.