yashsingh1/xdaforums huggingface dataset:
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
moto g7 plus

- Your warranty is now void.
- You have been warned.
- Use at your own risk.

Introduction:

This is the Official Lineage OS 21 thread for the moto g7 plus.

Downloads:

Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed.

lake - Official builds

lake - My unofficial with Google Apps/Pixel goodies included. OTA's roll roughly once a month. Support not guaranteed or implied.

If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

Known Bugs:

None.

Find any? Report them according to this guide.

Notes:

The only supported GApps package at the moment is MindTheGapps, linked on our Wiki page about gapps.

Kernel Source: https://github.com/LineageOS/android_kernel_motorola_msm8998
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Guilherme198787:
Quando sai a nova atualização? Ansioso... Obg pelo seu trabalho.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Monthly.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] motorolax:
Hi, thanks for the work. On my side, everything is ok unless the mobile data. I don't have any 3g/4g connection. Am I the only one?

[EDIT] I've put my sim card on my ancient Motorola to see the APN settings, and when i put it back in the G7, everything was fine. Weird but problem resolved :)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] minidiegi:
If I follow the link to your unofficial ROM I get an error: An unknown error occurred, on the site : Klick
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
had to clean up the GitHub releases, re-uploading now.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] minidiegi:
@npjohnson

Thanks for your work. (y)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Guilherme198787:
Quando sai a LOS 21 oficial?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
whenever it comes man. No ETAs ever.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Ocirma:
Good morning! When downloading the official version lineage 21 it appears to download version 20, could you tell me if this would be an error and if so would it be corrected in the next few days?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Yeah, they start soon
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Erik Terwan:
First of all: thanks for your work! I haven't noticed any major (or minor) problems with this ROM.

When I install the official version, I presume I also have to install MindTheGapps. But there's no version for LineageOS 21 yet. Can I use the one from LineageOS 20?

And what about your Pixel goodies?

Thanks in advance!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
yes, you do.

The day the first 21 build lands there will be a link, they're already released actually, just not linked.

Pixel goodies builds are already in the OP and can be installed today.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] user_lake:
I'm using your lineage 21 for daily use, I noticed that the battery life is actually better than the lineage 20, I also noticed that you reduce the size of the Zram, this helps with the battery, in short a very fast and stable rom so the consumption needs to be improved of ram, Thanks for your work if I can help with something I tried.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
zram is same as official builds. We did reduce it there too.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] user_lake:
I'm thinking about testing your unofficial Lineage 20 just to see how the battery behaves, on this Lineage 21 I only got 4 hours of screen time.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chalee7:
Hi There. Thank's for the LineageOS upgrade, seems to be stable and fine.

Just my Motorola Battery Charge Circle-Symbol is not coming any more IF my phone is off and charging.

With Lineagos 20 it was there and working.

Now there is just a little batteriesign with a lineage Logo - just not showing if its loading and how much capacity.

It's charging, i saw it with wattmeter, but the Turbomodus for charging is not working if the phone is off, just if lineage is booted, the turbo-Charge Modus works.

Is this normal or how to fix this!?

I wonder that an upgrade did this, because the lineageos is starting after this Charging Screen and should not affect this.

I flashed dtbo.img and Boot.img too.

Also i can live with this and enjoying your great LOS21 for the Moto G7+, but i just want to know: is this a bug, vor is this a feauture!?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chalee7:
Also i recognized while testing that the sound and micro in telegram calls are not working anymore.

Voices yes, but in Calls sometimes the speaker don't works anymore and sometimes the microphone not. I reinstalled Telegram but the Problem exists. (Edit: I am using latest Telegram FOSS from fdroid!)

With the last LOS 20 it was working.

-> i was sideloading the LOS21 image on an existing Los20

#betatesting ;)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chalee7:
Does anybody knows how to restore the Motorola BatteryCharging Screen without making a whole downgrade to Stockrom!?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] DiegoPrysm:
Hello there, dev, is there any chance to a get flashable version of the Kernel with KernelSU for this device? I know is a burden, but I haven't found any yet and I'm not savy in building a kernel, I'm trying... And I'm getting issues when cloning yours even if I clone my fork or download as a zip. Can someone confirm?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Seeker369:
Ok. I have sideloaded the official on top of the unofficial and I am back in business. Huge thanks to @npjohnson and the team for providing an awesome product!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
Just installed the new ROM. The phone no longer has a SIM so I can't verify anything about LTE connectivity, but everything else is working fine -- camera works, video works, SIP client works, wifi works (speed as it should be). Google maps scrolls smoothly. "Celebrate" by Three Dog Night played via Youtube on Firefox Beta still sounds good.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chalee7:
Did you installing it with LTE ON!?

Sometimes the sim-card or mobile-networks are not working after flashing while "offline"..

If so try to make a clean install again with LTE on!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chalee7:
Soooo great! And this on 7.7. :) ~G7+ <3

Thank you @npjohnson !!!

Question: is it possible to make calls in messengers (e.g.Signal, Telegram, ..)!

#VOIPbug fixed!??
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Seeker369:
My unoffic to offic "upgrade" worked! Yes, I just made a call on wifi with signal! so far so good. And my flash light jiggle is working again! Yes, 7.7. Today is a good day. Thanks Lineage
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
Read more carefully. There is no sim in the phone. I didn't say LTE is not working.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] TripWis:
Made the upgrade yesterday with the official build, thank you @npjohnson for making everything work perfectly again on 7.7 for G7+ (777) :), and thanks also to the rest of the team.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] julian67:
I just upgraded from the previous official version from May and everything seems fine. In fact I was a little surprised at how quick the upgrade went. It used to take a very long time to install and reboot but is relatively quick now.

A big thank you to the developer for persisting with this model and working to make it viable again. In the past I've had Samsung models which everyone gave up on for well known reasons, and LG stuff which apparently the devs got bored with, so it is very refreshing to have a device on which LineageOS continues to be supported even when there are some bumps in the road. Thank you!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] SonicPower:
What do people use for spam blocking on official? I get like 10 spam calls a day or do you answer every one of them?

You installed official without wiping from unofficial?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Dukenukemx:
Did an update with the unofficial build and the load speaker is not load on a phone call. It's loud with everything else so far. Any fix for this?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
if you mean lge 8996 it's a technical issue lol - wish we could fix it.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] julian67:
I had the V20 and it seemed flavour of the month briefly and then no longer interesting. Same with a couple of Lenovo tabs. Am just relieved I have one phone running an OS with continuing support. Appreciate it.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
First and foremost, register your telephone # on the FCC's Do Not Call (DNC) list. There is also another registration for SMS texts. Beyond that, there are services you can use like youmail but it's not free.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Dukenukemx:
Anyone having issues with loud speaker volume being low in a phone call?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] JnBns91:
What functional GCam do you use? Is there any compatible?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] JnBns91:
Hello, the moto camera 2 version 7.2.72.16-denali com.motorola.camera2, In the store I get an update but it doesn't install it.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Because we can't use it without resigning it, which breaks updates.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] alejoz2024:
Working great, many thanks
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Headroom.2:
Many thanks to you, NpJohnson. The update was installed without any problems. Really great! 👏

What makes the whole thing icing on the cake is that the sound works again when making voice calls in Signal etc.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Headroom.2:
No, I can't confirm.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Dukenukemx:
Can I reset the phone or do you think I should just reinstall the rom?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nonobio:
Hi :)

So I installed LineageOS official (lineage-21.0-20240707-nightly-lake-signed.zip) and although I haven't reinstalled all my applications yet (I'm doing it little by little), for now, everything is fast and smooth :)

A huge thank you to the developers of LineageOS

I also noticed this problem, the sound is really not loud during a phone call when I activate the speaker. Unless I'm mistaken, the top speaker should be active but it doesn't seem to be.

I also have other small problems:

I have no sound when I record a selfie video, either with the motorola.camera2 or lineageos.aperture.

Also, with motoroal.camera2, I cannot choose my SD card in storage: when the file explorer opens, I choose DCIM: "Use this folder", but the application says "Switching to internal memory. The root directory SD card must be selected.". But If I'm at the root, Explorer says I can't use that location.

Are you also seeing these issues?

Thanks
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
I can't speak for the sound issues you're facing, but with the file system writing, are you sure the apps have the appropriate permissions to write to the SD card?

BTW, I've got the same LOS build on my Lake phone and not having these sound issues. Odd. I only use the LOS ROM + NikGapps core build. I also install fdroid after-the-fact from within LOS. Everything else is just an app install from play or fdroid.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nonobio:
camera2 has access permission to "Files".

To change the storage, I open camera2, settings, storage: SD card

File Explorer opens, I'm in the root of my SD card and Use This Folder is grayed out

I go to DCIM, Use this folder is no longer grayed out, I click on it.

I get the message "Allow Camera to access files in DCIM?" I press Allow.

Then, camera2 immediately indicates "Switching to internal memory. The root directory SD card must be selected."
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
That feature of MotCamera2 will not work.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] elkay14:
Is VoWiFi in airplane mode working?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
No clue. You'd have to try.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] elkay14:
Just did... doesn't work at all. It says connect to a mobile network, even when I have calls forced to VoWiFi.

Want logs?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Sadly IMS is a bit of a black box. Especially with a stock ROM this old.

Probably not much to be done.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
Found this kludge online for a OnePlus device. Maybe it will help you achieve your goals: "I was having the same problem on my OnePlus Nord N30 but I discovered a trick. First, please ensure that Mobile Data is turned off and that Wifi is turned on. Secondly turn on Wifi Calling and ensure that "Cellular Calling Preferred" is enabled. When these two conditions are met, reboot your phone. When your phone has completely rebooted, immediately turn off Wifi and then turn on Airplane Mode. Quickly turn Wifi back on again. Within a few minutes you should see the Wifi Calling icon appear in the Status Bar while your phone is in Airplane Mode. "
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] elkay14:
Tried it and no go. Thanks for trying to help.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] elkay14:
Bummer. Guess I'll have to go back to 18.1 again. I have a ROM I compiled in March that had all the updates up to EOL.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] elkay14:
Should IMSService be started at some point? I see over and over in the radio logs that the IMSManager cannot connect to IMSService due to timeout.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nonobio:
Damn, but hey, I can live without it, thanks for the reply.

Question to users of the Moto G7 Plus and generally LineageOS: what do you use as a camera application?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
OpenCamera on all my phones. I like DRO mode and Panoramic
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Not that simple sadly.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] elkay14:
I second the OpenCamera choice. Have had it on all my LineageOS phones.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] elkay14:
Oh I figured. Just looking for hints.

Here's what I've found.

Around 40 seconds after boot, I see the phone fully activate VoWiFi:

Then a few seconds later, there is an exception:

Which results in:

Perhaps this helps, perhaps not.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nonobio:
Hi,

Since I installed LineageOS, mobile Internet and MMS no longer work.

I redid the APN configuration as indicated here:

then I restarted the phone, but it still doesn't work.

Do you have any idea what the problem is? (I am in France with the Free Mobile operator)

Thanks
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Yes, we broke APNs for a short bit, new builds are rolling right now to fix that
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Sadako8888:
Hi! Is there a chance to activate moto display app in this ROM? It appears available on playstore but cant activate it since the moto app isnt installed. I like more the moto live display than the generic lineage version.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
No.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chalee7:
Great to see LOS21 is back on #lake and looks really stable now.

As i noticed today there is a new (?) charging-anime if the phone is off and charging.

So it overwrites the original motorola charging firmware for this!?

Is it opensource?

Is it possible to have "turbo power" fast charging mode for this!?

Or how you made this @npjohnson ??

I ask, because devs of crdroid and lmodroid got some problems (with this) in latest lake-versions: after flashing (clean install after stockromdowngrade!) the rom, the original motorola charging animation is away (or can't load) and there is just a blackscreen.

Wattmeter says less than 2W are charging while phone is off.

But it has to charge with something between 9-35W as i just tested this several times in the past with different customroms.

Also there has to be a visual anime of battery charging %..

Could be great to get some help or tip for this!

Best regards and mucho mucho thank you for your work!!!! <3
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Yes, it's stored on the vendor partition.

It is in vendor/lineage, fully open source - it already has it, just doesn't identify it by visual.

And yeah, motorola animation is a pain and only makes sense on mod devices, as they can charge via mod in that mode if you use the stock one.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nonobio:
I installed version 21-20240725-NIGHTLY-lake and my mobile data is still not working. I have no access to mobile internet or MMS. Am I doing something wrong?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
It works fine for everyone else, check your APN and make sure that it's correct?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nonobio:
I just checked again, I put the settings recommended in this video.

Here are my settings:

Does this seem correct to you?

Thanks
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Strange. Not sure what to tell you.

File a ticket with logs pls.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chalee7:
Great. Thank you for your help!

Do you know since which release this batterycharging visual is integrated!??
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
like a year?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chalee7:
Really!? With LOS20 latest version and first versions of LOS21 (before QPR2 ;) i found the original motorola charging anime from stockrom on my phone, but maybe an "error" through some flashing processes and firmware rests!?

Doesn't matter: now LOS21 is back on #lake and charging anime is working while phone is off.

The last build looks really stable and fine.

Superb!

Merci.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nonobio:
Done here

And do you also have these problems:

If necessary I can also file tickets for these issues.

Thanks
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Go ahead and file tickets for all
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nonobio:
Hi,

It's done :) :

Mobile data doesn't work (#7459) · Issues · LineageOS / issues / android · GitLab

Expected Behavior Mobile data should work and I should be able to access mobile internet and send/receive MMS ...

gitlab.com

Mic not working during selfie video recording (#7464) · Issues · LineageOS / issues / android · GitLab

Expected Behavior When recording a selfie video using the front camera, the audio should be recorded properly along with the video....

gitlab.com

Low Volume in Speakerphone Mode During Calls (#7466) · Issues · LineageOS / issues / android · GitLab

Expected Behavior When activating the speakerphone mode during a phone call, the audio output should be loud enough. Unless I'm mistaken,...

gitlab.com

I hope you find a solution, especially for mobile data.

Thanks a lot
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
You should switch back to stock ROM and confirm that none of these issues persist there. These problems seem peculiar to you only and it may not be the ROM but that your hardware is failing.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nonobio:
I wouldn't mind going back. I was on the Stock ROM from the beginning and after several years of use I had problems with slowness and freezes. But the mobile data and microphone for selfie videos worked well.

I installed LineageOS lineage-21.0-20240711-nightly-lake-signed.zip a few days ago and for the first time following all this guide step by step.

The only little thing that I didn't follow precisely is this step:

adb -d sideload copy-partitions-20220613-signed.zip

I forgot the -d so I just put this:

adb sideload copy-partitions-20220613-signed.zip

I hope that can't be the reason for my worries.

Since I installed LineageOS I no longer have problems with slowness or freezes :) but I reinstall my applications gradually to see if problems come back because of one of them.

On the other hand, I have the problems indicated in my previous message, the most annoying of which is the mobile data which does not work.

I installed update 21.20240725-NIGHTLY-lake when I was notified but it did not resolve my issues.

Could I have done something wrong or are there any bugs with my specific smartphone model (XT1965-3) or the fact that I am in France with the Free Mobile operator?

Thanks :)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] row1212:
Good morning, I want to run apps in work profile. I create work profile by Shelter or Insular. Problem is that in work profile I can't run some apps with audio player. For example if I lunch music in Spotube from F-Droid phone will restart. Is any solution for that?

In LOS20 it works. In 21 problem exist in first available (07.07) and last build (25.07).
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] user_lake:
Backup kernel and restore in twrp.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] DiegoPrysm:
I might be ignorant there but for non-GKI devices, AFAIK you need the kernel source and compile it with KernelSU added and that's the only way, as what you get from unpacking the compiled kernel is not the source code; if there's another way I would hugely value the method you refer to. Compiling is not patching, I've found not a single pre-compiled A14 compatible kernel with KernelSU added for this device, so I'm kindly asking the dev for a version, since even if I forked the Kernel my git gets errors when syncing, but I will keep trying, it's my first time building a Kernel anyways, so i'ts an adventure.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Guilherme198787:
apos mudar da los20 para a los21... Será corrigido no próximo update?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
We cannot and will not do anything to bypass play protect certification.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chalee7:
Does anybody knows how to solve this Problem with Telegramm Calls (no speaker or no microphone) under the last Lineageos 21 for the Moto G7 Plus!?

I checked the rights-managment too, but no success. Happened same on the Moto G7 Power with LOS21, so it has to be something with Telegram or something with LOS 21!?

Should i just wait for the next updates or is there a way to keep the sound in Telegramm Messenger CALLS running!??

I just recognized this with Telegram, not tested if this happens with whatsapp, Matrix, conversations and others too.

Best regards, chalee
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chalee7:
I think i have to be a "senior member", that somebody will answer me!?? ;)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
It's been 2 days on a public forum - chill out lol.

Did this work on 20?

File a bug ticket either way. The details in the link in the OP will tell you how to do it.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chalee7:
Sorry. And thank you for answering.

Yes, on LOS20 everytbing was fine.

Never got this with telegram.

Tested it again on a moto G7 power (after the plus-flash) and it happens there too after upgrading to 21.

Wrote to TelegramFoss on github.

Will later file a bugticket like you recommended..

#nostress ;)