OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

[GUIDE] Restore Moto E Stock Firmware [UPDATED#2]

734 posts
Thanks Meter: 1,165
By Lucas Eugene, Senior Member on 22nd May 2014, 08:54 AM
Post Reply Subscribe to Thread Email Thread
27th June 2015, 06:23 AM |#141  
Thanks Meter: 5
y flash gpt.bin & motoboot??
wont it give u a hard brick if u flash these too when u downgrade!!
7th July 2015, 08:08 PM |#142  
Junior Member
Thanks Meter: 0
failed to write primary GPT

I'm trying to follow the instructions in this thread to debrick an Indian dual sim Moto E that was running CyanogenMod and now won't get past the bootloader warning. I first tried with the 4.4.2 firmware available (at mediafire - can't post a link apparently) and that failed with downgrading messages. Reading this thread, I then thought it might be because my phone had updated to 4.4.4. So I downloaded 4.4.4 from another link on this forum. When I try to flash this, I get:
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.038s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Failed to write primary GPT.

(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 5.543s
Every other command after that fails with "Failed to erase partition."

I'm beginning to wonder if I have a hardware failure here. What should I do next?
28th July 2015, 08:55 AM |#143  
Harish N's Avatar
Flag Chennai
Thanks Meter: 5
My moto e xt1022 is running 4.4.4 stock rooted and unlocked bootloader.How to relock and unroot to flash soak 5.1
28th July 2015, 03:54 PM |#144  
sid.8491's Avatar
Senior Member
Thanks Meter: 106
Question downgrade to kitkat?
i have upgraded my moto e (xt1022) to lollipop 5.1 by OTA update, and now it is restarting very frequently. and each restart is taking about 15mins.
bootloader is locked and phone is not rooted.

could someone tell me how to downgrade to kitkat? (noob friendly way).
and is there any risk in doing that?
28th July 2015, 06:19 PM |#145  
Junior Member
Thanks Meter: 0
Please Ashish upload moto e 5.1 Indian firmware image on google drive and give us link because everytime i go to download with filefactory, it fails and speed is also very very low.

Please help me.

Sent from my XT1022 using XDA Free mobile app
29th July 2015, 02:39 PM |#146  
Junior Member
Thanks Meter: 0
Originally Posted by Lucas Eugene


a) Download and install Motorola Moto EDrivers

b) Download and extract the stock Firmware of your choosing

c) If the firmware file you downloaded is a file then download Motorola Fastboot Attachment 2427667 (attached to this post) and extract the .exe into the same folder as the stock firmware files (the same folder as the .bin and .img files). If your firmware is a .tar.gz file then skip this step.

d) Get ADB (if you don't already have this, I suggest downloading and installing Minimal ADB and Fastboot by shimp208:
Direct Download


Follow these instructions at your own risk. If something goes wrong don't blame me!

These are the original stock signed image files from Motorola it should work on all Moto E Variants.

Steps to restore stock firmware:

1) Reboot the phone into bootloader mode. There are 2 ways to do this.

I) The 'hardware' way.
a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' then power on the phone.
c) Connect USB cable to your computer.
II) The 'software' way.
a) Enable developer mode on the Moto E (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.
d) Open "Minimal ADB and Fastboot". Type:
adb reboot-bootloader
You should see the Moto E bootloader screen with the following options:
Normal Powerup
Switch Console [NULL: null]
BP Tools
2) Open a command prompt / terminal (Start -> cmd.exe in Win7) and browse to the folder with the extracted firmware.

In my case:
cd c:\falcon_retgb_user_4.3_14.10.0Q3.X-76-LGG-8_54_release-keys-cid7-Retail_GB

Flash each of the partitions in sequence using mfastboot, you need to enter the following commands one-by-one checking that each one returns an [OKAY]
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk1
mfastboot.exe flash system system.img_sparsechunk2
mfastboot.exe flash system system.img_sparsechunk3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1 
mfastboot erase modemst2 
mfastboot flash fsg fsg.mbn
mfastboot erase cache 
mfastboot erase userdata 
mfastboot reboot
For Indian variants

mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2


4) Wait, you should now be rebooted into a fully stock Moto E firmware.

Original Thread

i have moto E xt1022 dual-sim, after flash stock 4.4.4 and reboot, phone does not recognize the SIM card and displays the message disable the airplane mode when i try to make a call . The airplane mode is not enabled . Please someone help me . im brazilian and flashed rom stock Asia/World from this post, because I could not download the stock brazilian version.
Last edited by LollipopSMg; 29th July 2015 at 03:20 PM.
Today, 09:34 AM |#147  
Thanks Meter: 2
hi i want to ask what am i doing wrong when cmd says me mfastboot is not recognized as an internal or external command, operable program or batch file
what should i do to fix it?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes