yashsingh1/xdaforums huggingface dataset:
[Moto E5 Guides, News, & Discussion] brokenlocked22:
I tried to root and messed up by being lazy and not making a backup and clicking random stuff do to frustration ...

I fixed the phone by flashing stock ROM via Adb/fastboot although it took me five days too fix the problem because of errors

Motorola Moto e 5th generation on MetroPCS

Xt1924-7

Unlocked bootloader

Fixed √
[Moto E5 Guides, News, & Discussion] hypermouse:
Newest Firmware May

Hello is there any new firmware for May 2019 available yet? My modem baseband has no Cricket service because it and possibly the SELinux partitions are a little crusty from the old firmware available 2019-03-08.
[Moto E5 Guides, News, & Discussion] bubba1601:
Thank you for finally confirming what I already knew.

I had the E 2nd gen and joined the E second gen threads here on XDA.

I had read cricket devices were not bootloader unlockable and Told a few people this back in 2016 when cricket 2nd gen users were crying in the threads about not being able to unlock their bootloaders.

Some of our Asian/indian friends were joining XDA in their droves at this time and they claimed to have degrees in computer programming and doctorates in android /Linux development and they claimed the not being able to unlock the bootloader on those devices was pure misinformation,.

They said My information was very wrong, and they would prove to everyone and me it was veryeasy and very quick to do.

Strangely and oddly enough, those few people were never heard from here in xda ever again after a few weeks - only after many users had stopped laughing at them and given them quite a hard time about their claims!

But only a year later, we had Similar issues with the later E third gen - there were no custom ROMs available for the European XT1700, but ROMs from the Asian/Indian XT1706 (E3 power) worked on the European E3.

Again, they rubbished our claims that the European model ran the Asian custom ROMs, and simply accused us European users of using the E3 Power model as apposed to the European standard E3 (it must be mentioned here the E3 Power was never available in western Europe and an E3 power custom ROM would change the device in about phone from an E3 XT1700 to an E3 power XT 1706)

Maybe they got their doctorates and degrees from a breakfast serial box ..... ???

Excellent information.
[Moto E5 Guides, News, & Discussion] AeonFlux1603:
Haha. Some may in fact have Trix or Cracker Jacks Doctorates. Quite possible. The Chinese also lead some of the most advanced hacking teams in the world, as I am sure you already know. Two of the original members of Team Pangu (famous for several Pangu Jailbreak exploits for several iOS versions) spent considerable time reverse engineering Motorola bootloader files in search of an unlocking exploit for perma-locked devices. There were some proof of concept exploits publisted on the 4PDA website, which may or may not have been practical or feasible. There were no confirmed or official exploits ever outlined on 4PDA or the Chinese hack forums. I personally believe that the 2nd Gen Moto E series may have stood a chance had the bounty been a bit more attractive to the Pangu hackers. (These are the same guys who cashed in on at least one $250,000 bounty for their untethered PP25 bundled Jailbreak tool for iOS 9.2 - 9.3.3) I am guessing the meager $7,100 bounty pooled for the Verizon Moto E 2015 xt1528 alone did not serve to initiate any major motivation from these guys. The proof of concept exploits were their public manifesto to dredge up a sweetening of the proverbial pot. It simply never fared a resemblance to the earnings proffered by the millions of iOS 9.x users during that timeframe. In addition, the Pangu hackers didn't even begin their reverse engineering research on the xt1528 until late 2016/early 2017. Many of the fervent Android hopefuls had either lost interest or had given up for the most part by that time. Nonetheless, I was more than joyful to read about their efforts and proof of concept results. A 4PDA member made a great point on this: any final, official, or confirmed exploit published by these hackers would have almost certainly resulted in exploit patches being implemented by Motorola to prevent future exploits of the same or similar nature. The Sunshine patch would simply have been repeated. Puts me in mind of the nearly decade-long cat-and-mouse game played by Apple and iOS jailbreak coders. Exploit found--exploit patched via the latest iOS update version. When Apple struggled to keep up with the exploit code, they pulled the greatest move of all time: Apple systematically hired the top 7 or 8 iOS coders/hackers in the world. :good::cool: Gotta love their relentless sense of persistence. Haha
[Moto E5 Guides, News, & Discussion] hellsinc:
Stock ROM for XT1921-1 Moto E5 Play

Hi all. I've been looking for days, on where to find the Stock ROM for XT1921-1 Moto E5 Play from Chatr , Canada. so I can flash my Moto E5 play back to Stock Rom. any help be much appreciated :)
[Moto E5 Guides, News, & Discussion] GameTheory.:
One thing to note:

In step 7 of the OP instructions, you need to "disable force-encryption" before rebooting if you're updating firmware. You can do that by flashing the custom fstab.qcom. You can get it for the E5 Play(james) from the following link...

https://xdaforums.com/moto-e5/development/recovery-twrp-moto-e-5-play-james-t3796323

Flash it after flashing magisk, but before rebooting in step 7 of the OP instructions like this...

adb shell mount -o,rw /dev/block/bootdevice/by-name/vendor /vendor
adb push fstab.qcom /vendor/etc/fstab.qcom

If you don't do this, when your phone boots up it will encrypt the user data partition. This will not allow twrp recovery to backup data or restore data. If this happens you'll have to follow the above and format data. Better to avoid this by doing the extra step I mentioned.
[Moto E5 Guides, News, & Discussion] AeonFlux1603:
The latest OTA is live for the Boost Moto E5 Play

System Version 27.271.4

Build No. OCPS27.91-140-8

Security Patch Level: February 1, 2019

I grabbed the OTA and uploaded it in case any members want to dissect it first:

Blur_Version.27.271.4.james_sprint.sprint.en.US

https://drive.google.com/file/d/1-48jnfLxm1lmSY-y1R4k0QDI1gZTDqD-/view?usp=drivesdk
[Moto E5 Guides, News, & Discussion] LuisroaVzla:
Moto E5 model XT1921-6 brought from the USA by the company VERIZON

Good day friends

I write to you from Venezuela since I own a Moto E5 model XT1921-6 brought from the USA by the company VERIZON, yesterday I updated the software to OSPS.91-121-10-2 since that update, many of us have been left without a mobile network. Could this update be returned? and the Mobile Network can work again.

I await your quick response, Thank you very much in advance.

Regards,

Luis Roa
[Moto E5 Guides, News, & Discussion] sinepi:
I flashed the stock firmware for Moto E5 model XT1921-1.

Everything seems to be successfully. However after reboot, I found the baseband is lost.

Any idea how to get it back? Thanks a lot!

I flashed the modem multiple times as indicated by some other threads, but appears no success.
[Moto E5 Guides, News, & Discussion] Phenomzye:
Can I flash any of these with a locked bootloader? XT1921-6 here
[Moto E5 Guides, News, & Discussion] cidxtc:
If it is same device type. Say your xt1921-6 is an older software version then yes. Otherwise you need unlocked bootloader.
[Moto E5 Guides, News, & Discussion] Phenomzye:
So I can't downgrade from say ODPS27.91-121-10-2 to ODPS27.91-121-8 with a locked bootloader, for example?
[Moto E5 Guides, News, & Discussion] cidxtc:
No downgrade requires unlocking bootloader
[Moto E5 Guides, News, & Discussion] JoJoEx:
i get "failure to preflash" ...when i do gpt.bin.. if i proceed it boots fine but have no baseband or imei.. so no data or 4g or phone service aside from wifi.
[Moto E5 Guides, News, & Discussion] Starkiller2:
[MENTION=9824605]JoJoEx[/MENTION]

Try this in twrp

Adb shell

Chmod 0700 /persist/rfs/msm/mpss/datablock/id_00

Wipe cache

Reboot, let it provision
[Moto E5 Guides, News, & Discussion] bubba1601:
That's excellent advice, thank you for sharing.

On the UK E5 Play (PETTYL) the only working method to get out of a fastboot loop was:-

(CODE) fastboot -w

Hit enter and proceed to reflash the stock ROM

This will save that process :good:
[Moto E5 Guides, News, & Discussion] sfl899:
Amazing. With this command, there may still be good chance for me to flash custom ROM. :good: I was looking into installing TWRP again,but I'm 100% positive it's been patched by Google/Motorola. I didn't even accept to the patch and they downloaded it when I slept :D

Please note that the method I used was on the James version (E5 Cruise). Take heed and serious thought before attempting to do this other than the Cricket Variation of James. I'd like to note, that relearning this stuff has taught me that, currently with Motorola , each phone comes with individual firmware. That's why certain versions of root , custom ROM,and even flashing/restoring itself varies for individual phones in the same pattern.

I wouldn't see why it wouldn't work, though, as I've noticed adb is pretty universal with certain keyphrases of it's own framework.

I would say, if you are out of options like I was, then yeah, definitely using the commands already pre built is a more safe next step in that process you might wanna try before :

fastboot -w

That specific command sounds like a whole rewrite, or wipe of the phone. That's absolutely no longer necessary , if this method works. But yeaaah, since you have the Play version, you may want to use -

fastboot -w

as a last resort. Thank you for providing me with that command , though. I did see it on the terminal,and was like...there has to be another way , lol! ;)

It's all worth a shot at this point.
[Moto E5 Guides, News, & Discussion] drake986:
Indian firmware XT1924-3 Moto E5 Plus

I need the Indian firmware XT1924-3 Moto E5 Plus .. please post the link

---------- Post added at 04:48 AM ---------- Previous post was at 04:34 AM ----------

I need the Indian firmware XT1924-3 Moto E5 Plus .. please post the link
[Moto E5 Guides, News, & Discussion] BrenoFarias:
i need the last stock rom for brazilian retail moto e5 nora
[Moto E5 Guides, News, & Discussion] Hinterecke:
I own a Moto E5 plus XT1924-1 RETEU with build number OPP27.91-25 and i found this image;

mirrors.lolinet.com/firmware/moto/rhannah/official/RETEU/XT1924-1_RHANNAH_RETEU_DS_8.0.0_OPPS27.91-122-4_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC

Is this the correct one to flash?

And also, in the Example FlashFile in the OP there was a line "<step MD5="4184a78f18ce3d38f21a7647e51a76cf" filename="boot.img" operation="flash" partition="boot"/>" but i didn't see "fastboot flash boot boot.img" back in the Example Translation.

Is there a reason for that? Shouldn't i flash that file? My Moto is rooted with Magisk but I'd really like the phone back in factory state.
[Moto E5 Guides, News, & Discussion] diehardbattery:
Not sure what I'm doing wrong, but am attempting to return a XT1921-2 RETUS to stock. I'm assuming this is the correct model as it was bought at Best Buy USA. I downloaded the firmware from this link, followed the XML, but on reboot it's stuck at the logo screen. What did I miss?

EDIT: I missed a step in the XML... All good now...
[Moto E5 Guides, News, & Discussion] crispysilicon:
Note for the XT1924-8.

Factory recovery must be installed for this to work, so just follow the xml exactly. Will not boot with TWRP.
[Moto E5 Guides, News, & Discussion] JOHNBON2010:
I have sprint e5 can i root with this and the phone will be unlocked??? I am unlock the bootloader and installed twrp.
[Moto E5 Guides, News, & Discussion] Andr0Id.$:
Ive got an e5 play James xt1921-5. Twrp 3.2.1.r1 and currently running android Q. I've flashed the modem and erased modemst1 & 2. and still missing LTE data. I'm also currently trying to strip this phone of its encryption but can't get the fstab into the right folder apparently. Any help?
[Moto E5 Guides, News, & Discussion] SketchSlayer:
So I notice the thread doesn't list the AHannah links?

I have the •XT1924-3 Moto E5 Plus Indian (AHannah) variant and I'm looking for up to date NON-HLOS.bin & fsg.mbn files
[Moto E5 Guides, News, & Discussion] sd_shadow:
https://mirrors.lolinet.com/firmware/moto/ahannah/official/RETIN/
[Moto E5 Guides, News, & Discussion] chrisg4493:
Holy **** thank you for this thread weakNPC! saved my device from being bricked.....idk what i did wrong flashed twrp and magisk and got a string of number/txt on the top screen on boot...tried a bunch of methods to revert back to stock and this is the only one that worked. THANKS!
[Moto E5 Guides, News, & Discussion] KrlozG:
Buenas por casualidad la ROM para el tx1944-5
[Moto E5 Guides, News, & Discussion] Gaarra1995:
Is there any newer version of the firmware for nora devices?

I think i hard brick my XT1944-2 because i did an OTA Update (Mai 2020) and try to restore this firmware but i get an error every time i try to flash the gpt.bin.

Any solution for this?
[Moto E5 Guides, News, & Discussion] Nandan M K:
Is this fourm still active ??

I need latest stock rom for XT1924-3_AHANNAH_RETIN_8.0.0 (i.e) OPPS27.91-179-8-16

I only found link for OPPS27.91-179-8-13

If anyone has the stock rom(OPPS27.91-179-8-16 ) for ahannah retin please post the link
[Moto E5 Guides, News, & Discussion] Rubister:
Flash 1921-1 Retail onto 1921-5 James(Sprint) to get GSM functionality?

Despite the other comments on this thread to not flash other variant firmwares, it sounds like you managed to flash the AT&T/Cricket FW to a MetroPCS variant and got GSM functionality. Am I reading that right? I've got a 1921-5 variant from Twigby, bootloader unlocked, rooted, and popping in a GSM sim results in 'invalid sim card'. I've got access to the hidden menu and can change the radio settings from CDMA to GSM but of course with Sprint firmware it won't do anything. Do you think I could flash the Retail firmware and get GSM functionality or should I try the AT&T/Cricket since I want to use an AT&T MVNO like good2gomobile?
[Moto E5 Guides, News, & Discussion] sd_shadow:
Try flashing these from AT&T firmware

fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
[Moto E5 Guides, News, & Discussion] Rubister:
Thanks for the advice! Question, though, which AT&T build number should I shoot for? I've got OCPS27.91-140-25 on it right now, and of course the AT&T build numbers are different... I'm guessing I could download a few and compare to see if they're different at all, but if it doesn't matter, I could just pick the latest build on AT&T since I've got the latest Sprint build?
[Moto E5 Guides, News, & Discussion] sd_shadow:
I would try to get the same build #, but if it's close it may work.
[Moto E5 Guides, News, & Discussion] Rubister:
When sent, I get (bootloader) is-logical:modem: not found, same thing for fsg, but it claims it sent and wrote (OKAY). On reboot I accessed the hidden menu and changed it to global auto PRL and did another reboot, but it still says 'invalid sim card'. I know the sim card is fine, I've had it working in another older phone. Hmm...

A couple odd things: The app "SIM Toolkit" showed up in my apps list after I'd done this, which is what happened on my older phone after I popped the new GSM sim in. Also, there's a notification "Mobile ID: Download Error, No action required. ID will automatically retry..." and after a bit of researching, I'm trying the "Update PRL"... and right now it's 'checking'.

Edit: I found this in the AT&T firmware zip: Subsidy Lock Config: slcf_rev_d_att_prepaid_v1.2.nvm

Is this significant? Is there something here that can be used to MSL unlock?

Edit: Oops... that's why, it never actually wrote the flashed files, did it? Retrying from another computer.

Edit: Even with finally flashing the files, no go. Still 'invalid sim'. Does the entire firmware need to be flashed or is that a danger zone, crossflashing?

Update: My IMEI went blank... now it says 'invalid sim' about the sim it used to recognize... shoot... um... halp

Update: I tried restoring a TWRP backup, but apparently EFS wasn't backed up. Darn

I went and did a fastboot flash of the entire firmware (except for recovery and logo, mine are custom) and that didn't give me back the IMEI, and I booted up to see an OTA update (oops I must have flashed an older firmware by mistake...)

So I went and got the latest Sprint FW from lolinet again (lost where I'd downloaded it to the first time) and flashed that (again, without recovery and logo), and figured, well, I've got a small tablet now. But the triangle alert notification now only said 'no sim card', so I excitedly headed over to the 'About Phone' in settings, and my IMEI is now restored. How and why I do not know, only that it is. I don't have anything in the MEID field though. I am done flashing and fastbooting things now... I'm old school and we used SuperSu, and then we got SafetyNet and Magisk and now it looks like we're going to be restricted even further with what we'll be able to do with Android in the near future. Anyone tried PinePhone yet? xD

Update: I went from IMEI Zero to restoring full sim/network functionality with the old SIM!
[Moto E5 Guides, News, & Discussion] robcsc82:
Flash Problem, Moto E5 Play XT1920-18.

I have this problem pls help

Is there a solution? I have tried this guide, the RSD Lite and Rescue and Smart Assistant, to restore the original firmware of a Moto E5 Play XT1920-18 and it does not work.

I have a "Start up Failed" error message, I tried the above methods and I always get an error when I try to restore.

Fastboot screen says:

AP Fastboot Mode (Secure)

BL: BE.C2 (*) (SHA-015553C, 2018-06-26 13:31:37

Baseband:

Product / Variant: pettyl 000000000000000 16 GB P3

I notice there is no model infomation therefore i guess thats why cant flash the firmware.

I hope someone can help.:)
[Moto E5 Guides, News, & Discussion] Rubister:
Couple questions: Do you have fastboot/adb? When you plug the phone into the computer, does it recognize it, or do the phone drivers need to be installed on the computer? If you have fastboot, what comes up when you type "fastboot devices" into the command prompt? If you've got fastboot access, you just might be able to use the firmware files and do a manual flash with a batch file as the first post in this thread indicates. Just make sure you get the right firmware, the wrong firmware can do what I did to mine, lost the IMEI and had a dickens of a time getting it back, and I flashed the wrong firmware on purpose trying to get different carrier capability without realizing I'd lose my baseband info. I'm old school from when we used to use SuperSu.
[Moto E5 Guides, News, & Discussion] sd_shadow:
Lmsa (rescue & smart assistant) isn't going to work if baseband is missing.

RSD Lite doesn't work with windows 10

What does getvar all say?

fastboot getvar all
[Moto E5 Guides, News, & Discussion] ecunanan:
This tread is really great! I tried to flash the firmware of XT1924-5 to my XT1924-9 and it works but with some issues on wifi connectivity. I tried to reflash using the of XT1924-3 and got no errors while flashing but when I reboot, I was stock on black screen with flashing LED. I think I bricked hard the unit. The usb port still read the unit with name as fastboot S and on the device manager as andriod adb interface. Still I cannot boot the bootloader using adb since it cannot detect the device. Is their anyone experience the same and solve the issue? Can you help me with this please masters?
[Moto E5 Guides, News, & Discussion] sd_shadow:
Hold power button and volume down button till you see ap fastboot screen
[Moto E5 Guides, News, & Discussion] ecunanan:
Yeah I tried it but doesn't work. I already got my phone back. Flash the right firmware using mfastboot run at drive C. Almost the same process on this tread. Thanks a lot.
[Moto E5 Guides, News, & Discussion] Flus1234:
@weakNPCdotCom, thank you very much. I killed my phone and only thanks to you I restored it. Thanks again.
[Moto E5 Guides, News, & Discussion] ghettozo:
i have dont the same thing. i really messed up my phone.i have no imei eithere. could u please give a setp by step to fix the issue u had? im using a moto e5play xt1921-1 opps27.91-121-19 are there different roms i can use that will work with the moto e5play
[Moto E5 Guides, News, & Discussion] madeel88:
hello there, i need exact firmware for my Moto E5 plus XT 1924-1 HANNAH to flash and restore from Android 10 (Lineage OS)

BL: BE.4F(sha-4e3d3ac, 2018-09-05 10:27:32)

Baseband: M8917_35.45.05.99R HANNAH_EMEADSD_CUST

Product/Variant: hannah XT 1924-1 32 GB P3

Serial Number : ZL52266BK

I am realy stuck here as i forgot to make a backup initially and cannot find the exact firmware for my phone variant.

Kindly help, it would be much appreciated.

Thanks in advance.
[Moto E5 Guides, News, & Discussion] sd_shadow:
Try LMSA rescue

https://xdaforums.com/general/general/update-moto-lenovo-moto-smart-assistant-t3951714
[Moto E5 Guides, News, & Discussion] Will Rickards:
Hi, hannah 1924-7 here tmobile moto E5 plus bootloader unlocked.

I seem to have lost my modem somehow as my phone doesn't seem to connect to the mobile network anymore. I was on lineage 17.1 just fine but then tried an 18.1 image flash and somehow got messed up.

I had a couple twrp backups, one from the initial stock image and one of lineage 17 compressed. The compressed one seem to fail with some extraction error 255. So I tried the stock one. I don't recall the result there but I think I didn't have network at that point.

So I followed the instructions here and did the flashfile thing. The results are here: pastebin

It seems to flash the modem just fine but still no network. It seems to have a problem at the gpt part but I was guessing that my partition table is not messed up so no big deal. But who knows.

Any ideas?
[Moto E5 Guides, News, & Discussion] Will Rickards:
So although I know I checked the first time I restored via flashfile for a system update and it told me no, this time it showed one without me even checking. Once I took that system update, I had mobile network. So problem solved I guess. In between I had restored some partitions from my original twrp backup (EFS and at a couple more).

One problem is that without mobile network, you can't get a text code for 2fa for the google account, assuming like me you only have one working android device at the moment.