Home » How to Restore/Flash Stock Firmware In Moto E 2nd gen 2015
android development Fash motoe root Stock rom moto e 2nd gen. Unroot

How to Restore/Flash Stock Firmware In Moto E 2nd gen 2015

Today I will guide in installing Moto E 2015 XT1524 Stock Firmware i.e lollipop.This will help you when you want to return back to stock Rom,Boot loop,unroot yoou moto E 2nd gen or you have Bricked you Moto E 2nd gen.
You can also Unbrick Moto E 2nd gen 2015 from this guide.So lets start with step by step tutorial of flash STOCK FIRMWARE in you surnai Moto E 2nd gen (2015). 

moto-e-2nd-gen-flash-stock-rom-lollipop

#How
to Install Stock Lollipop Firmware On Moto E (2015)

►Things before restoring stock rom:

a). Download and install Moto E
official  USB Drivers 
►Downlaod Moto E USB Drivers
 
b). Enable USB debugging on your phone (Go to Settings ->   Developer options
and enable USB Debugging).
 
c). Download Lollipop stock firmware for Moto E 2nd gen 2015 and unzip the
xml.zip file to a folder.
►Downlaod MotoE 2nd gen StockRom
 
d). Download minimal ADB and Fastboot tool mfastboot-v2.zip, unzip the content
and move its files to the firmware files folder.L
►DownloadADB fastboot

►Instruction
to flash stock firmware on Moto E 2015


1.Turn off your mobile and then
press and hold the Volume Down + Power buttons simultaneously for a few
seconds. After few sec release it and you will get into moto e Bootloader.


2. Now, connect your Moto E 2012 to
your PC via USB cable, go to the folder where the firmware is located and
launch a command window from there (Press Shift key, right click and select
‘Open command window here’)


3. Now, type below command one by
one and execute them all

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 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 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 oem config carrier vzw
mfastboot oem fb_mode_clear

Choice:If you don’t want to type that messy codes then , you can also use this bat file to execute the above code automatically. For that download 
►MotoEXT1524flashall.bat’ file, place it
inside the firmware folder and run the file.

4. Now, if you also want to relock your
Moto E 2nd gen’s bootloader, type the following command and press enter
 
mfastboot oem lock


5. And, finally reboot your device
by typing below command


mfastboot reboot

Congratulation’s !!This will reboot
your phone and you will have the stock firmware back on your 2nd Gen Moto E
2015 
(Source: XDA)

About the author

Himalaya Saxena

A web developer, Tech Enthusiast, debugger, blogger, and programmer.
I have the thirst to learn and create :)

26 Comments

Click here to post a comment