These are instructions on how to root Motorola Moto X Style (Pure) XT1575 using the TWRP recovery on Windows Computer.
Requirements: Your smartphone should have at least 20-30 percent of battery to perform the rooting process.
The above command will help you to know the list of adb devices attached to the computer.
The above command helps you to boot into the adb mode.
Optional: You can also verify the root status of your device by using the Root Checker Application.
[*] No data loss process: Your data including contacts, pictures, videos, music wont be affected using the above method. In short, no data loss process.
[*] Motorola Stock Firmware: If you are looking for the original firmware for your device, then head over to Download Motorola Stock Firmware page.
[*] Motorola USB Driver: If you are looking for the original USB Driver for your device, then head over to Download Motorola USB Driver page.
[*] Credits: The TWRP recovery shared on this page is officially developed by Hashbang173 (xda developer), so full credits goes to him for the recovery file.
[*] Big thanks to Chainfire for their SuperSU file, without this tool the above tutorial was not possible.