NOTE: Make sure to use Miui 14 based on Android 13 Firmware, don't try to run this ROM with HyperOS Firmware
Follow this if you are on HyperOS(click here)
You can skip this step if you are already on miui firmware and follow the below steps.
- Download the rom package along with boot,dtbo and vendor_boot(links mentioned in post)
- Put downloaded files in a folder(your platform tools folder preferred)
- reboot to bootloader(hold power + volume down button)
- In your pc,open terminal where you copied the above files and run the following commands:
- Format data via recovery(optional if flashing on the same rom)
- select reboot to recovery(advanced -> reboot to recovery)
- select apply update in recovery
- In your pc terminal, run adb sideload rom.zip(replace rom.zip with the downloaded rom package name.zip)
- if you are flashing a vanilla build and want to flash gapps, select reboot to recovery(installation ends at 47% displayed on your pc terminal) and then sideload gapps by selecting apply update. Skip this step if you are already flashing a gapps build
- Reboot to system
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vendor_boot vendor_boot.img
fastboot reboot recovery
Follow Steps from 1 to 7, then Flash your regional firmware using the command adb sideload fw_package_name.zip(replace fw_package_name.zip with your downloaded firmware name.zip)
after flashing, reboot to recovery and follow the remaining steps above