Jump to content

Motorola Moto G4 Play (motorola-harpia): Difference between revisions

From postmarketOS Wiki
Wbob (talk | contribs)
Dark (talk | contribs)
Wifi: i added some extra information on how i got my device to connect to wifi
Tags: mobile edit mobile web edit
Line 81: Line 81:
=== Wifi ===
=== Wifi ===
works, but currently depends on the Wifi Channel, see [https://gitlab.com/postmarketOS/pmaports/-/issues/1085 postmarketOS/pmaports#1085]
works, but currently depends on the Wifi Channel, see [https://gitlab.com/postmarketOS/pmaports/-/issues/1085 postmarketOS/pmaports#1085]
Confirmed working on my device, also required changing my network to only use b/g a -Dark


== See also ==
== See also ==

Revision as of 22:45, 23 August 2021

Motorola Moto G4 Play
Moto G4 Play running Weston
Moto G4 Play running Weston
Manufacturer Motorola
Name Moto G4 Play
Codename motorola-harpia
Released 2016
Hardware
Chipset Qualcomm MSM8916 Snapdragon 410
CPU Quad-core 1.21 GHz Cortex-A53
GPU Adreno 306
Display HD (720x1280)
Storage 8GB or 16GB
Memory 1GB or 2GB
Architecture aarch64
Software
Original software Android 6.0.1
postmarketOS
Category community
Pre-built images yes
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Partial
Bluetooth
Works
GPS
Works
NFC
No data
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Works
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
Works
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data

Users owning this device


Contributors

  • Sorixelle

How to enter flash mode

Hold down Power + Volume Down while booting to enter Flash Mode.

Installation

Preparation

If necessary, unlock your bootloader by following the instructions on the Motorola Support page.

Install the lk2nd bootloader, as it is required to handle some quirks with msm8916 devices on mainline kernels. Flash the lk2nd.img image to the boot partition with fastboot flash boot /path/to/lk2nd.img. lk2nd also provides a fastboot interface that allows for flashing kernels without overwriting lk2nd itself. To enter it, power on the device, then hold down Vol Down as soon as you see the boot splash. You should be presented with a menu that looks like the following:

If you're seeing a "Permission denied", you're not yet within the l2knd bootloader as shown in the photo, wait for the warning splash to occur first, then press buttons as instructed.

$ fastboot flash userdata motorola-harpia-mainline-modem.img
Sending sparse 'userdata' 1/6 (246346 KB)          OKAY [  8.684s]
Writing 'userdata'                                 (bootloader) Permission denied
FAILED (remote: )
fastboot: error: Command failed

When you have lk2nd installed and running, follow Qualcomm_Snapdragon_410/412_(MSM8916)#Installation.

Usage

Modem

Follow the directions on this wiki page to use the modem. If you have a device model other than what is listed here, please edit the list below with the results of modem functionality testing.

  • XT1602: Modem working, can send and receive text messages. Can initiate and answer phone calls. Mobile data does work only when using the modem files contained on the modem partition.
  • XT1604: Modem working, can send but not receive text messages. Can make phone calls and receive. The Modem doesn't always start on boot, you need to run mmcli -S for it to start working.
  • XT1607: Modem working, can send text messages. Earpiece and Mic1 work with phone calls. Had to manually load RETUS_6.0.1 NON-HLOS firmware, will document and maybe package alternate firmware.

Touchscreen

synaptics s3203b: works ; others: unknown

Wifi

works, but currently depends on the Wifi Channel, see postmarketOS/pmaports#1085

Confirmed working on my device, also required changing my network to only use b/g a -Dark

See also

motorola-harpia UART pins location