Hi recently i have tried to root and install twrp for my mi a1 I had a lot of issues but i finally got twrp installed. Once twrp was installed it was all fine but when i tried to install magisk and root my phone my wifi slider would not go on. So i flashed the stock rom with mi flash this is when the problems began. Any stock rom i tried to flash would just put the phone into a bootloop. There was one rom that i had installed that worked however my sim card was no longer detected. I tried to ota update to 8.1 to see if that would fix the sim card issue but as soon as i updated with ota the phone would start bootlooping again. I then installed twrp again and tried a custom rom instead same issue the phone will just keep bootlooping. Its been a couple days now pretty much non stop trying to fix this phone but nothing i have tried is working and im going to need my phone soon i dont care what rom i have i just need a working phone. All help is greatly appreciated. PS my sim card slot is stuck and wont open so i cant try a different sim card but the sim card was working before i reverted to android 8 stock rom. Thanks guys.