Motorola Moto G6 (motorola-ali)

From postmarketOS Wiki
Motorola Moto G6
Moto G6 with Mate desktop
Moto G6 with Mate desktop
Manufacturer Motorola
Name Moto G6
Codename motorola-ali
Released 2018
Type handset
Hardware
Chipset Qualcomm Snapdragon 450 (MSM8953)
CPU 8x 1.8 GHz Cortex-A53
GPU Adreno 506
Display 1080x2160
Storage 32/64 GB
Memory 3/4 GB
Architecture aarch64
Software
Original software Android
Original version 8.0
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel 3.18.140
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Broken
Camera
Broken
Camera Flash
Connectivity
WiFi
Works
Bluetooth
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB OTG
Broken
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer
This device is based on the Qualcomm Snapdragon 450 (MSM8953).
See the SoC page for common tips, guides and troubleshooting steps

Maintainer(s)

Uclydde

Users owning this device


How to enter flash mode

  • Power + Volume Down buttons or use TWRP reboot bootloader, or adb reboot bootloader

Installation

Note Working user interfaces (on the downstream kernel): Mate, Gnome, XFCE4, i3wm, sxmo
  • Enter fastboot mode.
  • Execute pmbootstrap flasher flash_rootfs
  • Execute pmbootstrap flasher boot

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.

See also