yashsingh1/xdaforums huggingface dataset:
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] soaringowl2145:
I have a few questions about this rom. Can i still have one button nav, what is the security patch and what root method?

Also is se linux set to enforcing and how is the battery backup?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
Without cmactions which needs some work, in the build fingerprint navigation won't work. The security patch is he latest, Feb 5th. You can root with the lineage add-on, or Magisk. I haven't tried SuperSU so I can't say about that, but it might cause a bootloop. Selinux is enforcing, and the battery life is pretty good, especially if you adjust the kernel settings a little.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] soaringowl2145:
Is OMS in this?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
I don't believe so

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

Substratum still works pretty good though, depending on the theme you use anyway.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] glockman4519:
I finally got my e4 plus 1775 back to stock with working radios and can't wait to give this a shot again. As soon as the radios are figured out completely with this device, I will update my rom and try again... Lol... I have a system backup now. I use your trees and must say that you do a very nice job. I wish I had the coding skill [MENTION=4136656]SeanStar[/MENTION] has.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] soaringowl2145:
So if I flash this rom or PAOSP which is uses the same tree this ROM uses, I should have LTE working and all other sim functions working?

I use tracfone with an at&t sim card, which basically means i am using the at&t network.

AT&T is a GSM network.

Thank you.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] bluesy_92:
The only known problems with this ROM were with CDMA networks. As far as I know, all GSM functions exactly as stock does, so you should be fine.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] koop1955:
[MENTION=8947538]Goose03[/MENTION], what app are you using to tweak kernel settings? Synapse, or something else?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] glockman4519:
I finally had a chance to run this rom and flashing directly from stock firmware, data is working great. Everything, data, MMS, phone the agile package. Awesome work [MENTION=4136656]SeanStar[/MENTION]
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
Kernel Adiutor https://play.google.com/store/apps/details?id=com.grarak.kerneladiutordonate
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
For what carrier tho? It's not clear what issues are still existent for CDMA / GSM etc
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
The Feb 26th build in the op has data/LTE/MMS working for Boost and as far as I know Sprint also. I've been running it since it was posted and I tested it.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MobyDuhFreak:
Hey can you tell me how u changed the nav bar icons to Google pixel like?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
Magisk, Systemless Xposed for Magisk, and Gravitybox.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
Cool, any issues with GPS, camera or anything at all?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
No
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] glockman4519:
I'm on Verizon
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] glockman4519:
Sorry I didn't make my post clear, I am on Verizon which is CDMA but I have my device set at global and it send to work great there. I tried LTE setting too and didn't notice much difference and still get the same APN. Everything works. I've parked my Nexus 6, 6p and other high end devices to give this a thorough test and it is daily driver for me. Substratum works in legacy.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MobyDuhFreak:
Which version of gravitybox did u install?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
N v7.0.8 the latest version for nougat.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MotoJunkie01:
Hi [MENTION=4136656]SeanStar[/MENTION], I've been looking over all the work & progress you've made on fixing data connectivity issues for variants of the E4 Plus. I'm currently working on an Aroma installer for the E4 perry xt1766 which allows the user to select their carrier from the Aroma menu, i.e. Virgin, TextNow, Sprint, Boost, etc., and in turn the installer configures the correct blobs, apns-config.xml, eri.xml, etc., to provision LTE data connectivity, voice & mms for custom ROMs. By everything I've read, the fixes you've implemented into your LineageOS build should also work for the Sprint compatible perry. I've been corresponding with [MENTION=8947538]Goose03[/MENTION] on this and he referred me to you. I realize development makes for busy days, but if you get a spare moment and wouldn't mind giving your input, I'd love your take on this and any recommendations you may have. Thank you, and nice work. By the way, I'm close to gaining access (I am fairly certain) to Motorola's carrier & provisioning manifests for the xt1766, in hopes that the blueprints will help.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
I was working on getting the stock libdmengine binder for the Moto E4 Plus working with stock provisioning. The problem isn't so much the connection when you get the blobs/apns/eri correct, SprintDM from griffin (Moto Z) will grab the subscription and apn extra data just fine without the binder working 100%. The firmware/fsg stuff is all where it needs to be. To get the provisioning working fully though with the chameleon for MVNO's that sets the proper mcc/mnc and mmsc/proxy, the binder NEEDS to be working properly. Griffin's binder doesn't work at all with this, particularly because of the uid change from 1000 to 1001 I believe. The stock binder works partially, but it gets hung up on various things, mostly due to all the extra features that motorola added and integrated into the framework not being there on lineageos. I've been having a real headache trying everything from making my own MotorolaSettings package to satisfy missing settings framework options to implementing other fixes but it's a real mess. The binder is overly complicated and saturated with features to the point where it's getting difficult to find what exactly I'm missing to get it working properly. I'd love to implement all the fancy rcs stuff and other nice features as well as get the provisioning working properly, but it's been one hurdle after another, and without the code to the dmengine I've been attempting to disassemble it as of late to figure out what's missing. You can guess how little progress I've been making on this the past couple days.

EDIT: To make matters worse, I don't use Sprint or any of the MVNO's. I'm on Verizon. I've been outsourcing the testing to people that actually have a Sprint UICC to test this, and having them send me logs.

EDITEDIT: By the way, you mentioned your patch editing the telephony.db. Were you intending to replace it with a file? You know that database is unique right, and generated by the telephony on boot. I suppose you could patch one with the proper apns, but if you were going to do that, you may as well just manually stick them in the apns-conf.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MotoJunkie01:
Yes, and you address my issue exactly on telephony.db. I realize it gets generated by firmware on boot up, so patching it, as you've correctly noted, isn't really feasible. I'm going instead the direction you mentioned -- placing apns-config.xml for each of the carriers in the Aroma installer. Im also taking a look at the /ssd partition, as it plays a similar role, yet less minor, to /fsg. Hard to say if anything will be discernible within the binary. For now, until I can hopefully view the manifests, I'm going to focus on blobs, apns-config.xml, and eri.xml, and their roles in my installer. I've been dissecting the old mvno_slayer.zip for the Moto E2, in hopes of using its structure for a permanent fix.

Oh wow, yes you are doing it the hard way. Having to rely on the logs of third parties. Well I know your work will be truly appreciated from all these Sprint MVNO users. My daily driver is the xt1767 Verizon. I bought a xt1766 for the unlockable bootloader and development reasons, and being an old Surnia user from a couple years back, this data problem started deja vu.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
You use Virgin Mobile right? If I posted a rom that I was reasonably certain would work on perry for virgin, would you try it? We have no VM users here in owens, but I've taken a look at the telephony.db from stock perry VM.

EDIT: Screw it, I'm pretty sure this will probably work. Flash the below zip on squid2's perry lineage rom. Probably don't even need to mess with blobs or anything, as long as it was provisioned on stock before installing squid2's rom.

EDITEDIT: You'll probably also need to flash blobs.zip from here: https://xdaforums.com/moto-e4/how-to/perry-real-lte-fix-custom-roms-t3752036 and set preferred network to global to get mms working, not sure on that one. It replaces a couple of the radio blobs and effectively removes the qti-telephony-common from being loaded by replacing it with one that has no classes, basically the same as deleting it from /system/framework/.

What I'm working on is more than some hackjob fix like this though, lol. I want the true provisioning working.

Here's a link to perry rom I'd like tested on Sprint/Boost/Virgin: https://drive.google.com/open?id=1vN3xVlYh-UF_J2KMhBWAQrNJ-Ol_AJBY

This one includes the actual changes I've made, including blobs, added SprintDM, etc. For partial provisioning and MMS fixes (since provisioning works halfway and sets the APN/Subscription correctly, but fails on the mcc/mnc and mms stuff)

If/When I get the TRUE provisioning working, it will automatically set all the apns and stuff required in the telephony.db, even if they don't exist in apns-conf. You could have it blank and it would work. It would probably also set it up for more features than simple data/mms and the basics.

Part of the reason I want this is because I want to be able to use lineage's "stock" apns-conf that comes with lineage with no modifications. It will provision your stuff and just work anyway.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
This may seem like a dumb question but.. is this pre-rooted?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
No. You can root with the lineage add-on, or Magisk.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
Should you flash disable dm-verity/force-encrypt when switching to this rom?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
Not required..
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
New build:

March 6th 2018:

FM Radio added! Hotspot fixed for Sprint and Sprint MVNO's (Boost)! CMActions coming soon!

Download March 6th 2018 Build

Download March 6th 2018 Build Mirror

[MENTION=8868095]AstroStarter[/MENTION] I know you've been waiting for this, lol. Here it is.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MobyDuhFreak:
I've installed Gravity Box and It's running fine but I can only change actions of the buttons.

How do i change the icons?
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
I'm sorry, I apologize. The pixel nav bar was from this substratum theme: https://play.google.com/store/apps/details?id=substratum.piereligio.bst
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] koop1955:
Thanks For Lineage

Finally took the plunge and I am glad that I did. Nice job, [MENTION=4136656]SeanStar[/MENTION]!

I'm on Sprint, network working fine for me. Everything seems to be working.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MotoJunkie01:
Cool. Thanks [MENTION=4136656]SeanStar[/MENTION] I'll check out your ROM that evening. Yes, I use Virgin Mobile.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] FlagersXDA:
I've tried using the existing device and vendor trees with some modifications to build Pixel Experience. I'm currently building the ROM. I'll setup GitHub repos sooner or later however. I've heard on the Moto E4 lineage thread that someone has tried to get Oreo working there too. When the device trees eventually come out I'll compare the changes from 7.1.1 (7.1.2) to 8.0 or 8.1. Wish me luck. I'd love to try to develop for this device. Thank you.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] FlagersXDA:
Also, this may be off topic but is there any documentation on the driver implementation changes between Nougat and Oreo, if so please tell me.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
There is not afaik. Hardly any documentation at all for anything. If anyone has some, I'd like to know about it as well.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] FlagersXDA:
I believe so too, there is no documentation on the AOSP website. Considering that many OEMs have made the transition to Treble, I can tell that Google has only given information on Treble to them.

---------- Post added at 05:19 AM ---------- Previous post was at 05:00 AM ----------

I've looked around and this https://source.android.com/devices/architecture/treble and this https://research.google.com/pubs/pub46451.html is all that I could find that refers to the changes of driver implementation from Nougat to Oreo. But it isn't in depth enough. Maybe we can use CAF sources that may or may not already be usable in Oreo sources.

EDIT: CAF seems to have Android Go support for MSM8937 which means it should have proper support for Treble as Treble support is a requirement for new Android Go devices. If my interpretation of how the new driver implementation is correct, we shouldn't have to try to use the Nougat drivers for the MSM8937. I'm not sure about the Motorola proprietary stuff. We could pull from another devices sources.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
If you look at Alberto97's changes in his port to oreo of athene, it shows them building ril among among other things from CAF sources in lineage, that would be a good place to start.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
Finally took the plunge on the 3/6 build on my boost mobile. It's working great, quicker than stock and I think the battery life will be better. One issue I had was after it's initial setup it lost data saying no sim was found. I restarted the phone and all was well again. Been on it for couple hours straight and the issue didn't pop back up. MMS/text/data/wifi/finger print all work.

I guess just now the moto integrated things (like when you pick up the phone on stock the screen comes back on) have to be implemented?

Also, any thing special needed to put xposed framework and viper on here? is viper even needed with the audiofx app I see on this build?

All in all, I'm glad I finally flashed this
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
The moto gestures stuff has not been implemented. I'm actually working on getting cmactions working so we can have these features on lineage. If you want ViperFX, I would recommend using the Magisk v15 systemless installer for it located in the module downloads section of the Magisk app. Xposed should also work with the systemless module, though I have not personally tested it as it triggers safetynet.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] FlagersXDA:
[MENTION=4136656]SeanStar[/MENTION] I added more to the post before through an edit.

---------- Post added at 05:35 AM ---------- Previous post was at 05:32 AM ----------

I did try some sloppy work to try to get Oreo working, or at least booting but it is still using the Nougat drivers and built for Pixel Experience. I'm having trouble building however because of the lack of memory in my system.

---------- Post added at 05:38 AM ---------- Previous post was at 05:35 AM ----------

I will check it out to see which parts are still usable in Oreo. My goal is to build AOSP. If AOSP is achievable then Lineage is only a few steps away.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
Crap.. I'm on Magisk v16, I see on the modules it's for v15 tho.. do you know off hand if it will work or do I have to uninstall/downgrade

I have no idea what safetynet or the effects of triggering it means.. sounds like some terminator **** lol
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
It works on the latest v16.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] FlagersXDA:
Besides the CAF drivers, it should be possible to build Oreo with the Nougat drivers, because Project Treble support is only mandatory if the device comes with Oreo from the start. Right now I'm working on building AOSP with Nougat drivers. It seems to be working however my sloppy device tree is preventing me from doing so. I'm thinking of downloading lineage 15 sources over night and start building tommorow with the local manifest that you provided. If you want to use the current device sources you would only need to do a small modification to the Owens source to get something working. I have forgotten what, but it won't build without some small modifications.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] koop1955:
[MENTION=4784690]shezzy83[/MENTION] and [MENTION=4136656]SeanStar[/MENTION], I have installed Viper on this phone both through Magisk and through Xposed, but I recommend that you try this flashable: https://xdaforums.com/android/software/r-s-e-sound-systems-auditory-research-t3379709

It includes Viper but adds so much more.

For anyone wondering what SafetyNet is, see https://www.howtogeek.com/241012/sa...y-and-other-apps-dont-work-on-rooted-devices/

Magisk is a way of preserving SafetyNet and still rooting your phone. Unless you install Xposed.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
Not sure if the night time display ( easier on eyes ) portion of the Moto e4 plus was part of the CMactions being worked on but.. any way to get that easily added back in via a toggle etc? I honestly don't even miss the auto on screen on wave or picked up functionality from cmactions and I'm sure it would only waste more battery if it did exist. So far, the battery life is really good on this rom compared to stock.

---------- Post added at 03:32 PM ---------- Previous post was at 02:43 PM ----------

Thanks for the suggestion. I actually went with https://www.giz dev.com/viper4android-on-android-7-0-arise-sound-systems/ tutorial instead which I'm sure is mostly the same thing. It's working how I want it to
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
LiveDisplay is already a thing in lineage. It tunes your screen to whatever color temperature you want during the night. Check it out, as this has been included in the rom since I first released it.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] FlagersXDA:
I've tried to build lineage with the already existing device trees with very few issues. Build still fails, but seems to be possible to build with the needed Oreo specific changes.

EDIT: I'm looking at device trees for other Moto devices ported to Oreo.

EDIT 2: building with modifications to device tree. I compacted together the msm8937-common, Owens, and qcom318-32 device trees into one so I don't have to scramble for the right device tree to to fix. When building there are many warnings for missing files, when it's done with the build, I will try it on my personal phone. I have yet to upload the changes to git.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] dincdoes.me:
Would anyone be willing to post a link of the camera app in this fine room please? I have Cricket so I can't really try this beautiful rom out.. but I'd love to have a better camera app that works better than Moto cam.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
About LiveDisplay - Wish there was a quick toggle available for it or at least be able to manually set when Nighttime starts/ends. Going in settings isn't that bad but still a pain compared to what the moto version was
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
Dude, it's right there in display settings. Exactly what your asking for. It's different then stock because that's Motorola crap. The deMotoed stock ROM I posted has it removed which makes the same thing Lineage has show up instead. It's a stock AOSP feature. It's there unless you remove it and it wasn't removed.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
It won't work on stock.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
I know where it is in settings was just asking if any one has come up with a way to toggle it quicker or adjust the times

at work now but going to try this guide here using tasker to creater a tile/toggle for it when I can and report

https://www.reddit.com/r/LineageOS/comments/6jkoou/request_have_livedisplay_quick_tile_toggle/
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
It is what it is.

Edit: there is a live display toggle you can add to quick settings if you go into the edit options.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
Awesome, obviously I missed that. Thank you!!
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] MotoJunkie01:
[MENTION=4136656]SeanStar[/MENTION], just wanted to let you know that 4G/LTE data connectivity is working flawlessly on Virgin Mobile using your 3/5/2018 custom LineageOS 14.1 build. Nice work.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] doodalydoo:
I flashed my phone with this and couldn't use any mobile or cell data. My carrier is Republic Wireless.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] jasonmerc:
Isn't republic one of those weird carriers though, like Aren't they basically a WiFi-calling-dependent carrier? If so then that might be the reason why
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] SeanStar:
The OEM actually has a specific package made to set up that carrier, lol. I don't think I care enough to look into it for that one..
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] doodalydoo:
When I flashed Lineage it did become wifi dependent, but on the stock ROM I can make calls and send texts without wifi.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
Quick question .. maybe Lineage specific but I notice when the phone is charging that the icon for it doesn't change. I don't want to add a new theme to the over all phone but knowing when the phone is charging when plugged in seems like an out of the box feature. I searched google for it but couldn't find a solution. Great rom
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Goose03:
You should see like a little lightning bolt symbol pop up inside the battery icon when it's charging. I do.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] shezzy83:
Ok I see it now, I always used the regular text only % and normally it would turn a different color when plugged in. For this rom, it stays the same when charging or not
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] fllannell:
Thank you for posting this custom Rom. It is working well on my retail xt1775 Owens Moto E4 plus.

LTE is not working though, even though it was successfully connected to LTE immediately prior to installation when running the stock OS.

My provider is NET10, BYOD with a sim card, through the Verizon network.

Best regards,

-J
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] Az Biker:
* * * Thread Cleaned * * *

Please take all comments not directly related to development of THIS Room, to the General/Discussion section.

How tos, advice, and suggestions for Rom building have no place in Rom specific development threads.

Thank you.
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] bcrichster:
Absolutely not
[Moto E4 Plus ROMs, Kernels, Recoveries, & Other De] JUSTINMARMER:
I see that all the CDMAs are listed as working in the OP, but nothing is mentioned about GSM at all. Does that mean this is only working for CDMA but not GSM? I'm wanting to use with At&t.