yashsingh1/xdaforums huggingface dataset:
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] MotoJunkie01:
Ok guys, finally uploaded a 1GB file after 5 hours. I get very little service in this metal building where I work.

Here it is. Flash at your own risk. I have flashed the ROM via TWRP on my own Moto E5 Play. It booted with no issues and has no apparent bugs, but please let me know. This is a pure stock build. The only modification I added was Zipaligning for optimal RAM performance. The boot image is [MENTION=5337314]CodyF86[/MENTION]'s build. Force-encryption must be disabled by OP's instructions. Dm-verity is disabled, and I believe, but have not confirmed, that the kernel has insecured boot support.

I will post a full thread for the ROM later today when off work. Thanks to [MENTION=5337314]CodyF86[/MENTION] for his modded kernel that made this ROM possible. I recommend performing a full wipe via TWRP (/cache, Dalvik, /system) AND format the /data partition. Install the .zip and Reboot System. So, because the /userdata partition should be formatted, it will be necessary (not necessarily required, but strongly recommended), the ROM zip should be saved to external storage.

Update: I just determined that systemless root is in fact present in the ROM also. I had forgotten that the boot.img I included was patched for systemless root. After installation, just install the Magisk Manager apk to manage root access.

Download Link:

Stock Android 8.0.0 Oreo

Build No. OCP27.91-23

https://drive.google.com/file/d/11XsyD-g5MkhZ1qNRhzaBdhgHA2wgzchk/view?usp=drivesdk

---------- Post added at 09:21 PM ---------- Previous post was at 08:53 PM ----------

You are the man [MENTION=5337314]CodyF86[/MENTION]. I have the $50 Boost unlimited plan, restricted to 8GB hotspot/tethering per month. This is great news!
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] CodyF86:
I got a little over-zelous apparently boost is still seeing the data hotpot with LTE, but looks like it will default to sharing wifi if you're connected to a wifi network.

And the fstab is stored in the /vendor partition, so 'whoever' will have to disable encryption that way on their device, since its no longer stored in the kernel.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] MotoJunkie01:
Ok that's good to know. Now I know I'm not crazy anyway. When I had the boot.img decompiled, I was going in circles looking for fstab. Thank you for the info. Makes sense too in the OP on your /vendor related adb commands.

Let me ask you this. In a stock ROM, such as the one I posted, could /userdata be decrypted by including a /vendor partition that has been pulled from an already decrypted device? In other words, if my device is already decrypted, thanks to your instructions, could I pull my /vendor partition as a vendor.img and include it in a ROM zip to be flashed during installation? In theory that should decrypt a device during ROM installation. Or am I looking at it wrong?

---------- Post added 18th June 2018 at 12:31 AM ---------- Previous post was 17th June 2018 at 11:58 PM ----------

[MENTION=5102540]CurbThePain[/MENTION], thank you very much for the partition dump.

---------- Post added at 01:12 AM ---------- Previous post was at 12:31 AM ----------

@CodyF86 I just confirmed that your kernel I included in the ROM is ro.secure=0 after boot. I hope this will help with the blobs you were working on.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] CodyF86:
The only way to decrypt the partition that is already encrypted is with the key / password that is set on first boot of that device, which is more or less impossible / not worth it. You could have the flashable zip mount /vendor and push the fstab to it, but you'd have to format /data regardless. But your rom should still boot with someones userdata partition that is encrypted since it's stock more or less, but you have to format /data once it's encrypted.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] MotoJunkie01:
Thanks for your explanation. I've been working with older devices so long, I'm not completely familiar with all aspects of force encryption. This is especially true now that I'm dealing with a device with fstab located in /vendor versus the kernel. By the way, I was reading yesterday that the E5 Play is amongst the compatible devices of Project Treble. Is this true to your knowledge? I haven't tried yet to boot a generic Android 8.1 system image. Thanks again for your explanation of data decryption.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] tatif:
Hello.

I have the same request for my motorola e5 plus (xt 1924-1 opp27.91-15).

Would this compatible?

thank you and good evening
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] CodyF86:
The procedure in the OP should work for all moto E5's as they are all snapdragon 425 SoC's. Should be the same kernel / it is. The no-verity kernel in OP should boot along with recovery.

The only reason they wouldnt would be it the device tree binary was different, which it probably isnt, but I can fix that too. Try to flash the recovery in OP and let me know if it boots.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] tatif:
Hello and thank you for your answer. I will try as soon as possible ;)
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
First, a word of warning: Rooting / bootloader unlocking voids your warranty and probably your return policy, so only proceed if you plan on keeping the phone.

No, "James" and "RJames" are the internal codenames for the Moto E5 Play. The regular Moto E5 is codenamed "nora".

Yes and yes. You have to use a piece of command-line software called "Platform Tools" (and Moto's driver package so that your computer can recognize your phone) to read a piece of code that is unique to your individual phone. You input that code into Moto's site, and it will tell you if your device is allowed to be bootloader unlocked. If it is, Moto will send you a second code via email that you input into your phone to unlock the bootloader.

Whether or not a phone can be bootloader unlocked depends on where you got the phone. Devices that don't have any carrier branding, and are not "special discount" w/ preloaded software versions (IE "Amazon Prime Exclusive" phones) can be bootloader unlocked. Some carrier-branded devices can be bootloader unlocked, such as ones sold by Boost Mobile and US Cellular. I do not believe Cricket or AT&T Prepaid phones can be bootloader unlocked.

Be careful with international versions. There are many different international versions of phones (one for Latin America, one for Europe, one for India, etc, etc), so you have to do research to determine if that specific one you are looking at has the necessary bands for your carrier.

Cricket runs on AT&T, so the important bands are UMTS850, UMTS1900, LTE 12/17, LTE 2, LTE 4, LTE 5. AT&T has LTE on other bands as well, but these are the most commonly used bands.

Also, bootloader unlock (allowing to root/custom ROMs) is not the same as SIM unlock (allowing you to use phone on any compatible carrier). When you shop around for a phone and see one that says Unlocked, 99% of the time that refers to the SIM status, not the bootloader status.

Also, I have seen some talk of some international versions having bloatware, but nothing related to carriers or carrier control. (For example, some international Moto G7 models come with pre-installed Microsoft applications).

You're going to be hard-pressed to find that at a reasonable price here in the US. All providers have some sort of limitations in place to prevent abuse. Examples include MetroPCS de-prioritizing your data connection after you use 50GB in a billing cycle, Cricket limiting video streams to 480p and terminating accounts that they detect high amounts of tethering on, Verizon not allowing tethering on their unlimited prepaid plan, etc, etc.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Ole Bob:
Thank You so much for your response. :) So many gotcha's and so much hype. I can't use any appreciable data on ANY phone. I require at least a small laptop screen, a real keyboard, and a mouse. The promise of "Truly Unlimited" data is simply fraud for me, if it has to be used on a tiny little screen that can go in my pocket…

I will continue to read the forums searching for ???????? workable that is easily root-able AND has data that works…

(thought the E5 and family mobile was going to be it, But I returned it today while it was still within the 14 day return period)
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Amphetmine Gene:
I've got e5 play and have unlocked bootloader but was unable to flash twrp after unlocking it. Said it was corrupted file... But now fastboot says flashing unlocked and Everytime I boot it says bad key... Was just wondering if I can still flash twrp and if so what all do I need to do so... Sorry, I'm new to all this really...but if anyone could give me a point in direction, sure would mean a lot to a feller. Thx in advance.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] bubba1601:
E5 play user here (XT1920-15 PETTYL) there is a thread here on XDA to remove that "bad key" warning and give you a nice new boot logo but unfortunately I had similar issues with twrp as well and tried several versions before it worked.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Nonanza:
Don't worry I had the same thing, you didn't brick it you just have to wait for 5-15 seconds and then it will boot as normal. Trust me I was freaking out. Especially since I rely on my phones to provide internet to the devices In my home.

---------- Post added at 06:50 PM ---------- Previous post was at 06:47 PM ----------

But can't we just use a VPN to bypass being throttled after we use that much data? ( MetroPCS customer here) I game regularly off my phones data to play rocket league and I normally don't have issues, steam calls don't work but that's it, haven't tested with VPN but I just got express VPN to go ahead and text this.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
No, a VPN won't bypass all of it.

MetroPCS has two different data limits: a hotspot data limit (exact limit depends on your plan), and an overall deprioritization limit (50GB).

The hotspot limit can be bypassed via VPN or using a 3rd party tethering app like pdanet.

The second limit affects all connections from your entire line, not just hotspot. Since MetroPCS is a prepaid carrier, it's deprioritized over T-Mobile to begin with, so going over the limit will deprioritize you even more. When you are deprioritized, there is no guarantee on what speeds you'll get. You might not notice that you're deprioritized, or it might be just a few Mbps, or in rare cases even below the 128Kbps that other plans have. VPN won't bypass this, because every[\I] connection from your phone will be slowed down, VPN connections included.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Nonanza:
Ooh that makes sense, would changing the APN settings to ipv4 instead of Ipv6 also not affect my throttling?

Also I tested VPN with the built in Mobile hotspot and edited Dun settings and it still counted against my hotspot limit vs going towards unlimited data, pdanet still works like a charm though as always.

I live in a smaller town so I'm guessing we just don't feel the throttling as much here in comparison to other places, I regularly use 128gb+ per month and can still achieve 6MB Download speeds. Stream DirecTV now in 1080 no problem.

I had been trying to get WiFi tether router (unfortunately counts against hotspot data) to give it's internet to one of my routers just to see if I could do it, however this is a fairly complicated process when using 15 year old routers. The easy way is to pdanet tether and then bridge that connection to the routers WAN port via Ethernet cable from the computer.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
Nah, changing the APN settings doesn't affect deprioritization speeds, although if you're getting abysmally slow speeds on LTE, changing to 3G might help speed things up. All depends on usage in your area.

Yeah, you might not feel depriortization as much when you are in a small town with not many people connecting to the tower. In urban areas, deprioritization can really slow you down.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Nonanza:
Well I suppose if they didn't do that then we wouldn't have a reason to get an ISP. Is there anything we can do to fight de-priortization aside from giving the phone service providers more money?

Another question I have is what ROMs do we have available for the e5 James edition, I've been doing Android since the Motorola Droid og with the slide out keyboard and loved CyanogenMod and have been dying to try out lineageOS, but it seems the one from Moto junkie doesn't have full functionality.

That being said coming from a Samsung j7 Grand prime this phone is alot better and I've kind of missed Motorola. Nothing beats good ol one plus though, when they made their 1st phone they were so far ahead. Unfortunately I broke that phone after a few years.

Sorry I go on tangents.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Amphetmine Gene:
I appreciate the reply, and I'll look for the thread to do that. Would you happen to be kind enough to give me a rundown of how to install twrp? I can't for the life of me seem to get over this... I am literally losing sleep thinking of what to try with no avail I might ad...
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] bubba1601:
I installed magisk and made a magisk patched boot image, then fastboot boot twrp to install the patched boot imaged then the DM verity and then fastboot flash twrp.

But be warned, there are at three different twrp for pettyl dotted around xda, only one of them works properly.....
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Amphetmine Gene:
I don't have the peytal....I have the James v. Xt1921-2...

---------- Post added at 08:05 PM ---------- Previous post was at 08:03 PM ----------

And don't no if this help any body but I'll post any way for logo to get rid of bad key..

https://xdaforums.com/moto-e5/how-t...ey-removed-t3869259/post78207471#post78207471
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] bubba1601:
I don't know about the James version, the pettyl device is UK and Ireland specific and is a totally different device to the James.

The twrp instructions for my Pettyl might not work on James, but the James twrp does work on pettyl :eek:
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Amphetmine Gene:
ok well i ended up getting it to boot twrp in fastboot but it wouldnt flash twrp...says its coruppted...but then it said i had no OS i installed...so u used the moto assistant to try and flash stick firmware and it took away the logo i had flashed to replsce the bad key when it boots...but now it just stays at the moto logo and wont go past that.. any ideas as to what i can do to fix this?
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] bubba1601:
My only suggestion is you Reflash your stock firmware again, and make sure you use the one for your own device (only because some users have tried flashing cross device firmwares and then post here upset when it doesn't work....)

If you follow all the instructions you should be back to stock in under 20 mins.

Your firmware can be found here.

https://xdaforums.com/moto-e5/how-to/firmware-moto-e5-xt1944-4-dual-sim-t3820901
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Amphetmine Gene:
alright... i appreciate you taking time out to help...
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Amphetmine Gene:
will it matter if mine is the xt1921-2 mine is the unlocked version and so is the dual sim that u shared
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] bubba1601:
You should be fine as long as you download the xt1921-2 firmware - I think you would need the RET US version but I can't be sure on that as I don't obviously have a xt1921-2 or a dual SIM device.

Mine is a xt1920-15, single SIM and not unlocked, so I can't really say with certainty on your own device I'm afraid.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Amphetmine Gene:
thanks, u have no idea how this new going for me right now if it wasn't for u...it def get paid forward one way or another
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Amphetmine Gene:
man i no i have to be getting on ur nerves and i sincerely apologize...but i have the correct firmware DL but nothing will flash it...and no on my dev manager is comes up as a moto 4 for some reason...if u can point me one last time, if i dnt get it this time ill put it in a drawer..srry

---------- Post added at 06:25 AM ---------- Previous post was at 06:23 AM ----------

an i no i have to be getting on ur nerves and i sincerely apologize...but i have the correct firmware DL but nothing will flash it...and no on my dev manager is comes up as a moto 4 for some reason...if u can point me one last time, if i dnt get it this time ill put it in a drawer..srry
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] bubba1601:
I cannot and will not help you any further, as I explained in my last comment, because I don't have the James device.

I have the Pettyl device.

I don't go searching for device firmwares and reading flashing instructions for a different devices to one I have.

The XT1920-15 (Pettyl) that I have has android 8.1 Go edition and its own set of flashing instructions that are mostly different to your James XT1921-2 that has android 8.0.

I'm going to skip offering you anymore advice or assistance, because I have no experience of using the James device - it would be very foolish and very wrong of me to try and help you and possibly cause you even more problems.

That is why I said in my last comment I cannot help you any further - not to be mean to you - because I don't know what to do to get your device working, especially of you say it's showing Moto E4......:eek:

Xda is full of people who claim they are "experts" and know everything - the problem with that is if you was to follow one of these self proclaimed "experts" advice, I'm sure your James would end up a useless paperweight - and I don't want that just as much as you don't want that.

I'm not about to jump on that bandwagon and try, I'm afraid.

All I can suggest you do is goto the E5 firmware thread

https://xdaforums.com/moto-e5/how-to/firmware-moto-e5-xt1944-4-dual-sim-t3820901

Read all the comments from James users or search James using the XDA search function, as I'm sure you will find what you need there, not here.

Sorry.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Amphetmine Gene:
no need to be sorry guy, u def put in alot work along with me...i appreciate the time u did take to help tho man...
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] José San:
Cómo rpteo mi androy intento de una manera y de otra y no puedo
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] GOOGLE_USER:
Yeah, YIKES!

I am taking a few minutes to appreciate your forthright acknowledgement of your limitations and contrasting observations of what other members all to often offer. :rolleyes: @ them.

Ah, refreshing honesty.

ALL posts on XDA must be in English please.

Search for methods of translation.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Starkiller2:
It says Moto e4 because it was a repack of a twrp from an e4 since at the time there were no twrps for the device
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] DeltaXzombies:
Any luck of rooting the Cricket variant (E5 Cruise)?
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] whodat711:
Hm, why not use the TWRP that me and karthick made for james , that has decryption functional??
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] AeonFlux1603:
The Moto E5 Cruise by Cricket has a perma-locked bootloader. Unless by the billion-to-one chance an exploit or hack is discovered to circumvent the bootloader encryption, there is no chance of the device ever being rooted. The same goes for the Verizon variants of the Moto E5, E5 Play & E5 Plus. Verizon & Cricket have long been notorious for opting out of Motorola's bootloader unlocking support protocol.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] debownbey90:
Help

I did not understand what you mean in step 2 and 3 I've been trying everything I can think of to root and nothing. I get na when i boot and get stuck at blue moto screen
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Apologia2u:
Hey... I'm a novice and I've been have/controlled since 4/16/18 (time of the Russian home wife warning). I have no control over and device, public or supposed secure WiFi... Apps, device ownership etc. Devices are impacted at the moment if purchase. UNREAL... Tracked, etc. Including various options on my 2015 Lexus GX460... After 15-20 phones (Android and iPhone... Contact and prepaid. . Nothing works.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] LinuxPusher:
" it just stays at the moto logo and wont go past that "

I had this happen on my Moto G4 Plus, the fix that worked for me was to force shut down then boot to Fastboot scroll through all the options then pick start.

I don't know if this will work for you, TRY AT YOUR OWN RISK.
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Vlad Gogo:
Hello. I have pushed and booted to twrp_james.img from adb, but it freezes at the enter decrypt screen and doesn't accept any touch input (though there is a mouse cursor on the screen). I'm on an XT1920-19 and am guessing that this twrp isn't entirely compatible. Or the installed security patch (Nov. 1, 2018) or build number (opg28.54-53) is interfering.

Edit. And it updated itself to Android 8.1.0 when I wasn't looking. Will I need to roll that back?
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] jeffhutch.412:
I've looked and can't find exactly what to do here, I have a twrp that has the password thing (twrp works, but I'm trying to have the most updated and get rid of that annoying PW screen), but fast boot won't flash twrp over twrp I think? I tried --force and thought it worked but no dice.

Is there a zip? I have James (metro)

Thanks

*edit*

I'm not sure if running the adb decrypt commands + adding an external SD is what worked exactly bit regardless I seem to have normal working twrp now.

BUTTTTTTT

I'm going nuts with magisk hide and Google verification.

Can't sign in, what's the proper procedure??

And my WiFi tether broke. Just says error ?

Could use some thoughts here!
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] jeffhutch.412:
anybody?

i flashed back to bone stock via fastboot, and started over to just try rooted stock (NEED my hotspot atm)

after flashing twrp, no v, and adb commands i flash magisk and end in bootloop.

i flashed back to stock TWICE and boot loop twice.

actually, i think thats the reason i flashed lineage to begin with was i bootlooped the first time

any idears???
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Starkiller2:
If you try decrypting with the disabler, it might help. It will definitely get rid of the PW screen in twrp. Flash stock

Flash twrp with fastboot.

Go to twrp, format data, reboot directly to twrp

Flash disabler then magisk, reboot. See if that combo works

https://redirect.viglink.com/?key=&...rypt-t3817389/amp/&ref=https://www.google.com
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] jeffhutch.412:
Thanks I'll give it a try right now ?

*Edit

That link is a 404 but I'll look it up. I haven't seen anything about a disabler yet
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Starkiller2:
Sorry about that
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] jeffhutch.412:
No prob. I ended up deleting all my twrps, fstabs, and everything, and dl'ing from the "e5 root recover explained" thread, and I'm finally stock, rooted, twrps, just trying to figure out if Xposed is safe now hahaha
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] Starkiller2:
Exposed caused me to hard brick my e5 play. It snowballed. Terrified to try again lol
[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] jeffhutch.412:
I have exposed installed but haven't switched any modules on yet... I thought I was good but you got me scared now! ???