Table of Contents
If you have come from the previous download link post where we have listed the Android 6.0.1 Marshmallow and 6.0 Marshmallow full stock firmware files for the Moto X Play, Pure, Style and much more, then here you will find the installation instructions for the same. This tutorial will show you how to flash the factory images on your Moto X device and revert it back to stock.
How to Flash Marshmallow Full Factory Image on Moto X Play, Pure, Style and More using Fastboot
Summary: Now, if you are planning to flash the full stock firmware, the go through this method. You will need the to connect your device to PC and setup ADB and Fastboot. Go through the requirements and instructions listed above carefully. Once you have setup ADB and Fastboot, extract the firmware file and open a command prompt or terminal there. Now, reboot to bootloader and flash the following things using the Fastboot commands. Now, depending on your phone firmware, the number of sparsechunk files may vary. So just make sure how many chunk files your firmware has before you flash the firmware. The files also may vary from system to system. So when you extract the firmware file, verify what files are present and which ones are absent. Also, verify if all the files have been flashed from the firmware. Remember, this will wipe your device and you will lose all your data. Hence, backup.
1. Verify your device for compatibility. The listed firmware is compatible with Moto X devices only.
2. Enable USB Debugging on your device. To do so, go to Settings>About Phone> Tap on the Build Number several times until you get a new Developer Options in theSettings. Open Developer Options and enable USB Debugging from there. Trust the connection by allowing it when you connect it to your PC for the first time.
3. Make sure you have latest device drivers setup on your PC for a better connection. Get it from the official page of your device manufacturer.
4. To be sure, fully charge your device as the process make take a while.
Step 1: Download the firmware file for Moto device. You don’t need to extract the file, just transfer the file to your PC where you can easily locate it.
Step 2: Make sure that you setup ADB and Fastboot on your PC. Trust the connection by checking “Always allow from this computer” when you plug in the device for the first time.
Step 3: Now turn off your device completely and unplug it from your PC.
Step 4: Boot your Android device into the bootloader or Fastboot mode. To do so, turn off your device and then press and hold volume down + the power button simultaneously for a few seconds. When you see the bootloader screen, connect your device to the PC using a USB cable.(Choose Fastboot if option is available) For an alternative method look at the end of this method.
Step 5: Navigate to the location where you have placed the OTA file on your PC. Rename the recovery file to a simple one, like ota.zip. While the folder with the ota.zip file is open, hold the shift key on the keyboard and right-click on an empty space and select “Open command window here” option to launch a cmd window.
Step 6: Now issue the following command in the command prompt to check your device connectivity. It should display device information.
Step 7: Now flash the firmware by issuing the following command. (Note: Take care that you type the exact name with it’s proper extension. Also, use keyword- mfastboot or if it fails, then go with the keyword- fastboot)
mfastboot flash partition gpt.bin mfastboot flash bootloader bootloader.img mfastboot flash logo logo.bin mfastboot flash boot boot.img mfastboot flash recovery recovery.img mfastboot flash system system.img_sparsechunk.0 mfastboot flash system system.img_sparsechunk.1 mfastboot flash system system.img_sparsechunk.2 mfastboot flash system system.img_sparsechunk.3 mfastboot flash system system.img_sparsechunk.4 mfastboot flash system system.img_sparsechunk.5 mfastboot flash system system.img_sparsechunk.6 mfastboot flash system system.img_sparsechunk.7 mfastboot flash modem NON-HLOS.bin mfastboot erase modemst1 mfastboot erase modemst2 mfastboot flash fsg fsg.mbn mfastboot erase cache mfastboot erase userdata mfastboot reboot
Step 9: Once the firmware gets installed, reboot to system.
First boot may take a while. You can now enjoy your new firmware.
How to boot into bootloader or Fastboot mode using ADB
In order to boot into the bootloader, you can also issue the following command through your cmd or terminal while your device is connected to the PC. First setup ADB and Fastboot environment on your PC. Open cmd or terminal, issue the following command: In Linux, add “sudo” keyword in prefix.
adb reboot bootloader
How to boot into Stock Recovery using ADB
In order to boot into the stock recovery, you can also issue the following command through your cmd or terminal while your device is connected to the PC. First setup ADB and Fastboot environment on your PC. Open cmd or terminal, issue the following command: In Linux, add “sudo” keyword in prefix.
adb reboot recovery