Stock ROM/Firmware for Moto G7 and G7 Plus. In this post, you will find stock ROM or Firmware with a Step by step installation guide.
Are you looking for a Stock ROM to fix issues or Go back to a previous version? then you landed at the right post. Android devices usually get boot loops and other issues with Custom ROMs and Mods. In these cases, flashing a Stock ROM is the best solution.
Stock ROM or Firmware contains the Android OS and the low level code which connect Android OS to Hardware. You will find the ROM and installation guide in this post, so let’s get started.
Also read:
Table of Contents
Stock ROM for Moto G7 and Moto G7 Plus with Installation Guide
Prerequisite
- Charge the device to at least 50%
- Bootloader should be Unlocked (For Downgrading)
- PC
Download Section
ROM: Moto G7 Moto G7 Plus
ADB and Fastboot: Download
Drivers: Download
How to Flash Stock ROM in Moto G7 and G7 Plus
Step 1: Download and Install ADB and fastboot and Moto drivers
Step 2: Flash the Stock ROM/Firmware using Fastboot
Here are the Steps in Detail
Step 1: Download and Install Drivers on your PC
Download ADB and Fastboot drivers and Moto drivers and Install them.
Step 2: Flash the Stock ROM/Firmware using fastboot
- Download the Stock ROM from Download section given above
- Extract the zip file and Copy paste it into the adb folder which should be in C: drive
- Open the command window in the adb and fastboot folder by Right click+Shift key and click on “Open command window”
- Boot your phone into bootloader mode by typing adb reboot bootloader in the cmd/Powershell window
- Copy and Paste this code into the command window
fastboot flash partition gpt.bin fastboot flash bootloader bootloader.img fastboot flash logo logo.bin fastboot flash boot boot.img fastboot flash recovery recovery.img fastboot flash dsp adspso.bin mfastboot oem fb_mode_set fastboot flash oem oem.img fastboot flash system system.img_sparsechunk.0 fastboot flash system system.img_sparsechunk.1 fastboot flash system system.img_sparsechunk.2 fastboot flash system system.img_sparsechunk.3 fastboot flash system system.img_sparsechunk.4 fastboot flash system system.img_sparsechunk.5 fastboot flash system system.img_sparsechunk.6 fastboot flash modem NON-HLOS.bin fastboot erase modemst1 fastboot erase modemst2 fastboot flash fsg fsg.mbn fastboot erase cache fastboot erase userdata fastboot erase customize fastboot erase clogo fastboot oem fb_mode_clear fastboot reboot
This will flash the Stock ROM/Firmware on Moto G7 and G7 Plus.
Unlock the bootloader
- Enable USB Debugging and Allow OEM unlock by going into Developer options. Go to settings > About phone and then tap on “Build number” multiple times until you see “You are now a developer” popup
- Open the Motorola Bootloader unlock website and click on “Next”. On the next screen, Sign in with your Google or Motorola account
- Reboot to fastboot by turning off your phone and then pressing Volume Down and Power Key together
- Connect the phone to your PC and open command window. Type this in cmd
fastboot oem get_unlock_data

- It will give a code which you need to copy and paste it into the Data Scrub tool

- Data scrub tool will give a new code, copy it and paste it in Motorola Unlock page which you just signed on to.
- Click on “I agree” and then click on “Get unlock code”
- You will receive an Unlock key
- Now type the following code in the command window twice
fastboot oem unlock UNIQUE_KEY
UNIQUE_KEY is the key you got on Motorola unlock page. Paste the code twice to unlock the device.
can you help me? I have a Moto g7 that I am trying to perform this method on and I cant seem to get it to work. this is what keeps happening. if you will notice I keep getting several FAILURES through out the process, how do I fix it? I need to get my phone fixed ASAP, please help me.
C:\New folder\subfolder\FIRMWARE FILES> fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending ‘partition’ (45 KB)…
OKAY [ 0.000s]
writing ‘partition’…
(bootloader) Validating ‘gpt.default.xml’
(bootloader) Committing ‘gpt.default.xml’
(bootloader) – flashing ‘gpt_main0.bin’ to ‘partition:0’
(bootloader) Flashing primary GPT image…
(bootloader) Flashing backup GPT image…
OKAY [ 0.094s]
finished. total time: 0.109s
C:\New folder\subfolder\FIRMWARE FILES> fastboot flash motoboot motoboot.img
error: cannot load ‘motoboot.img’
C:\New folder\subfolder\FIRMWARE FILES> fastboot reboot-bootloader
rebooting into bootloader…
OKAY [ -0.000s]
finished. total time: -0.000s
C:\New folder\subfolder\FIRMWARE FILES> fastboot flash logo logo.bin
target didn’t report max-download-size
sending ‘logo’ (2633 KB)…
FAILED (command write failed (Too many links))
finished. total time: 0.016s
C:\New folder\subfolder\FIRMWARE FILES> fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending ‘boota’ (32768 KB)…
OKAY [ 0.761s]
writing ‘boota’…
(bootloader) Invalid partition name boota
FAILED (remote failure)
finished. total time: 0.770s
C:\New folder\subfolder\FIRMWARE FILES> fastboot flash recovery recovery.img
error: cannot load ‘recovery.img’
C:\New folder\subfolder\FIRMWARE FILES> fastboot flash system system.img
error: cannot load ‘system.img’
C:\New folder\subfolder\FIRMWARE FILES> fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending ‘modema’ (65860 KB)…
OKAY [ 1.433s]
writing ‘modema’…
(bootloader) Invalid partition name modema
FAILED (remote failure)
finished. total time: 1.448s
C:\New folder\subfolder\FIRMWARE FILES> fastboot erase modemst1
erasing ‘modemst1’…
OKAY [ 0.015s]
finished. total time: 0.015s
C:\New folder\subfolder\FIRMWARE FILES> fastboot erase modemst2
erasing ‘modemst2’…
OKAY [ 0.016s]
finished. total time: 0.016s
C:\New folder\subfolder\FIRMWARE FILES> fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending ‘fsga’ (11324 KB)…
OKAY [ 0.250s]
writing ‘fsga’…
(bootloader) Invalid partition name fsga
FAILED (remote failure)
finished. total time: 0.266s
Try yo use mfastboot instead of fastboot
or Download the ROM again
can i relock the device then later with the flashed stock rom ?