Motorola Moto G5 (motorola-cedric)

From postmarketOS Wiki
Motorola Moto G5
motorola-cedric
motorola-cedric
Manufacturer Motorola
Name Moto G5
Codename motorola-cedric
Released 2017
Type handset
Hardware
Chipset Qualcomm Snapdragon 430 (MSM8937)
CPU 8x 1.5 GHz Cortex-A53
GPU Adreno 505
Display 1080x1920 IPS
Storage 16 GB or 32 GB
Memory 2 or 3GB
Architecture aarch64
Software
Original software Android
Original version 7.0
Extended version 8.1 (Linux 3.18.71)
postmarketOS
Category testing
Pre-built images no
Mainline partial
postmarketOS kernel 3.18.49
Unixbench Whet/Dhry score 1850.2
Features
Flashing
Partial
USB Networking
Works
Internal storage
SD card
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Audio
Camera
Broken
Camera Flash
Connectivity
WiFi
Works
Bluetooth
GPS
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
Broken
USB OTG
Works
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


Contributors

  • Hacker420
  • Luka Panio (Cvbnm90i)

Maintainer(s)

  • Hacker420

Users owning this device


How to enter flash mode

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

Installation

See also Installation guide

Notes

  • charging-sdl was tested manually through the debug shell and in plasma-mobile.
  • I suggest nmtui to connect to WiFi

Mainline

What works:

  • Booting to pmOS
  • eMMC
  • Touch
  • WiFi + BT (needs firmware package and msm-firmware-loader installed)
  • Display (using simpledrm)
  • Power button
  • USB Networking

What doesn't

  • Everything else

Notes:

  • To append the dtb do: cat .output/arch/arm64/boot/Image.gz .output/arch/arm64/dts/qcom/msm8937-motorola-cedric.dtb > Image.gz-dtb from the kernel source directory
  • You need lk2nd to run mainline, see GitHub repo below:

lk2nd fork for cedric Mainline fork for cedric

See also