You need to be on Latest vendor from miui.
AXN Camera Official 115
At 1st flash the camera then reboot then flash the 48mp patch fix.
Do not flash the 48Mp patch from Github
All credit goes to #AEonAX for his ANXcamera port and Me
Try it and report me back what is working and what is not.
Tasted on Pixel Experience CAF and Bootleggers,Dot OS,Pixel Experience Aosp,CRdroid