Hey guys so today when I tried booting my redmi note 5 (whyred, china) it kept rebooting into twrp. It was running the latest resurrection remix on android 8.1. So I flashed a lineageos but that wouldn't boot either (both of them worked before with no problems). So I plugged my phone into my pc and used the mi flash tool. But whenever I clicked on refresh or flash the phone would just reboot into the mi logo with the unlocked symbol and do nothing. Doing anything on fastboot would lead to the phone rebooting too. I can access both fastboot and recovery. Any rom I flash seems to not work. When I flash miui manually using flash_all.bat the window juist opens and closes. Please help me!