Jump to content

Motorola Moto G5s (motorola-montana)

From postmarketOS Wiki
Motorola Moto G5s
Manufacturer Motorola
Name Moto G5s
Codename motorola-montana
Released 2017
Type handset
Hardware
Chipset Qualcomm Snapdragon 430 (MSM8937)
CPU Octa-core 1.4Ghz Cortex-A53
GPU Adreno 505
Display 1080x1920 IPS
Storage 32 GB
Memory 3 GB
Architecture aarch64
Software
Original software Android
Original version 7.1 (Linux 3.18.31)
postmarketOS
Category testing
Pre-built images no
Mainline yes
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Broken
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Broken
Camera
Broken
Camera Flash
Connectivity
WiFi
Partial
Bluetooth
Partial
GPS
Broken
NFC
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Works
USB OTG
HDMI/DP
Sensors
Accelerometer
Broken
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


Contributors

Maintainer(s)

Users owning this device

  • DolphinChips (Notes: Current daily driver)
  • Lexpdev (Notes: not turning on, probably bricked)
  • Xproot (Notes: (2GB/32GB) Battery really degraded. Doesn't have pmOS installed)

Issues

  • Phone gets stuck somewhere when shutting down when using Nougat firmware
  • X11 doesn't work (requires kernel patching)

How to enter flash mode

Power + Volume Down buttons or use adb reboot bootloader

Installation

Note Warning: Flashing lk2nd is required, as it is a hard dependency. Without it the mainline kernel will not select the display panel (resulting in black screen on boot).
$ pmbootstrap init # choose Vendor: qcom Device codename: msm89x7
$ pmbootstrap install
$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs

WiFi/BT

Wifi is not supported by default because system partition contains the WCNSS_qcom_wlan_nv.bin.

Copy WCNSS_qcom_wlan_nv.bin to /lib/firmware/postmarketos/wlan/prima/WCNSS_qcom_wlan_nv.bin

See also