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 |
| 7 | supportstatus: Current |
| 8 | maintainer: kaneawk, erfanoabdi |
| 9 | oem: 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> |
| 19 | If you already have TWRP installed: |
| 20 | Download the latest zip and install the zip using TWRP. |
| 21 | |
| 22 | If you do not already have TWRP installed: |
| 23 | 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: |
| 24 | |
| 25 | fastboot boot path/to/twrp.img |
| 26 | |
| 27 | This 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 | |
| 29 | 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. |