For Mi5, follow these steps exactly to be sure you install Android 7 correctly WITHOUT BRICKING YOUR PHONE!!
1. Place TWRP 3.0.2-3 image on your internal storage together with the ROM by using your USB cable.
2. Reboot in old version of TWRP: reboot and hold power+volume up until you see TWRP...