[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] BobbyOOO:
Install procedure that worked for me

If you have a Moto G7 Power (code name Ocean) and your having bootloops and glitches, then you might be missing one of the steeps bellow or at least that was my case. I came from a at&t note 3 and I was only familiar with flashing with Odin and Safestrap / Flashfire and rooting with Towelroot This hole A/B partition seamless update system was all new to me and I had never used fastboot or twrp, If I can successfully flash ROMs to this phone then anybody can. Once I completely followed the bellow steeps in order, I was then able to flash all of the ROM'S listed here on XDA for the Moto G7 power ocean ( My phone is a retail version, I don't think that matters) and they all worked fine for me. I also had to read all the XDA forums about this phone and I had to join Telegram, which had a wealth of information regarding this Motorola G7 power (ocean). I will also copy and paste the fastboot commands that I used to get me back to stock OEM software "see bellow". Remember do not skip anything, this system is very temperamental and you will boot loop if you try to shortcut it. Take your time and have fun, good luck!!

1. Start off with a fresh OEM stock install, once the stock Android 9 is at the setup screen, fastboot into orange fox or twrp. Note: I only fastboot into recovery because when I have installed recovery on phone, the touch screen constantly freezes up on me and becomes very frustrating, it must be a bug because it seems like it happens to many people.

2. Flash copy partitions

3. After copy partitions has been installed Wipe everything except SD card and USB

4. Now install the ROM and then wipe—Dalvik Cache

5. Note: THIS STEEP IS VERY IMPORTANT OR YOU WILL BOOTLOOP...In recovery click on boot system, This is the important part ( DURING FIRST BOOT A SCREEN WILL COME UP "see attached screenshot at bottom of this post" SAYING TRY AGAIN OR DO A FACTORY DATA RESET, YOU MUST CLICK DO A FACTORY DATA RESET AND THEN CLICK YES, this was the part that I was not clear on and every time I came to this step and said try again I ended up in a bootloop. The ROM will boot in about 5 min and you should be good to go. Proceed to steep 6 if you want play store and root.

6. Fastboot back into your recovery of your choice. Flash open-gapps and magisk. Note: make sure you flash the correct gapps for what ever ROM your using ( Android 9 or 10 ) if you're flashing the latest HAVOC ROM you'll need to flash open gapps for Android 10.

7. wipe—Dalvik Cache and reboot system and you should be good to go. Good Luck.

Commands for flashing to stock:

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash modem_a NON-HLOS.bin

fastboot flash fsg_a fsg.mbn

fastboot erase modemst1

fastboot erase modemst2

fastboot flash dsp_a adspso.bin

fastboot flash logo_a logo.bin

fastboot flash boot_a boot.img

fastboot flash dtbo_a dtbo.img

fastboot flash system_a system.img_sparsechunk.0

fastboot flash system_a system.img_sparsechunk.1

fastboot flash system_a system.img_sparsechunk.2

fastboot flash system_a system.img_sparsechunk.3

fastboot flash system_a system.img_sparsechunk.4

fastboot flash system_a system.img_sparsechunk.5

fastboot flash system_a system.img_sparsechunk.6

fastboot flash system_a system.img_sparsechunk.7

fastboot flash system_a system.img_sparsechunk.8

fastboot flash system_a system.img_sparsechunk.9

fastboot flash system_b system_b.img_sparsechunk.0

fastboot flash system_b system_b.img_sparsechunk.1

fastboot flash system_b system_b.img_sparsechunk.2

fastboot flash vendor_a vendor.img_sparsechunk.0

fastboot flash vendor_a vendor.img_sparsechunk.1

fastboot flash oem_a oem.img

fastboot flash oem_b oem_other.img

fastboot erase userdata

fastboot erase DDR

fastboot oem fb_mode_clear

fastboot set_active a

fastboot reboot-bootloader

sleep 5

fastboot getvar max-sparse-size

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot reboot-bootloader

sleep 5

fastboot flash modem_a NON-HLOS.bin

fastboot flash fsg_a fsg.mbn

fastboot flash dsp_a adspso.bin

fastboot flash logo_a logo.bin

fastboot flash boot_a boot.img

fastboot flash dtbo_a dtbo.img

fastboot flash vendor_a vendor.img_sparsechunk.0

fastboot flash vendor_a vendor.img_sparsechunk.1

fastboot flash vendor_a vendor.img_sparsechunk.2

fastboot flash vendor_b vendor.img_sparsechunk.0

fastboot flash vendor_b vendor.img_sparsechunk.1

fastboot flash vendor_b vendor.img_sparsechunk.2

fastboot flash oem_a oem.img

fastboot flash oem_b oem.img

fastboot oem fb_mode_clear

fastboot reboot-bootloader