Disclaimer: I am not responsible for anything that happens as a result of flashing these files. Your destiny is your own.
Based on existing tutorial by @t-bon3. This guide has been created as a hard-brick occurred using the old Moto x Play tutorial. Please exercise extreme care with Fastboot, and only use the commands mentioned here. Experimenting with Fastboot commands can seriously damage your phone.
How to Fastboot Flash Moto X Play Factory Firmware Images
Motorola Drivers: Download
Latest Fastboot | ADB (Windows | Linux): Download (Windows 10 users may need this pack for Drivers to work.)
WARNING: You must perform a 'Factory data reset' in Stock Recovery before flashing any Firmware Image - instructions here.
Factory data reset via Stock Recovery:Firmware download:- https://github.com/motoxplay/stock
(1) Flash via fastboot stock recovery.img (found in firmware image zip)
(2) Turn your phone off.
(3) Press and hold Volume DOWN + POWER.
(4) In recovery menu press Volume down twice.
(5) Press power. You will see a red exclamation mark.
(6) Press power + Volume UP.
(7) Go to Wipe data / Factory reset and press power button.
(8) Scroll to Yes - delete all user data and press power.
1) Extracting Fastboot and Firmware Images:
Extract zip for chosen Firmware Image to a folder with a simple directory structure. For example: C:\motog_firmware\
Extract the adb-fastboot-latest_win_linux.zip into this folder.
2) Reboot the phone into 'Bootloader mode' and preparing PC for flashing
3) Fastboot Commands:
Do commands manually, one at a time - checking that each one returns an [OKAY].
NOTE: Do not simply copy and paste these commands! - system.img_sparsechunks may differ in number and name.
Always check contents of folder you're working with. You must flash all of the sparsechunk files you have.
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
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 flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
CHECK YOUR MODEL
FLASHING WRONG FIRMWARE CAN DESTROY A PHONE