Magisk/adf95ce3
Next version of Magisk has official support for this.
The project is hosted on github
In theory, this should work with all devices, not only for Xiaomi.
Flash the zip below and use the official magisk manager (already included in the zip file).
Magisk-v16.6.zip
Magisk-uninstaller-20180710.zip
I DO NOT have all the devices to test the builds.
Use it at your own risk.
Build with travis ci. Build it yourself
As soon as new versions of Magisk are released.
16.6 is out. Hope this gets updated too. Really need this right now.