Don't use Magisk, just Flash Mi Firmware and Flash ROM.
You won't have Root, but everything will work. Banking apps, Wallet Apps, etc.
The only Problem i am facing now is With Indian Government apps. They still detect that I am on Custom ROM and does not allow to use apps like DigiLocker...