For the moto E4, Motorola has a guide in their support site to unlock the bootloader. I used it to be able to flash a 64bit rom for my moto g4 plus and the process was pretty straightfoward, although you do need a pc to use the adb command line tool.
Android
DROID DOES
Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
Rules
1. All posts must be relevant to Android devices/operating system.
2. Posts cannot be illegal or NSFW material.
3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.
4. Non-whitelisted bots will be banned.
5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.
6. Memes are not allowed to be posts, but are allowed in the comments.
7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.
8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.
Community Resources:
We are Android girls*,
In our Lemmy.world.
The back is plastic,
It's fantastic.
*Well, not just girls: people of all gender identities are welcomed here.
Our Partner Communities:
That’s cool. I have adb on my machine.
So did you do any alternative rom or just flash to get a clean copy? I’d love to put something else on there it’s actually a pretty nice device. I usually don’t love Motorola but they have their gems here and there.
Oh yeah. My initial plan was to install termux on it and use it as a server for a simple webpage I wanted to make, but the official rom i had was 32bit and the newer termux releases only support 64bit os.
I was going to give up, but while digging for more info I found out that for some reason the chip on my moto g4 was 64bit but not the OS. So I searched in the depths of the xda forums for a 64bit rom, which resulted in way too many dead links and dubious sources. Ended up using some obscure anime themed custom rom that crashed whenever I wanted to open the camera or use the flashlight BUT, it installed and ran termux nicely.
Overall I got what I wanted, but there wasn't any good quality rom I could find as they all had some sort of flaw. Hope you get better luck though! Those phones are still perfectly usable if not for lack of software support
You could try to flash a generic android image, although it seems like those have degraded in quality judging from the linus tech tips video that mentioned this
GSI (Generic System Image) ROM-s do have bare-bones apps due to their nature of being mostly designed for developers. That won't really be a problem as you can just install better alternatives to those apps. The problem with these ROM-s is that they most likely won't have drivers for the camera for example. Also the phone has to be Treble-compliant and it has to come with Android 9 (ie. it has to be preinstalled, devices that have been upgraded to Android 9 aren't supported.)
I’ll figure out something. 👍