Motorola Moto G5 (motorola-cedric)
Appearance
![]() 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 The version the device was shipped with. |
7.0 |
Extended version The most recent supported version from the manufacturer. |
8.1 (Linux 3.18.71) |
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. |
partial |
pmOS kernel The kernel version that runs on the device's port. |
3.18.49 |
Unixbench score Unixbench Whetstone/Dhrystone score. See Unixbench. |
1850.2 |
Flashing It is possible to flash the device with pmbootstrap flasher . |
Partial
|
---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Battery Charging and battery level reporting works |
Works
|
Screen Display works. Ideally with sleep mode and brightness control. |
Works
|
Touchscreen |
Works
|
Multimedia | |
3D Acceleration |
Untested
|
Audio Audio playback, microphone, headset and buttons. |
Untested
|
Camera |
Broken
|
Connectivity | |
WiFi |
Works
|
Bluetooth |
Untested
|
GPS |
Untested
|
Modem | |
Calls |
Untested
|
SMS |
Untested
|
Mobile data |
Untested
|
Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Broken
|
USB OTG USB On-The-Go or USB-C Role switching |
Works
|
Sensors | |
Accelerometer Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile |
Untested
|
Contributors
- Hacker420
- Luka Panio (Cvbnm90i)
Maintainer(s)
- Hacker420
Users owning this device
How to enter flash mode
adb reboot bootloader
+ buttons or use TWRP reboot bootloader, or
Installation
- Unlock the bootloader (https://www.getdroidtips.com/unlock-bootloader-moto-g5-plus/)
- Enter fastboot mode
- Execute
pmbootstrap flasher flash_rootfs
- Execute
pmbootstrap flasher boot
(flashing the kernel is not possible as the kernel is too big) - Enjoy
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