[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] yagyaxt1068:
About:

LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Introduction:

This is an unofficial WIP LineageOS thread for the Motorola G7 Power, codename ocean.

We support all the T-Mobile, International, and Project Fi variants, as their bootloaders are unlockable, while we can't support the Verizon and AT&T variants, as their bootloaders are permanently locked.

Changelog:

20200516 (download from Drive) (download from AFH):

Using audio configuration from @Grim truth , which is confirmed to be working

20200514 (build pulled)[/URL]:

Using @Rondeau79's audio stack, which is currently incompatible

20200511 (download):

Builds are now signed. Please wipe data if you're coming from the previous build.

The May security patch has been merged in.

Audio issues have now been eliminated.

Hotspot now works.

Issues:

VoLTE not working prior to May 6 build

[*]Hotspot issues

[*]Garbled call audio on some devices

Headset issues and no audio from local files on May 11 build

ROM:

My Google Drive folder

Android File Host

Make sure to only download the latest build.

Stock Firmware:

Official Firmware

Recovery:

Use whatever recovery you want, but I'm linking OrangeFox (courtesy of @electimon) here

Copy Partitions (To setup slot_b):

copypartitions.zip

(courtesy of @filipepferraz)

GApps:

https://opengapps.org

Pixel GApps (optimized for ocean, Open GApps can have issues)

Preparation for A/B Roms:

Download a custom recovery and the stock firmware for your variant from the links above.

Remove your Google account under Settings > Accounts then factory reset your device, as FRP is enforced.

Unlock your bootloader on Motorola's official site.

Flash your factory firmware image on slot_a.

Hold power + Volume down untill you reach bootloader (fastboot mode).

In your extracted firmware folder, open a terminal or command prompt and flash your firmware files with these commands.

NOTE: This last step installs vendor.img to slot_b as well.

ROM - Installation:

LineageOS 17.1 requires some extra steps to install properly. These instructions are brought to you by @Bernie_nix.

Boot phone into bootloader

From a PC, use one of these command to boot custom recovery (TWRP/oFox). In Linux, use the following command:

sudo fastboot boot recovery.img

In Windows or macOS, use the following:

fastboot boot recovery.img

Replace 'recovery.img' with the filename for your recovery image.

If you are coming from stock, install the copy partitions zip after your phone boots into recovery.

In TWRP/oFox go to Wipe - Dalvik/Art Cache, Data, Internal Storage and System.

In TWRP go to the Reboot menu > Switch slots OR in oFox go to the Reboot menu > Switch Slots (press the grey one)

Wipe - Dalvik/Art Cache, Data, Internal Storage and System again.

Reboot into bootloader.

Boot TWRP/oFox with the fastboot command in step 2 above.

Install LineageOS.

Reboot.

It will bootloop 2x, then take you to factory data reset screen. Select Yes. It will reboot into LineageOS. At this point, if you don't want to install anything else, you're done.

Once Lineage boots, if you want to set up GApps, Magisk or another recovery, reboot into recovery mode, install TWRP/oFox, GApps, and/or Magisk.

Reboot into the bootloader and input this.

fastboot -w

Reboot. You're done.

Updating (AKA 'dirty flash') {do

not

follow these steps when going from unsigned to signed builds}:

Download the updated ROM.

Reboot to recovery

Install ROM.zip + the recovery, if you're using something other than Lineage Recovery.

Reboot into recovery

Flash gapps + Magisk (if you want)

Reboot into system.

Notes:

Any time your internal storage aka "userdata" is from a stock install you must use 'fastboot -w' to erase it before using any ROM, otherwise it won't boot.

Contributing:

If you have any patches you want to make to the device-specific code, do it at my GitHub, which will be linked at the bottom. I've conveniently pinned all the repositories.

If you want to contribute to LineageOS itself, go to the LineageOS GitHub at https://github.com/LineageOS .

XDA:DevDB Information

LineageOS 17.1, ROM for the Moto G7 Power

Contributors

yagyaxt1068, electimon, erfanoabdi, The people who contributed to LineageOS and the device sources

Source Code: https://github.com/yagyaxt1068

ROM OS Version: Android 10

ROM Kernel: Linux 4.x

Based On: LineageOS

Version Information

Status: No Longer Updated

Current Beta Version: 20200516

Beta Release Date: 2020-05-16

Created 2020-05-09

Last Updated 2020-07-05