Stuck in boot loop


Apr 12, 2024
Hi there,
I recently tried to install a custom ROM on my Xiaomi Redmi Note 9. I first installed the latest version of MIU (by retrieving the ROM from the Xiaomi website and flashing it with the MiFlash Tool software). That went well. Then I tried to install lineage OS (which required a more recent version of my OS, hence the first part). I tried to install TWRP but since then my phone has been stuck in a loop where it turns on, the MI logo appears (with powered by android at the bottom, and the open padlock at the top). The link to the tutorial I followed: and the commands I performed:
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
fastboot flash misc misc.bin
fastboot boot recovery.img

Thanks for your help!