devices: payton: add Moto X4

Change-Id: Ib756d8372aeb7ecab5cd28170d46cccd09fc357a
Signed-off-by: Erfan Abdi <>
diff --git a/_motorola/motorolamotox4.markdown b/_motorola/motorolamotox4.markdown
new file mode 100644
index 0000000..79cf06c
--- /dev/null
+++ b/_motorola/motorolamotox4.markdown
@@ -0,0 +1,29 @@
+layout: device
+title:  "Motorola Moto X4"
+codename: payton
+downloadfolder: payton
+supportstatus: Current
+maintainer: kaneawk, erfanoabdi
+oem: Motorola
+{% include disclaimer.html %}
+{% include supportstatus.html %}
+{% include download.html %}
+<div class='page-heading'>Installation:</div>
+If you already have TWRP installed:
+Download the latest zip and install the zip using TWRP.
+If you do not already have TWRP installed:
+Download both the img and the zip. Copy the zip to your device. You will need to have fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader. Connect the device to your PC. Open a command window and run the following command from the proper location:
+fastboot boot path/to/twrp.img
+This will temporarily boot TWRP on your device. If you are using a lockscreen pin/pattern/password and do not get prompted to enter your password, reboot to the bootloader and try again. Go to install and browse to the zip and install the zip. The zip will install TWRP to both boot slots. Installing TWRP at this time will remove root if you are currently rooted.
+If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest firmware for your device and reflash the boot image.