Jump to content

Motorola Moto G7 (motorola-river)

From postmarketOS Wiki
Note This device is supported as part of a generic port. Refer to Generic MSM8953 (qcom-msm8953) for installation instructions and more information.
Motorola Moto G7
Running weston
Running weston
Manufacturer Motorola
Name Moto G7
Codename motorola-river
Model XT1962-x
Released 2019
Type handset
Hardware
Chipset Qualcomm Snapdragon 632 (SDM632)
CPU Octa-core 4x1.8 GHz Kryo 250 Gold
4x1.8 GHz Kryo 250 Silver
GPU Adreno 506
Display 1080x2270 IPS
Storage 64GB
Memory 4GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 9
Extended version
The most recent supported version from the manufacturer.
Android
postmarketOS
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Generic port Generic MSM8953 (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.
Works
Battery
Whether charging and battery level reporting work.
Partial
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Broken
Camera
Partial
Camera Flash
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Works
Modem
Calls
Partial
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Works
USB OTG
USB On-The-Go or USB-C Role switching.
Works
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Broken
Magnetometer
Sensor to measure the Earth's magnetism
Broken
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Broken
Proximity
Broken
Haptics
Broken


Contributors

Users owning this device


Maintainer(s)

Variants

Known Variants:

Model Number Region/Carrier
XT1962 Europe
XT1962-4 USA, LATAM

How to enter flash mode

You need to unlock your bootloader first if you haven't yet. Hold Power and Volume Down button to enter fastboot mode if phone is turned on, or just Volume Down when connecting USB to turned off device.


Installation

WARNING: Not yet! The support has not yet been fully merged.

Build the image

$ pmbootstrap init # choose Vendor: qcom Device codename: msm8953
$ pmbootstrap install

Install the DTBO

Download dtbo-motorola-river.img from the dtbo-lk2nd releases page and flash it to the current slot's dtbo partition:

$ fastboot flash dtbo dtbo-motorola-river.img

This is necessary for lk2nd to boot at all. Note that Android won't boot on this slot until you flash the stock dtbo image.

Install the image

$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs

Do not flash the kernel; lk2nd will find the kernel inside of the rootfs.

Instead of flashing the rootfs to the device, it is possible to install pmOS to a microSD card, and it may even be preferable due to eMMC degradation.

See also