blob: a8abd803435f35c224f5b93b34a2f5025f8553de [file] [log] [blame]
---
layout: device
title: "Motorola Moto X4"
codename: payton
downloadfolder: payton
devicetree: https://github.com/TeamWin/android_device_motorola_payton
supportstatus: Current
maintainer: kaneawk, erfanoabdi
oem: Motorola
---
{% include disclaimer.html %}
{% include supportstatus.html %}
NOTE: 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.
{% 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. Use adb to push the zip onto your device:
adb push path/to/twrp.zip /sdcard
Go to install and browse to the zip and install the zip. The zip will install TWRP on boot partition of both slots.
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.