blob: 79cf06c725114390efbe9942c543f1b9850a13ce [file] [log] [blame]
Erfan Abdid5e5f322018-03-21 00:57:44 +02001---
2layout: device
3title: "Motorola Moto X4"
4codename: payton
5downloadfolder: payton
6devicetree: https://github.com/TeamWin/android_device_motorola_payton
7supportstatus: Current
8maintainer: kaneawk, erfanoabdi
9oem: Motorola
10---
11
12{% include disclaimer.html %}
13
14{% include supportstatus.html %}
15
16{% include download.html %}
17
18<div class='page-heading'>Installation:</div>
19If you already have TWRP installed:
20Download the latest zip and install the zip using TWRP.
21
22If you do not already have TWRP installed:
23Download 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:
24
25fastboot boot path/to/twrp.img
26
27This 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.
28
29If 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.