Stock Rom Flashing Steps
To download stock rom visit
Flash rom at your own risk! If you mess up
Open MiFlashTool from click on select
button and select your rom's unzip folder.
Check on clean all to clean flash the rom. If you want to lock the bootloader as well then select clean all & lock
Wait for a while. After flashing the phone will automatically reboot.