How to flash Motorola firmware (fastboot)
Motorola firmware packages (.xml.zip) contain the signed images that Motorola’s Rescue and Smart Assistant installs. The safe way is to let that tool do it; advanced users can flash with fastboot.
Before you start
- Pick the package for your codename and software channel (RETAIL, RETEU, OPENMX, AMXMX, …). Your channel is in Settings → About phone → Software channel, or
fastboot getvar ro.carrier. - Never install an older version than the one on the phone while the bootloader is locked. Motorola blocks downgrades and the phone can stop booting.
- Back up. A full flash erases data.
Easiest: Rescue and Smart Assistant (Windows)
- Install Rescue and Smart Assistant (RSA) from Lenovo’s support site and sign in.
- Choose Rescue, connect the phone and follow the prompts. RSA downloads the matching firmware itself and installs it.
Manual: fastboot
- Extract the .xml.zip into a folder. Inside is
flashfile.xml, which lists the commands in order. - Boot to fastboot: turn the phone off, hold Volume Down + Power.
- Install the latest Android Platform-Tools and Motorola USB drivers.
- Run the commands from
flashfile.xmlin the folder —fastboot flash partition filefor each line, in the same order. Tools such as a flashfile-to-batch converter can generate them for you. - Finish with
fastboot erase userdata(only if you want a clean phone) andfastboot reboot.
If something goes wrong
- “Preflash validation failed”: the firmware is older than the phone or for another device. Use a newer package for your codename.
- “Not allowed in locked state”: that partition can’t be flashed on a locked bootloader. Use RSA instead.
Last updated 22 Oct 2026.
Devices that use this method
- Motorola Edge 60
- Motorola Edge 40 Neo
- Motorola Razr 40
- Motorola Moto G45 5G India Edition
- Motorola Razr 40 Ultra
- Motorola Moto G54 Power
- Motorola Razr 2024
- Motorola Moto G53
- Motorola Razr Plus 2024
- Motorola Edge 40
- Motorola Moto G23
- Motorola Moto G84
- Motorola Razr 60 Ultra
- Motorola Moto G85 5G
- Motorola Edge 50 Pro
- Motorola Moto G55 5G
- Motorola Moto G75 5G
- Motorola Moto G73
- Motorola Edge 60 Pro
- Motorola Moto Edge 50 Ultra
- Motorola Moto G04s
- Motorola ThinkPhone 2025
- Motorola Moto G 5G 2023
- Motorola Moto E13