@peat_psuwit Thankyou very much for your reply
First note is camera.msm8996 driver can't load without added libjnigraphics.so, libandroid-runtime.so and 17 others blobs files. I extracted them from cm-14.1 rom and added it to my system.img to make driver HAL camera happy and load.
I tried remove dependencies with patchelf but not work (got methods unknown errors).
Second note :i tested camera with gst-inspect-1.0 got this error
**
ERROR:gstamchybris.c:1286:scan_codecs: code should not be reached
**
ERROR:gstamchybris.c:1286:scan_codecs: code should not be reached
No such element or plugin 'androidmedia'
With droidmedia logcat show me this
ServiceManager: add_service('SurfaceFlinger',9) uid=1000 - ALREADY REGISTERED, OVERRIDE
ServiceManager: service 'SurfaceFlinger' died
ServiceManager: add_service('media.player',10) uid=1013 - ALREADY REGISTERED, OVERRIDE
ServiceManager: service 'media.player' died
Thats why i used old camera_service with no hope to make video record work.