blob: a8abd803435f35c224f5b93b34a2f5025f8553de [file] [log] [blame]
Erfan Abdid5e5f322018-03-21 00:57:44 +02001---
2layout: device
3title: "Motorola Moto X4"
4codename: payton
5downloadfolder: payton
7supportstatus: Current
8maintainer: kaneawk, erfanoabdi
9oem: Motorola
12{% include disclaimer.html %}
14{% include supportstatus.html %}
Erfan Abdid99dd9d2018-09-13 11:40:53 +043015NOTE: Monthly security updates may break decryption of /data in TWRP. MTP does not work at this time, but you can use adb to transfer files.
Erfan Abdid5e5f322018-03-21 00:57:44 +020016
17{% include download.html %}
19<div class='page-heading'>Installation:</div>
20If you already have TWRP installed:
21Download the latest zip and install the zip using TWRP.
23If you do not already have TWRP installed:
24Download 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:
26fastboot boot path/to/twrp.img
Erfan Abdid99dd9d2018-09-13 11:40:53 +043028This will temporarily boot TWRP on your device. Use adb to push the zip onto your device:
30adb push path/to/ /sdcard
32Go to install and browse to the zip and install the zip. The zip will install TWRP on boot partition of both slots.
Erfan Abdid5e5f322018-03-21 00:57:44 +020033
34If 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.