You need to flash lazy flasher after flashing twrp recovery in case you are booting into miui again.
Great! lazyflasher addressed the issue.
However I met further issue with flashing Xperience 12 or LineageOS 15 with my RedMi.
Checking unlock status, it looks OK.
$ fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: true
(bootloader) Display panel:
OKAY [ 0.006s]
finished. total time: 0.007s
After flashing the new oreo ROM and reboot, I get a "To start Android, enter your password". Entering the PIN works to bring me to next step, with a error message "Decryption unsuccessful - The password you entered is correct, but unfortunately your data is corrupt" error. Pressing the "reset phone" button brings me into a loop of this.
Any idea about that? Guess I need to create a new thread for this issue, or raise it to the ROM thread ...
Thanks.