Motorola Moto G6 (motorola-ali)

From postmarketOS
Jump to navigation Jump to search
Motorola Moto G6
Moto G6 with Mate desktop
Moto G6 with Mate desktop
Manufacturer Motorola
Name Moto G6
Codename motorola-ali
Released 2018
Category testing
Original software Android 8.0
postmarketOS kernel 3.18.140
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
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
FDE
Mainline
Partial
Battery
3D Acceleration
Works
Audio
Broken
Bluetooth
Camera
Broken
GPS
Mobile data
SMS
Calls
USB OTG
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
TrustZone
FOSS bootloader


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