[X Style (Pure) Android Development] SpasilliumNexus:
Here is a stock ROM for the Moto X Pure X1575 with the September update applied, pulled from my device and converted into a flashable ZIP for TWRP.

In order to minimize on someone attempting to flash these zips on a non-XT1575, they have been scripted to not install on unsupported devices.

If you remove the restriction to flash on a non-XT1575, you are on your own with support. I do not have any other variant of the Moto X to test on.

----- ROMS -----

--- Odexed ROM ---

Nothing was done to the ROM. Not deodexed, no root, no Busybox, no anything. Just a clean dump from the phone.

1. Download the ODEXED ROM from here: odexed-stock_6.0_for_moto_x_pure_edition-september_patched-20170111.zip

2. Flash (clean recommended, especially if you're coming from a non-stock like ROM such as CM) in TWRP

3. Done

* Wait about 5-10 minutes upon first boot

--- Deodexed ROM ---

Similar to the odexed version, except it has every Google and Moto app updated as of 01/11/2017, zipaligned, and the VOLTE switch fixed (Settings > More > Cellular Networks)

1. Download the DEODEXED ROM from here: deodexed-stock_6.0_for_moto_x_pure_edition-september_patched-20170111.zip

2. Flash (clean recommended, especially if you're coming from a non-stock like ROM such as CM) in TWRP

3. Done

* Wait about 5-10 minutes upon first boot

----- ROM Add-Ons -----

--- SuperSU ---

For root, here is a version of SuperSU 2.79 SR2 which gets forced to install as systemless.

1. Download from here: supersu_2.79-sr2_systemless_installer-20170111.zip

2. Flash in TWRP

3. Done

--- Busybox ---

Personally I use [MENTION=4544860]osm0sis[/MENTION]' version of Busybox Installer, which has given me no issues whatsoever. It also installs as systemless if SuperSU is installed, which is a nice bonus.

1. Download Busybox Installer from his thread here: [TOOLS][ZIPS][SCRIPTS] osm0sis' Odds and Ends [Multiple Devices/Platforms]

2. Flash in TWRP

3. Done

--- ViPER4Android FX 2.3.4.0 ---

This will install ViPER4Android FX 2.3.4.0, which in my opinion is the last superior version quality-wise, along with fixes needed to allow it to run with the kernel set to enforcing. No need for permissive mode.

NOTE: This will install files to the /system partition, potentially nullifying acceptance of OTA updates.

NOTE 2: You need SuperSU for everything in this to work properly!

1. Download from here: viper4android_2.3.4.0_installer-20170111.zip

2. Flash in TWRP

3. Done

--- Custom Boot Logo (Moto Z Edition) ---

This is a customized logo you see when booting up the phone ported from a non-carrier branded Moto Z.

1. Download from here: moto_z_boot_logo_for_moto_x_pure-20170111.zip

2. Flash in TWRP

3. Done

--- Moto Z Boot Animation ---

This is a bootanimation you see when you are waiting for your phone to boot. Taken from a non-carrier branded Moto Z.

Preview: Part 1 | Part 2

1. Download from here: moto_z_bootanimation_for_moto_x_pure-20170111.zip

2. Flash in TWRP

3. Done

----- OTHER STUFF -----

--- Phone Dump Created with TWRP and the "dd" Command ---

This is a dump of the Moto X Pure Edition with the September patch applied.

Useful if you want to use it as a base for building your own custom stock-based ROM using an application like Superr's Kitchen.

Attached to this thread are notes of the Pure's device partitions and the commands I used to dump (listed below).

The ZIP includes the following:

- boot.img (Kernel)
- BTFM.bin (Bluetooth radio)
- fsg.mbn (1 of 2 of the modem)
- logo.bin (Stock boot logo)
- modemst1 (Modem related)
- modemst2 (Modem related)
- NON-HLOS.bin (2 of 2 of the modem)
- recovery.img (Stock recovery)
- system.img (System partition)

Note: This is not flashable in TWRP!

Download from here: non-flashable_dump-moto_x_pure_edition_xt1575_with_september_update.zip

----- CREDITS -----

[MENTION=5787964]Superr[/MENTION] for Superr's Kitchen

[MENTION=631273]Chainfire[/MENTION] for SuperSU

[MENTION=4544860]osm0sis[/MENTION] for Busybox Installer

[MENTION=1569052]viper520[/MENTION] for ViPER4Android

Anyone else I may have missed (my sincere apologies!)