yashsingh1/xdaforums huggingface dataset:
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] squid2:
Hello all! Sorry for falling off the face of the earth for so long. I had gotten busy with work and life and other hobbies, fell further and further behind with Android stuff where I didn't have time to catch up, started to fear logging into XDA and seeing a million requests, and saw others taking lead on carrying on my LineageOS ports for various devices, so I just took a step back and watched from outside. While some devices (such as the msm8916-common family) seem to be in good hands, the lowly Qualcomm Moto E4 (perry) seems to have been forgotten by the community.

I don't want to make any promises, but maybe reviving this device could be a good way for me to get back into tinkering on a nice device that nobody else has been paying attention to. Learning about changes to Android is useful for me professionally anyway.

Does anyone still use perry and want it revived?
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] astrod:
Yes very much so! I still use your most recent build as it is the one that works the best on my xt1766 (flawlessly in fact) but have been thinking of getting a different device since there haven't been any updates. I would really appreciate if you revive it! Thanks again for all your work and no worries about the long hiatus!
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] kentchristopher:
I don't use it currently but would be interested in a version with current security updates.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] astrod:
PS @squid2 , you may not get a huge response here on XDA, but there has been quite some interest in Perry for a while on telegram.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] verbage:
@squid2 I would for sure be interested in seeing perry builds revived, and if with a potentially updated version of LOS like 17.1 or 18.1, wow, phenomenal!
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] FusionDragon:
i would love it to be revived, it would be refreshing to have the increased efficiency and security of the latest android updates on a dependable phone like this.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] CoffeeSkwerl:
Hey Squid2,

First, you have not been forgotten, unlike my old login account info, and thankfully the 14.1-20210421-UNOFFICIAL-perry & security patch for Apr 5, 2021, was made available. I still use perry and would like to keep it revived! Thanks, still utilize this phone as a secondary contact as my wife of 31 yrs. still remains in hospital in a very critical state. Thanks.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] fix-this!:
I dont even think there is root or twrp yet for the plus. so this rom wont work for you. its one of the reasons I chose the standard e4 model.

for me on at&t the rom run flawless. no real bugs other than ambient display not working.

---------- Post added at 08:31 AM ---------- Previous post was at 08:29 AM ----------

no its a bug, happens on a lot of aosp roms. I fixed it anyways visually by editing the systemui signal xml.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Az Biker:
Let's keep the comment in this development thread related tot he development of this Rom.

Discussion regarding pc specs, whether or not this device is getting any more love belongs in the DISCUSSION section.

Thanks for your cooperation.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] ReimuHakurei:
Who controls the moto8937 GitHub account?

I now have an initial port to the Moto E4 Plus (Qualcomm) [owens] based upon this release, but GitHub won't let me create a PR for the empty device tree because the repo is empty: https://github.com/moto8937/android_device_motorola_owens

https://github.com/ReimuHakurei/android_device_motorola_owens
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Knuxyl:
Confirmed that XT1766 (Boost Mobile) works with Simple Mobile (T-Mobile) prepaid carrier. LTE signal in Oklahoma City. Calling and voicemail works. I will test Boost Mobile in a couple of days when my service runs out.

I believe I read somewhere to install magisk but I did not do that, I installed xposed 88.2 and it is working no problems.

Only minor issue I have is the delayed boot because of N/A message from unlocking bootloader. Definitely not a deal breaker to using this rom.

Thanks a lot squid for all the work you put into the motorola phones.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] squid2:
I own the moto8937 organization. I'll set up the repo with what you started.

This set of TWRP repositories may also be of interest to you - I set up a common TWRP tree to avoid duplicated effort in maintenance: https://github.com/moto8937-twrp
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Knuxyl:
Confirmed LTE on CDMA (Boost) does not work at all. Will switch between 3G and 1x but no LTE.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] NGD1:
MetroPCS Moto e4

This particular time hotboots on me like crazy

It'd reboot every time my alarm went off this morning

It was connected To my bluetooth that was annoying lol
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KyleBryant:
That's weird, I'm on metro as well and my alarm went off this morning without a hitch, might be a Bluetooth issue.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] NGD1:
Might be, could also be a substratum glitch with a theme or something, I'll tinker
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KyleBryant:
Ah I see that's exactly what it is... Mine did that on another rom and I didn't even think of it.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] mn1968:
Good start on Lineage. Found a few bugs...hopefully I captured the logs correctly.

1. When attempting to use the power menu to get to recovery, reboot, etc..., the phone automatically reboots.

2. When plugging into a PC, there is no option to select charging, media device, pictures, etc...and no noticication that debugging is enabled. I can get the PC to recognize the phone by going into Developer Options and selecting MTP under USB configuration. But it doesn't always work reliably either.

3. In the status bar, I've selected to have the battery percentage displayed as text, however, it constantly disappears.

Fingerprint sensor works, however, I really miss the moto actions to swipe and use the fP sensor for recents and back, and home.

Hope this helps.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] savagevegeta:
At least the developer of this ROM doesn't take down the links every 2 or so weeks ?
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] mn1968:
Problems 1 & 2 were/are Substratum related. Once I removed my theme, the power menu worked normally and plugging into a PC triggered the USB Debugging notification, allowed me to select "transfer files", and connect to the PC instantly.

#3 is a minor annoyance that persists.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] madbat99:
So you're gonna chase this one away too. Just stop.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] savagevegeta:
Normally I'd refuse but because people have fragile feelings or think they're above everyone else in this site I'd rather stay quiet and take my ban now
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KyleBryant:
The difference between squid and most others, is squid works until it's done. There's not much in between time for nonsense.

But please remember keep these threads on topic, I made an off topic thread for a reason.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] _-Scotty-_:
CDMA?

Wonderful work XD

Using your latest release, CDMA LTE or 3g does not work. Calls and texting work; that’s it on the cellular side. Everything else seems to work great XD.

Notes:

Ultra Mobile GSM LTE works.

I’m in the USA.

Wiped system, data, dalvic, cache, etc. (not /data/media), installed opengapps, and rooted the phone.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] mn1968:
After a day of fully messing with this ROM, I find it good enough to be my daily driver. I found a combination of Substratum themes that basically give me the look I want without breaking any of the features I mentioned earlier. Personally, all it needs is full Substratum support and fingerprint gestures to work similar to stock. I tried some of the Fingerprint Gesture apps from the play store, but they only provided minimal functions and required the fingerprint sensor to be activated for unlocking the phone. On the stock firmware I don't need to activate the FP unlocking to use fingerprint gestures via Moto Actions.

Oh, and CDMA support for those that need it. Otherwise, awesome!

Thanks!
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] madbat99:
Yeah CDMA is real bummer (I have virgin mobile), and the Sprint CDMA model doesn't even have a fingerprint sensor, lol.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] :
The finger print sensor isn't going to be fully functional until CMActions is added in. It will do basically the same as Moto Actions on stock. It needs some work to build and function properly.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] fix-this!:
squid off topic but could you help us plus owners get a working lineage? sorry to clutter the thread.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] jspguerrero:
es compatible con el xt1768? moto e4

---------- Post added at 10:34 PM ---------- Previous post was at 10:33 PM ----------

Is it compatible with the xt1768?
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] codyalan:
That's why it's under the Qualcomm section... So yes
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
Any chance of 15 being ported?
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KyleBryant:
It's being worked on, no release date as of yet.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
Ok thanks there is a lot more support for this phone is the one I just had which was the Samsung j327p so it's good to have a phone there is actually support on
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] wrkerr:
Moto providing kernel source code and unlockable bootloaders makes all the difference in the world.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
Yes it does this is the first Moto phone that I've had that's been unlocable I had the Moto e and g 2nd gen on Verizon and the turbo 2 on Verizon now I have this phone from metro PC's I hate how Verizon locks the bootloaders and won't give out the keys for them
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KyleBryant:
That's mainly because they think if they allow you to root a phone, you'll unlock it carrier wise and they'll lose business. It's ****ty but I see why they do it. Let's try and keep this post on topic though guys.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KevinDel:
Edit: figured out most of my issues, user error/not available
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KevinDel:
Edit: figured it out.

Was curious if it was possible for you guys to port over the fingerprint print sensor swipe moto actions I believe it's called?
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] dolarsign:
Does anyone know how to fix call audio echo or is anyone else experiencing it as well? It's most pronounced when the phone is on speaker, the person on the other end of the line hears themselves. I have two Moto E4's on the latest October build and both are showing this behavior.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
Having issues with camera and flashlight
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
Here's a screenshot of it
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
NVM I found the issue it was my fault I added a line to the build prop for my tethering and it somehow missed the camera up weird
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] madbat99:
I saw someone on stock who modified a buildprop and also lost camera function.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KevinDel:
Was curious if anyone had a 4g lte problem on Verizon? I get 1x or 3g only
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KyleBryant:
Cdma devices have signal issues
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KevinDel:
Ahh thanks. Do you know of if they are working on 4g by chance?
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KyleBryant:
Couldn't really tell ya honestly. Squid2 doesn't abandon projects though he just perfects them. It shouldn't be too long before something works.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KevinDel:
Thanks man, I really appreciate it. I may have to flash back to stock sadly as I rely on data when I ain't home. It's a shame cause this is so fast.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Thexmastermind:
Yes there's a thread where someone got LTE on CDMA up and running. If op adds that to the build, I'll be the guinea pig.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
Hey does anyone know how I can return to stock to carrier unlock my phone when it's time to the metro unlock app will not let me use it on lineage for some reason
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
And I can't install it using a system app installer
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KevinDel:
There are hundreds of ways to do a boot loader unlock. I believe you have to have it unlocked to install lineage os anyway, so it already is.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] madbat99:
He's talking carrier unlock, not bootloader.

---------- Post added at 09:28 PM ---------- Previous post was at 09:27 PM ----------

Hopefully you made a backup in twrp before you flashed? That's the normal way.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
No I didn't have enough free space on my sd card so I could back it up is there any way I can get a stock rom for this
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] madbat99:
It's a little involved. Look for your stock firmware here and install accordingly (rsd or fastboot)

Look here at step vi
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] wrkerr:
I could be wrong, but I suspect if you call the store you got the phone from, the dealer can probably unlock it from there, provided you are past the 90 day window.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
Well I've been trying to restore stock firmware all day and all I've gotten is a semi brick I got lineage back but I have no data now and my imei reads 0
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KevinDel:
There's an easier way to do it, pm me when you can and I can walk you through it via discord or Skype.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
I hard bricked yesterday while trying to flash the bootloader to restore my imei so I think im screwed now im just gonna take the phone back to metro and tell them I had a power surge and shorted the phone out and get it covered under insurance then I'll get a backup of the stock rom off of it and upload it to my drive so other ppl can use it if they have metro

---------- Post added at 10:47 PM ---------- Previous post was at 10:45 PM ----------

Unless anyone can help me unbrick which I think is pretty much impossible
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] sdivk:
Hi I have bricked my unlocked Moto e4. I have used a laptop, RSD Lite 6.2.4 version, factory firmware of my Moto E4.

RSD Lite brought my firmware version in 10 mins. Get RSD Lite latest version and firmware and try. All the best.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
I hardbricked my other phone I got a new one I will make a twrp backup of the stock from and upload it later which file site is the best one to upload it to?
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
Does anyone know how to get the original navbar back? In lineage
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] SykkNyzz:
(Buttons under settings)
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] SykkNyzz:
This:
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Ljseegar:
Yeah I was talking about the pixelish navbar it has in stock firmware that has an animated home button I found a app for that
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] Knuxyl:
still no cdma development?
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] zeugma_:
CLAT daemon

This might be an odd question but I hope the devs can answer. Android has the 4-to-6 CLAT daemon for ipv4/ipv6 compatibility, should be in its source:

android.googlesource.com/platform/external/android-clat/

The stock ROM for the unlocked version of this device does not appear to have this turned on or it's not working as intended due to some other reason. Is that normal and is that problem also in this ROM? A simple test would be to get on an ipv6-only network with a NAT64 proxy, and try to route to an external ipv4 literal IP address. If it works then the CLAT daemon is functional.

Does somebody know the answer or can somebody try this?

Or better yet, how feasible would it be (with root) to turn this on within a running stock ROM system?
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] madbat99:
This is an unofficial port of the rom. You might have to check the official lineage source for that.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] zeugma_:
I'm sure it's in the source, the problem is what gets built and turned on/loaded at startup; I'm not too familiar with the Android ROM building process, but if there is a config or manifest for things like that, or a place in the source tree where the system looks for modules, could you point me to it? Thanks!
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KevinDel:
I did not do the *#*#4636#*# to get 4g working. I did a simple reboot and now it came into 4g by itself. This never happened before.

Edit: to explain more I did *#/#4636#*#* got no internet. Did a soft and hard reset still nothing. Then did a full reboot. Took a few minutes of holding the power button down but it booted up with 4g
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] madbat99:
GSM though right?
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KevinDel:
Nah CDMA. I thought 4g might work by doing multiple resets, it kept 4g but did not allow calls. I was onto something.

FYI for any CDMA users: if you do that, to get 3g back do the original setting then swap to CDMA only back to original setting.

Thankfully when I need 4g I can't make calls due to work, so I just reset the phone. If you do *#*#4636:*#* lte only and reset you will lose lte on reset.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] :
Hopefully the build I'm running now fixes all that. I spent the last few days scanning through the device trees, the stock rom and similar devices and I found a few missing apps, binaries, framework, xmls, scripts, sepolicy crap... I've gotta at least be close to having it. If I do have it, I'll go to work on oreo.

Edit: after I get a build with lte for my E4 Plus anyway.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KevinDel:
Hey any word on getting lte up and running by chance? There's another thread where they are working on it and think they got it up and running. It's called e4 Qualcomm or something to that nature. Let me edit this once I get the name.

I'd like to be able to keep all my apps and such that I have now due to kodi was a pain to set up, but I doubt that's possible.

Edit: it's Qualcomm Los data fix e4 I believe
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] madbat99:
You can probably backup Kodi in titanium.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] mn1968:
Backing kodi up in titanium doesn't do squat. It won't restore your settings. However, within kodi you can install a plugin called Backup. It will backup and restore your kodi setup exactly how it was. You just have to reinstall kodi and backup with each rom flash.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] KevinDel:
Thanks for the advice guys. Was curious if you guys had Verizon by chance? If you do do you guys get 4g?
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] squid2:
New build

Thanks for the kind words, that is indeed my policy. As you say, I never abandon projects (apart from cases where another capable person takes the lead to continue), but I do take my time to polish them before moving onto the next shiny thing. Like most, I have limited time, with a day job, family responsibilities, and the need for an occasional break, so I tend to work on one device family at a time. Over the past month or so, I've been focused on patching and polishing the msm8610 and msm8916 families for which I maintain official LineageOS. There are a couple more things I plan to deal with on msm8916 over the next couple weeks. After that, I will be returning to this device family, and will work on improving common device trees, CMActions/LineageActions, as well as CDMA suport etc. (though I can't test CDMA).

In the order in which I plan to do things, my roadmap for the next few months is:

Finish the current round ofMSM8916 family patching and bug squashing.

Work on getting polished and fully functional LineageOS 14.1 using common trees for the MSM8937/8953 family (including perry).

Bring up LineageOS 15.1 on the MSM8953/8937 family using common trees. Much of this will be reusing existing work that has been done by others on potter (Moto G5 Plus).

Work with other LineageOS maintainers in this device family (such as [MENTION=1829889]vache[/MENTION]) to consolidate everyone's work into the common trees and make the common trees official.

Bring up official LineageOS 15.1 for the MSM8916 family.

Bring up official LineageOS 15.1 for the MSM8610 family.

Anyway, for today, I haven't changed any device specific code since the last build, but I've compiled a new build with the latest LineageOS 14.1 code. Expect the same device specific bugs and features as the last build, but with a slightly more polished and secure LineageOS. I'll put the download link up in the first post.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] e.mote:
I've been monitoring this thread for a while, and since it's been 2.5 months since last update, I had wondered the same thing as the other poster had, whether LnOS on E4(Qual) had gone zombie.

I went and checked on squid2's forum posting, and saw that he's still active. But he's also maintaining a bunch of other devices--all of which I'm sad to say are more capable, more glamorous, and more popular than the lowly E4. I realized that he's just putting more effort into where it's best appreciated. I would do the same thing. Nobody is getting paid for this work, and appreciation and thanks are the currency.

I wish the E4(Qual) has a larger following to attract other devs, but it is what it is. All the same, I'm appreciative for what Squid2 has given--a working recovery and a build of LnOS. That's more than many other devices have.

[MENTION=6485916]squid2[/MENTION] - Thanks for your yeoman's work on all these devices. Wishing you and yours a safe, happy, and fruitful 2018. Dang. Another year gone by...
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] FlagersXDA:
[MENTION=6485916]squid2[/MENTION] I just wanted to say that you've been so helpful to the Motorola XDA community, wether it be making device trees for the devices or responding to questions, keep up the great work.
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] scj643:
I can test CDMA support since I have Boost Mobile
[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] scj643:
Also would it be possible to add FM Radio support?