Chosen Solution
it was like 2 years ago i was playing deadtale but my battery ran low so i charged it but the problem is i had an update set up to update when i power it off, i forgot charged it overnight when i woke up the thing is in a boot loop.
With this tool you can restart or reinstall the ROM you need in your Xiaomi phone MiFlash