The Motorola Moto G has always been a popular phone and the third generation of the device is no exception. The simple fact of the matter is that, for the price, you’d be hard-pressed to find another phone with the same level of performance and features.
Also because of the price, the device is a prime target for those that want to try and get a bit more out of the device by rooting it and pushing it to its limits. Sometimes though, those limits get reached and then it’s time to unroot the Moto G and get it back to stock (and sometimes just to reroot it and start over).
Besides wanting to get the phone back to a clean slate after messing around with its new-found root required fun, you might also want to do this to send the phone in for warranty or if you are selling it and need to get it back to the way it was when it came out of the box for the new owner.
Regardless of the reasoning, it’s pretty easy to unroot the Motorola Moto G as you just need to flash the stock firmware from Motorola using fastboot mode (thank you Motorola for making that so much easier than other manufacturers!).
If you’re ready to get started, here’s how to flash it.
I. Before You Begin
1. Your device should be rooted using the procedure given here.
2. Please backup anything that you feel is important as this procedure should wipe off all the data stored on your device.
3. You must have a Windows based PC to do this procedure.
4. You should have Motorola USB drivers installed on your Windows PC.
5. This should get your device back to the stock.
6. This should also re-lock the bootloader on your device.
How to Unroot the Motorola Moto G (3rd Gen)
To unroot the device, you’re going to flash the stock ROM on your device using Fastboot. That way your device will be back to the stock leaving all the customizations behind. Here’s how:
II. Downloading Required Files
1. Download Fastboot and save it to your desktop.
2. Download Stock ROM and save it to your desktop.
Stock ROM (Download the one that is for your specific variant of the device)
III. Unrooting the Motorola Moto G (3rd Gen)
1. Extract files from Fastboot and Stock ROM over to your desktop by right-clicking on each of them and selecting Extract here. Make sure that both fastboot.exe and stock ROM files are on your desktop and not in any subfolders.
2. Turn off your device.
3. Turn your device back on in Fastboot mode. To do that, hold down Volume DOWN and Power buttons together on your device.
4. Your device should reboot into Fastboot mode.
5. Plug in your device to your PC using a USB cable.
6. Open a Command Prompt Window on your desktop by holding down Shift and right-clicking anywhere on your screen and selecting Open command window here.
7. Type in the following command into the Command Prompt Window and press Enter:
8. You should see your device listed on the screen.
9. Now, issue the following commands one by one. Make sure you get an OKAY message after each command to ensure that the command worked.
fastboot oem lock begin
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 oem lock
10. When the above commands have been successfully executed, run the following command to reboot your device:
11. Your device should reboot in normal mode.
12. And you’re done!
Your Motorola Moto G (3rd Gen) is now unrooted and is running the stock ROM. Head back to the how to root the Moto G tutorial if you want to start all over or pack it up and send it out if you were doing this for warranty reasons.
Either way, let me know in the comments below if it worked for you!