Updating to MIUI 13 with Android 12 is not done in TWRP.
You must perform this update in the fastboot method.
Installation of A12 devices via Fastboot:
- Download our ROM zip file
- Unpack downloaded zip file in the PC
- Reboot your device to fastboot mode (press volume down + power)
- Connect to PC via USB cable
- Run fastboot installation script from unpacked zip according your PC operating system
- Wait until the phone restarts itself.
--- For Windows OS -
windows_fastboot_update_rom.bat
--- For Linux -
linux_fastboot_update_rom.sh
--- For MacOS -
macos_fastboot_update_rom.sh