Hello,
the recovery is stock or TWRP?
If is stock you should install TWRP in fastboot mode, then I remember 5.11.12 is MIUI 7, so better to wipe data, then install new ROM with Updater xxxxx.zip
Ciao,
la recovery è stock o TWRP?
Se è stock installa TWRP in modo fastboot, poi se ricordo bene...