Motorola Moto G7 Power (motorola-ocean)

From postmarketOS Wiki
Motorola Moto G7 Power
Manufacturer Motorola
Name Moto G7 Power
Codename motorola-ocean
Released 2019
Type handset
Hardware
Chipset Qualcomm Snapdragon 632 (SDM632)
CPU

4x Kryo 250 Gold @ 1.8GHz

4x Kryo 250 Silver @ 1.8GHz
GPU Adreno 506
Display 1520x720 IPS
Storage 32/64GB
Memory 3/4GB
Architecture aarch64
Software
Original software Android
Original version 9.0
Extended version 10.0
postmarketOS
Category testing
Pre-built images no
Mainline yes
Unixbench Whet/Dhry score 4345.3
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Broken
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
Broken
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Modem
Calls
Partial
SMS
Partial
Mobile data
Broken
Miscellaneous
FDE
USB OTG
HDMI/DP
Sensors
Accelerometer
Broken
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics


Contributors

  • gavodavo aka Ultracoolguy

Maintainer(s)

  • gavodavo aka Ultracoolguy

Users owning this device


How to enter flash mode

1. The easiest way is to turn off your phone and press the Power button and the Volume Down button at the same time.

Installation

Note, this is an A/B device. Errors that arise during flashing may show up as irreproduceable boot or boot-looping sequences, but are hopefully not as dangerous as on older devices. Assure that you have a suitable backup of any vital data on the device.

1. Install lk2nd. You'll need to clone the master-sdm632 branch at msm8953-mainline/lk2nd. Follow the instructions for building, and flash build-msm8953-secondary/lk2nd.img like you would with any boot image. It may be useful to make note of the boot slot. Also, the unsatisfying bootloader warning message is apparently to be expected,

$ fastboot flash boot build-msm8953-secondary/lk2nd.img
 (bootloader) is-logical:boot_a: not found
 (bootloader) is-logical:boot_a: not found
 Sending 'boot_a' (258 KB)                          OKAY [  0.006s]
 Writing 'boot_a'                                   (bootloader) Image not signed or corrupt
 OKAY [  0.058s]


2. Boot into lk2nd (either via fastboot reboot or by powering off then staring). While the "Bootloader is unlocked" warning appears, press Volume Down. A Tux logo and a screen should appear. Note that the screen will not explicitly display lk2nd, but will rather show product name msm8953-secondary. Also, at present the top center camera notch may obscure a portion of the selected menu item text.

3. Do the installation steps you would find at Installation guide. Flash all the necessary stuff (make sure to install the kernel inside lk2nd!) . Note that diverging from the standard flashing steps, say, by booting the kernel rather than explicitly flashing it, will probably cause (recoverable) boot-looping behavior (and lk2nd itself may disappear) after some number of subsequent boot attempts .

4. Select "START" in lk2nd, and let your device do it's thing. Hopefully a SSH connection will get open eventually :)

Modem

While with a little effort you can make modem start and work, see MSM8953#Modem. Please add any device-specific instructions here. ModemManager recently accepted a MR for supporting QRTR modems(that's us!), but it seems to work only on SDM845 phones.

Note If you still want modem for calls and messages ask "ultra (she/her)" on Matrix in the mean time!

Hardware / sensors detail

For reference, sensor information from sensors sandbox (f-droid) on SKU xt1955-5; note: approximately 30 software-based / derived sensors omitted.

sensor details (sensorssandbox)

name vendor version type
BMI160 Accelerometer Bosch 2062701 1
MMC3630KJ Magnetometer MEMSIC 1 2
BMI160 Gyroscope Bosch 2062701 4
TMD2725 PROX AMS TAOS 2 8
TMD2725 ALS AMS TAOS 1 5

See also

pmaports!1470 Initial merge request