yashsingh1/xdaforums huggingface dataset:
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MarioMasta64:
the stock rom was provisioned then i reboot cleared cache data and system installed the feb 19 but no data sms mms or anything, im gonna restore the backup i made of the one i upgraded now, i dont really use mms so its fine (in fact i dont even use sms or calls either only the data), after restoring the backup (the one one upgraded from feb 16) data sms and calling worked again but no mms. idk if anyone else with boost got it working or not tho.

---------- Post added at 06:04 AM ---------- Previous post was at 06:01 AM ----------

edit: it seems only sms is working now.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
I think I've figured it out.

Flash the stock firmware with rsdlite, boot once and provision data, install twrp. Wipe system, data, cache; flash feb 19th, and flash this apns-conf right after: apns-conf.boost.zip Download

It's probably trying to use the sprint internet apn first, and doesn't work..
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MarioMasta64:
trying it now and... same issue :( still says sprint.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
And this is on the february 19th build, right
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MarioMasta64:
it also keeps disconnecting every few moments.

---------- Post added at 06:37 AM ---------- Previous post was at 06:37 AM ----------

yes.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
Are any APNs listed, check them out, if they're blank wait a moment for it to populate.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MarioMasta64:
yes. its the only build on my sd.

---------- Post added at 06:41 AM ---------- Previous post was at 06:38 AM ----------

how long should that take? i just keep getting connected and disconnected from sprint every few seconds. (also before when i had it working the apn's were blank as well)
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
If it's not working, I have a final option you can try, going to be looking into this a bit more, apparently something is different with boost more than I realized.

Flash the stock firmware with rsdlite, boot once and provision data, install twrp. Wipe system, data, cache; flash feb 16th, and flash the blobs.zip right after and report back with results.

If it doesn't work, I'll be looking into this quite a bit more. Probably something going on with the oem partition.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MarioMasta64:
so basically flash the 17th build (like before since it includes the blobs.zip and was working and seemingly had issues with sprint networks) , also if worse comes to worse you may have to maintain both a sprint and boost build lol :p
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
The 17th build had the build.prop update, not the blobs.zip. I want to avoid using default network set to 22, so flash feb 16th and blobs.zip
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MarioMasta64:
well, it worked. but uh link to the blobs.zip?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
https://drive.google.com/open?id=1vAVy5I1xC_yZWY5ihSC__FN43SkmFcbS

And yes, I know it worked with the default network set to 22 on feb 17th, I don't want to test with that though. It should work with network 10 as long as the blobs are correct.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MarioMasta64:
blobs.zip method did not work for me, no data. :( feb 17th build worked instantly for me, unless you have something else for me to try i will be switching back to feb 17th for now, ok?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
That's fine. If anyone with Boost would like to help me test, please send me a pm. I'd rather do testing on hangouts or another chat program.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
Lol.

---------- Post added at 12:20 PM ---------- Previous post was at 12:15 PM ----------

I see you guys talking about a 17th build. I don't see a link for a 17th build. Only 16th and 19th.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
The 17th build is identical to 16th build with the build.prop.zip that was attached on the same post I announced the 16th.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
I've tried every build and add-on and trick you've posted and I can't get mms working. I still don't see a 17th build, only 16th and 19th. The 19th build or flashing those blobs to another build only kills lte on me. I tried the same blobs from my stock rom and no difference. When I run getprop on one of your builds, there are a lot of props that aren't what they should be. I'm syncing los and your repos, I'm going to try a few things myself if I can make some spare time anyway.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] bluesy_92:
Honestly, the stock ROM list has 3 different ROMs - one for unlocked, one for Boost, one for Sprint. I think trying to get them all functioning perfectly on one ROM might cause a messy codebase...they were probably seperated for a reason. Maybe 3 different builds...or twrp flashable files for Boost and Sprint, like the current solution...are the only way to make this work cleanly. Might not be a bad idea to just "clean up" 3 seperate, fully functioning code bases rather than trying to get all of them kludged together. Even if it is working on all the carriers...is it possible the tweaks to the ROM to get all carriers might have broken support for certain LTE bands, or roaming, or anything like that?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
The Sprint and Boost stock ROMs are identical. There is absolutely no difference.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
This is consistent with MarioMasta64's testing. The blobs break LTE on every build, even the 16th build with build.prop fix that makes the default network 22 (The 17th build he keeps talking about, it has since been removed)

The weird thing is, if you take a look at the APN's for Sprint/Boost that I've been using, they are very close to identical. Sprint and Boost also use the same exact firmware.. and LTE bands. Having it work perfectly on Sprint but not on Boost is somewhat of an anomaly.

This is absolutely correct. Same exact firmware.

I'm going to do some testing with the blobs more and see if I can get this working.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
I wonder if this will help:

https://github.com/Goose03/android_...bb13033#diff-e0a3646285a5f4f89d0d2f1cd05c0458

The mobile_ia overlay. It's in the apns settings, but wasn't in the overlays. The ia stands for initial access. I don't think it'll hurt.

Edit: I'm not 100% sure the values are correct.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
This just might help also: https://github.com/Goose03/android_...a685d4c#diff-b2226671d413c385b4dfcdf5d38d6a08

When I tried 3rd party messaging apps to send MMS, one of them would give me a toast message saying "cannot enable mobile data". I think this might solve that, even if only for 3rd party apps. I think this might fix MMS though with the stock app. If the device is on LTE and MMS requires 3g, and the app doesn't have the capability of turning 3g on to send a message or send it over lte it'll just sit there trying. This should give it that capability. I'm going to do a build sometime today.

Edit: because of the differences in build.props between retail and sprint models, I think something like this should be done to set the props that are different:

https://github.com/CyanogenMod/android_device_motorola_clark/blob/cm-14.1/init/init_clark.cpp

Edit: I made a build and was not able to get any connection at all and no phone number listed again. It was like right back to square one.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
Ok, how about this? There's an imssettings.apk along with the ims.apk in vendor/motorola/qcom318-32. Retail stock has no ims settings app and sprint stock has an ImsConfigTest.apk in /system/priv-app. The actual name of the installed app is Ims Setting 1.0. The more I look, the more I find things that might be causing problems.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] adrianhix:
I tried to install this on my boost Moto E4 plus. Data didn't work. What's strange is after I restored a backup my LATE won't come up. Just hangs out on 3g and is real spotty. Keeps disconnecting and reconnecting. I also tried reinstalling an oem room via rsd3lite and same thing is going on. I dont understand how data configuration can persist like that. Anyone have any ideas?

---------- Post added at 10:54 AM ---------- Previous post was at 10:46 AM ----------

Now periodically I get no data and a notification that my sim card is invalid. After I swipe that notification data comes back on
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
Try flashing the attached zip with twrp

Edit: after restoring your stock backup.

Edit-2: try turning your phone off and pulling then reinserting the sim card.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] adrianhix:
Will try as soon as I can reinstall twrp. One other thing that is different is when I reboot it used to say n/a in the upper left hand side now it says bad key.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
That's normal if you didn't flash a zip to disable dm-verity/force-encrypt. This should be discussed further in the ask anything thread or start a thread in the proper Q&A section.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] conradmcmasters:
The bad key will go back to the n/a when u flash a custom recovery
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] adrianhix:
Worked perfectly, kind of surprisingly.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] kefi999:
Is there something like this for mediatek cpu ?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] glockman4519:


Is there an apn and blobs zip for Verizon?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
It was supposed to work out of the box for Verizon.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] jdogrambo:
idk if this is right place but could some one build reserection remix or how ever you spell it for our phone
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
Does everything work now? For boost as well?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] soaringowl2145:
Does this rom have SELinux set to enforcing?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] jasonmerc:
I'm not sure, but I believe the default for lineage nowadays is to have it enforcing. You can always turn it off if you need to, but I BELIEVE it is enforcing by default on boot
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] W00fah:
Yes, it's set to enforcing by default.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] soaringowl2145:
So with most major bugs fixed, is there anything holding us back from going official with this?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] W00fah:
I just thought about this regarding MMS. If it's not working for you currently, use the Textra SMS app, set the MMS behavior to Legacy, and set it to prefer Wifi. Though you'll only be able to get MMS on wifi, at least it will work that way.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] kefi999:
Guys i have mediatek version i want to install some rom because i have sound problems. Can i install this one ?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] W00fah:
I don't think this will work with the MediaTek version of the E4 Plus. Ours is the Qualcomm variant.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] kefi999:
DO you know where i can find mediatek rom ?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] W00fah:
There is this guide for rooting. I can't find anything for LineageOS for the MediaTek variant.

Edit: There is this ROM for your variant. Its based on 7.1.2 LineageOS.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
Don't think it's ready for official if reports of broken MMS are coming in.

What issues are Boost users having still?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Daltonyx:
Boost works correctly on the build from the seventeenth, but hotspot crashes out quite a bit, then I started getting an error message for it upon starting it every time. So if you avidly use that like I do, no bueno. Legit EVERYTHING else is working pretty sweet on that build. Well, haven't tried blobs with it, so MMS is out as well but whatever. Lol
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] jasonmerc:
Does USB tethering work? Or is it all forms of tethering that are broken?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Daltonyx:
Don't get me wrong, they WORK, but after about half an hour it stops, and no amount of rebooting will get usb or wifi to work again. It won't even project a network but will tell me that I have several clients connected. Tried a few times, went back to stock. Let me know how it works for you if you try it though?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
New build available. I'll post on the OP when XDA lets me upload to the DevDB.. seems completely broken right now.

Uses stock provision app for sprint and other carriers, confirmed working mms on both Sprint and Boost. May be broken on other carriers, please let me know if it's not working for your carrier and I'll try to get it working, though you may have to help me test a few builds and send me logs. I'm working on radio and VoLTE now, wish me luck.

February 26th 2018 Build Mirror
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
Edit: Wow the site is running terribly at the moment.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
Nice, I was about to play with the trees this morning and I saw you making changes. It looks good. Nice work. The only thing I don't like, is some of the system.prop lines. I still think the ones that are different between retail and Sprint should be set by sku or something in the init.moto.cpp. I'm downloading this build now. I'll be back with the results in a bit.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
Pretty sure I got every line of that from the Sprint build.prop, correct me if I'm wrong.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
There are a few differences. Mainly with a few lines for RCS, and volte. I'm running your build now with LTE and MMS working. It took a few minutes to connect, but persisted after a reboot. I was able to text a picture. It says I'm on Sprint not Boost, but everything seems to work. WiFi tethering was greyed out in settings, but a build.prop addition fixed that and it seems to work OK now. Again, nice work, and thanks for your time and persistence!

Edit: I'm not seeing all the APNs in settings, only a few are showing.

Edit-2: I see why all the APN's aren't showing now.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
The reason it shows Sprint instead of Boost is because SprintDM sets the x.boost.ispsn apn correctly in the telephony.db (Yes, it pulls it out of nowhere, just like stock), but it doesn't input the mmsc or proxy and it sets the mcc/mnc incorrectly as Sprint's 310 120. The good news is the subscription works wonderfully, so all it took was a minor apns-conf change to fix it (For now, until I patch the apk to fix it completely). The android MMS service takes the apn value (x.boost.ispsn in your case) and tries to find an apn in the telephony.db with type mms and the correct apn name (x.boost.ispsn). When it can't find one with a mmsc url, it sets the apn to null and tries again which grabs a generic Sprint apn with the wrong mmsc and proxy. I "bypassed" this by setting a dummy apn at the top of the Stock APNs so when it searches it finds a match. Example below.

<apn carrier="Boost MMS" mcc="310" mnc="120" apn="x.boost.ispsn" type="mms" mmsc="http://mm.myboostmobile.com" mmsproxy="oap7.sprintpcs.com" mmsport="80" user_visible="false" />

With the mnc and mcc set to Sprint's default of 310 120, it uses the ERI settings for sprint which names the preferred network (64) to Sprint, but other than that they match completely so it doesn't really matter. It's purely cosmetic. I may end up patching the SprintDM so that it works completely correctly, but currently it works halfway and that's almost as good. You can even update the prl by going to Carrier Settings in cellular.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
I see what you did with the apns. Again, nice work. I'm impressed. You did a lot of what I had started and then some.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
My goal is to get provisioning working exactly like stock so that I don't even need to have it replace the apns at all. The provisioning will pull the correct apns and add them to the telephony.db and you're all set. I would say I'm over halfway there, but it's going to be a pain in the ass because I have to update a crap ton of resource id's manually just to get it working. Right now I'm using athene's apk's instead of stock because they seem to be stripped way the hell down, including the lack of weird ass resources.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
R.I.P stock 7.1.1

Edit: I even got Sprint VVM working 100%. Updates and all.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] scj643:
Did anyone get LTE working on boost mobile and how?

---------- Post added at 10:09 PM ---------- Previous post was at 10:03 PM ----------

Also is it possible to get the FM radio working?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
Download the ROM a few posts back, flash said ROM, wait about 3 mins after setup and you'll have LTE, MMS and I think everything else working.

Edit: all but the radio anyway. I'm sure that will come though.

Edit:-2: WiFi tether needs a build.prop edit. I added a couple lines and got it working, I'm not sure exactly which one/ones did the trick atm.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
next build will have tethering, that's a result of the stock overlays I used, which don't really do much for us anyway.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] elisam98:
Great work on all this, [MENTION=4136656]SeanStar[/MENTION]! We really appreciate all your efforts!

I just built a rom from your sources and tried to provision on Verizon. Looks like it works, but I'm stuck on 3G and the VZW LTE apns are not listed (only ones that mention EvDO as the bearer). My assumption is that the included apn db doesn't provide the option of LTE apns all the time, I'm just not sure why sometimes they show up (so far, only when the phone is provisioned in stock) and sometimes they don't. :confused:
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
I just made a script that patches resource id's in stock apk's, so maybe this will all be fixed momentarily.

https://github.com/MotoOwensDevel/ParseResourceID
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] elisam98:
I've been testing extensively on perry to see if there's another angle to get LTE working with Verizon

So far, I've

Set telephony.lteOnCdmaDevice to 1

Flashed a modified version of [MENTION=4136656]SeanStar[/MENTION]'s apns-conf.zip (see https://xdaforums.com/moto-e4/how-to/perry-real-lte-fix-custom-roms-t3752036) based on the APN here: https://android.googlesource.com/device/sample/+/4b3880d/etc/apns-full-conf.xml

Flashed that same apn zip, but changed some MNC values from 004 to 00

But nothing has helped yet - still on Verizon 3G.

I also noticed that the MCC/MNC combo on the phone is now at 310/00 - maybe that's why I don't always get the LTE APN list (Maybe the correct APNs only appear when I'm on 311/480)?

Just not sure how to force 311/480...
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] ben7337:
Does anyone know if Bluetooth LE works on this rom? Bluetooth is mentioned as working, but on my stock e4 plus regular Bluetooth connections are fine. It's the Pokemon go plus and other Bluetooth LE devices that can't connect to the phone. I'm curious if this rom replaces that broken code with functional code or if it's still broken in custom roms as well.

For reference I have a Verizon e4 plus (unlocked on TMobile) so can't root or rom it, but if Bluetooth le does work in roms, I'd gladly buy an unlocked e4 plus.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
I wouldn't set lteOnCdma if you're using a lot of the stock blobs. Seems to break things unless you're using more of the lineage included modules.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] glockman4519:
Sorry it took so long to get back. But yes this rom supports that exactly. My issues was that I did not make a system image back up and needed the go back to stick before installing this rom, that was my bad. I was just wondering if there was a zip for installing what I need on my device 1775 to get Verizon apns. I lost them when I flashed my personal build if Resurrection Remix on it. Again, my bad. The rom functions great, just no aps and no data.

I tried to flash back to stock but for some reason it is not working for me. So it's back to research and more reading. The dev of this thread is a genius by the way. I just had to get that out there.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
You can flash stock firmware with rsdlite from here: https://firmware.center/firmware/Motorola/Moto E4 Plus/Stock/

Retail firmware is OWENS_RETAIL_7.1.1_NPR26.58-25_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

Follow this for instructions: https://xdaforums.com/showpost.php?p=75629845&postcount=203

This WIPES everything on internal storage, including TWRP backups and TWRP itself getting you back to full stock

On another note, I've patched griffin's (MotoZ's) SprintDM and ConnMo with a resource id patched stock omadm classes, and using the stock libdmengine with working binder. I'm hoping this will fix SprintDM to work completely and fully correctly for all MVNO's and mcc/mnc and mmsc apn settings on the provisioning. The reason for using griffin's SprintDM sdm? Well, I figured out that their stock SprintDM came with provision Chameleon's for the Sprint MVNO's (It's the only one that does that besides stock, and it also doesn't have the SPA binder bloat of the real stock SprintDM) Currently, the stock apk's even with patched resources try to reference the MotorolaSettings provider in the SPA, which breaks it.

Perhaps this will be fully working very soon.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
:good:

Nice find. I think Griffin is the only device I didn't look at the trees for. I was thinking about that Chameleon provisioning at one point. Just don't make it so close to stock that Boost blocks my tethering when I go over the cap, lol. I'm not sure hotspot usage is even being read or read correctly right now. I used way more than it says I did since I installed your last build.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] ben7337:
So is that a yes or a no on Bluetooth le? Does the rom use lineageos code for Bluetooth or stock Motorola code? I can't find any discussion regarding this in the thread at all and could really use some info.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
The reason I haven't answered your question is because I don't know if it works or not, and have no way to test it since I don't own any LE devices. The rom uses both proprietary code (for some of the libraries) and lineage code. I would happily answer your question if I was sure.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] ben7337:
No worries, knowing that it's an unknown still helps.

Just to make sure I understand correctly, there's multiple Bluetooth libraries and some are stock and some aren't, in the rom? Is it possible to switch them all to other code, or do some proprietary blobs need to stay? I think I may pick up one of the phones from best buy tonight and take the gamble on seeing if it works or not.