Jump to content

Motorola Moto G7 Power (motorola-ocean)

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 Power
File:Ocean-phosh-settings.jpg
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
The version the device was shipped with.
9.0
Extended version
The most recent supported version from the manufacturer.
10.0
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available here.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
4345.3
Generic port Generic MSM8953 (qcom-msm8953)
Features
Flashing
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
Battery
Charging and battery level reporting works
Broken
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Works
Camera
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Untested
Modem
Calls
Partial
SMS
Partial
Mobile data
Broken
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Broken


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