I just learned how to work with the file-context.bin files in lineage os.
LINK And succsessfully got camera working on my Reurection Remix rom I ported to blu studio XL (mt6737)
i took what I learned to check the context file in this boot.img. It does not have the camera devices listed , also the init.mt6735.cr file did not have device permissions set to allow camera to work.
i made my suggested changes and repacked a new boot.img for this rom.
today I do not have a phone available to test boot it on.
If you have this rom installed and can check my boot.img that will be good.
Code:
fastboot boot lm-14-r1-boot-20171103-2335.img
unzip the attachment before trying to boot it.
**EDIT**
I got a hold of my sons phone and tried this out.

it did not work.
::details:
When I was able to get camera working on my other phone on 7.0.1, I edited the file.contexts.bin, Only adding the camera devices that I also added to "init.mt6735.rc".
The ones added were the ones missing when compaired the init files from stock and port rom.
Here what I did was just dumped all the devices I found in the stock "file.contexts", which as it turns out was not the right thing to do.
I assume If you take a closer look at the /dev/* lines in file.contexts and init.project.rc and init.mt6735.rc, to make sure all the camera devices have proper access permissions it will get you working.
I may try again later this weekend if I get time
**EDIT 2**
NOT fixed yet, but before attempting to change file.context.bin the logcat had messages about "camera device -19" having issue or missing. Now after tinkering it shows "device -22" so this gives me confidence this is correct direction.
test boot.img removed--it did not fix anything yet
I did make a bootable resurection rom on this R1 but it still has no camera. I did same steps from the one that did work.
¯\_(ツ)_/¯
If there is interest I can open new thread for Resurection Remix
.