Tested on Redmi 9 and Redmi 9 Prime (Lancelot) on android 10 MIUI 11 and 12
Files
- TWRP
- vbmeta select ur region (indonesia, india, global, etc)
- Latest Magisk
Steps
- adb reboot bootloader
- fastboot flash recovery TWRP.img
- fastboot flash recovery recovery.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
- fastboot reboot recovery
- format data
- reboot recovery
- wipe dalvik + cache + data
- flash magisk
- reboot to system
- install magisk
STOCK ROM
https://xiaomifirmwareupdater.com/miui/lancelot/