HagameHyuma, if you want build miui rom , use patchrom . now patchrom use a marsmallow
Nobody publish device tree with camera fix.
I am building RR MM every day and checking ideas to fix camera by myself. But no success.
Why you not PM xanwarmod and dgadelha for device tree
( and dgadelha release a new rom cm13 , and camera work)