[Moto G7 Questions & Answers] Bernbacher:
I have finally tried to install Lineage OS (Micro G Version) on the G7. When rebooting, I now get a message under the Lineage logo that says:

"Can't load Android system. You continue to get this message, a factory data reset and erase a device." Then I have the options to "Try again" or to do a "Factory data reset."

The bootloader is unlocked, and I followed the instructions on the Lineage OS website (cannot post the link) and made sure to sideload copy-partitions.zip. I verified all files I put on the phone by checking against their md5s etc.

Here is what I did on the terminal:

(In the code below I had to replace the prompt by "COMMAND LINE: " Otherwise, the system would not let me post the message.)

COMMAND LINE: ~/Downloads/Moto_G7$ adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
0xxxxxxxx1	device

COMMAND LINE: ~/Downloads/Moto_G7$ adb devices
List of devices attached
0xxxxxxxx1	device

COMMAND LINE: ~/Downloads/Moto_G7$ adb reboot bootloader
COMMAND LINE: ~/Downloads/Moto_G7$ fastboot devices
0xxxxxxxx1	fastboot

COMMAND LINE: ~/Downloads/Moto_G7$ fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-river_retail-7dec2bb-190401
(bootloader) product: river
(bootloader) board: river
(bootloader) secure: yes
(bootloader) hwrev: PVT
(bootloader) radio: 4
(bootloader) storage-type: emmc
(bootloader) emmc: 64GB MICRON S0J9N8 RV=08 PV=10 FV=0000000000000004
(bootloader) ram: 4GB MICRON LP3 DIE=8Gb M5=FF M6=01 M7=00 M8=5F
(bootloader) cpu: SDM632
(bootloader) serialno: 0xxxxxxxx1
(bootloader) cid: 0x0032
(bootloader) channelid: 0x19
(bootloader) uid: Cxxxxxxxxxxxxxxxxxxxxxxxxxx0
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Reboot mode set to fastboot
(bootloader) imei: 3xxxxxxxxxxxxx4
(bootloader) meid:
(bootloader) date: 04-11-2019
(bootloader) sku: XT1962-4
(bootloader) carrier_sku: XT1962-4
(bootloader) battid: Sxxxxxxxx8
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Wed Mar 4 13:45: 2 UTC 2020"
(bootloader) ro.build.fingerprint[0]: motorola/river/river:9/PPOS29.80-6
(bootloader) ro.build.fingerprint[1]: 1-2/b7f44:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.29.201.2.river.retai
(bootloader) ro.build.version.full[1]: l.en.US
(bootloader) ro.build.version.qcom: LA.UM.7.6.2.r1-03800-89xx.0
(bootloader) version-baseband: M632_11.47.01.85R RIVER_LATAMDSDS_CUST
(bootloader) kernel.version[0]: Linux version 4.9.112-perf+ (hudsoncm@il
(bootloader) kernel.version[1]: clbld30) (gcc version 4.9.x 20150123 (pr
(bootloader) kernel.version[2]: erelease) (GCC) ) #1 SMP PREEMPT Mon Apr
(bootloader) kernel.version[3]: 1 21:43:55 CDT 2019
(bootloader) sbl1.git: MBM-2.1-river_retail-535b1da-190401
(bootloader) rpm.git: MBM-2.1-river_retail-adee4d9-190401
(bootloader) tz.git: MBM-2.1-river_retail-32db80b-dirty-190401
(bootloader) devcfg.git: MBM-2.1-river_retail-32db80b-dirty-190401
(bootloader) keymaster.git: MBM-2.1-river_retail-32db80b-dirty-190401
(bootloader) cmnlib.git: MBM-2.1-river_retail-32db80b-dirty-190401
(bootloader) cmnlib64.git: MBM-2.1-river_retail-32db80b-dirty-190401
(bootloader) prov.git: MBM-2.1-river_retail-32db80b-dirty-190401
(bootloader) aboot.git: MBM-2.1-river_retail-7dec2bb-190401
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retbr
(bootloader) current-slot: _a
(bootloader) running-boot-lun: 0
(bootloader) running-slot: _a
(bootloader) slot-suffixes: _a,_b
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: Yes
(bootloader) slot-successful:_b: Yes
(bootloader) slot-bootable:_a: Yes
(bootloader) slot-bootable:_b: Yes
(bootloader) slot-retry-count:_a: 6
(bootloader) slot-retry-count:_b: 6
all: listed above
finished. total time: 0.013s

COMMAND LINE: ~/Downloads/Moto_G7$ fastboot flash boot twrp-3.3.1-2-river.img
target reported max download size of 536870912 bytes
sending 'boot_a' (27096 KB)...
OKAY [ 0.821s]
writing 'boot_a'...
(bootloader) Image not signed or corrupt
OKAY [ 0.155s]
finished. total time: 0.976s
COMMAND LINE: ~/Downloads/Moto_G7$ fastboot boot twrp-3.3.1-2-river.img
downloading 'boot.img'...
OKAY [ 0.766s]
booting...
OKAY [ 0.782s]
finished. total time: 1.548s
COMMAND LINE: :~/Downloads/Moto_G7$ adb sideload copy-partitions.zip
Total xfer: 1.00x
COMMAND LINE: ~/Downloads/Moto_G7$ adb sideload lineage-16.0-20200220-microG-river.zip
Total xfer: 1.00x
COMMAND LINE: ~/Downloads/Moto_G7$ adb reboot

According to the Lineage OS website, I had to fastboot flash boot twrp-3.3.1-2-river.img, whereas most of the posts on the forum suggest to run the twrp image from the computer, i.e. to fastboot boot twrp-3.3.1-2-river.img. But I do not know if this has anything to do with my problem.

Of course, any help is greatly appreciated.

Best regards,

Bernbacher