yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] k0tz:
Just an update in case somebody encounters similar problems.

Like NZedPred wrote in the thread that ChriMo pointed to, Android 7 and 8 handle things different.

So, flashing stock-Oreo and 'reflashing' crDroid (accidently flashed 7.8 first/ then 7.10 dirty) did the trick. Fingerprint-sensor is back and navigation is working flawless.

I've flashed https://xdaforums.com/t/guide-moto-g5-plus-flashing-stock-firmware-rooting-2021.4205293/ via fastboot to avoid leaving any 'outdated' files behind. Coz it's unlikely i'll ever switch back to android 7 (if oreo-bootloader is backward compatible at all?) it was no hindrance for me (apart from that, using fastboot, you could also spare gpt.bin and bootloader.img).

The aroma-installer https://xdaforums.com/t/oreo-stock-rom-twrp-flashable-stock-builds.3830482/ omits the partition-table and bootloader 'naturally'. Either way seems possible (Like ChriMo said, the aroma-installer worked for him).

Thanx for the helpful hints!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Shirax_dxb:
Since the power button of my moto g5 plus is almost broken i just wanted to know does this rom have " double tap to wake" feature?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] k0tz:
Yes, it's settable in the display-options.

Alternatively you could use the fingerprint-nav to turn display on.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
7.12 update:

https://sourceforge.net/projects/crdroid/files/potter/7.x/crDroidAndroid-11.0-20211108-potter-v7.12.zip/download

Changelog:

- Initial crDroid 7.12 code base

- Updated to November 2021 security patches
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] jockovonred:
Can this be added to crdroid for Lake (xt1965-t)?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] giociampa:
Having an issue when setting up from a clean flash (so not a leftover from anything before). If I skip the app/data copy it moves to the account setup, so it's not stopping me from using the phone as such (It's a testbed for getting the new Magisk working before transferring the knowledge to my daily driver)

The crash log link is https://paste.crdroid.net/ipVilB if that helps at all (I've attached it here also)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
Flash different gapps
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] giociampa:
Exactly what I'm doing (the failure was with NikGapps, now trying OpenGapps)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] silverstone777:
I am stuck on boot loop / black screen after clean flash (wipe system/data/cache/dalvik cache) and installing either crDroid 7.12 (20211108) or Lineage OS 18.1 (20210713). Using TWRP 3.3.1-0 and Magisk v21.0. Opengapps wasn't installed with crDroid but with Lineage OS 18.1 (20210713) I used latest opengapps 20211113 nano/micro.

Both crDroid and LineageOS seem to show the same symptoms. Decryption at boot seems to take forever (~ 60 seconds) compared to previous LineageOS 17.1 (20200323).

Any idea what is going on ? Decryption in TWRP takes about 2 seconds.

EDIT 1

: This is Potter / Motorola Moto 5G Plus *XT1685* (EU-Version, 3 GB RAM, 32 GB storage, Dual-SIM) if it matters

EDIT 2

: ArrowOS could boot (but I couldn't restore from wifi, wouldn't connect to Google Services even though wifi was clearly working).
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Lightning407:
Hi silverstone777! I flashed the same crDroid build a few days ago. Some issues that caused a bootloop in my case:

- I did not remove decryption properly. That is, I came from ArrowOS where I encrypted my data. Before flashing crDroid, I also wiped everything etc. However, I did not notice that after the clean flash, my phone still asked a PIN to decrypt my data at boot even though wiping everything should have removed encryption. It turns out that the trick was use the Format Data button to wipe everything and then to reboot, before flashing crDroid, which indeed removed the decryption prompt

- For some reason, flashing opengapps arm64-11.0-pico-20211109 resulted in a bootloop, but flashing open_gapps-arm64-11.0-pico-20211020 did allow to boot.

I have been using the crDroid for a couple of days now, everything is great so far! But I started encryption today and that is taking quite long (currently 2 hours and 40 minutes have passed and it is still showing the boot animation), so I still have to figure that out. Fortunately, I did take a backup before starting the encryption :p
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] silverstone777:
Hi Lightning407. Many thanks for your reply. I see also in my case it was related to encryption.

After formatting data and losing all of my internal storage (Why the hell TWRP "wipe data" only erases system apps/settings, while "format data" erases also all internal pictures etc) - after which I see that Google has screwed up the backup I setup.

Needless to say all backup apps (MyBackup, SwiftBackup) I setup to automatically backup to Google Drive and SD Card stopped working without notification ...

Enough of the rant, sorry :(.

I tried flashing LineageOS 18.1, crDroid 7.12 and dotOS 5.2. All of them install fine and boot, but I had problems when trying to restore from Cloud during device startup (wouldn't login to Google). If I flash ROM, reboot, then flash opengapps I could get play store to work (it wouldn't if I flashed ROM & opengapps together). However, access to e.g. Google Drive (to backup Whatsapp), Google Contacts/Calendar, doesn't work at all anymore. GPS is also broken.

I'm currently on dotOS 5.2, not sure which way is better now.

Since all my data is gone anyway (it wasn't that critical but still ...), I could move again to crDroid. One of the issues I saw was lots of logging in Matlog (I could set the logging level much lower, but I guess this is normal for a user debug build).
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Lightning407:
Ah that is sad to hear. Good luck with your further custom ROM adventures!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Bluesbirdy:
Clean flashed the '20211108-potter' successfully (in the end) on my Moto G5 plus, coming from PixelExperience.

Anyone encountering error messages in TWRP after flashing, this helped me:

Before clean flashing the ROM, disable screen pattern safety, disable SIM-code safety, logout of your Google account.

After that, flawless installation via TWRP.

Beautifull ROM, tnx!

One issue I encounter: I am not able to 'archive' a received e-mail from the home/lock screen.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ChriMo:
Unfortunately charge drops still did occur, had to drop this device as daily driver for one main SIM.

Have now instaled 7.12 and hope I can revive this over a G2 still working fine.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] GtrCraft:
7.13:

https://sourceforge.net/projects/crdroid/files/potter/7.x/crDroidAndroid-11.0-20211217-potter-v7.13.zip/download

Changelog:

- Initial crDroid 7.13 code base

- Updated to December 2021 security patches
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] El Don:
Installed this rom 1 week ago and after having issues with every and I quote, every single rom I can say that at long last I hit paydirt with the most perfect rom ever used. IMHO and based solely in my experience this is the best. No bugs so far, everything works. Haven't tried encryption 'cause never had the need for it so I can't say if it works but it is buttery smooth and beautiful with a lot of not overbearing customization. I have 2GB ram in my phone and now it feels fast. Better than stock for me, do not be afraid to give it a try but wipe everything first. I did factory reset, then back to advanced wipe, cleared dalvik cache, cache, system, data, internal storage and lastly to be sure I formatted data. Installed rom, open gapps pico arm64, magisk 23 and reebooted. Voila! Now I'm a happy man. Thank you, thank you, thank you.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] k0tz:
Happy New Year to everyone! 🎉

I tried to flash 7.13 almost the day it was up. Stored the Rom onto SD-Card and flashed from there. Ignored to wipe Cache/Dalvik and... ran into a bootloop.

Restored a 2 days old backup and since that didn't had the time to go after.

I'm almost certain that i dirty-flashed from 7.8 to 7.10 via USB-OTG. So, is it strongely recommended to store the rom-base in internal memory like the flashing instructions suggest?

Or could the ignored wipe of cache/dalvik be the culprit?

Any hints appreciated.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fix4all:
Tried this ROM summer of 2021 and unfortunately found out there was no hardware support for the magnetometer/compass. Has that been resolved? Could anyone please confirm..

Thanks
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] sandroj:
AFAIK this device doesn't have compass.... So no ROM will support it.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] jockovonred:
It does have compass/accelerometer. It worked in prior crdroid 6x. It been nonfunctional in crdroid 7x.

Reload stock and it's there and working.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Flr Power:
Does encryption work on build 7.13 ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
Thanks for the 20211217 update, let's hope Android 12 will follow soon.

Automatic update didn't work for me, ended up in a bootloop.

But after downloading the zip manually, using my pc.

Did boot my phone in recovery mode, pressing Power and Volume Down.

I could transfer the zip to my phone, and installed it using twrp.

I also needed to perform repair my data and system partition.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ChriMo:
After OTA update to latest was on PIN-Entering Loop. Restart did fix it.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] tdaitx:
Got crDroid 7.15 (Feb 23 2022) in a Motorola G5 Plus (Potter XT1687).

Network connections have been troublesome: lots of disconnections and resets, many apps can't be reliability used since they fail to work correctly and constantly report connection error messages.

I see a wall of warnings and errors in logcat, quite a bunch from SystemUpdate. So much stuff happening (and failing) seem to be even slowing down the phone.

Filtering out these SystemUpdate errors, I see every 20 seconds or so:

- TcpInfo: Length 120 is smaller than required

- TcpSocketTracker: Bad position 65648/912

I saw those TCP problems mentioned in some kernel discussions, as some missing stuff that was added to kernels 4.4+ and so patches would be required for earlier kernels (DerpFest?).

Is this a known issue?

Note: I reinstalled it from scratch (going as far as roll back to motorola original firmware), more than once, and the problem persists.

Cheers!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
I am using this rom for about 2 months. I did the update to 7.15 manually. Becouse it ended in a bootloop in my case. Downloading the zip on my pc, and transferred it to my phone. And did a clean flash using twrp. This worked for me. This is the only rom (besides ArrowOS) which works like a charm on a Moto G5 Plus (XT1685). All Pixel ROM's (Experience, Extended and PLusUI) and also DotOS do have mobile data eating and power consumption issues.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
Some addition, I have combined CrDroid with Open GApps Nano. This gives some double apps. For example the Phone app. When I first used CrDroid, I was using the CrDroid Phone App (4.46MB). But I did have very low signal (4G) inside. So I have switched to the Google Phone App (188MB). This gives much better signal strength. You can switch by disabling the one you don't want. And setting the one you want as default. I have done this also for the Calendar App. I hope this info helps you.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ChriMo:
I did not know the Phone App has significant influence on the the 4G signal strength. Is this so on all devices?

I would like to avoid installing any G-Stuff.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
I think it has something to do with possible network settings. If I use the Google phone app, it automatically switchs to the optimal protocol for best signal strength. I am not 100% sure. What I do know, I went to some place twice. First time using DotOS with gapps and google phone, with very good signal strength. One week later I did go there again, but now unaware using CrDroid and CrDroid phone app, I had to go outside to get a good phone signal. That's when I realized I was not using the same phone app as before. Also switching to other apps while on the phone is much easier when using Google Phone app, becouse a small icon stays visible all the time during the call. May be you can search for an alternative non Google phone app? I don't know how to do that without Google Play Store.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ChriMo:
Aurora Store can be installed from F-Droid (which is my main App store - mainly FOSS stuff) and gives access to most Apps on Google Play Store.

Currently the potter is not used anymore for daily driver (phone SIM), but you never know if a phone breaks: potter might be needed as backup. Also this might be worth to consider also for other devices when using Custom ROMs phone App.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] reptakos:
interesting ROM but does not look is compatible for my device - I ve followed the typical procedure (wiped caches etc) then flash (ROM and GApps) now on the final boot its 20min showing the logo (eye) with animated colors - looks like ROM stuck on something ? ie not compatible with my G5 Plus (XT1684 - EU model) thanks

nevermind after waiting about 30min I deleted everything anf managed to install the PixelPlusUI - phone's initial boot was less than 20sec - def not 30+ with this ROM, it is a shame :(
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
It works on your smartphone for sure. I have had the same issue. You probably forgot "format data". I have the XT1685 (also eu) model. Here is my full guide:

First download and copy two zips to smartphone if you didn't already.

Turn off smartphone. Press 2 buttons Volume Down and Power, until TWRP appears.

Choose RECOVERY MODE by pressing Volume Down about 2 times.

Press Power.

Wipe, Advanced Wipe, select Dalvik / ART Cache, System, Data, Cache.

Swipe to Wipe.

3 times Back (<)

Install, crDroidAndroid-11.0-20220223-potter-v7.15.zip.

Add more zips, open_gapps-arm64-11.0-nano-20220202.zip.

Swipe to confirm Flash.

Wipe Cache/Dalvik, Swipe to Wipe.

3 times Back (<)

Wipe, Format Data. Enter yes, Press Blue button.

Reboot System.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] reptakos:
thanks, I m pretty sure I formatted the data - I have a checklist with the flashing guide and following it each time I install a ROM on androids, I will give a try another time .
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
Also note, it might have to do something with the default app you use for calling. See my older messages above. Not sure if everyone has this, but what I do know, if you're installing gapps, you do have two phone apps. One from CrDroid (small in size) and one from Google (the big one). In my case the one from CrDroid didn't work well for me. Very low signal strength. Maybe this is the problem in your situation, why you can't make calls. Just disable the small size call app, and set the big one as default. Edit: I am sorry, I have swithed two persons, with two different issues. You can just ignore this.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] lupccs:
Hi everybody! I am still pondering to install this rom. Does anybody can tell me if with this rom I can connect on a 5ghz wifi? cause other android 11 roms don't seem to work
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
Yes it works, just tested it for you. I do have a TP-Link Archer C6, and I can see and connect to both networks, 2.4GHz and 5Ghz.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
Finally got the chance to test this ROM. I was just having the same problem with it getting stuck at the loading animation, but this solved it. Same problem trying an unofficial LineageOS 18.1 build, but I haven't tried this method yet on that one.

Any idea exactly why Format Data is required to avoid this problem?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
This is the first smartphone I ever unlocked and installed another ROM on it. So I have read more guides (on youtube) to do it. Most of them mention the format data. It seems an unnecessary step, but have found out it's needed. So I have created a guide myself including this step. At this moment I have done this procedure on multiple Moto G5 Plus smartphones, and multipledifferent ROM's.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
I guess I'll have to remember to use OTG storage to do ROM testing on this phone from here on out; otherwise, I'd have to keep copying over those img and zip files for every flash, and move off any backups every time.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
Backup is always a good idea. I always choose to copy from my other, last used Moto G5 Plus, when installing another rom. That way foto's, settings, call history, sms messages are all copied. But I guess you only have one Moto G5 Plus. May be you can make a fresh in the cloud (Google) backup before flashing, and restore it. Or just copy the things you want to save to a pc using the usb cable, or to a sd-card if you have one.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
Technically, I've got two, this 32GB one, and a locked 64GB Amazon version. I got the latter one to use as a backup while I play around with the OSes on the 32GB one. The other night I went through the usual process, side-by-side, lol, making sure I had all my apps and stuff copied over and logged in.

Yeah, whenever I've unlocked a phone, I make full TWRP backups to a microSD card, and then put at least another copy elsewhere.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] debdeep98:
Ofc. All of them do. Switch to A12 maybe.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] lupccs:
You mean all of crdroids or all of the android 11? Cause iI can tell you for sure pixelexperience 11 and Arrow 11 could not connect to the 5ghz connection, while pixelexperience 10 can. At least on this device
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] debdeep98:
Oh no. It's the potter thread. I mis-read. Apologies.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
Further testing, running into an issue. A Tello (T-Mobile) SIM was working perfectly fine in crdroid, IMS registered and everything, but I swapped in a Page Plus (Verizon) SIM from my stock potter phone where it was working and IMS registered, and here it is not IMS registering in my crdroid potter phone. I tried selecting the APN that usually works, rebooting it multiple times, going in and out of airplane mode, removing and re-inserting the SIM, etc. So far, no data or calling working, can't find any networks, emergency calling only, etc.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
That's strange, as I mentioned before, I have tested it for you on my TP-Link router which has 2.4 and 5GHz. I can connect to both using CrDroid. My backup Moto G5 Plus has LineageOS 18 (Android 11) and also sees both networks. And I also have tried it with a another Moto G5 Plus from someone I know, he is using ArrowOS 11, and that works too. All 3 are XT-1685 models. Not sure if other models have other wifi chipsets.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
I only have one simcard, Simpel (T-Mobile) and that's woking fine for calling and SMS and mobile data. Are you using the CrDroid calling app or the Google calling app? I have disabled the CrDroid calling app and am uing the Google calling app (from OpenGApps). I did have bad reception using the CrDroid calling app, but it might be some wrong setting. The Google calling app does work fine using the automatic network setting. Also I do like the Google phone number recognition, which also works for known business phone numbers which are not in your own addressbook.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
One thing I noticed, and tangential to this, is that stock potter wouldn't connect to an OpenWRT router on 2.4GHz (it would try a few times and then disable itself), but would connect on 5GHz. I had no problems with the other potter phone with crdroid connecting on either spectrum.

I don't think that's the issue. I believe the hidden "Phone information" menu (*#*#4636#*#*) was showing disconnected or no signal for voice, the phone was displaying "emergency service only" at the top, it wasn't IMS registered, the setting for automatically selecting a carrier wasn't showing a carrier detected, and data didn't work.

This kind of reminds me of a persistent bug in harpia (Moto G4 Play) ROMs where some unknown difference with how some carrier's SIM cards are detected (possibly something with how the firmware enumerates the board's SIM card slots) would break data unless you did some, hard to reproduce, gymnastics with flashing LOS 14.1 then re-flashing the current version.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] lupccs:
Same model as mine. Many router send both signals, 2.4ghz and 5 GHz, at the same time. May that be the case?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
In my case, I have configured my router in a way that both networks have a different SSID, TP-Link_XXXX and TP-Link_XXXX_5G. They have the same WPA key. But I can choose which one to connect to. If you have the same SSID's for both, you can't see.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
Have you tried the ROM yet, or are you just speculating on this? Mine is set up like @cjdijk 's with separate names, and connected fine to both 2.4GHz and 5GHz when I tested it a few days ago (even hidden SSIDs).
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] lupccs:
I was waiting for a feedback before trying. I will let you know in a couple of days
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
Well, I tried going back to the T-Mobile SIM, and voice and data *still* weren't working after multiple reboots, so

it may have had nothing to do with the Verizon SIM in crdroid.

The hidden information menu showed "data service: disconnected", "voice service: Radio off", and Network was blank. The mobile radio power toggle button was disabled and wouldn't stay enabled if I switched it on. I next tried restoring stock backups (not the images), but the same problem persisted.

Something with the modem/baseband firmware must have gotten corrupted?

Finally, I flashed the full stock/vendor *images* backup, and everything looks to be working again. The Verizon SIM is working again, at least in stock. I'll have to flash crdroid again and do more testing.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] fR33Styler:
This is one of the last ROMs dont have the battery/mobile data bug... which is great - thank you!!!!

One question: is it possible to install (and use) without magisk?

Reason: i need e.g. 2-factor auth apps for work etc.... and they dont work with magisk (even when i hide everything etc)... anyway this works without root or the magisk app/flash?