yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] matiusuario:
In order to change ROM between Pie or later versions it is not necessary to install stock first.

If you can't use fingerprint then you do need to flash stock first (twrp flashable works fine).

If you switch from Nougat or Oreo custom ROM to Pie or later then you need to install the proper stock ROM before.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
Thanks for clarifying that for me. My fingerprint sensor works with LOS 17.1, so looks like I don't need stock. Reading the instructions again, it seems that they are for a first install, rather than for an update from another custom ROM.

So is the formatting system and doing a factory reset also necessary? And doesn't a factory reset automatically format system anayway?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Both are neccesary and factory reset actually just deletes userdata
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
This is a bit off-topic, but before updating to LOS 18.1, I am looking at my non-Google backup options. Seedvault backup to a local Nextcloud instance would be one option, but it seems that you have to restore the entire backup and cannot restore individual apps. Also, in my case the backup process keeps failing to upload some files, so it is a little difficult to see which apps have actually been successfully backed up. Moreover, there does not seem to be an option within Seedvault to initiate a restore , which would be nice so that I could test the whole backup-restore cycle. I assume the restore is only supposed to happen when the phone is set up after being wiped.

All in all it seems like just using adb backup is a simpler and more granular approach. Or am I missing something?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] fantomasBR:
on new update GPS doesn't working? Anybody else?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Jacekalex:
Why do all versions of LineageOS-18.1 for cedric have the default Privacy-Mac-Radnomization disabled?

I tested

lineage-18.1-20211014-nightly-cedric-signed.zip

lineage-18.1-20211016-microG-cedric.zip

I have covered the details in this thread:

https://xdaforums.com/t/mac-addres-privacy-settings-in-lineage-18-1.4347891/

Cheers
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Prima, the WLAN driver, does not support it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
You are correct in assuming that restoration is available only after wiping the device. For regular backups Seedvault is enough IMO, but you could also look at something like Migrate.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
Today, I’ve decided to install LineageOS 18.1 on my Moto G5 and nothing has worked so far.

At first, I (as a Ubuntu user) connected my device to my laptop, booted it into recovery mode and fastbooted the latest TWRP version:

sudo fastboot boot twrp-3.5.2_9-0-cedric.img

Then, I wiped everything from the phone by conducting an advanced wipe. Installing the latest versions of LineageOS, however (I did not install any Google apps or something like that), always ended up in infinite boot loops. These are the versions that I have tried to install:

lineage-18.1-20211104-nightly-cedric-signed.zip

lineage-18.1-20211028-nightly-cedric-signed.zip

lineage-18.1-20211021-nightly-cedric-signed.zip

lineage-18.1-20211014-nightly-cedric-signed.zip

What can I do in order to make it work?!

Edit: I cannot even install a custom recovery using fastboot.

First of all: Why do I need a custom recovery and why do I get the following error messages when I am trying to follow the instructions on this page?

user@computername:$ adb start-server

* daemon not running; starting now at tcp:SPECIFIC_PORT_NUMBER

* daemon started successfully

user@computername:$ fastboot devices

SPECIFIC_DEVICE_NUMBER fastboot

user@computername:$ adb reboot bootloader

error: no devices/emulators found
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] SirRGB:
Format data, so it removes encryption
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
These are the options I always selected in the “Advanced Wipe” menu:

Dalvik / ART Cache

System

Data

Internal Storage

Cache

Vendor
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] SirRGB:
How2format data:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
Even doing this does not help and the infinite bootloop is still a problem. I don’t know what to do anymore.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] k3lcior:
Just wait, first boot takes like 5-10 minutes it might look like bootloop.

@JarlPenguin Do you think there is any point in working on Android 12? Is it more lightweight than Android 11?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
I already let the first boot take half an hour and nothing happened. Restarting the phone and doing the same thing all over again did not help as well.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] k3lcior:
Are you sure you have been on latest official OTA before flashing LOS?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
I am sorry for asking but what do you mean when talking about OTA? I was not able to find out what this abbreviation actually means even by browsing this website.

All I can say is that I am using this TWRP source and this LineageOS 18.1 source.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] k3lcior:
I'm asking if you have been on latest stock oreo firmware for Moto G5 prior to flashing LOS
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
No. Ok, then this might be the reason why it does not work. Where can I get the proper Oreo stock firmware for the Moto G5? There are several threads here that offer it and some contain dead download links.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] k3lcior:
lolinet mirrors - firmware, software, iso etc.

lolinet mirrors - powered by h5ai

mirrors.lolinet.com
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
Well, there are a lot of different options to choose from. I opened the AMXBR folder and downloaded the XT1672_CEDRIC_AMXBR_8.1.0_OPP28.85-19-4-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip file.

Trying to install it with twrp-3.5.2_9-0-cedrig.img yielded the following result:

Updating partition details...

...done

Full SELinux support is present.

MTP Enabled

Installing zip file '/external_sd/XT1672_CEDRIC_AMXBR_8.1.0_OPP28.85-19-4-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip'

Unmounting System...

Invalid zip file format!

Error installing zip file '/external_sd/XT1672_CEDRIC_AMXBR_8.1.0_OPP28.85-19-4-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip'

Updating partition details...

...done
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] k3lcior:
@Nemgathos I was never flashing stock firmware but im pretty sure you have to unpack it and flash the images with fastboot (ignore relocking bootloader part)

https://xdaforums.com/t/official-or...w-to-relock-bl-with-it.3849244/#post-77771106
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
The unzipped XT1672_CEDRIC_AMXBR_8.1.0_OPP28.85-19-4-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip file contains the following:

File Name​

File Size​

adspso.bin

16,777,216 B​

boot.img

16,777,216 B​

bootloader.img

5,303,808 B​

CEDRIC_OPP28.85-19-4-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.info.txt

906 B​

flashfile.xml

3,067 B​

fsg.mbn

3,026,944 B​

gpt.bin

46,592 B​

logo.bin

2,295,961 B​

NON-HLOS.bin

67,950,852 B​

oem.img

152,474,368 B​

recovery.img

16,879,616 B​

regulatory_info_default.png

0 B​

servicefile.xml

2,759 B​

slcf_rev_d_default_v1.0.nvm

0 B​

system.img_sparsechunk.0

264,544,968 B​

system.img_sparsechunk.1

262,727,728 B​

system.img_sparsechunk.2

252,426,816 B​

system.img_sparsechunk.3

268,432,432 B​

system.img_sparsechunk.4

267,593,804 B​

system.img_sparsechunk.5

268,432,572 B​

system.img_sparsechunk.6

268,435,012 B​

system.img_sparsechunk.7

262,980,660 B​

system.img_sparsechunk.8

243,619,048 B​

There are four img files to choose from. In what particular order do I have to flash them?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] k3lcior:
It's explained in Guide i linked
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
The Stock Android 8 Firmware. If your Firmware is from Android 7 this ROM doesn't boot.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
You could also just flash this TWRP zip: https://androidfilehost.com/?fid=6006931924117887270
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
I don’t know if the Stock Android Firmware of my phone is Android 8 or Android 7.

Do you mean that I could just flash this 1.5 GB TWRP zip file and NOT follow this guide that @k3lcior linked? The guide sounds pretty serious when it is talking about the dangers of hardbricking your device. Isn’t hardbricking one’s device also possible when flashing cedric-twrp-OPPS28.85-19-4-2.zip?

What do I have to do in order to not hardbrick my phone? Just flash cedric-twrp-OPPS28.85-19-4-2.zip with twrp-3.5.2_9-0-cedric.img and then the latest LineageOS 18.1 version after that?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Follow the below

Download the latest retail firmware from

lolinet mirrors - firmware, software, iso etc.

lolinet mirrors - powered by h5ai

mirrors.lolinet.com

Flash in fastboot by doing the following

fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot oem fb_mode_clear
fastboot reboot

Once phone has booted and confirmed working Flash the latest twrp by following the instructions on the thread

https://xdaforums.com/t/official-5th-april-2021-twrp-3-5-2_9-0-moto-g5-cedric-32-64bit-roms.3699737/

How to flash rom

Boot to twrp

Go to wipe and format data (Not advanced wipe!) Option on the right of advanced wipe where you have to type yes to confirm

Reboot to recovery

Wipe - advanced wipe - system data cache

Install

Select the following

rom zip

Gapps (optional)

Magisk (optional)

Reboot

Note to get ota (over the air) updates for this rom you need to flash the lineageos recovery instead of twrp
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
OTA = Over-the-air update. You need to be on the latest version of the stock ROM before flashing LineageOS 18.1. And TWRP is not a supported recovery.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] k3lcior:
In guide he is mentioning hardbricking if you try downgrading bootloader, you are not donwgrading.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
This has worked perfectly well! Thank you so much!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m32:
try this https://www.mediafire.com/file/u377wkktmlf6f9c/Firmware_OPP28.85-19-4-2_RETAIL_Mini.zip/file

I uploaded to my G5 via fastboot and it works fine
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m32:
I miss a few files in the source compilation process, they are also missing in the images uploaded to the G5:

system/lib/libqti-perfd-client_system.so

system/lib/libqti-util_system.so

system/lib/libqti_performance.so

system/lib64/libqti-perfd-client_system.so

system/lib64/libqti-util_system.so

system/lib64/libqti_performance.so

Where can I download them?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
How did you extract the proprietary files?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m32:
from lineage image (missing) and from CEDRIC_RETAIL_8.1.0_OPP28.85-19-4-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip (only 32 bit available)

But they should be downloaded from ... eg. # Perf - from X00RD - QKQ1.191002.002-17.07.2003.405-20200330
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
I assume you extracted the files using extract-files.sh?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m32:
yes
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
You can download the full complete vendor blobs from "TheMuppets" on GitHub
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
I have rooted my phone running 17.1 and installed Migrate-NG and also updated TWRP to 3.5.2-9-0. However, I don't quite see how Migrate is supposed to work. As a test I have created a backup of an app. As I understand it, I don't need the Helper app and so would then delete the app, boot to recovery and just use TWRP to flash the backup which Migrate created. Is that correct?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
Once you have created a backup of an app you can use the Migrate Flasher app to "flash" it. Then you can use Migrate Helper to restore the app. I do not recommend using TWRP, and any issues that arise while using it will not be looked into.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
You can either use TheMuppets repo, or you should extract the files from a LineageOS zip instead of using ADB.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
OK, understood - I'll use LineageOS recovery. Do I need a 17.1 recovery image or will 18.1 also work? If I need a 17.1 recovery, where can I find it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
Ideally you should use a 17.1 image - as for where you can find one, I don't know, since it's been some time since they've been deleted from LineageOS' website.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
OK, thanks for the info. It sounds like I should just bite the bullet, forget about backup/restore and just do a clean install of 18.1, recovery and all. Everything else seems like a disproportionately large amount of work. Probably just exporting settings from a couple of apps and then importing them after the install will be enough. Contacts and photos are already synced to a local Nextcloud instance.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] abcxdaabc:
https://archive.org/download/lineageos20210217/recovery/cedric/20210211/lineage-17.1-20210211-recovery-cedric.img

Not the latest that exist, but the latest archived.

And zip:

https://archive.org/download/lineageos20210217/roms/cedric/20210211/lineage-17.1-20210211-nightly-cedric-signed.zip
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
If you enable "recovery update" in updater, it will install the correct recovery image for the build automatically, as it is stored inside /system
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
That is only if you don't install anything that modifies the boot image (Magisk, etc.)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Works for me with Magisk.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
It depends on whether you boot the ROM before flashing Magisk. The recovery image itself isn't stored anywhere, and instead the diff with the boot image is stored in /vendor, and the system flashes the image created from applying the patch to the boot image.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] anabis0:
Hello, I had the same problem as you : tried to install LineageOS but all I got was a bootloop.

After successfully re-installing the stock ROM with TheFixItMan instructions, I tried again several thing to install LineageOS. What worked for me was to disable dm-verity as indicated in this thread : https://xdaforums.com/t/official-5th-april-2021-twrp-3-5-2_9-0-moto-g5-cedric-32-64bit-roms.3699737/

The thing was that the dm-verity archive wasn't working with my cedric phone. It said that "XZ ramdisk compression is currently unsupported". To fix it :

download https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-6.1.zip

unzip it

in the boot-patcher.sh replace

xz) compress="$bin/xz --check=crc32 --lzma2=dict=16MiB -9";
abort "XZ ramdisk compression is currently unsupported" ;;

with

xz) compress="/sbin/xz --check=crc32 --lzma2=dict=16MiB -9";;
#abort "XZ ramdisk compression is currently unsupported" ;;

re-zip the files and use that archive to install alongside the lineageos rom.

Worked like a charm for me
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] VladyWan:
With the recent upgrade start to loose performance and another issues that affect the experience
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] odoll:
Folks, migrated [1] my mother in law's G5 to this version. It's usually running very smoothly, but now and then we are not able to wake it up again (screen stays black). We have to take out the battery and boot it up again. Also long press on power button with no reaction.

SB else having the same issue?

[1] Bootloader unlocked, TWRP, LOS, OGapps, Magisk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] der.lange:
i ´ve got problems with the recent upgrade: the quality of the standard builtin camera is not acceptable (bad resolution and not sharp enough). So I installed "open camera" and enabled camera2 api. The results are amazing good! Can someone confirm this issue?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] legogo29:
Hi, I am trying to follow this, but the link to

lolinet mirrors - firmware, software, iso etc.

lolinet mirrors - powered by h5ai

mirrors.lolinet.com

is broken.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
It's been deleted as they only keep images for 5 years

They are now here

lolinet mirrors - firmware, software, iso etc.

lolinet mirrors - powered by h5ai

mirrors-obs-2.lolinet.com
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ei146:
For what it's worth: Yesterday I did a dirty flash of this version 18.1-20211230 over the last official 17.1. So far everything works great without problems. The dirty flash saved me from having to reinstall everything.

What I did:

-Backup of boot, vendor, system and data using TWRP

-Copy of media files to PC (just in case)

-Wipe of cache and dalvik

-Using TWRP installation of lineage 18.1, magisk and gapps

-Reboot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] odoll:
Out of curiosity: In that order and just in one go?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ei146:
Yes, in that order and all in one go.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Hi, i've been using this rom for several months without issues, but with the last updates the camcorder with front camera is crashing. This only happens when trying to use video recording with frontal camera. In photo mode it works just fine. Back camera works fine on both modes. My model is xt1670
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
Just wanted to report that I eventually got round to doing this after Xmas and everything went very smoothly. I have been enjoying LOS 18.1 now for several weeks. The phone occasionally seems very slightly less responsive than with 17.1, but that's maybe to be expected and doesn't really bother me. Thanks for all the work that has gone into official support for cedric!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
Is this still happening on the latest build?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] facua92:
Yes, still happening on 20 of Jan build.. When you try to put the front camera in video rec mode it just crashes and closes
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] clowesc:
Hi, 18.1 is working great but high ram games are crashing. Is the bottleneck of the 2 gigs of ram insurmountable? I saw the android 11 is using over 700mb of those 2 gigs

aanything to be done?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 4Rom:
the installation worked fine, and very pleased i have a newer android on this, for me, perfect phone..

there are some little things.

even though i select that the powerbutton must NOT activate the camera app, it just does.

but that, i can life with that.

annoying is the wifi connection.

when i still have 50 to 80 % wifi connection, some apps give me a "no connection to internet" and i have to stop and restart wifi again.

exaple a news app, you see it takes time to load the photos that belong to the topics.

a banking app can't load the data.

maybe someone would know what to do?

now using: lineage_cedric-userdebug 11 RQ3A.21 1001.001 10038822
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
After installing 18.1 when I have rebooted my phone, several apps, but always the same ones, have disappeared from the dock and home screen. That was a bit anoying, but not a major problem. Now, after updating to the 20220127 nightly, not only have the apps vanished from the dock and home screen but also from the draw and thus seem to have been uninstalled. On top of that, many more apps have been affected. I can't see a pattern. Most of the apps from the Play Store seem to be still there and most from F-Droid have gone. However, at least two apps from F-Droid are still there. My SD card is configured as internal storage. Anyone seen this before and/or knows what's going on?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
I just noticed that the SD card was shown as being corrupted. I have rebooted and the missing apps are back in the draw. However, problem with the apps missing from the dock and home screen persists.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Nemgathos:
Some people I called from my Moto G5 phone running LineageOS 18.1 complained about the microphone volume being very low. Did anyone of you experience similar issues? What can I do about this? Do I have to edit some XML files in the /system folder? How can I access this folder in order to edit these files?

Strangely enough, recording my voice when creating voice messages works perfectly fine. The volume then isn’t too low. It is just right.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
Would you mind trying a factory reset?

You're going to most likely need to replace your SD card.

At the moment we have no solution for this problem.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
Maybe. However, just certain apps reproducibly disappearing from the dock after a reboot seems like a very specific (and, in a way, harmless) problem to be being caused by a flaky SD card. Certainly with PC and servers, hardware issues with storage media and problems with file systems tend, in my experience, to be a bit more catastrophic.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JarlPenguin:
Next build will have improved boot speed.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] multimill:
Hello,

I tried updating with the OTA update. But the installation fails with Error that I need an Android 8.1 based firmware. Is there any guide + download where I can just upgrade my firmware instead of installing the whole stock rom?

Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] h1h0silver:
same for me... OTA update to 20220210 fails and complains about android 8.1. Update failed and I am back to Feb 3, 2022 version. Using TWRP 3.5.2_9-0. Update
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] AlaskaPardus:
+1

Same here for me...Was on Official LOS Recovery, same Android 8.1 message. Then switched to TWRP 3.5.2_9-0 the same issue ...

I think its a ROM issue....
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] elho21:
Same here. It's definitely related to the ROM's last version. See Changelog for lineage-18.1-20220210-nightly-cedric-signed.zip:

Line 6: cedric: Assert on Oreo firmware