yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
It has been a year ago I last used LineageOS 18.1, I have read my message saying someone calling me, I could here the caller, but the caller could not hear me. Last sunday afternoon I have given it a second try. And have found no issue's with it. Also on an active day (monday) several times been callling and receiving calls. A year ago the 2G/3G network was still active, now it's 4G only. Also I am using a newer version of LineageOS 18.1. I guess one of those changes has made the difference. And no battery draining anymore. I have charged my phone 100% 24 hours ago, it's now still 77% after a busy day of phone usage. At this moment I am not going to try Lineage 17.1 on my other Moto G5 Plus.

The only (small) issues/differences I have found so far are: WhatsApp gives a warning during installation that I am not using an official Android, but I can still use WhatsApp with no issues. Also I am missing the Google search bar, including Google Assistant and Google Lens at the corner, but I could install and use those as apps as shortcuts. May be that's an MindTheGApps issue. The audio is about 30% louder. I have the volume sliders on about 70%, At 100% the audio is sometimes a bit distorted. Also I use to have the weather report and temperature in Ambient Display (messages showing when picking up phone without unlocking), this is missing in this rom, but it wasn't accurate anyway, so no problem. When using DotOS, it also showed comming google calendar events. May be it's possible to get this in another way (widgets?). And as I said earlier, the face recognition option is missing in this rom, No problem for me, I am only using fingerprint for unlocking.

Small update: I am afraid this rom also is going to get the battery drain problem. Yesterday it was only 50%, so I decided to charge it up to 100%, shutdown and on again to make sure no active running tasks before going to sleep. But this morning I hoped for just 1% of usage, but it was 7%. Still not much, but a lot more than before. Next step would be to try LineageOS without GApps, but I don't think thats going to fix it, but can try it anyway. Let's see if I can still use Google contacts and calendar, when using LiniageOS build in apps.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
Another update: I have tried installing LineageOS 17.1 without GApps. lineage-17.1-20230213-UNOFFICIAL-potter_security-patch-date_2023-02-05.zip After first boot, I did get the LineageOS configuration wizard. But after pressing Next button, it rebooted suddenly, and TWRP opened. Have tried it 3 times, same result. For some reason LineageOS 17.1 isn't working. Have downloaded it again, but same size. I guess that zip on androidfilehost is corrupted.

Can someone confirm lineage-17.1-20230213-UNOFFICIAL-potter_security-patch-date_2023-02-05.zip from androidfilehost isn't working at all?

After that I have installed LineageOS 18.1 without GApps. After installing I tried to import my Google backup from LineageOS 18.1 with MindTheGapps, but that couldn't be found. So I started with a clean install without importing anything. When I opened calendar (Lineage app) there was nothing to see. Same with Lineage contacts app. Appointments are in my Google account. Contacts are in my Google account. So I tried to add my account in Lineage configuration, but that wouldn't work, when pressing Add Account, I didn't show any fields to enter my gmail address and password. So installing without GApps isn't working for me. I need my Google calendar and contacts. I want to be able to access them on my laptop as well, using firefox (after logging in to my google account). I could use Firefox, login to my google account, and use shortcuts to contacts.google.com and calendar.google.com For calendar that would work for me. I could make a phonecall from contacts that way, when clicking on a contact from Firefox, it opens the calling app. However, if someone is calling me, I can't see who it it, becouse Lineage Contacts would be empty this way, calling app doens't look in contacts in Firefox. That wouldn't work for me. I want to be able to see who is calling. Also have tried to install Firefox app using direct link to google app store in Lineage browser. It asks to login into my google account, then it asks to install the Firefox app on my other phone, where the Firefox app already has been installed, not on this phone without gapps. This however gives some usefull information. Google says it's a Google Pixel 2. So this means LineageOS spoofs an old Google Pixel 2. Let's at least see if battery usage is low. But I'm sure whithout gapps is not useable for me.

Can someone confirm it's not possible to use Contacts and Calendar form Google when installing LineageOS (or any other rom) WITHOUT gapps?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
Yeah, that won't work. You will need to sideload the Firefox apk. The Play Store won't work, even in a browser, unless you are logged in to your Google account with Gapps.

There are people who do this, but they have to use some other way to synchronize those apps with their Google accounts. I believe you can use a tool with F-Droid to do it, but I've never gone down the F-Droid rabbit hole and spent the time implementing something like this: https://f-droid.org/packages/at.bitfire.davdroid/
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
Here is my resume, which things have effect on battery use.

CrDroid (latest) is based on Google Pixel 5. LineageOS (latest) is based on Google Pixel 2. I have seen this when I did try to install apps using browser. When not using your phone actively (when you're asleep, phone switched on), LineageOS (2-7%) is using much less battery then CrDroid (15%), even when Google Play services on CrDroid disabled. It also depends on apps doing things in the background (WhastApp for example). But, when using your phone actively (during the day) battery use is about the same (both very high, 20-30%). Disabeling Google Play Services does have limited effect, after some time battery use goes up again. This all means, Google is still trying to update, consuming battery, also with old unsupported Pixel phone (spoofed), but only if you are actively using your phone, not when your phone isn't used actively (with old unsupported pixel phone). If you have a new supported pixel (spoofed) phone it also tries to update when you're not actively using it. Also one mayor thing I discovered, if you don't install GApps, you don't have Google Play Services, but it still uses battery, about the same as installing including GApps. With GApps installed it's a bit more, but that's becouse I didn't install any apps on my phone which didn't have GApps installed. This weekend I'll continue using LineageOS including MindTheGApps, I assume battery stays low when not using phone actively during daytime (as standard for me in a weekend). May be I'll try stock Android 8.1 next week. I think I can figure out how to download apk's, and install them on my phone without GApps, but not going to try, becouse there seems to be no difference in battery usage when not having GApps.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
It'd be interesting to see if the logcat output still shows the barrage of SystemUpdate messages in that configuration.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
I have tried stock Android 8.1 again, that worked using "Rescue and Smart Assistant "but calling still isn't working. I have checked IMS registration status, it's "0" as mentioned earlier. If I boot into TWRP recovery, I type from command prompt (as administrator)

F:\platform-tools_r31.0.0-windows>adb shell

There appears a "~ # ←[6n" prompt.

I type su after that, but it gives an error message "/sbin/sh: su: not found".

For some reason the "su" command doesn;t work or can't be found?

~ # ←[6nsu

/sbin/sh: su: not found

~ # ←[6nchown -R rfs:rfs /persist/rfs

chown: /persist/rfs: No such file or directory

~ # chown -R rfs:rfs_shared /persist/hlos_rfs

chown: /persist/hlos_rfs: No such file or directory

~ # ←[6nexit

https://xdaforums.com/t/guide-how-to-solve-problem-imei-0-in-moto-g5-plus.3739808/post-77275716
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
The fastest way is to just do this directly with adb (by running the command "adb shell logcat") which will show you a constant stream of log messages. But that isn't the easiest to work with without further command line knowledge. It will be much easier for you to view and search this with Logcat Reader:

https://f-droid.org/repo/com.dp.logcatapp_33.apk

Install that, run it, and, then, if your phone isn't rooted, follow the manual method instructions, which basically requires you to use adb to run the following command to give the app READ_LOGS permission:

adb shell pm grant com.dp.logcatapp android.permission.READ_LOGS

After that, you can use the app to search the logcat output for:

"abcu.k" (without quotes)

That should show you the endless number of SystemUpdate errors (the same output constantly, only the timestamps change).
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
I'm pretty sure that is your IMEI number, not your IMS registration status, but if your IMEI is 0, IMS registration status isn't your main problem.

You won't be able to run su like that, as your phone isn't rooted. You'll only be able to use su if you've rooted the phone first.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
All my phones are rooted. It's visible during boot, they say "your device has been unlocked and can't be trusted". (Before changing the logo file). The IMEI is 0 with Stock Android 8.1 But when I flash Android 11 on that same phone, it becomes a 15 digit number. The explanation that it's a rights thing sounds very possible. I can't find IMS registration on my phone. I am using Dutch language. I guess IMS registration is Simkaartstatus? That says Network unknown, type Network unknown Mobile network no connection. Only Mobile data and wifi are working, calling and sms not. As soon I have time, I can re-install it in English language. Also will try "adb shell logcat >logcat.txt". And search for SystemUpdates in logcat.txt on my phone without GApps.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
That message means your bootloader is unlocked, not that your OS has been rooted.

That thread at the link you shared earlier probably explains it. (I haven't read through it myself.)

Until you fix IMEI being zero, IMS registration isn't going to matter. I don't believe the phone will get IMS registration unless it has an IMEI. But, like I told you a few weeks ago, on stock (8.1), you can go to:

Settings -> System -> About phone -> Status -> IMS registration status.

Yeah, you can do it that way.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
Another guy I was chatting with on Telegram was having issues with it. I haven't tested it myself, but did you format data after installing it, like we've had to do with crdroid?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
I am a worried why I can't go back to stock Android 8.1 (Becouse calling isn't working). Also am wondering why restoring of the backup before switching to Android 11 isn't working. Why did I make that backup, if it can't be restored anyway. Go back to stock Android 8.1 using Rescue and Smart Assistant works, but as I said, calling isn't working. Last thing I've tried was "adb root", have found this in my guide how to modify hosts file. This gives an error message: "adbd cannot run as root in production builds". So I guess you are right about root access. That's working with Android 11, not with stock Android 8.1 Please tell me what I should do after using Rescue and Smart Assistant. I have already turned on developer options. What else do I need to do to get stock Android 8.1 rooted.

Edit: I did think, lets restore the twrp backup of my stock Android 81. again to see what error message appears. For some reason it has finished now without any error's. And calling is working too! Not sure what I've done different but I'm very surprised. However, I'm getting an error message about Google Play Store stops. So it's not 100% working as it should.

I have created and uploaded logfiles for you. With and without GApps in one zip file.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
It all depends on what you backed up. (More on this below.)

There are already guides on how to do this, using Magisk, for instance. As you found, though, you may not even need it now.

Great! Which partitions did you restore? Did you restore EFS or persist? Like I mentioned last month, it could have been an issue with your EFS or persist partitions, or some sort of permissions issue. It's hard to say.

Now that calling is working, that means your IMEI is likely no longer reading '0'. To fix your Google Play Store issue you might first try clearing data on the Google Play Store and see what happens. You might also try clearing the cache on Google Play services, and clearing data on Google Services Framework. I really don't know what's broken there. If that doesn't work, a final option, now that you have the IMEI issue fixed, would be to now try doing a factory reset on 8.1 and then seeing if calling still works (of course, the goal being that it fixes whatever's wrong with the Google Play Store).

Neither of the logs is showing the constant SystemUpdate errors, so that's good so far, for LOS 18.1.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
Thanks for the info. I'm very busy at the moment, but will give some feed back now.

The reason both log's of both rom's aren't giving any system updates probably have to do with the fact I've disabled Google Play Services on the phone with GApps almost all of the time for battery saving.

On the phone with stock Android 8.1, restored using my full backup (6 parts) with TWRP "System, System Image, Data (excl. storage), Cache, Boot, Recovery and Vendor", created after unlocking but before flashing Android 11. On that phone there seems to be some serious problem. Trying to use my Google Account when installing doesn't work, so I did skip that. If I want to install any apps, I get a message to login to my Google Account, but that doesn't work. I gives "Google Play-services has stopped, Open App again or Close App.". So in short, when restoring using TWRP calling and sms does work fine, everything else does not work.

May be I need to restore using "Rescue and Smart Assistant" and after that a partial restore using TWRP (one of the 6 parts) to get back IMEI, to make calling and sms work. Or figure out how to make the method using platform tools work (enabling root access after installing Magisk), will try this some other time:

F:\platform-tools_r31.0.0-windows>adb shell

There appears a "~ # ←[6n" prompt.

I type su after that, but it gives an error message "/sbin/sh: su: not found".

For some reason the "su" command doesn;t work or can't be found?

~ # ←[6nsu

/sbin/sh: su: not found

~ # ←[6nchown -R rfs:rfs /persist/rfs

chown: /persist/rfs: No such file or directory

~ # chown -R rfs:rfs_shared /persist/hlos_rfs

chown: /persist/hlos_rfs: No such file or directory

~ # ←[6nexit
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
On the 8.1 phone, I suggested a few things for you to try to see if you could get the Google Play services issues fixed: You might first try clearing data on the Google Play Store and see what happens. You might also try clearing the cache on Google Play services, and clearing data on Google Services Framework. A final option, now that you have the IMEI issue fixed, would be to do a factory reset on 8.1 to see if that fixes what's wrong with the Google Play Store.

Regarding Magisk, if you're getting that error, it didn't get properly installed. The boot image is probably not patched. But I really don't think you need Magisk to fix the issues you're having. It can also cause further complications when restoring backups from before the boot image being patched, so I think it'd be better to not that further complexity into this.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
And another update (on phone with Stock Android 8.1). Clearing cache on Google Play Services didn't help. I did think, now calling and sms is working, and all other things not. Let's try "Rescue and Smart Assistant" again. May be calling keeps working becouse of the restore using TWRP, and other things becouse of the restore using "Rescue and Smart Assistant". And guess what... Everything works! Just one small thing, during boot it says "bad key" instead of "N/A". It's on the screen which appears for 5 seconds which says "this device can't be trusted". I have seen this before when switching back to Android 8.1, using "Rescue and Smart Assistant". Only this time everything seems to be working now.

I am using this phone now as main phone. Have installed and configured everything now. Only one app isn't working: McDonald's (Deals/Coupons) it has worked using custom/non official Android 11 with GApps, but with stock Android it says I'm using a non-official/unsupported Android? I guess Android 8.1 is too old? Good thing similar apps like KFC, BurgerKing and SubWay apps all works. And all other apps I'm using. I wasn't using McDonald's much anyway, not much value for money in comparison of the others. Also did some finetuning, at first moment of useage, battery usage was very high (5% every hour), but found out just to disable notifications for Google App. Now it's only 1% every hour, I'm very happy now. I have found out, the "bad key" message instead of the "N/A" message during boot is normal. See link:

https://xdaforums.com/t/bootloader-is-unlocked-but-says-bad-key.3706686/post-74554386

I wonder if there comes a solution for the battery draining issue for custom rom's with GApps. For me (and many others) without GApps isn't a option. It's useable and without battery drain, but for me Google Calandar with (Firefox) browser works, but not as user friendly in comparison of the Google Calendar App. Ad I haven't found a way to export/import calandar appointments from Google to Lineage Calandar App. Also no way to backup and restore calling/sms/whatsapp history. And you can't backup/restore app settings. However I was able to backup/restore Contacts. Just export to vcf format using (Firefox) browser, and import it in Lineage Contacts app, now you can see who's calling, and you can make call's from Contacts list.

So what I want to say is:

"Don't ever switch to any custom rom."

As soon as developers decide to stop making updates, you are srewed afer about 3 month's. I always have thought if a developers stops, you can still use his custom rom, that's true, but not useable becouse of the battery drain. Let's hope a general fix will appear soon, useable for all custom rom's. What's the point of using custom rom's, as long as this issue isn't fixed.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
I just wanted to let you all know, I've been using stock Android 8.1 for some months now. It's great to have no battery drain. But some small things are working better with Android 11. For example:

When I turn on my bluetooth headset, AIMP player starts playing music automatically, but uses phone speaker instead of headset. Need to reboot phone once or headset multiple times to get sound through headset. This was working fine using Android 11.

When I am in contact list, and click the navigate button, I can only choose Google Maps, not TomTom. To use TomTom, I need to look in my contacts list for the address and manually enter the address in TomTom. In Android 11 you can choose any navigation app from contacts.

And I did like the Google advanced number recognition very much. You can see if the number calling is probably spam. Also you can type name of company instead of number, also shows company name if they call you, even if not in your contacts list.

But there's some good news, there's a new Lineage-18 Android 11 on androidfilehost. Lineage-18.1-20230708-UNOFFICIAL-potter_security-patch-date_2023-07-05.zip Without battery drain for about 3-4 months. Going to try that on my other Moto G5 Plus.

lineage-18.1-20230708-UNOFFICIAL-potter_security-patch-date_2023-07-05.zip | by gothicVI for Potter

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

Edit: Have installed and used it for a day now. And all works fine. Also very low battery usage. Just one app doesn't work, but not very important for me: McDonalds app (to get discount). After installing it says it detects a rooted phone and that's not supported. That's new to me, it was working in Android 11 before I went back to Android 8.1. I think they have updated this app. Other similar apps from Burger King, KFC and Subway are working fine. I wasn't a big fan of McDonands anyway, so no big problem for me. But still it's strange they have such a policy. You would think only banking apps would have issues like this. But the ones I'm using (ING banking and ICS credit card) apps are working fine.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mmortal03:
Interesting. Looks like he started building it again a few weeks ago (there was another build the last week of June):

Downloads for : Motorola Potter | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Marishka88:
Great to see people still using this phone, although I'm resting this amazing device next month has been my main since release. I got the 2GB variant and it can be infuriating at times, now I want a 8GB one just to see how's like. Watching closely as technology was advancing with my trusted Moto, is really cool that 8GB ram phones are finally affordable (to my current finances).

Just want to point out that this Lineage 18.1 that GothicIV is updating is really good, works mostly fine is crazy how we still have updates. But what made me change was that I was unable to use bank apps my bank use face recognition with the camera and it just couldn't work, perhaps a problem with the app itself but I couldn't wait to figure out, PixelPlus works so it will be that until next month. Take care Moto G5 Plus fans.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cjdijk:
I do have the 3GB model, but don't think I need more RAM. But I guess 2-3GB is ok for 32bit (stock rom), all custom rom's are 64bit. So you should have at least 4GB for 64 bit. All custom roms do have face recognition, except for LineageOS. But LineageOS is the only one which doesn't have the battery draining problem at this moment. On my banking app you can use 3 ways to identify. I can choose face recogntition, fingerprint or pincode. I am using fingerprint. But to be honest, I might switch to another smartphone next year. I'm thinking that's goining to be a Moto G72. Which has 8GB ram, 128GB storage (expandable with microSD), fingerprint in screen (I dislike fingerprint on powerbutton or on backside). Has a huge OLED screen and Android 13. Price is the same as my Moto G5 Plus, when I bought it. Just asking: What smartphone you want to buy?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] jockovonred:
Since TMO dropped support for 3g, the G5+ doesn't have band 71.

I was experiencing one-way calls: I could hear the other side of a call for an unspecified period of time, then nothing. The call would still be valid, and they could hear me, but I couldn't hear them.

I've since scored a Moto G Stylus 5g (2022) (Metro deal) and have it rooted.

The G5+ is sitting next to me, but it's relegated to only Wi-Fi now.