Motorola Moto G5 Plus (motorola-potter)
- 1 Contributors
- 2 Maintainer(s)
- 3 How to enter flash mode
- 4 Installation
- 5 Photos
- 6 Device status with the mainline-ish kernel
- 7 Links
How to enter flash mode
- Power + Volume Down buttons
$ pmbootstrap flasher flash_rootfs $ pmbootstrap flasher boot
Device status with the mainline-ish kernel
There are two panel supliers: Boe and Tianma. The panel will be selected at boot via lk2nd, based on the cmdline from the bootloader.
The Boe panel works as expected, with colours and backlight controls
The Tianma panel also works as expected
Works as expected.
Works, but card detection is broken.
Works, but preemption is broken. See msm8953 status.
Synaptics 3203B. Works as expected.
ssh and telnet work, however OTG is currently broken (needs the charger to be enabled). Low power mode does not work (broken on downstream too). Until low power mode was disabled, ssh and telnet were unusable, failing to send data properly.
Reporting is done via the qcom-fg driver. However the charger has not been ported yet, so charging does not work.
NXP PN548. It is very similar to the already mainlined PN544, it just needs 2 extra clocks. However, enabling those clocks causes a hang.
the front charging LED works with the atc-led driver (4 states, controlled via brightness: off, blink slow, blink fast, on)
Works as expected, can connect to 2.4GHz and 5GHz 802.11n networks.
Works, uses the same WiFi controller. Userspace may need additional tools installed to see the device. Also, the device doesn't power on by default, it must be manually powered on via
The modem needs special firmware from /persist that is unique to each device, along with a patched tqftpserv. Follow the instructions User:TravMurav/Dual-Sim_QMI_draft to get the modem fully "ready". Right now the modem doesn't actually work, because it requires the IPA block to be enabled. Faking the IPA block allows for a few minutes of operation before the modem fails and reboots. After the modem reboots, it will silently fail on all actions.
Modem boot process
The modem needs some data to be written to SMEM, lk2nd currently handles this. Following that, the modem is booted up by the kernel. Then the modem connects via qrtr to rmtfs and tqftpserv. It downloads the modem firmware from rmtfs. It makes TFTP requests for other files, which are handled via tqftpserv. The tqftserv files are where it derives the IMEI and other important data from. Following this, the modem application ID must be set (as it is a dual sim phone). Once that is done, ofono (with the qrtr patches) can connect and "online" the modem. At this point the modem attempts to talk to IPA (over QMI) and set it up. Unfortunately as there is no IPAv2 support on mainline. Instead, the device is partially faked. This allows the modem to complete its internal setup and operate for a few minutes before it realises it has been fooled.
Uses ADSP + speaker. Works as expected with ucm from the msm8916 alsa-ucm fork. There is however a mild hiss on headphones when no audio is playing.
Anything that isn't listed above can be assumed to not work.
See also: MSM8953 mainlining status
- GSM Arena specifications page: https://www.gsmarena.com/motorola_moto_g5_plus-8453.php
- TWRP Recovery: https://twrp.me/motorola/motorolamotog5plus.html