Stock ROM/Firmware for Moto G5s/G5s Plus with Installation Guide

Stock ROM/Firmware for Moto G5s Plus

Stock ROM/Firmware for Moto G5s and G5s Plus. In this post, you will find stock ROM for Moto G5s plus with a Step by step installation guide.

Flashing a stock ROM can fix many problems like if your device is slow or you have bricked your device while flashing a custom ROM or a Mod. In fact, Stock/Firmware contains low-level code which operates the hardware so flashing stock ROM is a fix to many problems.

Also read:

Stock ROM for Moto G5 Plus

Download GCam with Night sight

Table of Contents

Stock ROM/firmware for Moto G5s/G5s Plus

Here is the Stock Firmware collection of Moto G5s/G5s Plus

You need these to flash Stock ROM

How to flash Stock ROM/Firmware on Moto G5s/G5s Plus

Step 1: Download and Install ADB and fastboot and Moto drivers

Step 2: Unlock the Bootloader by using your PC

Step 3: 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: 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
unlock bootloader
  • It will give a code which you need to copy and paste it into the Data Scrub tool
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.

Step 3: 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 G5s and G5s Plus.

6 thoughts on “Stock ROM/Firmware for Moto G5s/G5s Plus with Installation Guide”

  1. Hi,
    I´ve lost my baseband and when I try to put stock rom back.. I got some errors like prevalidation failed and stock rom recovery doesn´t succed. What else can I do ?
    Best Regards,

  2. sushant arbole

    C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash partition gpt.bin
    target reported max download size of 534773760 bytes
    sending ‘partition’ (45 KB)…
    OKAY [ 0.005s]
    writing ‘partition’…
    (bootloader) Validating ‘gpt.default.xml’
    (bootloader) Security version downgrade
    (bootloader) Image primary_gpt failed validation
    (bootloader) Preflash validation failed
    (bootloader) Cancelling ‘gpt.default.xml’
    FAILED (remote failure)
    finished. total time: 0.090s

  3. sushant arbole

    ‘mfastboot’ is not recognized as an internal or external command,
    operable program or batch file.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top