I'm also having issues with the flashlight, sometimes it works and sometimes it just doesn't.
My flash order: CM14 firmware + aicp_20161114 + OpenGApps + Agni Kernel + Fingerprint fix
Here's my logcat when it's not working:
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer? | Terms of Service