Have you tried first with clean installation of Xiaomi.eu - that is, without Magisk, even before enabling Developer options
Although bootloader is unlocked, Xiaomi EU has built-in some protections. But once you install Magisk, you opened more and more possibilities to detect