[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] cognid:
I could not get this ROM started. Here is what I did:

Device: cedric

sku: XT1676

The devide was happily running LineageOS 14.1 (unofficial) for years.

1.- Used Motorola Rescue tool to upgrade from there to latest stock firmware on Android 8.1, NPP25.137-93

2.- Then used the procedure in this thread to install LineageOS 18.1 exactly as described: First flashed recovery witth Fastboot, then from recovery formatted data, cache and system and sideloaded latest ROM for LineageOS 18.1. Both recovery and ROM match and are dated 17.03.2022. The phone indicated sideload process terminated successfully, so restarted for first boot.

And here is where all the problems start. System never finishes booting. It permanently displays the LOS logo with the bubble sliding right to left. After about 45 min it times out and goes back to recovery, which alerts of a possible data corruption and offers to format data again.

No matter how many times I try that, It is an endless loop.

I re-flashed stock firmware - this time manually from fastboot, this is the output of fastboot getvar all in case it helps:

(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8937-B8.31
(bootloader) product: cedric
(bootloader) board: cedric
(bootloader) secure: yes
(bootloader) hwrev: P5
(bootloader) radio: 4
(bootloader) storage-type: emmc
(bootloader) emmc: 16GB SAMSUNG RE1BMB RV=08 PV=0D FV=000000000000000D
(bootloader) ram: 3GB SAMSUNG LP3 DIE=6Gb M5=01 M6=05 M7=00 M8=7B
(bootloader) cpu: MSM8937
(bootloader) serialno: ZY322XXXXX
(bootloader) cid: 0x0032
(bootloader) channelid: 0x40
(bootloader) uid: C70xxxxx00000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 535822336
(bootloader) reason: Reboot mode set to fastboot
(bootloader) imei: 3564760839xxxxx
(bootloader) meid:
(bootloader) date: 11-15-2017
(bootloader) sku: XT1676
(bootloader) carrier_sku:
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Mon Mar 4 23:34:54 UTC 2019"
(bootloader) ro.build.fingerprint[0]: motorola/cedric/cedric:8.1.0/OPP28
(bootloader) ro.build.fingerprint[1]: .85-19-4-2/3447de:user/release-key
(bootloader) ro.build.fingerprint[2]: s
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.301.2.cedric.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-08600-89xx.0
(bootloader) version-baseband: M8937_46.42.02.75u CEDRIC_EMEADSDS_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-gea366bb-0001
(bootloader) kernel.version[1]: 6-g6e15bdb (hudsoncm@ilclbld31) (gcc ver
(bootloader) kernel.version[2]: sion 4.8 (GCC) ) #1 SMP PREEMPT Mon Mar
(bootloader) kernel.version[3]: 4 18:13:35 CST 2019
(bootloader) sbl1.git: git=MBM-NG-VB8.31-0-g77d3670
(bootloader) rpm.git: git=bd76357-dirty
(bootloader) tz.git: git=3f87a46
(bootloader) devcfg.git: git=3f87a46
(bootloader) keymaster.git: git=3f87a46
(bootloader) cmnlib.git: git=3f87a46
(bootloader) cmnlib64.git: git=3f87a46
(bootloader) prov.git: git=3f87a46
(bootloader) aboot.git: git=MBM-NG-VB8.31-0-g0b9dae9
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: reteu
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown

Once back to stock ROM, IMEI for both slots are 0, despite what bootloader getvar says.

Did try everything I could think of, even some procedure to relock the bootloader and it failed or did not improve the status. In phone settings, Build number is OPP28.85-19-4-2 as I read it is not possible to downgrade from this one.

Any educated suggestion will be more than appreciated. Thanks in advance.