yashsingh1/xdaforums huggingface dataset:
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
I do not recommend lingering on EOL versions of android (LOS19 is no longer maintained for the device). https://www.malwarebytes.com/blog/n...roid-now-two-critical-vulnerabilities-patched

"CVE-2023-20951 and CVE-2023-20954: both are critical RCE vulnerabilities in the System component. The most severe vulnerability could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation."

If that doesn't scare you into maintaining your security patches, nothing will.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] sapo_joe:
Well, I'm on stock Android 10, so, anything is newer than it right now...
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
I'd update to 20 and hope for the best. I have had off and on problems with the camera since upgrading. OpenCam seems to work best, and it does work, but saving pics to disk is really slow and ties up the camera while it's doing whatever it's doing. I use NikGapps core and no other additions. I try to keep things minimal so as to avoid these sorts of bugs.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] sapo_joe:
Do you save your photos to your SD card or the internal memory of the device?? That makes a HUGE difference on my phone, even on the stock ROM.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
I don't use an sd card so internal memory. It was never a problem before LOS 20 though. BTW, which one are you suggesting works better?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] sapo_joe:
Internal memory, in my experience, has always been faster to save photos.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Verstehnix:
I tested about 20 GCams. This is the only one with default settings runs without stuttering. All camera functions can be switched forward and backward without interruption.

Motocamera2 is a flop. Google Camera from the Playstore also works well, but does not have as many features

https://1-dontsharethislink.celsoazevedo.com/file/filesc/MGC_8.7.250_A11_V15_ENG.apk
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
the next build will include Aperture camera which works fine until we fix motocam
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
As of the April builds the unofficial should pass safety net.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Tiki Thorsen:
I can confirm that the unofficial build "20230416" pass safety net and that the Aperture Camera works correctly.

The updater shows 3 builds; I installed the latest (16th of April), rebooted and it still shows the 3 builds.

@npjohnson ; is there way to replace the Pixel launcher with the Trebuchet launcher on the unofficial build?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jeisonp:
I still having issues with the camera, especially when using inside apps, like Whatsapp or Telegram. Whatsapp toasts a message: "Unable to start camera. Check camera permissions...". I checked the Whatsapp permissions, but is already allowed to use camera all the time.

The GrapheneOS Camera works well most of times, but if I open the Whatsapp before, and the error happens, it's shows "Unable to capture image, error code: 3".

Telegram struggles a little, but in the end is capable to take the shot.

@npjohnson Any idea what could be? I'm using 20.0.20230418 build.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Tiki Thorsen:
What what is worth, I disabled (via ADB) the Moto Cam.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Verstehnix:
Hello, this has become too annoying for me. Using Root-Explorer in the directory "/system/Priv-apps/" completely deleted the folder "Motocamera2". After restarting the MGC_8.7.250_A11_V15_ENG.apk camera I reported about and the Aperture camera works. In Whatsapp it works now too.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
No, you can just install Nova or something.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
s

sadly no - I'll look into it.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] dalky correa:
Sadly, I had go back to stock ROM after using LineageOS 20
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] goamy:
@npjohnson

First of all don't see that as an complaint - the LineageOS team is doing really good work - but I also have the problems with various camera apps since upgrading to LineageOS 20.0. Not only the motocam but also with every gcam mod i tried (incuding the one that I used before without problems). Which information would be helpful to find the problem? In the logs there is a lot going on - errors from various libraries regarding the camera. And what would be the best way to give you this information? I think uploading files is not possible here?

Let me know if I could provide any helpful information
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
File a bug ticket on gitlab like the wiki details.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] goamy:
There is already a (closed) ticket describing the problem. I left a comment there just now.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] frief:
I've recently switched to a Pixel 7 and am now missing the notification LED that I've grown accustomed to over the last decade.

Would it be possible to use the light below the front display fingerprint sensor for notifications?

Thx for LineageOS!)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
If you're talking about a Pixel 7, why are you posting in the Motorola G7 Plus forum?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] frief:
You have a point there:) Thick thumbs on my side. The only thing Motorola G7 Plus related is that I miss the LED of the Motorola G7 Plus.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] minidiegi:
Hello, where can I find this or a newer ROM?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Literally linked in the OP.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] minidiegi:
I thought this ist the official ROM. I am lookink for the unofficial ROM, because the safty Pass.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
literally both are linked in the OP.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] minidiegi:
Okay, thanks a lot.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
Camera problems are persistent and worse than before now. Sometimes it works but photos take forever to save. Sometimes the screen is incredibly stuttered. You can count an entire second between frame update (i.e. 1fps). And when that happens, it won't take any pictures. This problem occurs in the stock camera app, opencamera, and the 2nd camera app now included in the build (aperture I think). It's my wife's phone, and she's super annoyed and wants a whole new phone because of this. That's pretty annoying because the hardware is fine. This needs a solution.

When the camera apps get into this bad state, which is quickly and often, I can force stop & clear the cache. Then it works again for a short time (albeit with still very slow picture saving).
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
deleted mistaken reply
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] sapo_joe:
Dude, wives rarely like custom roms, specially when there's still fixes do do like on LOS20 on its current state.

In your place I'd restore her phone to the stock Motorola ROM, or maybe LOS19.1 if it was working fine.

Keep the experimental stuff to people who enjoy it.

@npjohnson in your unofficial builds, which GAPPS are included?

Just basic stuff or things like phone, gboard, etc?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
It's called OFFICIAL not UNOFFICIAL for a reason. Been running LOS roms on phones for 5+ years. Never had bugginess like this before with something as core as camera function. Your excuse making is not conducive to a stable ROM and 19.1 is no longer being patched for security, nor is the stock ROM.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] sapo_joe:
Double post.

Sorry
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] sapo_joe:
And I've been using custom ROMs for about 10 years, double that time of yours, LOS was still CyanogenMod, so I have no issues using and older ROM to avoid troubles. Damn, I'm using the stock Q ROM with a 2 year old security patch.

You know, every new Android version brings numerous changes and those can be a real pain to the devs.

If your problem is security patches, you can always build a 19.1 LOS ROM for yourself with the latest patch.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
Yeah so what about 10 years? That is no kind of point. This is not endless beta software and Official releases are supposed to have a certain standard. Now if I were adding a bunch of weird mods and customizations beyond just a core gapps package, I would understand that I may have put the device into a peculiar, outlier state which I'd have to take a certain amount of responsibility for. But all I've done is install the ROM and core Gapps, which is the most minimal alteration you can make.

Your point about new Android versions would be valid if cameras were failing across numerous devices. But that doesn't seem to be the case. For example my OnePlus 6T is totally fine.

As for patching my own 19.1 ROM, it's not my area of expertise. This is like MS telling me to go compile my own version of Windows, because I have issues with a binary build rather than acknowledge the bug.

If I were the only person reporting these problems, then I'd suck it up to a defective device and not even bother anybody. But I'm one of quite a few who report this issue. It's an issue. It needs to be acknowledged. I'm happy to provide as much help as I can, but I'm not a systems engineer/OS developer.

The bug was reported: https://gitlab.com/LineageOS/issues/android/-/issues/5705 and implies that the other G7 variants have camera issues as well.

And the ticket was closed but without a fix. That's the issue at hand. Aperture camera did not fix it. Anyway, don't be like those guys who sit around in the liberachat IRC help channels that do nothing to help and just berate people for asking.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Here's a question - why the hell would one put Lineage on their wife's phone - Lineage should not be on the phone of a single person who isn't fully aware how to recover said device if things went sideways.

So is the case with all custom ROMs, root, etc. Just a bad idea.

As for your camera issues - As I've repeatedly stated - things work fine for me and the logs have nothing helpful in them.

I'd love to fix it if I had a single clue where to start looking, but nothing adds up, it works for many, and fails for many. I have no idea what that is. Even amongst the people who say it fails for them, with me changing nothing, 3 builds later they say it works.

Just doesn't add up - but the short version: If you're that pissed and in a tizzy about it - use 19.1, or - just don't use it - or, fix it yourself.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
I can recover the device if things went sideways. LOS is normally fine and stable -- has never had a problem this severe on any other device I ran it on. What should not be on normies phones (wives or otherwise) is outdated, EOL stock ROMs from vendors who just want you to buy a new phone every 2 years. The only thing more mission crit than the camera is the phone functionality itself. Enough people are reporting the issue that it's not nothing. Maybe it's time to consider the hardware version:

XT1965-2

XT1965-3

XT1965-6

XT1965-T

Which ones do you test on? I have the Tmobile model but flashed Revelry onto it a while back (converted to international).
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Hard disagree with ya there - I am heavily into Lineage development and can say - this should not be put on the device of anyone who can't debug/recover it and is unwilling/unable to potentially part with their user data.

It's not a for profit product, it's always going to be a hobby.

I have REVELRY+, not flashed to international firmware - and dude - if you seriously think I haven't looked to see if it's something as simple as a variant specific issue, lol.

I've dug into this heavily - it's not a simple issue.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
So you're saying the LOS charter is BS then. https://github.com/LineageOS/charter/blob/master/device-support-requirements.md#camera
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Not saying it's BS at all. I care about the standard of quality very deeply.

Saying we try our hardest, but sometimes issues slip through and they're tough to solve - because this is volunteer work in our free time. And that no one should run lineage that is not technical and versed in the process - otherwise you end up in situations like this where your relatives are pissed at you because you installed hobbiest software on their phone.

Doing what you're doing here is helping nothing - it's just creating useless noise.

I'm trying to solve the issue, but it doesn't happen for me, and I've already spent countless hours on this.

I'd like to remind that there are 4 billion other people in this world who could _also_ help fix this, as Gerrit is always open to contributions, or, ya know, anyone using this development forum to try to solve it instead of just hoping someone figures it out.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
If it were happening on my phone, I'd be just as annoyed at the situation, so this argument about technical people is not relevant. Yes she can't unlock a bootloader or install a ROM or back up her photos and settings. But I can, and I manage all the hardware. If every user of LOS has to be a C programmer with OS/systems experience, the community would be a fraction of what it is. So again, not a relevant point.

Either it's stable and dependable software or it's not. I use DD-WRT on my routers, and that stuff is in endless beta but hasn't given me serious functional problems in all the years I've made use of it. Should I not use it simply because it's not for profit and didn't charge me anything? Of course not. It's been perfectly dependable. Same with various linux distros over the years.

You closed the bug report though. That's partly the issue. The bug report should remain open until it's fixed. Don't sweep it under the rug. Others here are telling you it's still a problem. Installing aperture did not fix it.

I can't help at the level of altering code. But what I can do at some point is try to wipe the phone, install the ROM with no gapps, test the camera in a completely vanilla set up.

This combative, fix it yourself or eff off attitude is what destroys people's trust in open source. It's why I never look for help at freenode/libera chat, because that's all you get. Every user is a potential QA tester. I understand the need to see the problem in front of you to try to fix it. So I have a phone that is in this state. Can I collect data somehow to help you fix it? The various states I see are as follows:

1) Screen updates and camera works but pictures take very long to save (~10 seconds for a normal photo)

2) pictures won't save

3) Screen starts doing 1 frame per second and pictures never save
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
> every user of LOS has to be a C programmer with OS/systems experience, the community would be a fraction of what it is. So again, not a relevant point.

Not what I said - I said they need to be able to recovery - that has nothing to do with programming. Just understanding what the install and recovery process looks like. A lot of people know how to boot Windows into safe mode to debug.

> bug report closed

Easy, re-opened - Aperture was reported by multiple people _on this thread_ to solve the issue - hence the closure. No one asked for it to be reopened before you. Not "Swept under the rug" or malicious.

> I can't help

There's absolutely no way you'd know if you could help unless you took a look at the logs, or, you know, even tried to.

>fix it yourself attitude

I wouldn't have spent countless hours on this issue if I said "off it fix it yourself" - I'm just pissed about the way you approached it. Never understood why people assume malice where the most likely option is that the person on the other end is trying their hardest.

You said you cross flashed TMO to retail - can you flash back to TMO and try?

I am on TMO fw on REVVLRY+ and it works fine, video of it working fine: https://photos.app.goo.gl/PyfoNcWeTQSGa3iF7
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
ticket it reopened
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
Actually if you noticed, sapo_joe attacked me, and I responded to that. Otherwise none of this would have happened. As for the ticket, I was made aware of its existence and the fact it was closed (dismissed) by https://xdaforums.com/t/official-lineageos-20-for-the-moto-g7-plus.4514845/post-88484871
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
missed that.

But yeah, regardless, it's back open - and in the video I posted you can see I don't suffer the issue.

Can you flash TMO fw back and see if that solves it? Curious.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
Ok then, so the fact that I set up and manage this phone for someone who otherwise could not is not a valid argument for them not using LOS. I got my mom running linux mint on her laptop too .. it's vastly easier to support/upgrade from remote than a windows machine.

Hmm ok.

Anyway, not gonna go back to stock ROM. I've disabled the additional camera app. The built in camera app cannot be disabled. But I did force quit it. I am starting to think there's an issue, possibly with the browser (I use firefox beta because it maintains access to about:config) creating a conflict if it's not releasing camera control. I noticed the version on the G7 plus has a built in QR code reader on the new tab page. The OP6T version does not have this QR reader. Could be a red herring. I am waiting for the camera to get into a bad frame rate state again. Then I will try force quitting everything that has access to the camera.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
I also think that Linux Mint on a relatives device is a hilariously awful idea lol.

Not sure why you're administering your families devices.

But you don't need to go back to stock, just flash firmware partitions from two package. Shouldn't be hard.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
You don't have computer illiterates in your immediate family who need someone to manage their technology? So she should run a ridiculously outdated, insecure Windows computer over a solid, stable, up-to-date OS that is easy to administer from afar? Or should she throw $1000 away on new laptops every few years when all she needs to do is browse and print? I've had almost zero issues maintaining that laptop and even performing major version upgrades through nothing but ssh and VNC for close to 10 years. Stable and functional. Laugh all you want. Very odd to me a guy developing on a linux variant has such little faith in them.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Lol. Of course there are people that could use help with their tech, and help I provide where possible but I'm not going to wipe their device, install a different, inherently more developer/modder centric OS, then administer it for them.

At that point just get an IT job and make money doing it haha.

You/I aren't the tech support for the world nor should we be lol - in my findings it just results in angry family members (a'la your wife) and more anger than it does any good. They don't care if they're outdated, most the time they don't care if it's slower than it could be.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
I'm not gonna provide free IT support to strangers. My household is my household. This whole argument is so ridiculous and irrelevant. Linux is easier than Windows to upgrade through major versions and requires far less rebooting (kernels only). Once you do the initial set up work, LOS is no harder to maintain (OTA updates 1x a month) than a stock ROM. And then you don't have to buy a new device every 2 years, waste money, and create land fill. The whole point of projects like LOS is to bring longevity to an industry that has decided planned obsolescence is their primary business model.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
you do you man.

We are so far off topic it's not even funny.

But the camera ticket is re-opened.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
Agreed. And good. When the problem reappears, I'll report any useful findings. For now OpenCamera is working.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] sapo_joe:
I attacked nobody.

Just Chill. And be respectful.

Devs do this for free and they have their lives to live.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
I agree. Be respectful. You weren't before. Looks like you're gearing up to not be again.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] sapo_joe:
As the Dev himself said before, let's stay on topic.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
Is that what you were doing two posts ago? staying on topic? Enough of your arrogant hypocrisy.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] npjohnson:
Stop. Please.

Back to development stuff.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] julian67:
I just bought a used Moto G7 Plus and have installed lineage-20.0-20230627-nightly-lake with MindTheGapps. Very good instructions on the page https://wiki.lineageos.org/devices/lake/install, thank you. Everything works with two exceptions. First the camera is inconsistent, but you know all about that and I expected it to be like that! Second is the FM radio is silent on headphone and speaker. There seems to be a related bug already reported so i just added a comment to that:

FM-Radio no sound output (#5987) · Issues · LineageOS / issues / android · GitLab

Expected Behavior Current Behavior Open App FM-Radio. Cable Headphone is connected. But there is...

gitlab.com

May I suggest an improvement/correction to the wiki install page? Under the section "Ensuring all firmware partitions are consistent" it is stated that "The steps below only need to be run once per device" but I found that if you return to stock firmware then install lineageos again then you do need to perform the copy-partitions step again or you end up with a device which doesn't boot and have to do the blankflash rescue. So it seems it's once per device every time you are coming from stock.

Anyway, thanks for the ROM, it's excellent. For £50 I have an up to date device which now passes safetynet (magisk), runs my banking app, paypal etc and is connected to home via wireguard so I am pretty happy!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] retry0001-coffee:
Update on the camera issue. When it stops actually taking pictures, switch to video, record a short video for a couple seconds, then switch back to photo. Then it works again as normal. This mitigation at least works in OpenCamera. I am not sure if this will work when the screen stutters at 1fps. That may still require force stopping and cache clearing.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] proza:
The USB Debugging is always off after I restarted the phone???

Any idea how to fix it?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Fabi 2005:
Question:

Android auto throws error 22, should I reinstall the complete rom with full gapps or can I reinstall gapps over my actual system?

Using NikGapps

Thx
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Tiki Thorsen:
AFAIK is a Android 13 thing, for security.