If you can't use mi flash, you can install twrp via fastboot.
Dowload the recovery rom from miui site and download the fastboot TWRP from this link
http://en.miui.com/forum.php?mod=viewthread&tid=165205&extra=page%3D2&mobile=2
Reboot in fastboot mode and follow the guide in the link
After this...