Erfan Abdi | d5e5f32 | 2018-03-21 00:57:44 +0200 | [diff] [blame] | 1 | --- |
| 2 | layout: device |
| 3 | title: "Motorola Moto X4" |
| 4 | codename: payton |
| 5 | downloadfolder: payton |
| 6 | devicetree: https://github.com/TeamWin/android_device_motorola_payton |
bigbiff | fb25e10 | 2022-10-16 13:15:26 +0000 | [diff] [blame] | 7 | supportstatus: Current |
| 8 | maintainer: ThEMarD |
Erfan Abdi | d5e5f32 | 2018-03-21 00:57:44 +0200 | [diff] [blame] | 9 | oem: Motorola |
| 10 | --- |
| 11 | |
| 12 | {% include disclaimer.html %} |
| 13 | |
| 14 | {% include supportstatus.html %} |
Erfan Abdi | d99dd9d | 2018-09-13 11:40:53 +0430 | [diff] [blame] | 15 | 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. |
Erfan Abdi | d5e5f32 | 2018-03-21 00:57:44 +0200 | [diff] [blame] | 16 | |
| 17 | {% include download.html %} |
| 18 | |
| 19 | <div class='page-heading'>Installation:</div> |
| 20 | If you already have TWRP installed: |
| 21 | Download the latest zip and install the zip using TWRP. |
| 22 | |
| 23 | If you do not already have TWRP installed: |
| 24 | 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: |
| 25 | |
| 26 | fastboot boot path/to/twrp.img |
| 27 | |
Erfan Abdi | d99dd9d | 2018-09-13 11:40:53 +0430 | [diff] [blame] | 28 | This will temporarily boot TWRP on your device. Use adb to push the zip onto your device: |
| 29 | |
| 30 | adb push path/to/twrp.zip /sdcard |
| 31 | |
| 32 | Go to install and browse to the zip and install the zip. The zip will install TWRP on boot partition of both slots. |
Erfan Abdi | d5e5f32 | 2018-03-21 00:57:44 +0200 | [diff] [blame] | 33 | |
| 34 | 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. |