Do clean install, then If yow rooted... You need to do it with magisk 16.4 let start... Don't do nothing... Then reboot again... It will be OK.
I have sistem lag... But on op it says to reboot after it start from first time.
I did a total clean installation from miui 9.5.
Enviado do meu MI 5...