[Moto E5 Guides, News, & Discussion] MotoJunkie01:
Stock Android 8.0.0 Factory Firmware

Moto E5 Play (James) xt1921-5

Sprint/Virgin Mobile/Boost Mobile

WARNING: This stock Android 8.0.0 firmware package should not be used in an attempt to downgrade your device to an earlier firmware build. (While downgrading is possible, only the more advanced users should attempt it ) Use this firmware & guide only if your device has never been upgraded beyond Build No. OCP27.91-23. Attempting to downgrade your partition index (gpt.bin) or your bootloader partitions (bootloader.img) can result in a hard-bricked device -- and typically bricked beyond repair. By proceeding further, you are assuming sole responsibility for the integrity and functionality of your device, thus absolving me from any civil liability in the event your device becomes bricked, damaged, or otherwise inoperable.

SPECIFICATIONS:

Android Version: 8.0.0 Oreo

Build No. OCP27.91-23

Kernel Version: 3.18.71

Radio Version: M8920.11.54.11.41R

Security Patch Level: March 1, 2018

APPLICABILITY:

There are any number of reasons to use this restoration guide. If you are running a rooted device with system-based or systemless modifications to your Android OS, and you merely want to return to an unmodified stock configuration, this guide will accomplish that. If your device is soft bricked, stuck in a boot loop or is otherwise malfunctioning from a software standpoint, this guide will repair your phone. Or, perhaps you simply want to return to unmodified stock in order to install an OTA update. Again, this guide is for you.

RESTORATION/FLASHING INSTRUCTIONS:

This guide is written with the assumption that you have at least a rudimentary knowledge of AP Fastboot Mode and basic flashing commands. While this firmware can certainly be installed using RSD-Lite, mFastboot, etc., this guide aims at a basic fastboot installation. This procedure will erase all userdata stored on your device, enables dm-verity (device mapping), and enables default force encryption of the /userdata partition. Please make a backup of any data, files, media, etc. that you want to keep prior to proceeding. This process removes root binaries, BusyBox, root-dependent mods, and restores all OEM and carrier-specific bloatware. This guide also assumes that you have a recent version of the Minimal ADB & Fastboot utilities installed on your PC or laptop, as well as the proper USB device drivers.

1. Download the firmware package from the below link and extract the contents of the archive to your adb/fastboot directory on your PC;

2. Boot your device into AP Fastboot Mode by first powering down your device and then simultaneously holding the Power + Volume Down keys for around 8 seconds, until you see AP Fastboot Mode on your device display;

3. Connect your device to your PC using the OEM supplied or quality-equivalent micro USB to USB syncing cable;

4. Open a command window in the path of your adb/fastboot directory;

5. Enter this command:

fastboot devices

Press Enter/Return

If your device and PC are properly connected, an alpha-numeric string will appear in the command window synonomous to your device serial number;

6. After ensuring a proper connection, execute the following commands:

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash dsp adspso.bin

fastboot flash bootloader bootloader.img

fastboot flash recovery recovery.img

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot erase DDR

fastboot erase cache

fastboot erase userdata

fastboot flash oem oem.img

fastboot flash vendor vendor.img

fastboot oem fb_mode_clear

7. Now reboot your device by entering:

fastboot reboot

Press Enter/Return

Upon reboot, your device should be fully restored to stock Android 8.0.0 firmware, Build No. OCP27.91-23, and your device will be fully capable of installing OTA update packages.

DOWNLOAD LINK:

https://drive.google.com/file/d/1v39JAH7gUjjN5-iR8qPln4WS9Hozq88s/view?usp=drivesdk