There’s still other stuff missing to support it properly in current roms. I got it working on LOS-18.1 based build to the point that everything appears to be working fine as long as EIS for video is disabled.
Some config files and libs from stock must be added, sepolicy needed some additions etc. I pulled in quite a lot services and libs from stock, most is probably not required. Some things I know that they are needed or used, others are just guesses. Also fixed some other things which I noticed and are unrelated to Camera …
Didn’t have much experience with android development/porting myself. It’s learning by doing …
I need to narrow everything down to a minimal change set that I can submit to be included.
And before that of course I need to transfer this to LOS-19.1 device tree.
If someone is interested I can share a LOS 18.1 build with stock camera (only for dev/test purpose - not recommended for actual use).