[WIP] CM9 ICS Camera (updated 03/09/2012)

Top Liked Posts

  • There are no posts matching your filters.
  • 54
    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. Updates are in the second post.

    Thank you for your generous donations. Every bit of it is greatly appreciated.
    14
    Wanted to update that I have finally cracked FFC after lots of nights and partially reversing the original motorola binary. I got preview to work, but pictures and other stuff not yet. There seems to be lack of memory for saving the photos using FFC. Trying to workaround it. When I have photo working, I will release a new update.
    10
    Update: 03/09/2012

    Working front facing cam.
    Preview and photos now work for both rear and front cams.

    Flashable zip file:
    http://www.mediafire.com/?48b1xnd84u45fy7

    Video recording and the other features do not work yet.

    Enjoy!!
    6
    Got photo with FFC working and as promised, the new update is posted. I have updated the second post in this thread with the link to a new flashable zip file. As mentioned there, only preview, photo mode works for both the cameras. None of the other stuff works yet.

    As usual, would love to hear your feedback on how it works for you.

    Out of curiosity, I tried faceunlock, but does not work yet, as it requires a ROM with hardware acceleration enabled. Tried building ICS ROM from source, but so far no luck. Even with hardware acceleration disabled, keep getting bootloops, with no way to know what is going on, as ADB is not available at that point. If anyone has any tips on enabling ADB early to understand the issue, I would greatly appreciate it.

    Video recording will probably require a lot of time as it is heavily dependent on the hardware codecs functioning.

    I will be hosting the changes in a github repository soon for interested folks. Stay tuned.

    Enjoy!!
    4
    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.

    Thank you for the great write up. I see exactly where you comment out the overlay code and let the camera run the buffers through the tiler instead.

    Oddly, when I tried this approach I was getting Ducati errors. I must have had something else wrong in my attempts.

    Thanks again for the posting. And I hope you don't mind me trying out some different options to speed this up.