This is for the Motorola Droid 3. That's why it doesn't work.
This is a proof of concept working camera for CM9 ICS. I built the sources from TI omapzoom sources and stripped out some stuff not needed in ICS. Also heavily uses the wrapper HAL work that I built for Nexus one compatible Qualcomm cameras
http://xdaforums.com/showthread.php?p=22778026
It is a complete hack for now, but demonstrates that camera works with the tiler memory system, without need for ION. Only camera mode works for now. Video and Panorama mode do not. Also front facing camera does not work either. Preview would be a bit slow, as the decoding of frames is done in software and also there is a lot of debug logging. I have had this device for less than 2 weeks and hope things should improve as I learn more on how things work .
Here is a flashable zip file
http://www.mediafire.com/?r1c2jwchn4sjf9d
The diffs w.r.t TI omapzoom is at
http://www.mediafire.com/?j3zk87qe7uxqg7e
For now, the code is all hacks as you can see in the patch from the URL above. Once I have some more functionality, I will create a github repo for this work.
Credits are due to the CM team, Hashcode and whose ever code is used.
Give it a try and drop a line if camera works for you.