LineageOS on Moto X4 (payton)
From Cactus Howto
Revision as of 22:49, 1 November 2018 by Tim (talk | contribs) (→Warning: bricked two devices so far!!!)
Warning: bricked two devices so far!!!
- restoring: https://forum.xda-developers.com/moto-g4-plus/help/solved-unbrick-hard-bricked-dead-t3585016
docs
- https://wiki.lineageos.org/devices/payton/install
- https://wiki.lineageos.org/adb_fastboot_guide.html
limitations
- NetFlix app cannot be used in LineageOS
prepare
Using MacOS here
- download latest image from https://download.lineage.microg.org/payton/ (allows life without google)
- download latest android platform tools from google https://dl.google.com/android/repository/platform-tools-latest-darwin.zip
- install tools to $HOME/ (see https://wiki.lineageos.org/adb_fastboot_guide.html)
- download recovery image (TWRP) from https://dl.twrp.me/payton/ (download .img!)
- download LineageOS su add-on arm64 package (optional) from https://download.lineageos.org/extras
install
- follow instuctions on https://wiki.lineageos.org/devices/payton/install
oem unlocking
for oem unlock of payton: use instructions on https://www.getdroidtips.com/unlock-bootloader-moto-x4/
- get unlock key from Motorola - output from "fastboot oem get_unlock_data" cannot be used directly to unlock phone
- make sure to use Chrome-Browser for getting the unlock key at Motorola!!! Otherwise the "get unlock code" button will not be visible.
macantha:~ tim$ fastboot oem unlock (bootloader) Check 'OEM unlocking' in Android Settings > Developer (bootloader) Options OKAY [ 0.001s] Finished. Total time: 0.001s macantha:~ tim$
- activate oem unlocking in android settings
- execute twice:
fastboot oem unlock xxxxxxxxxxxxxxxxxxxx (20 digits)
- reboot
recovery
make sure to install the .img (not the .zip) file of the TWRP recovery image:
fastboot boot twrp-3.2.3-1-payton.img