Prerequisites
- MIUI 14 firmware or MIUI 14 ROM
- Back up all apps, images, videos, contacts, etc. to cloud or external storage
- Latest platform-tools
- Unlocked bootloader and Arrow Recovery
Flashing Arrow Recovery
Ensure that you have booted into Fastboot mode.
For Windows cmd Users
Flash boot.img and vendor_boot.img from Windows cmd
1 2
| fastboot flash boot boot.img fastboot flash vendor_boot vendor_boot.img
|
For Powershell Users
Flash boot.img and vendor_boot.img from Windows Powershell
1 2
| .\fastboot.exe flash boot boot.img .\fastboot.exe flash vendor_boot vendor_boot.img
|
Reboot into Arrow Recovery and Verify Proper Connection to Recovery
Note: There is an issue with the recovery of Xiaomi Pad 5 not being able to present the UI panel, but recovery works normally.
For Windows cmd users:
1
| fastboot reboot recovery
|
For Windows Powershell users:
1
| .\fastboot.exe reboot recovery
|
Verify Connection
For Windows cmd users:
For Windows Powershell users:
Flash the ROM
Now that you have successfully flashed the recovery:
Reboot to Sideload mode
For Windows cmd users:
For Windows Powershell users:
1
| .\adb.exe reboot sideload
|
ADB Sideload ROM
For Windows cmd users:
1
| adb sideload romfile.zip
|
For Windows Powershell users:
1
| .\adb.exe sideload romfile.zip
|
Wipe Data and Reboot, then Enjoy
For Windows cmd users:
1 2 3
| adb shell recovery --wipe_data adb reboot
|
For Windows Powershell users:
1 2 3
| .\adb.exe shell recovery --wipe_data .\adb.exe reboot
|