I managed to install the latest miui. The problem was that after going to 7.2.9 the bootloader gets locked. I unlocked the bootloader using the official tool after getting permission and then there were no problems in installing other roms. I also used the twrp 3.1.1.0 as it works on both...