lwxddlqkillapp: Oops, disregard what I said, it's TI.OMX.JpegDecoder what is not working. Encoder should work.
So you have two problems.
1. you're not getting preview frames from camera
Code:
E/Sensors ( 1914): Couldn't open /dev/lis331dlh (Permission denied)
E/Sensors ( 1914): LIS331DLH_IOCTL_SET_ENABLE failed (Bad file number)
E/SensorService( 1914): Error activating sensor 0 (Bad file number)
I/BATTD ( 1713): set_charge_current=0
E/CameraHal( 1732): GetNextPreviewFrame Error/1 frame:0x0, buffer:0x0
GetNextPreviewFrame error happens just after the sensor error.
Try chmod 666 /dev/lis331dlh to test whether the permission issue is the cause.
2. When taking the picture, the raw yuv picture data are received from camera just fine, that's good
Code:
D/CameraHal( 1732): Received raw yuv 0x4533a000 size 15980544
But your dspbridge is not working at all. The TI.OMX.JpegEncoder is not finding any DSP processor.
What is the output you get when you try to initialize the dsp using this command:
Code:
/system/bin/dspexec -v -T /system/lib/dsp/baseimage.dof
I bet there is an error. dmesg might be helpful.
EDIT: I noticed that on XT720, fjfalcon is using proprietary libLCML.so and libbridge.so, not the versions built from source. Which version of those libs are you using?