here is the gist of the current problem
In this fix I am using the camera binaries from v500 20d (G-TAB 8.3) but that tablet does not have a flash/torch so the torch does not work on our phone when we use them, I think it is in the HAL (camera.msm8960.so)
I cant use the camera.msm8960.so from d505 because it does not have a config for ov5693
I cant use the camera.msm8960.so from ms500 JB because it requires vector symbols, and when I enable that in CM, it causes constant crashing. and the camera does not work anyway,and does not work with KK port
I am wondering if we can somehow add a sysfs interface for the torch in the kernel
or maybe we can make a wrapper that adds the flash / torch interface
also some thing is causing the front camera to look blue
you could actually help with these issues because the issue happens on the phone whether it has the ov5693 or not
most people could just use the 505 20a binaries and it would be OK, I guess, and the people with ov5693 will have a patch zip to enable their camera, just with no torch, but that is a pretty lame way to do it
If anyone knows of another LGE phone that uses the OV5693 and IMX119 cameras, has Kit Kat and has a Qualcom MSM processor, please let me know
I do not want to hear about phones that do not meet the above specs, I am aware of the Asus Nexus phone (FLO) that has OV5693, I can not use its pre-built binaries, but may be able to use the HAL source code some how
so bottom line is
we need a pre-built LGE KK camera.msm8960.so (HAL) that supports flash/torch and OV5693 and IMX119
or
we need to make source code for a camera.msm8960.so (HAL) that supports flash/torch and OV5693 and IMX119 which is not so easy to do
or
we need to make a camera wrapper source code that will that will work with the v500 20d (G-PAD 8.3) camera.msm8960.so (HAL) that will add flash / torch function. This is hard to do as well. but easier than making the HAL source code
or
we need to add a sysfs interface for torch / flash in the kernel source code. This is probably possible but I do not know how to do it. This option would help with AOSP ROMS. but I am not sure if it would help with the KK stock based roms
yay