Jump to content

Motorola Moto G5s (motorola-montana)

From postmarketOS Wiki
Revision as of 23:00, 16 March 2025 by Bczeman (talk | contribs) (Otg is working)
Note This device is supported as part of a generic port. Refer to Generic MSM89x7 (qcom-msm89x7) for installation instructions and more information.
Motorola Moto G5s
File:motorola-montana.jpg
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
Android 7.1 (Linux 3.18.31)
Android
postmarketOS
no
Generic port Generic MSM89x7 (qcom-msm89x7)
Features
Works
Works
Works
Works
Works
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Partial
Camera
Broken
Camera Flash
Partial
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
Works
Works
Sensors
Broken


Contributors

Maintainer(s)

Users owning this device

  • DolphinChips (Notes: Current daily driver)
  • Lexpdev (Notes: not turning on, probably bricked)
  • Xproot (Notes: (2GB/32GB) Broken bat - broken display - broken digitizer - unused)

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

Wi-Fi is not supported by default because system partition contains the WCNSS_qcom_wlan_nv.bin and we don't have it packaged yet.

Copy WCNSS_qcom_wlan_nv.bin to /lib/firmware/postmarketos/wlan/prima/WCNSS_qcom_wlan_nv.bin (for 6.12.5 and older) or /lib/firmware/qcom/msm8937/motorola/montana/WCNSS_qcom_wlan_nv.bin (for 6.13 and newer).

See also