Jump to content

Motorola Moto G6 (motorola-ali)

From postmarketOS Wiki
Note This device is supported as part of a generic port. Refer to Generic MSM8953 (qcom-msm8953) for installation instructions and more information.
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
The version the device was shipped with.
8.0
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available here.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
6.12.0
Generic port Generic MSM8953 (qcom-msm8953)
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Internal storage
eMMC, SD cards, UFS, ...
Works
SD card
Also includes other external storage cards
Works
Battery
Charging and battery level reporting works
Works
Screen
Display works. Ideally with sleep mode and brightness control.
Partial
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Broken
Camera
Broken
Camera Flash
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Untested
NFC
Near Field Communication
Untested
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching
Broken
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Broken
Magnetometer
Sensor to measure magnetism
Broken
Ambient Light
Broken
Proximity
Broken
Hall Effect
Also known as flip cover sensor
Broken
Haptics
Untested

Maintainer(s)

Uclydde

Users owning this device


How to enter flash mode

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

Installation

Note Note: lk2nd is a hard dependency, without it the mainline kernel will not select the panel.
$ pmbootstrap init # choose Vendor: qcom Device codename: msm8953
$ pmbootstrap install
$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs

Status

The Motorola Moto G6 is supported by upstream lk2nd. There is an initial device tree in upstream Linux for the Motorola Moto G6.

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.

Display

Display malfunctions or inverts colors after resuming from suspension. It also refuses to turn on from screen lock sometimes. Disabling automatic suspending is recommended.

3D Acceleration

Though there's Vulkan support in stock Android ROM, Vulkan is currently not supported. Turnip currently only support up to a6xx and greater, there's currently no plans to support a5xx but a issue is open and patches are welcome, so please show your support and donate or contribute!

OpenGL and OpenGL ES are supported by Freedreno.

SD Card

Requires manual mounting.

Audio

The device uses a Cirrus Logic CS47L35 connected to the Snapdragon SoC by SLIMbus, CLK is pin 70 (Snapdragon) and DATA0 is pin 71. The driver is available on the kernel.

See also