Scripts to flash firmware and ROM on windows/mac/linux, including latest platform-tools and drivers, for AOSPA - POCO X6 5G/ Redmi Note 13 Pro 5G.
- Download the latest fastboot package from https://paranoidandroid.co/garnet/
- Copy it to this folder and rename it to aospa.zip
- Download the latest Android 14 firmware for your variant from https://xiaomifirmwareupdater.com/firmware/garnet/
- Copy it to this folder and rename it to firmware.zip
- Run install_google_usb_driver (Windows users only; requires admin)
- Reboot to bootloader (
adb reboot bootloader
OR shutdown phone and long press power + volume down button) - Run flash_firmware
- Run flash_aospa
.cmd
scripts are for windows, can be run by right click -> run as administrator..sh
scripts are for linux and mac, you should know how to use them!- You may see warnings like
Warning: skip copying xyz image avb footer
while flashing firmware, this is normal and can be ignored safely. - The device will reboot automatically into "AOSPA Fastboot" (fastbootd) during ROM flash, this is normal and expected behaviour.
- These scripts do not wipe data.