In this tutorial, we will be guiding you through the process of reinstalling official firmware on 2nd gen Moto G 2014 edition. We will show you how to restore original stock firmware on 2nd generation Moto G as well as lock its bootloader in case you have already unlocked it.
You might want to reinstall official firmware on Moto G for various reasons. For instance, after rooting and trying out few custom ROMs, if you want to unroot your Moto G, or if it stuck at boot loop after flashing a wrong ROM or whatever reasons your Moto G needs stock firmware.
For your information, the new Moto G (2014) has several improvements over its forerunner. Running on the latest Android 4.4.4 KitKat firmware, it now sports a 5-inch (720p x 1280p) HD display, 1GB RAM, 1.2 GHz Qualcomm Snapdragon 400 Quad-core processor, microSD slot, 8MP primary and 2MP secondary camera and 2070 mAh battery.
Disclaimer: Follow the guide carefully and at your own risk. We will not take any responsibility if anything went wrong. This guide is intended only for technically talented users.
Requirements:
1. Official firmware for 2nd Generation Moto G (XT1063 / XT1064 / XT1068 / XT1069). Download from the official site.
2. mfastboot kit v.2. Download from here or here
3. Download and install Motorola USB Drivers on your computer.
4. Enable USB Debugging on your Moto G 2014. To do so, go to Settings -> About and tap Build version 7 times. It will unlock the Developer options. Then, go to Settings -> Developer options and enable USB Debugging.
Instruction to Restore Stock Firmware on Moto G 2014
1. Extract the downloaded firmware file to a folder.
2. Extract mfastboot-v2.zip and copy its content to the same folder where the extracted firmware files.
3. Reboot your Moto G into the Bootloader Mode. To do so, turn off your phone and then press and hold the Volume Down & Power buttons simultaneously for a few seconds.
4. Connect your phone to your PC via USB cable.
5. Now, launch a command window from inside the firmware folder (click shift key, right click and select open command window here option).
6. In the command window, issue the following commands one by one:
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
7. Now, if you also want to lock your Moto G’s bootloader, issue the following command.
mfastboot.exe oem lock
8. And, finally, reboot your device by issuing the below command:
mfastboot.exe reboot
Your Moto G 2014 will reboot now. If not, follow the instruction given below.
Troubleshooting:
If your phone stuck at boot loop or unable to boot, turn off the device, go to Bootloader mode, launch command window and issue below commands:
mfastboot.exe erase cache
mfastboot.exe erase userdata
mfastboot.exe reboot
It will reboot your phone and you will have the stock firmware back on your 2nd Gen Moto G.Leave your views in the comment section below.
It should work if you have proper adb and fastboot setup and original firmware for your device.
Hi after i input the first command line:
mfastboot.exe flash partition gpt.bin
the command window reads waiting for device and nothing happens. i have tried unplugging and plugging my phone back in but it seems to make no difference help please Kannan sir..
Hi, did you get any solution for that, I have same problem
I have done all procedure successfully but one problem that back camera is not working what should I do now. downgraded from marshmallow to KitKat.
As i have flash moto g 2 and locjed bootloader they say that failed to validate system.image so what’sthe reason behind thia
Not all Moto G2 support bootloader unlock. Check your device for that (https://motorola-global-en-uk.custhelp.com/app/answers/detail/a_id/87215)
I try dat minimal adb fastboot command and Motorola say your phone is not qualify for unlock what to do bro plz help
3A55940086118341#5A593232323537524D54004D6F746F4733000000#B9C186669FF7645C14AB7AF79B6DE31C572F0986#1B9EC40E00000000000000000
You need a unlock key from Motorola, which require your device id and imei number to unlock the bootloader.
I had flash ma moto g3 xt1550 from bootloader ma phone is lock and when I write commas fastboot oem unlock den its say not supported or not found den I write all command and last one reboot den ma phone restat and say it phone did not start successfully and get the error message ‘failed to validate system image
Error – failed to pass validation, backup to fastboot
Faatboot reason – fail through from normal boot mode plz help
Without unlocking the bootloader, it is not possible to flash firmware manually.
I had reflash motog3 xt1550 by its not working my moto g3 bootloader is not unlocked plz send mi step step any reflash and custom Ron image how to get and install
You will need to reflash your phone back to stock firmware or flash TWRP and install a custom ROM image. Before do anything inside your phone, triple check everything.
I tried rooting my moto g3 device 6.0.1 and it did not work too well. right now my phone is saying “start up failed : your device did not start up successfully.”
ap fastboot flash mode (secured)
failed to validate system image
error: failed to pass validation, backup to fastboot
fastboot reason: fall through from charger boot mode
how do i fix this? i do not live in india. Model no. xt1550 plz help kannan ma phone is not starting
Are you flashed the original firmware? Download correct firmware for your model (search on XDA) and flash it. It will solve your issue
hello mr kannan ! i have followed all the steps as u gave but device is unable to start it becoming blank with bootloader msg then after screens starts blinking like that only, but not restarting. pls suggest me
I installed everything as per instruction just one problem . no network is detected, even tough the sim card is detected it stays “no service” how to solve it my frnd?
hi i followed the above procedure..same like you i have struck at logo..is there any solution.. please tell me
Use contact address
give me your mail id
To unlock your device you need to go to Motorola website (https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a), but it will void your device warranty. As I have limitation, I can not give complete instruction here.
Hi kannan, i go to mobile repairer they says flash cannot be done because your phone is locked. firstly unlock then it will be flash. what i do?, I think i done wrong combination of keys. then i select recovery. on home screen load image ‘starting apps’. then restart and stuck at logo. again doing combination then recovery then dead green guy says ‘no command’. phone restart again and again. What is axact problem recovery or flash file or other?.
Just Google it, you will definitely get a solution. Otherwise mail me with exact problems
Hello sir, thank you reply. Pls can you send me mail what is the procedure it step by step. Can shop repairer solve this problem by doing software on mobile?
It means you have not use the proper key combination to boot into recovery. Alternatively use the adb command to boot into recovery
my phone is moto g2 xt1068 kitkat 4.4.4
Sir, i tried recovery through fastboot then some happens and restart. it still stuck at logo. never pass it to home screen. again do steps but green guy shows says no command. it still stuck and restart. what i do. can i do something for it or i go to mobile repairer shop. Pls help me.
same thing happnd to me
You may search on XDA
If you backed up the stock firmware using TWRP, you can restore it via TWRP. To flash the stock recovery, TWRP recovery is not required. You need to flash it via ADB. Gapps is not needed.
hi kannan,
i need your help on something about moto g 2014 retails version..i have cm13 installed in my phn and want to go back on stock 4.4.4 how can i directly flash the 4.4.4 firmware using twrp. and one more ques. is gapps needed in same ?
please tell the link where i can download the official firmware.it says error when i press the link in the steps
Has anyone an idea how to repair this?
my phone has no os says, it has 0% battery, is only enable to open fastboot (but when i select anything it shows the charge screen witch is stuck on 0%) and is not reconized by the pc (the wire works fine my brother uses it everyday)
I have rooted moto g 2 using kingroot. After switch off and when i did on then it show boot image is not verified what we have to do for on the phone.
Simply unrooting and locking bootloader will not let you install OTA update on your Moto G. TYou have to follow other methods to update your Moto G to Marshmallow.
mr. kannan sir i have indian moto g 2nd generation xt1068.with stock 5.0.2 lollipop on it. and i have rooted my phone and i have twrp custom recovery. i forgot to make backup of stock recovery and i have an ota update of 6.0 marshmallow. it is not installing after downloading it get stuck in recovery mode.. it doesnt update.. what should i do sir..
should i unroot it??
nd how to unroot and get stock recovery so i can update to 6.0 marshmallow ota.. sir please help me
Mine too the rear camera is not working.
You cannot run these commands from your mobile. You need a computer with working ADB and fastboot driver installed
HOW TO RUN/APPLY THIS COMMAND ON MOBILE
Hi after i input the first command line:
mfastboot.exe flash partition gpt.bin
the command window reads waiting for device and nothing happens. i have tried unplugging and plugging my phone back in but it seems to make no difference help please
Hola, es que tengo mi cel motog XT1068 roteado con titan prime ROM y me salen las aplicaciones de supersu y otra, es android 5.0.2, quisiera saber si con este vídeo me desrotea MI MOTO G Y me devuelve a la ROM original, como si uno lo compra nuevo.
please i need help, my moto g 2014 xt1063 when i put de commands it just say “waiting for the device” and no more i have tried desintalling and reinstallind the drivers, reboot the cellphone and pc, and i cant enter to my cellphone because it stays in motorola logo, PLEASE HELP ME
Hi, Joshua, download correct stock firmware for your device from here (http://forum.xda-developers.com/moto-g-2014/development/original-motorola-firmware-collection-t3153533) and flash it as describe in the article above.
Hello Mr.Kannan
I am very new to this world of rooting my android device and such, so please bear with me.
I own a moto g2, i intended to install Cyanogen so i unlocked the bootloader. After unlocking it, i decided not to put Cyanogen and keep the original ROM.
Recently i saw an OTA update for the -Stage fright bug fix (something along those lines)- after the installation of the update my moto g2 intended to restarted as you would expect after updating. But however it has been stuck in the : “WARNING BOOTLOADER UNLOCKED etc…” screen ever since.
Recovery mode does not work since it just says ‘no command’
Factory reset does nothing except bring it back to the bootloader unlocked screen.
Please can you give me some advice and assistance.
If anyone else knows anything that can help me out i welcome it.
Thank you for your time.
My Moto G2 is stuck at logo and does not boot up. Phone is rooted and I tried to upgrade s/w using OTA. Any solution for this?
fastboot oem lock
It’s that simple 😛
Thanks Bro, I will go through the processes and tell you the result.
To get OTA update you need to relock your bootloader.
Thanks brother for your reply…
Let, After i recover my stock recovery by TWRP recovery. Can I unroot it by SuperSu’ s Full unroot option in settings and get android OTA features.
You can use Backup & Restore option to restore your stock ROM.
Brother I have rooted my moto g 2nd gen (xt 1068) and put cyanogen 12.1 in it. But now I want to roll back to android 5.0.2.
Before flashing cyanogen I made a backup of stock ROM using TWRP Recovery
Brother I want to ask you that can I restore the stock ROM again or it can brick my phone.
Please please reply by mail or post here.. Please reply I really needie.
Thanx..
Once you unlock your Moto G 2014 officially, the command will not lock again (that was my experience)
Sir, I think there is a command to lock it.
mfastboot.exe oem lock
Won’t that work?
That not working……..
Here is the new link
https://docs.google.com/uc?id=0B4wmYm0bnkUAczZOckpBQkhuSms&export=download
Thanks a lot my friend, you saved me.. And BTW the firmware had sparsechunk.0, 1, 2, 3, 4… and it works .. thnx
Most probably, because you cannot lock its bootloader once it is unlocked
If I unroot my moto g 2nd gen after rooting. does my warranty still gets void? please do let me know.
man the official website is not opening pls tell another site.and if anyone could please tell the name of rom used in indian moto g 2nd gen
Official site is not opening
what i have to do in case of
fail to validate sistem image
boot up failed
thanks regards
help me,the above links doesn’t seem to work,pls upload another link
downloaded the correct firmware for your region and try
help me as i try to flash stock firmware of kitkat on my moto g2. from the first command i fet the massage preflash validiation fail error.
How to lock bootloader in moto g2 in lollipop
plezzz help
Use correct firmware. If not helped, restore your firmware
hola como estan ojala puedan ayudarme lo que ocurre es que mi motorola moto g 2014 cuando lo quiero encender me manda al menu fastfood y despues me marca error que dice failed to validate system image por favor ayudenme ya no se que hacer
Mr. Kannan, I am unable to download the firmware from any of the above like. Can you please upload to Google drive ?
Explain the real issue. You should be able to boot into recovery mode.
Hello Mr. Kannan..
After going through your steps above (without reading the comment) I have come to serious problem of my phone just flushing and not able to boot at all!! Am afraid that it my not work any more!
Please would you help me how to recover it from that point!!! I tried to switch it off but it does not go off so i cant enter the bootloader
Urgent help will be appreciated!!
Even that link is also not working. So please can you upload it to some google drive and give us the link over here?
Thanks in advance,
You can find factory image for Moto G Second Edition XT1068 at http://www.firmware-team.com/forumdisplay.php?f=14.
Hello, the official website doesn’t seem to work, non of the links are found.
can anyone please re-upload the official ROM for the XT1068.
the upper link for offical binary is not working.. pleae share another link
Yes even my rear camera is not being recognized after flashing the stock firmware..pls can somebody find a solution for this.?
i cant download the firmware from official website , website cant load , i am trying it more then a week, anyone can help?or any other mirror site?
After the stock installation, it seems the phone does not recognize the rear camera. Can anybody verify that or confirm if it is just mine like that?
Thanks! I recovered my device.!
on giving comand:
flash partition gpt.bin
“target max-sparse-size: 256MB
sending ‘partition’ (32 KB)…
OKAY [ 0.063s]
writing ‘partition’…
(bootloader) Preflash validation failed
FAILED (remote failure)”
Pls help me out
Can someone please do a video
not one by one select rule, follow the instruction given below.full command and pressed enter key, automatically your moto g installed
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
mfastboot.exe reboot
I have an issue; my signal bar is empty and it says “no service”, have no phone either, any suggestions?
Thanks for the correction!
Thanks for the correction
PLEASE CORRECT THE FOLLOWING
The firmware includes four ‘system.img_sparsechunk’.
So continue as following and it will work, otherwise one part is missed and you can’t go beyond boot logo
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash system system.img_sparsechunk.3
and also the same message for recovery cmd line
I have gone through the process again and when I enter mfastboot.exe flash boot boot.img cmd line I am getting the message ‘hab check failed for boot’. Any ideas??
as with above, I am getting the ‘unlocked’ page loading then flashing on/off ect. Do you have any ideas??
plzzz help
i did all the things in the right oder but its stuck in reboot…its just keep on flashing bootlocker unlocked images back and forth
pkzz help….fast …its serius
Oye noob add this line also mfastboot.exe flash system system.img_sparsechunk.3 else cmd showing system vailde failed in firmware pachage there 3 img 0,1,2,3.
Comments are closed.