I have experienced a time of this google camera port and found it quite stable, no crash.
And I decided to share it with everyone
It runs fine on Lineages, Mokee, AOSP Rom and MIUI
Note: ** Your phone has root and activate camera2api.zip file here
Download Google Camera for Redmi 5 Plus (vince): HERE