[X Style (Pure) General] alex1301:
Hey guys,

since there isn't a standalone tutorial on how to flash Android 6.0 either on the Moto X Style XT1572, I will provide one.

WARNING! I am not responsible for any harm on your phone. When you're not sure if you can do it, leave it! Use the Brazilian version ONLY on phones which use US-modems! If there is anything wrong or not working, contact me!

Prerequesites:

Make sure you have backuped your internal storage and your apps, because they will delete during the fastboot flash process

Decide which version you need: Indian or Brazilian? You only should download and use the stock rom of one of them!

Install ADB and Fastboot on your PC using Minimal ADB or Android SDK

Install all ADB and Fastboot drivers, for example with Universal ADB driver

Download the files provided in the link section

Steps:

At first, extract the ADB and Fastboot files in a new folder of your choice. After that, extract the 5.1.1 stock rom and copy the boot_root.img and the TWRP image in the same directory and make sure, that there are NO subfolders

Open a command line in the new directory

Now reboot your phone into Bootloader Mode. You can do that by typing "adb reboot bootloader" in an adb command line or by turning it of and then holding the Volume down + power button

Now the funny part begins. Open a command window in the directory where you extracted ADB/Fastboot and the 5.1.1 stock rom to. Now use this commands in this order:

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 system system.img_sparsechunk.9

fastboot flash system system.img_sparsechunk.10

fastboot erase modemst1

fastboot erase modemst2

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot reboot

Setup your device. After that make sure you can open the internal storage on your PC. Copy the Marshmallow patch and the SuperSU file on the internal storage of your Moto

Boot into recovery by rebooting into bootloader mode and then selecting the "Restart Recovery" option with the volume rockers followed by pressing the powerbutton

When the text "No command" is shown, press at first the power button and then volume up. Now apply the patch by selecting it after ticking the option "Install update from SDCard" in the recovery and wait till it finished. Reboot your device afterwards

Reboot again into bootloader mode. Now install the bootloader from 5.1.1 by typing "fastboot flash bootloader bootloader.img". We need this to make TWRP work again.

Type "fastboot flash recovery name_of_the_TWRP_image.img" to flash TWRP

Still in the bootloader mode, type "fastboot flash boot boot_root.img", in order to get root working

Boot into recovery mode and flash the SuperSU file. Afterwards reboot into system

That's it! You now have MM on your Style.

Thanks to:

patt2k for the mirrors for the Indian stock rom

gmillz for having the idea with stock 5.1.1

sathishtony for the fastboots commands to flash the stock rom

freakzapster for the MM patch

Sabissimo for root

Links:

SuperSU https://download.chainfire.eu/743/SuperSU/BETA-SuperSU-v2.52.zip

Indian Stock 5.1.1 http://xdaforums.com/showpost.php?p=63770825&postcount=208

Brazil Stock 5.1.1 https://mega.nz/#!bYU0FI7a!W1QjmjUaeG-M4XYrhC9RZwrcMqzSXCA66DebFOplmZc

Indian MM Patch http://xdaforums.com/moto-x-style/general/marshmallow-ota-zip-t3250253

Brazil MM Patch https://mega.nz/#F!rElFjZqJ!Vcx1gA-48Pqx0EMOwZ6A1Q

TWRP https://dl.twrp.me/clark/

Root http://xdaforums.com//moto-x-style/general/marshmallow-ota-zip-t3250253/post63922440#post63922440