# Check connection mfastboot devices mfastboot flash boot boot.img Flash system (even if it's larger than the partition) mfastboot flash system system.img Flash all partitions from an XML firmware (Linux/macOS example) mfastboot flash partition gpt.bin mfastboot flash bootloader bootloader.img mfastboot flash logo logo.bin mfastboot flash boot boot.img mfastboot flash recovery recovery.img mfastboot flash system system.img_sparsechunk.0 mfastboot flash system system.img_sparsechunk.1 ... etc mfastboot flash oem oem.img mfastboot erase userdata mfastboot erase cache mfastboot reboot A Real-World Example: Flashing a GSI on Moto G7 Power Let’s say you’re installing a larger-than-stock Android 14 GSI:
If you’ve ever tried to flash a Motorola or Lenovo device—especially one from the Moto G , Moto E , or Moto Z series—you’ve probably run into a frustrating problem. You type fastboot flash boot boot.img , and the terminal stares back at you with: mfastboot_adb