Jump to content

Motorola Moto Z2 Play (motorola-albus)

From postmarketOS Wiki
Motorola Moto Z2 Play
[[
Moto Z2 Play booted into phosh
|200px|alt=Moto Z2 Play booted into phosh]]
Moto Z2 Play booted into phosh
Manufacturer Motorola
Name Moto Z2 Play
Codename motorola-albus
Model XT1710-09, XT1710-10, XT1710-07, XT1710-07, XT1710-01, XT1710-02, XT1710-08
Released 2017
Type handset
Hardware
Chipset Qualcomm Snapdragon 626 (MSM8953)
CPU 8x 2.2 GHz Cortex-A53
GPU Adreno 506
Display 1080 x 1920
Storage 32/64 GB
Memory 3/4 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 7.1.1
Extended version
The most recent supported version from the manufacturer.
Android 9.0
FOSS bootloader no
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available from the postmarketOS Installation page.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
6.17.7
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
0.0
Firmware package firmware-qcom-msm8953
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Internal storage
eMMC, SD cards, UFS...
Works
SD card
Also includes other external storage cards.
Partial
Battery
Whether charging and battery level reporting work.
Works
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Partial
Multimedia
3D Acceleration
Broken
Audio
Audio playback, microphone, headset and buttons.
Broken
Camera
Broken
Camera Flash
Untested
Connectivity
WiFi
Works
Bluetooth
Broken
GPS
Partial
NFC
Near Field Communication
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
USB OTG
USB On-The-Go or USB-C Role switching.
Broken
HDMI/DP
Video and audio output with HDMI or DisplayPort.
Untested
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Untested
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Untested
Proximity
Untested
Haptics
Untested

Contributors

Users owning this device


How to enter flash mode

  • Poweroff device
  • Powerdevice on holding PWR + Volume Down

Installation

Using pmbootstrap

Device hasn't been merged to pmaports yet, you can get the branch here: Motorola Albus Branch

Add it as a remote and pull from ~/.local/var/pmbootstrap/cache_git/pmaports or clone directly to that directory.

Make sure you have TWRP or other recovery installed as you'll need to sideload the zip

Follow Installation/Using pmbootstrap. When asked for the device's vendor/codename, select motorola as the vendor and albus as the codename.

To flash the image to the device:

  • Build using pmbootstrap install --android-recovery-zip
  • Enter flashing mode (see #How to enter flash mode)
  • Run pmbootstrap flasher flash_kernel to flash the kernel
  • Reboot to twrp, enter sideload mode

This is where I ran into issues. Try this first:

  • Run pmbootstrap flasher --method adb sideload

If the above fails, then run the two below

  • Run pmbootstrap export
  • Run adb sideload /tmp/postmarketOS-export/pmos-motorola-albus.zip

Additional Info

My device wouldn't allow me to write to the system or userdata partitions from fastboot, leading to the sideloaded zip.

Kernel is based on the mainline msm8953 branch. I have patch files for the device tree and a little hack that's necessary to get the touchscreen working (hence the branch). I plan on upstreaming the device tree and working on a better fix for the touchscreen so the generic msm8953 linux package can be used.

See also