If you’re looking for the safest root option for your Moto X Style running Marshmallow build, then it’s Chainfire’s systemless root method.

Systemless root let’s you get root access on recent Android releases without modifying the /system partition. It does all the magic from modified boot image only, without making a single adjustment to the /system partition. This enables a user to get OTA update even when rooted without any hassle.

Luckily for you Moto X Style folks, developer ivcarlos over at xda has created a systemless root for Moto X Style Marshmallow build MPH24.49-18, and it’s reportedly working flawlessly for everyone.

Also, since current TWRP build isn’t working for the latest bootloader version (0xA048) on the Marshmallow firmware, the developer has found a workaround to install SuperSU in a different way, using ADB.

We’ll guide you through the whole process in the guide below. But first, make sure your Moto X Style bootloader is unlocked. Because we wouldn’t be able to flash modified boot without unlocking the bootloader.

Downloads

[icon name=”download” class=”” unprefixed_class=””] Download SU image

[icon name=”download” class=”” unprefixed_class=””] Download Modified boot image

[icon name=”download” class=”” unprefixed_class=””] Download Superuser v2.56 APK

Instructions
  1. Download the required files from the download links above and extract su.zip and boot.zip files to su.img and boot.img files.
  2. Put all three files su.img, boot.img and Superuser_v2.56.apk inside one folder on your PC.
  3. Setup ADB and Fastboot on your PC.
  4. Enable USB debugging on your Moto X Style and connect it to PC.
  5. Open the folder where you saved all files in Step 2 » “Shift + Right-click” on any empty white space inside the folder, and select “Open command window here” from the context menu.
  6. Now type the following commands one-by-one to root your Moto X Play:
    adb push su.img /data/local/tmp
    adb install Superuser_v2.56.apk
    adb reboot bootloader

    └ This will reboot your device into bootloader mode.

    fastboot flash boot boot.img
    fastboot reboot
  7. Your Moto X Play will now reboot. To verify root access, download a “Root checker” app from the Play Store.
Want to enable OTA after root?

Well, just download the original boot image from the download link below and flash it via bootloader mode using fastboot flash boot boot_orig.img command.

[icon name=”download” class=”” unprefixed_class=””] Download Original Boot image

That’s all. Enjoy systemless root on your Moto X Style running on Android 6.0 Marshmallow build MPH24.49-18.

Happy Androiding!

via xda