Fix 1. Go to Google play and install. Open camera
Works fine on most ROMs
Fix 2 go to google play and install. Cm camera fix
In the description there's a link to camera restart.apk. install cm fix and camera restart run both then reboot. I use the new google camera. From gapps. Now it works fine. Hope this helps.
Phone. Galaxy mega 6.3 i527m
DU_meliusltexx_5.0.2_20150209-0312.v9.1- UNOFFICIAL.zip. lollipop 5.0.2
NFC greyed out. Still looking for a fix
Tried. (Possible NFC fix.zip) didn't work
Hope this helps.