Motorola Moto G5 (motorola-cedric)
Appearance
| This device runs a Downstream kernel. Some UIs will not work, and most features (3D acceleration, audio, etc.) may be broken. |
|
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 The software and version the device was shipped with. |
Android 7.0 |
Extended version The most recent supported version from the manufacturer. |
Android 8.1 (Linux 3.18.71) |
| postmarketOS | |
| Category | downstream |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
no |
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 |
| Device package |
|
| Kernel package |
|
Flashing Whether 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 Whether charging and battery level reporting work. |
Works
|
Screen Whether the 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 Handles automatic screen rotation in many interfaces. |
Untested
|
Contributors
- Hacker420
- Luka Panio (Cvbnm90i)
Maintainer(s)
- Hacker420
Users owning this device
How to enter flash mode
- + buttons or use TWRP reboot bootloader, or
adb reboot bootloader
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-dtbfrom the kernel source directory - You need lk2nd to run mainline, see GitHub repo below:
lk2nd fork for cedric Mainline fork for cedric