I tried your method with Miui 12 firmware and rom and it didn't worked (Additionally I've installed xiaomi.eu rom).
So, i didn't wanted to reflash everything again and decided to fix already installed rom which I've already configured.
I've wiped cache, dalvik and vendor, flashed Miui 12...