How to Unroot the Motorola Moto G

Need to send in your device for warranty reasons? Make sure you unroot your device first before sending it in as unrooting restores the warranty that you lost when you rooted your device. The guide below shows how you can unroot your Motorola Moto G and get it back to stock.

I. Before You Begin:

1. You should have rooted your device using the procedure given here.

2. You should have Motorola drivers installed on your PC. If you don’t, head here and download and install the drivers on your PC.

3. This should get your device back to stock firmware.

II. Downloading Required Files:

1. Stock Firmware (Download link’s given in the first post)

2. Fastboot

III. Unrooting the Motorola Moto G:

1. Download and place both the files onto your Desktop.

2. Extract files from both the archives over to your Desktop.

3. Turn ON the USB debugging option on your device by heading to Menu>>Settings>>Developer options>>USB debugging.

4. Once it’s been enabled, plug in your device to your PC via USB cable.

5. Launch a Command Prompt Window on your Desktop. To do that, hold down the Shift button and right-click on any blank area on your screen and select Open command window here.

6. Type in following command into the Command Prompt Window you just launched:

adb reboot-bootloader

7. Your device should reboot into the bootloader mode.

8. Once in bootloader, type in following commands into the Command Prompt Window hitting ENTER after each line:

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

9. Your device should reboot and you’re now fully unrooted!

Excellent! Your device’s been successfully unrooted and is back to the stock firmware!

If this procedure helped you please thank/donate to the original developers here.

22 thoughts on “How to Unroot the Motorola Moto G”

  1. Unrooting moto g will definitely not give warranity back. Everyone who have unlocked bootloader have lost warranity for good. But the ones who live in EU will have some warranity thanks to EU law 🙂

  2. for me it wasnt sparsechunk.0,.1,and.2 it was just sparsechunk 1,2,and 3 but it worked fine i just entered 1,2,and 3 instead of .0,.1,and.2

  3. Sandeep Chandy

    Can I do this on locked bootloader. I’ve never unlocked the bootloader. I think my system partition is corrupt & factory reset isn’t fixing the issue.

    1. Hello Sandeep,

      The procedure works fine on unlocked bootloader, not sure whether it works for locked bootloader or not.

      You can give it a shot if it works for you!

  4. Arent they able to identify that that phone was rooted ??
    i have heard that there is something known as efuse that breaks when phone is unlocked ?

    please explain it to me

Leave a Reply

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