Motorola Moto G6 (motorola-ali)

Maintainer(s)
Uclydde

How to enter flash mode

 * + buttons or use TWRP reboot bootloader, or

Installation

 * Enter fastboot mode.
 * Execute
 * Execute

Mainline Kernel
Lk2nd has been ported, and can be found here: lk2nd

As of 11/21/2021, a device tree, panel driver, and kernel configuration have been added to the msm8953 mainline kernel fork, and patches have been submitted to upstream Linux to add initial support.

NOTE: only the PVT2 variant has been tested, so the upstream patch only adds support for that specific model.

32bit or 64bit
For whatever reason, Motorola decided to ship a 32bit build of Android with the Moto G6, despite the SoC (sdm450/msm8953) being 64bit. For this reason, the postmarketOS build that was originally created is 32bit. The device fails to boot a 64bit build of postmarketOS using the downstream kernel, though it may be possible with some additional modifications.

A 64bit build using a close-to-mainline fork of the Linux kernel works.