blob: 66227cec0dd0dd885114a50b21bc6f80aeaf0419 [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
Marc Bourgoin069b23b2020-11-10 23:17:00 -07008maintainer: kaneawk, erfanoabdi, ThEMarD
Erfan Abdid5e5f322018-03-21 00:57:44 +02009oem: Motorola
10---
11
12{% include disclaimer.html %}
13
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 %}
18
19<div class='page-heading'>Installation:</div>
20If you already have TWRP installed:
21Download the latest zip and install the zip using TWRP.
22
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:
25
26fastboot boot path/to/twrp.img
27
Erfan Abdid99dd9d2018-09-13 11:40:53 +043028This will temporarily boot TWRP on your device. Use adb to push the zip onto your device:
29
30adb push path/to/twrp.zip /sdcard
31
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.