The camera (not camcorder) works if you use "libLCML.so" and "libbridge.so" from the Moto (.596) release instead of building from source. Just push the two files mentioned to the /system/lib folder from your handy backup of the .596 system, reboot, and voila ... working camera (not camcorder, sadly). In case you don't have a backup of those files I've included the 2 files in a zip.
How I did it.
* Extract files from enclosed .zip onto SD card (libLCML.so and libbridge.so)
* navigate to /system/lib and rename those files to libLCML.so.bak and libbridge.so.bak
* Copy/Paste your extracted files to the /system/lib directy.
* Change permissions back to rw-r-r--
Voila!! Working camera! :)
Hope this helps for now. Remember, if you flash a new nightly, though, and camera is not fixed in that nightly, you'll have to re-do this process to get your camera to work.
EDIT: This has been reported to fix Camera, Netflix, and Youtube app :)
Edited by P3Droid -
I added a CWR flashable zip to the post. (CM4DX-CameraFix.zip)
---enter recovery and flash the zip.
Thx P3!! :)