Unroot 3rd Gen Moto G 2015 and Restore Stock Firmware (Guide)

If you have rooted your 3rd Gen Moto G (2015) and later decided to unroot it, the simplest and foolproof method is restoring stock firmware on it, though various methods are available. To restore a stock firmware, you can either use your Nadroid backup or download ROM from specified sources. The stock ROM will remove any root traces from your Moto G 2015.

Unrooting 3rd Gen Moto G (2015) and restoring stock firmware on it will remove all tweaks and changes you have made on your phone. However, the process will also erase all data from your phone, so make a backup of any data on your phone before proceeding.


The below unroot method requires ADB and fastboot drivers installed on your computer. Follow this guide [HERE] for instruction.


1. Motorola drivers installed on your PC. If not, download [HERE] and install it.
2. Download Fastboot zip file [HERE] for Moto G 2015
3. Download stock ROM for Moto G 3 [HERE] (download right ROM for your Moto G 2015 variant XT1540/ XT1541/ XT1542/ XT1543/ XT1544/ XT1548/ XT1550)

How to Unrootthe 3rd Gen Moto G 2015

Disclaimer: Please follow this guide at your own risk. We can’t take responsibility for anything that goes wrong. This guide is intended for technically talented users only

1. Unzip the downloaded ROM zip file and Fastboot zip file. Copy unzipped ROM files and fastboot.exe file and paste them inside the ADB installation folder.

2. Enable USB debugging mode on your phone from developer option. To do so, got to Settings -> About Phone and tap 7 times on the build number to get developer option.

3. Now, turn off your phone and boot into Fastboot mode. To do so, hold down Volume Down and Power buttons together for few seconds

4. Once entered into Fastboot mode, connect your phone to your PC using a USB cable.

5. Go to ADB installation folder and open a Command Prompt Window by holding down Shift and right clicking anywhere and selecting Open command window here.

6. Issue the below command into the Command Prompt Window:

fastboot devices

7. You should see your device listed on the screen.

8. Now, issue the following commands one by one (make sure you get an OKAY message after each command)

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 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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot

9. Once you issue the last command, your device should reboot in normal mode. That’s all.

Your 3rd Gen Moto G (2015) is now unrooted and is running the stock ROM. (Source – XDA)

Kannan is a computer and Android enthusiast, a blogger by passion and a tech freak. His always ready-to-help attitude, knowledge and hard work is what drives him.


  1. Kuldeep Saini

    Oct 14, 2017 at 4:04 pm

    I have OEM Stock rom on XT1557 nogut, but I want to get back to official Marshmellow 6. is it possible if so how??

    • Kannan

      Oct 15, 2017 at 10:21 am

      This guide is not for downgrading firmware and will not work

  2. Prateek Bansal

    Apr 11, 2017 at 11:16 am

    Hey Dude, I have an error during this process “preflash validation failed” after each command plz help, i have installed lineage os android 7.1.1, what to do ?

  3. akshay sharma

    Oct 25, 2016 at 9:00 am

    i tierd this on moto g 3 xt 1550 and now it say earasing and dont start

  4. Ayan

    Aug 28, 2016 at 10:13 pm

    For all those who are facing bootloop you need to flash all the sparsechunk file that are available and not just the ones mentioned in the tutorial….

    • pasxos

      Feb 3, 2017 at 2:15 am

      omg thanks you are the best

  5. rajan patel

    Aug 18, 2016 at 12:18 am

    i tried this method but got some error like transfring data error of command – fastboot flash system system.img_sparsechunk.0. please give me solution.

    • Kannan

      Aug 19, 2016 at 8:41 am

      Explain the error correctly, so that we can give you advice

  6. Vibhu Singh

    Apr 19, 2016 at 3:08 pm

    I had Android 5.1 in my moto g3 6months back when I rooted my device.. I used Android 6.0.1 at the time of unrooting & my screen stuck at bootloader warning image..what should i do?

    • Kannan

      Apr 19, 2016 at 9:05 pm

      You may need to restore the original firmware from the backup (assuming that you have backed up your ROM)

  7. Shirish

    Sep 26, 2015 at 8:51 am

    The command mentioned above may need slight change for your carrier specific ROM. That may be the reason.

  8. Bradley Callison

    Sep 25, 2015 at 10:08 am

    i tried this method it did not work for my Moto G3 XT1548 us cellular it screwed my phone it goes to recovery screen goes on and off repeatedly i followed the instructions

Leave a Reply

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