yashsingh1/xdaforums huggingface dataset:
[E 2015 General] nobreak1970:
No offense but this thread needs to be closed. This isn't a guide. The OP needs to post a warning to ignore it. Don't take it personally but I've been on XDA since I own the motorola cliq and this is just honestly ridiculous.

The majority of people following this thread has soft bricked their phones. Sorry just saying.
[E 2015 General] farmboystrong:
Stock firmware for XT1511 3G US GSM worked for me. I had issue were OTA updates failed. Ib tried the "unofficial XT1511 firmware" poster earlier in the forum. It flashed successfully, but I lost cell service. I flashed the below firmware, and it fully restored my phone! OTA updates are successful now.

XT1511 5.0.2 Firmware

https://mega.nz/#!msxxFIwB!1lWB_X3j9wJt_NxPUOQjrWnZ3q3RSYR_A79UFxc9bRY

Script for Flashing

https://mega.nz/#!H55CkJTA!NIM6So8thTPCQzEYuyZGrq9uXRrpqycB5sMp93vRAiI

Directions: (please have ADB files, mfastboot, and Moto USB drives already set up)

-Download both files

-Extract Firmware to ADB folder

-Connect phone (wait for USB to fully identify)

-Enable USB Debugging (wait for USB to fully identify again)

-Power down phone

-Hold volume down for 2-3 second

-Tap power button while holding volume down (this will reboot into fastboot mode)

-Run script file and wait

Reboot and enjoy!
[E 2015 General] ayushvijayrao:
I found a Fix!!!!!!

If anybody has a locked bootloader and non of the images work for them......Then in the bootloader go to factory mode and keep pressing the power buton atleast 20-30 times till it boots, Then unlock the bootloader and flash any stock image and it should work..........
[E 2015 General] simu sharma:
When I flash stock ROM in motoe xt1022 using then it shows invalid unsigned piv system image.

What does it mean and how to rectify this error.

Plz help
[E 2015 General] ayushvijayrao:
Your phone is the first gen moto E not the 2nd gen. Try flashing the ROM for the Moto E 1st Gen
[E 2015 General] barch27:
Thank you for this information! You just saved my bricked phone. :good:
[E 2015 General] nafnoid:
I'm getting the same problem. I thought that I had missed the 6th 'sparsechunk', but I didn't... Any help would be awesome! (I'm using the Verizon variant, btw)
[E 2015 General] crazynapkinman:
I had to flash 5.0.2 and OTA to 5.1.1
[E 2015 General] xpmule:
https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481

That is the link from Moto to get drivers (OP's link is broken)

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b

that is the page to unlock your bootloader.

before anyone thinks of flashing anything check that first.

Also i am not sure everyone should be flashing with the line command,

mfastboot oem config carrier vzw

i believe that sets your carrier to Verizon ..so why would you do that ?

Maybe check what carrier code you have and change that line.

when using the command,

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all

my carrier is listed as tkpca (not vzw)

And my carrier's cid: 0x000E

That is Hex code for the number 14

So i should use this..

XT1527_SURNIA_RETCA_5.0.2_LXI22.50-24.1_cid14_subsidy-TELUS_CFC.xml

(notice it says cid14 in the file name)

BUT

I wan to upgrade to 5.1 so i was told to use the USC version..

SURNIA_USC_5.1_LPI23.29-15_cid9_subsidy-DEFAULT_CFC.xml

Which i think is for USA/CAN based on the file name "usc"

I also used Beyond compare to compare packages and hex viewed many of the files..

also watch out with the OP's list of commands / script.. some have more files than others

XT1528_SURNIA_VERIZON_5.1_LPI23.29-17_cid2_subsidy-DEFAULT_CFC.xml

That firmware has, system.img_sparsechunk.6

and SURNIA_RETUS_5.1_LPI23.29-15_cid9_subsidy-DEFAULT_CFC.xml

only has up to 5 (and no 6)

so the best thing to do is open the firmware with WinRar etc and look before flashing.

You *might have to add another line to the script / list of commands.

Also the user Kimaly says skip this command "mfastboot erase customize"

But i don't know he is probably right i think (so you can maybe keep your oem info)

I have not done this yet i was working on backing things up before i try and flash etc.

Backup.. THEN flash !

edit:

Oh and guys VERIFY your downloads.. before flashing !

i had many firmware downloads that were interrupted / incomplete.

Nothing wrong my connection / isp either it was the hosting provider.

www.filefactory.com has failed on me and Mega has worked ok.

(both are listed on the OP's first post) i advise the mega links they are fast.

People posting firmware here should be posting an MD5 hash with them too.

At the very least i say open the zip file to see if it opens and looks ok..

It's not worth risking flashing a half downloaded firmware package. that could brick you i think.

Be safe and good luck :)
[E 2015 General] nobreak1970:
The best thing to do is that the OP needs to be completely redone
[E 2015 General] xpmule:
Agreed it needs an overhaul.

So i flashed my phone with USC.5.1.Surnia

..no service LOL

been trying all kinds of thing but so far no luck :(
[E 2015 General] nobreak1970:
Why aren't people instructed to use RSD Lite for Motorola to restore back to stock just like every other past motorola phone??? This command line crap is for the birds especially for new people.

Ignore all the talk about rooting with it on the website this can be used to flash back to stock firmware very easily.

http://rsdlite.com

Read about it...use it!

http://www.andromods.com/basic-how-...sbf-xml-zip-hs-gz-bz2-files-moto-devices.html
[E 2015 General] aburyaan1:
Where to find the stock firmware for the Canadian variant ??
[E 2015 General] xpmule:
http://xdaforums.com/moto-e-2015/general/stocks-firmwares-moto-e-t3113235

[MENTION=2930839]nobreak1970[/MENTION]

I had tried RSDlite early on actually and had problems getting it to work.

Every time i tried i got "gpt.bin failed to flash"

i tried removing the getvar lines etc..

i also tried mixing different files from different packages.

and changing the flash.xml file and lots more.. nothing worked.

why use RSDLite ?

well i noticed that it mentions the oem.nvm files when the manual way does not.

too bad it wouldn't work for me though.. googled it and lots of people have had that error.
[E 2015 General] bianchi29b:
me too

has this post here, if u understand and to make teaches me there too, I had to separate the characters' cause here does not accept : forums.motorola. com / posts / dd336f32ff?commentId=1000088
[E 2015 General] DonBagger:
OTA not working after restoring stock firmware on locked and unrooted device?

Hi all,

I restored my XT1524 (Germany) in March using Firmware XT1524_RETEUALL_MOTOE2(4G-LTE)_5.0.2_LXI22.50-13_cid7_subsidy-DEFAULT_CFC.xml.zip. The phone is not rooted or unlocked any more.

Since march some new stock roms were uploaded, the newest for me seems to be this one: http://www.filefactory.com/file/36p...XI22.50-53.8_cid7_subsidy-DEFAULT_CFC.xml.zip.

Should I be able to receive this via OTA update, or do I have to use the stock recovery as described here:

http://xdaforums.com/moto-e-2015/help/faq-frequently-questions-moto-e-2015-t3044929 (Q18)?

Will using the stock recovery wipe all data on the phone?

Best regards,

Michael
[E 2015 General] Aniruddhagupte11:
I had Bricked my device MOTO E (2nd Gen) 4G-LTE XT1521 (DUAL SIM).

Installed SURNIA_RETASIA_DS_5.0.2_LXI22.50-53.1_cid7_subsidy-DEFAULT_CFC.xml.zip from http://motofirmware.center/files/file/221-surnia_retasia_ds_502_lxi2250-531_cid7_subsidy-default_cfcxmlzip/ .

But I am getting only one sim working.

Please Help.

Give me link of stock firmware for dual sim model
[E 2015 General] Gimzie:
I seem to still have the original firmware that the OP posted. If anyone wants it, feel free to PM me. And you can share the link.
[E 2015 General] xpmule:
I have wondered for a while why we don't use the .nvm files.

The US Retail Firmware package has one (they all do) but it's empty.

But the TELUS specific carrier packages contain an NVM file that does have data inside it.,

I have wondered is that related to radio problems switching to US Retail ?

I've struggled with getting my connection back properly after flashing any other non Telus firmware.

And the RSDLite xml flash files DOES mention the NVM's but our instructions we pass around doing it with fastboot is missing that part.
[E 2015 General] DonBagger:
As I wrote above, the device is not unlocked any more, what means, that it is relocked.

In recovery it says "Device is LOCKED. Status Code: 2".

Today I received a new Moto E2 an it says "Device is LOCKED. Status Code: 0".

Is it possible that the differing status code avoids receiving any OTA updates on the re-locked device?

Best regards,

Michael
[E 2015 General] Dawa3SR:
The DL link is broke ...

hi i want to try this to unbrick my moto e XT1527 .. but your DL link is broke ... can you plz make on WORKING

thx a lot
[E 2015 General] Gimzie:
I have the file, if you want, I can upload it later today. (Or tommorow)

Although I do recommend you download the US 5.1 firmware.
[E 2015 General] cell2011:
Got a question about flashing 1527. I have 1528 Verizon and 5.1 im on AT&T i get only H+. Could i rsd lite 1527 to my phone?
[E 2015 General] Gimzie:
It should be alright, as I have 1527, and I flashed the original 1524 5.0 firmware. If you want to flash LTE firmware, make sure that your phone is LTE by checking in Settings/Mobile Networks. Also, one difference between 5.0 and 5.1 is that 5.1 shows your carrier name in the top left, and changes the default wallpaper selection. 5.0 doesn't seem to want to upgrade to 5.1, so you'll have to pick one or the other.
[E 2015 General] chrischdi:
Hey guys,

I'm looked and in "fastboot deadlock". Does anybody know which fw version could help me? Information from getvar:

(bootloader) ro.build.fingerprint[0]: motorola/surnia_retde/surnia_umts:

(bootloader) ro.build.fingerprint[1]: 5.0.2/LXI22.50-53.8/14:user/releas

(bootloader) ro.build.fingerprint[2]: e-keys

(bootloader) ro.build.version.full[0]: Blur_Version.22.46.8.surnia_retde

(bootloader) ro.build.version.full[1]: .retdeall.en.DE

Just after posting, I got it :)

I was able to flash and start XT1524_SURNIA_RETGB_5.0.2_LXI22.50-53.8_cid7_subsidy-DEFAULT_CFC.xml.zip
[E 2015 General] critical88:
how to restore XT1528 to fully stock firmware and stock radio?

because dont seem to work on verizon anymore

thanks
[E 2015 General] rickthecabbie:
I have no idea if this is the right firmware for the Verizon build you have, but maybe someone else can confirm...

https://androidfilehost.com/?w=file...d1b7a31e7b0832499d49135a9ce087f9199e3bfd65a8b
[E 2015 General] ENRIQUEMM:
The firm 5.1 verizon by Stagefright patch http://www.filefactory.com/file/233...PI23.29-17.5_cid2_subsidy-DEFAULT_CFC.xml.zip
[E 2015 General] stech99:
The Erase customize command is not working on XT1521. I skipped that command and device is not booting now, it just shows bootloader is unlocked screen, can't validate system also in fastboot logs. Help !
[E 2015 General] Gimzie:
It wouldn't work for me on the XT1527, but it did boot up. I just made sure to go into recovery, and wipe data/cache. Hope this (somewhat) helps.
[E 2015 General] stech99:
I have done all that anythuing else i can do ?

I think the probkem is with the eraze command as it does not work.
[E 2015 General] Gimzie:
Instead of using mfastboot, try with normal adb by installing Android Studio, installing the platform tools that contains adb, then copy everything in platform-tools into the firmware folder. Then preform the actions but use fastboot instead of mfastboot. If all fails, then try a different firmware.

EDIT: The erase command didn't work for me on 5.0.2 firmware, but it works on 5.1 US. Try 5.1.
[E 2015 General] stech99:
My device is the Indian version.

I have flash 5.1
[E 2015 General] Gimzie:
Mkay, I'll link you to the 5.0 firmware later today, and you can try flashing 5.0. Then, you can flash 5.1, as the 5.0 firmware I have doesn't have the upgrade. You could also find a 5.0 firmware that does upgrade to 5.1. Have you tried fastboot instead of mfastboot?
[E 2015 General] stech99:
Thanks for your help actually the firmware has 7 sparse.0 kind of files. But i flashed only 6 files that was the problem. I flashed it and my device is Up now.

---------- Post added at 09:02 AM ---------- Previous post was at 09:01 AM ----------

Thanks for your help actually the firmware has 7 sparse.0 kind of files. But i flashed only 6 files that was the problem. I flashed it and my device is Up now.
[E 2015 General] ENRIQUEMM:
For novices, this Spanish forum, there are an interactive script, which allows up to 10 files Sparsechunk flash. Without worrying about how many have the firmware in question

http://www.htcmania.com/showthread.php?t=985706
[E 2015 General] Gimzie:
Glad it's working! :D

Strangely, for me, both 5.0 and 5.1 have 5 sparse chunks, but I think 5.1.1 has 6.
[E 2015 General] kumaranwade:
Provide link For XT1521 stock firmware please.....
[E 2015 General] Gimzie:
I have a thread with a mini toolkit, and I'll add firmware for you today/tommorow.

---------- Post added at 11:13 PM ---------- Previous post was at 11:13 PM ----------

DO NOT FLASH THE FIRMWARE CURRENTLY IN THERE, AS YOU HAVE DUAL SIM
[E 2015 General] jalal-jap:
I have XT1528 and try flash in fastboot.

XT1528_SURNIA_VERIZON_5.1_LPI23.29-17_cid2_subsidy-DEFAULT_CFC__fc__.xml

but error " invalid signed image".

phone wifi dosent work.

please help.

sory for my bad eng.
[E 2015 General] Gimzie:
Are you with Verizon?

I'm not sure what the problem is.
[E 2015 General] jalal-jap:
I flash this firmware:

solved problem.

XT1528_SURNIA_VERIZON_5.1_LPI23.29-17.5_cid2_subsidy-DEFAULT_CFC

now Every ting work.

but only 2G network
[E 2015 General] kobebryant:
Solved myself :)...
[E 2015 General] kumaranwade:
Model number ??
[E 2015 General] torr310:
The Firmware Download at OP is no longer valid. Could you please provide the download link to me as well?

I got Verizon Moto E 2nd Gen. Thank you so much!
[E 2015 General] #MADHAN:
Wifi broken

Wifi not working( MAC id lost) after flashing on xt1528( Verizon), please help me find a fix for this
[E 2015 General] juanjacinto:
Can I flash the xt1527 firmware over the xt1528 from verizon?

Both versions have the same bootloader´s version!
[E 2015 General] Gimzie:
You need the same firmware your device originally came with.

---------- Post added at 03:32 AM ---------- Previous post was at 03:32 AM ----------

Did you flash the XT1528 firmware?

---------- Post added at 03:32 AM ---------- Previous post was at 03:32 AM ----------

Check my toolkit.
[E 2015 General] #MADHAN:
Both the files on file factory seem to problems . The first one breaks wifi, the second one does not boot. Restored using the Verizon's tool with works on windows 7(not on W10 as mentioned)
[E 2015 General] Gimzie:
Hmm, I've seen issues with your model as well, I'll look into it.
[E 2015 General] teg2014:
XT1527 firmware on XT1528

Did you try, What happened? Any luck because I have the same model and want to try a different firmware or at least a different modem.
[E 2015 General] Gimzie:
Wait, doesn't Verizon's bootloader lock you down so you can't unlock it?
[E 2015 General] teg2014:
XT1527 firmware on XT1528

Yes the bootloader is locked and can't be unlocked (apparently). Also, XT1528 seems to be unrootable until now as it came with Android 5.1 right out of the box. Otherwise would have made nandroid backup with Titanium backup pro and then started experimenting. Although there is a way around to enable GSM but the data is limited to either Edge or GPRS and NOT LTE or even 3G/H+/H.
[E 2015 General] Gimzie:
From what I know, to flash other region/model firmwares you need to have a unlocked bootloader. Basically, you can only flash the firmware from YOUR region and YOUR model.
[E 2015 General] teg2014:
Flashing XT1527 Modem on XT1528

Last night I did combined the Original XT1528 5.1 firmware with Non-HLOS and fsg from XT1527. Luckily nothing went wrong but nothing went as I was expecting either. Any Idea what can be done? RSDLite was very helpful for flashing.
[E 2015 General] hafiz_binshah:
Is this the firmware for moto e 2015 sprint??? "SURNIA_BOOST_5.1_LPI23.29-18-S.11_cid9_subsidy-DEFAULT_CFC.xml" or its for Boost variant?

Build no. is LPI23.29-18-S.11 and system version is 25.11.25.surnia_boost.Boost.en.US sprint

Even if it's not for Sprint, is there any problem if I flash this over sprint version. Variant doesn't matter, I'm not from US.
[E 2015 General] Gimzie:
As you can't unlock the bootloader, you should only flash XT1528 firmware. (For now) Usually, the system sparse partitions and bootloader won't flash if you try with a different firmware. This is why you have to try firmwares and see which one works.
[E 2015 General] teg2014:
XT1528 basband / modem

Attached are the screenshots for anyone interested in the development process. Note that with a different modem the baseband version changes yet the functionality remains the same (no LTE, not even 3G outside US). My procedure to flashing was simple, copy NON-HLOS.bin and fsg.mbn from any other stock firmware e.g. (1524's or 1527's firmware) to my 1528's firmware folder, edit the MD5 in flashfile and servicefile and use RSDLite to flash. What else can be done to achieve at least 3G @ 2100 Mhz.

BTW, I did extract / unpack and then viewed the contents of the following :

1. system.*_sparsechunk.*

2. NON-HLOS.bin

3. boot.bin

4. recovery.bin

5. fsg.mbn (not much there except fsg-signed)

Unable to extract / unpack bootloader.

I, perhaps, even figured out what causes the phone to detect if a new sim has been inserted and whether or not this sim is from Verizon.

Now, if somebody knows / can guide in the right direction to modify / repacking this firmware in a manner that it remains flashable (digital signatures, etc) that would help a lot and a lot of people.
[E 2015 General] Gimzie:
The thing is, I'm not sure if you can repack it in a way that it still has a valid signature, as if this was currently possible, the Verizon model would have been hacked by now. If you have an unlocked bootloader, you can flash it, but not much luck with locked bootloader.
[E 2015 General] reichembach:
Hi, so I'm on CM and wanted to flash my stock modem since I'm having trouble getting LTE! To do that, all I have to do is fastboot flash the NON-HLOS.bin from my stock rom and then erase modemst1 and modemst2?

My variant is the xt1523 and I don't have a stock 5.1 rom if that makes a difference!

Thanks! (:
[E 2015 General] azerath:
Firmware

since I can't post it message me for a firmware link
[E 2015 General] ayush rao:
I Cant downgrade to 5.0.2 after 5.1.1 update
[E 2015 General] HOLLiiWOOD:
Working - xt1527 telus

I just got around to upgrading my stock-rooted telus-locked XT1527

into

a 5.1.1-rooted region-free unlocked XT1527

these directions work but I had to simplify them for myself:

(sticking to the stock nature of this discussion I will only talk about the re-stocking part)

you probably need to install the moto drivers from the TOOLS folder here

listed as MotorolaDeviceManager​

1. I found my stock TELUS-RETCA firmware here. (and later my 5.1.1 RETEU XT1524)

XT1524 is a global firmware that should work everywhere, although I have found that doesn't upgrade to 5.1.1​

I first stock flashed a XT1524_RETUS firmware and it connected and worked fine on my telus phone.
​

2. I installed Minimal ADB (which has all the files needed to process a flash) from [URL="https://docs.google.com/file/d/0B1S0LCuXCnnmSWh6NGJmSE1BUWc/edit]HERE[/URL]

install this anywhere, but you will need to find the install folder to extract the firmware too​

3. As mentioned above, extract firmware to the folder you installed minimal ADB.

All ADB files and firmware files must be in the same folder for these directions to work properly

​

4. Open up a command prompt inside the folder containing the firmware+ADB files

Do this by holding the SHIFT key while right clicking the folder containing the files

​

5. boot your moto e2 lte into it's bootloader

do this by powering off your device, then holding the VOLUME DOWN key while powering it back on.

you can release the volume key once the device is at the bootloader menu​

6. Enter the following commands, into the command prompt, in the order listed, ensuring that the console returns an [OKAY] at the end of each

fastboot oem fb_mode_set
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 erase customize //-->might not work/ be needed. If this fails, not a problem
fastboot oem erase carrier
fastboot oem fb_mode_clear

ALTERNATIVE (if you knoe your carrier code)

fastboot oem config carrier *** (*** = your carriers code)

I erased my carrier and my phone still does everything correctly​

7. Select START from your phones bootloader menu

using the volume keys to move "up+down" and the power key to select​

If everything went correctly then your phone should boot into the first time run setup and the OTA should work just FINE!!!

I will have to post these EXACT SAME directions in a new topic to explain my 5.1.1 update

The 5.1.1 update has an extra _sparsechunk
[E 2015 General] Sher1234:
Want to know weather it is required to use

fastboot oem config carrier vzw

On retail Asia xt1521 model as it is carrier independent (Indian Version Surnia)

Pls Confirm
[E 2015 General] sasank360:
No need of that command. I flashed lp 5.1.1 stock yesterday, i did not use that command, phone booted just fine.
[E 2015 General] Manocreed:
can it works with moto e2 lte xt1521
[E 2015 General] swapn:
xt1528 no wifi

Hello have you solved the problem for xt 1528 ?? i have a same problem with the wifi is not working.
[E 2015 General] TheMagnificent03:
Will this manual work for Moto E xt1528 Verizon model?

Will this manual work for Moto E xt1528 Verizon model? I need to flash stock firmware on Verizon Moto E since its stopped getting even Edge on GSM
[E 2015 General] TheMagnificent03:
anyone?