Stock Roms

Download & Install Stock Firmware On Moto G4 / G4 Plus

Updated On Feb 27, 2017 –Fix Bootloop, Unroot, Unbrick Moto G4th gen. / Moto G4 Plus and Restore the Stock Android Marshmallow 6.0.1 Firmware

Lenovo has recently launched all new Moto G4the generation (2016) and G4 Plus In India.If you are a person who loves to root every android phone then you probably knew that Moto G4 / Moto 4 Plus can be rooted now but there always a risk of soft bricking while rooting or installing / Flashing recovery on a phone.But you can get rid of that by flashing the stock ROM



If you have a soft bricked Moto G4 / Moto G4 Plus then there is really a great new for you.Now we have the Stock Android Marshmallow 6.0.1 Firmware Of Moto G4 and Moto G4 Plus.Special thanks to yeshwanthvshenoy, Senior member over Xda for sharing the stock firmware files.Now you can flash / Install Stock Firmware On Moto G4 / G4 Plus and Unbrick it.


Custom Nougat ROMs Collection  [27+ ROMs] Best Moto G4/G4 Plus Android Nougat Custom ROMs List (Weekly Updated)


Following this guide, You can Fix Bootloop, Unbrick, Unroot, Restore the stock Firmware / ROM On Moto G4 / Moto G4 Plus


Follow the guide to return back to the stock ROM On Moto G4 / Moto G4 Plus

Important Read:

Make sure there is at least 60% battery left on your smartphone before begin unrooting your device.

This guide is only For Moto G4 and Moto G4 Plus



  • Step up ADB & Fastboot On Your Computer.
  • Download and install Drivers for Motorola if your device is not recognized by Computer


Download file

Download Here

Download Stock Firmware of Moto G 4 2016 (All variants)

Download Here

Download Stock ROM for Moto G4 XT1622 ATHENE

Download Here

Download Stock ROM for Moto G4 Plus XT1641-XT1643

Download Here

Download the right stock firmware file according to your device’s model number

How to Flash / Install Stock Firmware On Moto G4 / G4 Plus

Download & Install Stock Firmware On Moto G4 / G4 Plus

  • First, read the Pre-Requirements section then follow the given steps
  • Download the right firmware file from the download section and extract it to the ADB & Fastboot folder
  • Now go to the ADB & fastboot folder and open the command window
To open command window from ADB folder, press and hold Shift key and right-click on an empty space
  • Reboot your device into bootloader mode by pressing and holding Power + Vol.Down button
  • Now just run the flashstock.bat script.It will automatically run all the fastboot commands to Install / Flash Stock Firmware On Moto G4 / G4 Plus
  •  Once the process is completed, reboot your device
  • Done!!! Your device should have the stock Firmware
Below are the commands if  you want to manually issue the commands to Install / Flash Stock Firmware On Moto G4 / G4 Plus

mfastboot oem fb_mode_set
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 dsp adspso.bin
mfastboot flash oem oem.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1 
mfastboot erase modemst2 
mfastboot flash fsg fsg.mbn
mfastboot erase cache 
mfastboot erase userdata 
mfastboot erase customize
mfastboot erase clogo
mfastboot oem fb_mode_clear
mfastboot reboot

If you have any question related to this post, feel free to leave that in the comment section

Source  XDA

About the author

RMG Staff

Rootmygalaxy a.k.a RMG is one of the biggest Android Guide websites which has been serving for last 4 years. The site gets avg. 1.5 million views per month These Posts are done by RMG Team Members.

LineageOS 15.1 (Android 8.1 Oreo) Is now available for many devicesDownload Now

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.