[Moto E4 (Qualcomm) ROMs, Kernels, Recoveries, & Ot] MotoJunkie01:
Moto E (4th Gen) xt1766 Sperry

Stock Android 7.1.1 Firmware

Fastboot Restoration Guide​

IMPORTANT NOTICE:

Because there are reports of devices becoming bricked due to downgrading, please disregard this thread and firmware. This is a link to the newly added factory firmware package for the most current build version for the xt1766 SPerry. Please go here:

https://xdaforums.com/moto-e4/how-to/firmware-restoring-moto-e4-xt1766-t3820749

DISCLAIMER:

Please take note that the following stock firmware package is not the official Motorola firmware package, nor is it signed by Motorola. This is a package I have compiled with partition dumps from a pure stock & unmodified Android OS. I have tested this procedure, as have other members, and no adverse issues have arisen upon installing the firmware. However, I am not responsible for devices bricked or otherwise rendered inoperable as a result of installing this firmware or using this guide. You and you alone are responsible for your device. Because this guide does involve fastboot flashing bootloader and other sensitive partitions, follow the instructions to the letter. One mishap while flashing a bootloader partition can leave a device fully inoperable. Also, I have only used this guide on Virgin Mobile variants of the xt1766. It should work on the Sprint and Boost Mobile variants as well, but I cannot personally confirm that at this time.

SPECIFICATIONS:

Hardware SKU: xt1766

Carrier/Provider: Sprint, Virgin Mobile, Boost Mobile

Android Version: 7.1.1 Nougat

Build No. NCQ26.69-64

Radio: M8920_15000.280.06.58.02R

Kernel Version: 3.18.31

Security Patch Level: January 1, 2018

NOTES: This firmware is the most recent version of the stock Android OS. It is completely unmodified.

REQUIREMENTS:

--An unlocked bootloader;

--A PC or laptop running Windows 7 or later;

--Motorola Device Manager: https://motorola-global-en-aus.custhelp.com/app/answers/prod_detail/a_id/86934/p/154,4222;

--Minimal ADB & Fastboot (v1.4.3 or later): https://drive.google.com/file/d/0B1Sfod4HWfk2T0hia0k3Y3pIczA/view?usp=drivesdk;;

--Rudimentary knowledge of fastboot flashing;

--Device charged to at least 60%.

INSTRUCTIONS:

Download the stock firmware package from the link below and save the files in your ADB/Fastboot directory on your PC. Boot your device into fastboot/bootloader mode and connect your device and PC with a suitable data sync cable. Open a command window within the ADB/Fastboot directory and execute the following set of commands:

NOTE: The larger image files (system.img & oem.img) will be automatically dissected into individual sparsechunks and incrementally flashed by fastboot. You will initially receive a "header size" error, but just be patient and wait. Fastboot will resolve this and flash the images.

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash aboot aboot.mbn

fastboot flash cmnlib cmnlib.mbn

fastboot flash cmnlib64 cmnlib64.mbn

fastboot flash devcfg devcfg.mbn

fastboot flash dsp dsp.img

fastboot flash modem modem.img

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.img

fastboot flash keymaster keymaster.mbn

fastboot flash oem oem.img

fastboot flash prov prov.mbn

fastboot flash rpm rpm.mbn

fastboot flash sbl1 sbl1.mbn

fastboot flash tz tz.mbn

fastboot erase system

fastboot flash system system.img

fastboot erase DDR

fastboot erase userdata

fastboot erase cache

fastboot oem fb_mode_clear

Now boot your device normally. You should now be updated to the most recent pure stock Android build, and your device will be fully capable of installing future OTA updates.

DOWNLOAD LINK:

LINK HAS BEEN REMOVED: Please go here: https://xdaforums.com/moto-e4/how-to/firmware-restoring-moto-e4-xt1766-t3820749