[Moto E5 ROMs, Kernels, Recoveries, & Other Develop] MotoJunkie01:
Stock Android 8.0.0 Oreo ROM

for Moto E5 Play (James) XT1921-5

TWRP Flashable Installer​

DISCLAIMER:

By proceeding further, you are assuming full responsibility for any negative consequences which may result from flashing this ROM. While I have fully tested this ROM on my own device with no adverse issues, I will not be held liable for bricked or otherwise inoperable devices resulting from the installation of this ROM. You -- and you alone -- are solely responsible for your device. With that having been said, I will provide as much support as possible in the event of such a catastrophe. Please read this thread fully, and follow the instructions precisely, and you should incur no negative consequences.

SPECIFICATIONS:

Compatibility: XT1921-5 Moto E5 Play (James)

Android Version: 8.0.0 (Oreo)

Kernel Version: 3.18.71-perf-gb4140c9

Baseband Version: M8920_11.54.11.41R

Build No. OCPS27.91-23-3

Android Security Patch Level: June 1, 2018

Android SDK: 26

Build Date: June 7, 2018 (Original Stock Build)

Carrier Variant: Sprint, Boost Mobile, Virgin Mobile

NOTE: This ROM is mostly pure stock. I have zipaligned all APK files in /system/framework and in /system/app to optimize RAM efficiency. Also, dm-verity has been disabled in the stock kernel. It should also be noted that the ROM installer does not flash sensitive bootloader partitions, the partition index (gpt.bin), or radio firmware partitions. Hence, it is completely safe to downgrade after flashing this ROM. Likewise, if you have not updated your firmware to the latest version via OTA, this ROM should still function normally.

REQUIREMENTS:

1. Unlocked Bootloader;

2. TWRP Installed;

3. Decrypted Device Recommended (It is not yet confirmed whether this ROM will install and function on an encrypted device. In theory, and because this ROM is mostly stock, installation on an encrypted device should work so long as the /userdata partition is properly formatted. If your device is encrypted, you are flashing at your own risk. Keep in mind that by decrypting your device, you may later opt to manually encrypt your userdata by going to device SETTINGS>SECURITY & LOCATION>ENCRYPTION & CREDENTIALS and following the on-screen prompts and instructions. It is recommended to have a fully charged battery prior to encrypting your userdata. The process can take an hour or more, depending on the amount of userdata to be encrypted.

THANKS & MENTIONS:

[MENTION=5337314]CodyF86[/MENTION] for his TWRP build, kernel patches, and /vendor fstab patches;

[MENTION=5787964]SuperR.[/MENTION] for his Windows version Kitchen;

[MENTION=6485916]squid2[/MENTION] for his TWRP builds;

[MENTION=5102540]CurbThePain[/MENTION] for providing needed partition dumps;

[MENTION=4470081]topjohnwu[/MENTION] for his revolutionary Magisk Systemless Root Interface.

KERNEL SOURCE CODE:

Moto E5 Play (James)

MSM8920 Kernel Source Code: https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-OCP27.91-23

INSTALLATION INSTRUCTIONS:

1. Download the ROM zip from the download link below and store it to external device storage. (Because the /userdata partition needs to be formatted prior to installation, saving the ROM zip to internal storage is not feasible.);

2. Boot your device into TWRP Recovery Mode;

3. MAKE A FULL NANDROID BACKUP (/system, /boot and, optionally, /data);

4. Wipe /system, /cache, and the Dalvik/ART cache;

5. Select Wipe>Format Data and follow prompts to format /data;

6. Reboot Recovery (this step is sometimes necessary to ensure proper mounting of partitions after formatting /data);

7. Select Install, navigate to the saved location of the ROM zip in external storage, select the file, and commence installation;

8. Reboot System.

Note: If you want root, flash the latest Magisk Beta version after completing Step 7 above. https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589 To learn more about Magisk, visit the main Magisk stable release/announcement thread here: https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 Be sure to hit Thanks on [MENTION=4470081]topjohnwu[/MENTION]'s threads.

BUGS:

Please let me know...

DOWNLOAD LINK:

Stock Android 8.0.0 Oreo ROM

Build No. OCPS27.91-23-3 https://drive.google.com/file/d/1j_OjzxxiqeJL4Lx7qE5tbQvj5IxbzQCd/view?usp=drivesdk

****Previous Build(s)****

Build No. OCP27.91-23

https://drive.google.com/file/d/1N69FIg-n6LOPHuXSsYZRvgyuMa67UFXl/view?usp=sharing