yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] sqrtus:
GPS does not work on official releases of LOS 18.1, it is completely dead, no fixes help. Tested on H830 and H850 devices. What are the solutions?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] hehephonegobrrr:
I see H850 (and other G5 and V20 models) are receiving monthly security updates instead of weekly updates since late last year. Will these devices (or LOS 18.1 in general) be phased out in February like previous LOS versions?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
Nope.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Shadowind30:
GPS works fine in mine, I haven't had problems with the location on the apps i'm working on and even used Uber a couple of times
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] zagl81:
Is there any way to install Lineage on G5 SE H840?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tremalnaik:
Despite the name and the appearence, the G5 and G5 SE are two completely different devices internally: even if it was possible to install a custom rom, it would have to be a different one from the one used for the H850 and H830.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] guest2free:
Slightly off topic, but what are the chances of LineageOS 19.1 for LG G5 since there is a 4.4 kernel in existence ? Regards
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
20 actually, and it's slowly being worked on.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] guest2free:
Thank you, much obliged :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Androi100:
more would be difficult?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jason379:
That's great news. A release for the G5 will be massively appreciated.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] karandpr:
Thread closed as per OP request

@npjohnson

- XDA Staff
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Frankler:
I installed TWRP 3.3.2_9-0 and lineage-18.1-20210418-nightly-h850-signed.zip on my H850.

It worked so far and I installed several apps.

One app was not working correctly, it just opened and closed again after a second. Since the app was using NFC I wanted to check if it was activated in the system settings. Unfortunately I did not found NFC settings on my phone.

When I enter "NFC" in the search for settings I find a "NFC Service" which identifies "com.android.nfc" in the app info. But I am only able to stop the service in the settings.

I think that this service is not working properly. Any ideas?

Update:

After restarting the phone I searched again for "NFC" and found an additional settings page where I saw a slider to activate NFC, but the slider was disabled.

On the next try to open the NFC settings I saw an error message that "settings" crashed and since then this NFC settings page is empty
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
You'll find this setting in "verbundene Geräte/verbindungseinstellung" at least I do, but on mine it doesn't work either.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
I guess nobody will give a guarantee that it won't be bricked.

A bit of research gave me the impression that yours is a subversion of H850 specially made for Sprint and running on stock firmware 20a which is Nougat. Afaik it only differs in frequencies used on 3+4G.

Isn't there a 30a for you available to update first to?

And you can at least get the unlock code before LG stops any support for phones.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
I don't know if your case but when I installed LOS from Android stock, there was a lock pin, because the device was encrypted, when I removed the lock, NFC begin to work. Try to read more info in this issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
My phone is encrypted, H850, Lineage 18.1.

NFC works for me, but only when the phone is unlocked.

Bluetooth works, but some features, e.g., connect and unpause, only work when the screen is on (or has been on really recently), but it doesn't need to be unlocked.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] australisaurora:
Thanks a lot! (:

I'll try to get the codes asap. Unfortunately, it seems my variant never got the Oreo update, typical LG. Update checker says I'm already on the latest firmware. I think I'll take the risk and flash away, at a later date. If it bricks it's just $50 down the drain. I'll update no matter the outcome.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
I doubt it will brick but probably just refuse getting the ROM flashed.

Nevertheless download stock ROM in advance.

As it will do a factory reset after unlocking save your stuff before.

SAVE EFS and everything else possible to SD via TWRP directly after flashing it before you proceed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
Does anyone know why in the next release there will be fixes from android_hardware_xiaomi?

In this repository I see consumerir.

Is it normal?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Some other phones have the same SOC, msm8996, so it is sometimes possible to incorporate changes that have first shown up for another phone. The Xiaomi Mi5 has the msm8996 (as does the OnePlus 3).

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
Sure but on lineageos there are

android_device_lge_msm8996-common

android_device_xiaomi_msm8996-common

Morever in android_hardware_xiaomi is defined the

service ir-hal-1-0 /vendor/bin/hw/android.hardware.ir@1.0-service.xiaomi

I think is conflict with previous service ir-hal-1-0.

We'll see what happens when it's released
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
The model rs988 and h830 have already received the update with android_hardware_xiaomi, does blasterIR work?

Got worse, better, always the same?

For h850 I still waiting.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
run adb shell getprop and give me your output, I'll tell you if your compatible.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
huh? we don't use that repo at all lol.

IR should be working as is, just need an app that can use it. Does it not?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
I have the model h850 and IR doesn't work very well, I tested with app irplus, after the first command the IR stuck in a slow flash, I see with a camera. I need to poweroff the device and remove the battery for solve it.

With stock rom, the app irplus was working.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
Weird, I'll look into it. A bug report as the wiki describes it would be helpful
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
Ok I will make asap. Many people report on xda this issue but none make an issue. I always thought it was already there.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Derevee:
Does the wide-angle camera work? Is it possible to switch somehow to wide.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Derevee:
Problem solved. The wide-angle camera works in OpenCamera, it does not work in the system application.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] guytalluto:
I like how stripped down this ROM is. Flashed as explained in instructions (coming off Autoprime's debloated M). Miss some of the LG apps like their backup and LG Remote, and feel the LG camera was better, but all else is PRIMO. Runs good and no crashes. Magisk rooted and TWRP recovery working perfect. DNS through Cloudflare will break MMS through tmobile, but having Chrome and all the Google tracking gone is Sweet! Make sure to go through all settings as there are about 40 toggles to eliminate tracking and data mining.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gohikan:
hi all,

could please someone edit the built-in kernel and deactivate the thermal engine?

with every rom i have used, if i monitor the cpu, its locked on 1036 mhz under usage and staggers the device very much.

i have found out thats because of the thermal engine.

im not an expert but i tried to compile the kernel myself but i receive an error massage

arm-linux-androideabi-gcc: not found

which i coulnt solve
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
I opend this issue I can make tests without problem.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
You must install a compiler or put in your PATH. For compile kernel I use build script from this repository

What procedure do you use to compile?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gohikan:
i just watched several videos on youtube and should have used gcc compiler. how would you edit lineage os kernel, in order to deactivate thermal engine, change default governor and clock speeds?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
@npjohnson & @aleasto, I probably sound like a broken record, but can you please look into why the recording volume/gain in video recordings is bugged again? It is very quiet and barely audible, even at high volume. This only happens in video recordings, not voice recordings.

I know nothing has changed since THIS fix. But again I haven't had this problem until the Android 11/LOS18x builds. Even the latest 17.1 official nightly was fine. Something must be causing the bug to reappear. I am running the RS988.

Also does anyone else use the official PlayStation app and have been able to sign into their account on LOS18.1? I keep getting an error that says something went wrong, try again later.

These are the only issues I'm having with LOS18.1 vs 17.1.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
For the audio bug: Please file a bug ticket like the wiki details.

As for Playstation app, sounds like SafetyNet, sad, but probs won't work, and I bet 17.1 no longer passes either.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Is this where you file reports? Someone already seemed to have made a report, but with the H850. Should I do one separately for the RS988?

Lot of static / white noise / hissing coming from device speaker (#3058) · Issues · LineageOS / issues / android · GitLab

Expected Behavior Device speaker drivers should be updated to eliminate excessive static / white noise / hissing noise which accompanies audio...

gitlab.com

As for the PS app, it did work on the latest 17.1 nightly. So is this something that can't be addressed?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
For this issue on H850 I solved changing the audio to default audio on OpenCamera and I patched GCam mod for use default audio instead of CAMCORDER. It's a workaround I know.

Here the issue with some details. The same issue exist also on different device
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
I registered an account and tested with official app, I can login. I have no playstation.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Are you rooted? I managed to sign in by (I think) enabling magiskhide.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] megatron_lives:
Hi all.

I flashed the latest nightly (18.1-20210418-nightly-h850) after wiping EVERYTHING in TWRP and have not flashed anything else (not Magisk or MindtheGapps) and on this fresh install, if I press the power button and shutdown, it vibrates for a few seconds and restarts. This was reported and closed for 17 (https://gitlab.com/LineageOS/issues/android/-/issues/2348) I'm just curious if anyone else has observed this and has recommendations to resolve?

Also, double tap to wake doesn't work - is there a work around?

thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
Mine is still on 20210411 where turning off and double tap are working.

Magisk and Nikgapps installed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] megatron_lives:
Thanks, I'll flash this version tonight and see if I get lucky. I assumed only MindtheGapps was working on 18.1??
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
Never tried those but took NikGapps core.

On other occasions I've used BitGapps but didn't find 64bit version at the time I flashed LOS18.1 onto G5.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
Yes rooted and lsposed. I have no enabled magiskhide for playstation app. I have magiskhide prop config for cts safetynet.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] megatron_lives:
I tried this but no luck, still no double tap to wake and when shutdown, it vibrates for a few seconds then restarts.

Does anyone have any advice? It is worth flashing stock first and only wiping a certain partition before flashing??
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] crossan007:
Has anyone been able to get WiFi calling to work?

I see "Wi-Fi calling" in the settings "Search results" (when I type in the search string), but it doesn't seem to actually be in the menu anywhere
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] crossan007:
Has anyone been successful at getting MagiskHidePropsConf (https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/blob/master/README.md) to support using Google Pay?

I've tried like 10 different combos here; none successful
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
Well if it''s worth flashing stock? If you have time enough.

At least that would make sure if it's hardware related or not.

I made a clean wipe of all partitions with "Format Data" afterwards when I first installed it and it worked directly.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] megatron_lives:
Well, I flashed stock and everything works as expected. I flashed all versions of 18.1 and had the same issues.

I also tried Havoc custom ROM android 11 and had the same issues. I might try lighthouse and other custom ROMs but I can't figure out why this is happening? It's fine on stock so not a hardware issue??
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
If it's working with stock ROM I'd exclude hardware cause as well.

But still don't understand why you're having this problem with each custom ROM tested.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] VortexHD:
Hello, I maintain DotOS for the G5 and can confirm that double tap to wake works on it fine.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] megatron_lives:
Thanks. I'll try Dot and report back....

Edit: haha, getting there. Double tap does work with Dotos but still when selecting shutdown, the phone restarts (but without the constant vibration before though)

Very strange. I'm not familiar with logcat etc. But would installing and observing the logs help to elucidate the cause for this behaviour??
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
Why the build for model H850 is stopped to 20210418?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] guytalluto:
OpenCam works good on this rom/phone H830. To get recording volume, you need to switch in camera settings audio to default instead of camcorder mic. Using Opera browser with DuckDuckGo search engine; wondering if Magisk Terminal Debloater will work to remove browser, file explorer and camera apps (I like FX explorer as well)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
No, and it never will :/

LG's IMS (VoLTE and Wi-Fi Calling) implementation is deeply rooted in LG proprietary frameworks, and can't be implemented in LineageOS.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bernardobas:
Hi @npjohnson

Open Camera (and BSG GCam 8.1) uses unprocessed-mic by default to get audio while recording video.

We could probably fix the low volume issue with something like this: https://github.com/BernardoBas/andr...mmit/447b11617e94bdc19797f0321b4c67d9ea0e1f94

Maybe 100 is too much. If you are running your own unsigned builds you can test that by replacing mixer_paths_tasha.xml located in /system_root/system/vendor/etc through TWRP file manager (no need to make a new build). I'm using official signed builds so I couldn't test that myself since it breaks audio.

Let me know if I can help.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
push a patchset to gerrit! Details on how to do so are on wiki. Add me as a reviewer :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bernardobas:
Hey, thanks for the quick reply.

Edit: done, patch pushed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Does anyone happen to use snapchat for making calls? I use snapchat for calling my niece and always use speaker phone. The first time I used it after installing 18.1 it was fine, but the second time I used it she said she could hear herself echoing really badly. This could very well be a HW issue with my phone.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bernardobas:
Please take a log during one of those calls and I'll see if I can adjust the sound mixer to optimize that.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] megatron_lives:
Has anyone got EdXposed and Riru installed on this rom? Flashing the zips in magisk doesn't do anything....?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
I'll try. I have switched devices to make such calls, but I might give it another shot.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] crossan007:
Has anyone tested 911/E911 for this ROM/device?

I haven't used Lineage since version 16-ish because I once needed to call 911, but doing so sent my phone into a bootloop (this was a few years ago). Fortunately someone else with me was able to make the call.

Curious if anyone else has had similar, or whether anyone else tests this functionality as part of switching ROMs.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] australisaurora:
This is what I got. Thanks for your time.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
I think it should work - if it does, report back and I'll add it to the list of supported devices :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
@aleasto, @npjohnson, @x86cpu, can you look into why my main camera, in snapchat only, has weird vertical lines/artifacts that are not present in any other camera app I've tried? They seem to appear in low-mid lighting conditions. This has been happening as far as I can remember, but I didn't really care much to bring it up because I don't use snapchat's main camera often, but it would still be nice if it could be fixed.

I've attached a logcat and a sample photo.

edit: I can't attach text files/the logcat for some reason. Here's the logcat:

dogbin - anistureli

05-05 10:54:00.286 D/audio_hw_primary(545): out_set_parameters: enter: usecase(1: low-latency-playba

del.dog
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bernardobas:
You can paste the content here https://del.dog/ and share the link.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
I installed Magisk 22.1 and works, after I installed the modules Riru Core and LSPosed (fork of EdXPosed), both works.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Thanks. Done and edited it in above.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] australisaurora:
Unfortunately, it didn't :(. I couldn't even get it to start on fast boot, which was both embarrassing and annoying. I spent the better part of the day scouring the internet for methods and tools to do so but to no avail. All that fruitless search somewhat soured my otherwise perfectly good Friday.

I think it comes down to my set being one of the less common and less support variants. Oh well, into the drawer it goes.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
For going directly into fastboot I use "Quick Reboot" by phongit.

Just tested again and working perfectly well.

Root needed of course.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
Sad, sorry to hear that.

Edit: oh wait you couldn't get it into fastboot mode? That would be adb reboot bootloader
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
I think this vulnerability exist in LG G5, will it be fixed by LineageOS? Is not easy because the vulnerable code is in vendor library.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] disk@tek@:
Is there WIP for Bluetooth not able to autoconnect and not responding to media buttons on headset while phone is in sleep?

Same question for GPS only fix.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
Nope. Would require the OEM to patch it which they won't.

Never heard this one.

Have you filed a bug report for either?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
For GPS there is this issue already opened for another device. On my H850 GPS is working, even if it's not fast, but I always had some problems with antenna.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
I have opened up an issue with snapchat and the main camera having artifacts. https://gitlab.com/LineageOS/issues/android/-/issues/3455

Hopefully you guys can take a look at it.

And btw, the low audio volume in video recordings is indeed fixed. Thanks for your work @npjohnson, @bernardobas.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
That has nothing to do with the G5. That's another devices bug.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
Good to hear.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stiesen:
First of all THANK YOU to npjohnson, x86cpu, aleasto and team for keeping the G5s alive!

Avast Antivirus 2021 tells me there is malware in the sms/mms app. I cleared everything, formatted the internal drive and reinstalled lineage-18.1-20210502-nightly-h850-signed.zip. Then I installed nothing but Avast Antivirus. It still tells me there is malware in the sms/mms app. I tried several other scanner which did not detect malware. I believe this is false alarm, but could anybody check this, pease?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
Antivirus for Android is really and genuinely useless. Beyond scanning /sdcard for files with known malicious patterns, it really doesn't do anything of use.

But yeah, defs a false alarm.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] disk@tek@:
Nope. I've switched to havoc ATM since Bluetooth was less buggy at that time. Now it's the same on havoc. But I reported GPS and somebody reported Bluetooth issue here. I'd really be happy to believe that those issues are my device specific, but even though I asked it here nobody replied for GPS test. Now since VortexHD tested GPS fix on DOTos I believe it is fixed on LOS as well. Bluetooth is still an open question.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] abdoistheone:
last time i tested it wasnt working with data and obb is it fixed now ? can i install from playstore or install xapk files normally?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bernardobas:
Yes
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] disk@tek@:
I can confirm GPS is a non issue on LOS tree. I can only thank VortexHD for testing and giving me a reason to revisit GPS fix and this time get it done it for good. If somebody is desperate enough of not having GPS and tired of not any more working methods, but interested in drilling your phone, please welcome to read my journey of a shlom's shame-hole method https://xdaforums.com/t/gps-issues-demystified.3707934/post-85021533
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] australisaurora:
The command did not help, sadly. The phone reboots normally no matter how many times I use it. I have turned on USB debug, OEM unlock, tried adb from numerous sources, factory reset the device half a dozen times, but nothing worked. This factor also severely limited the options to root. By this point I'm inclined to believe this particular model is beyond hope. Thanks for your response though. I appreciate you trying to help.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
sounds like the turned fastboot off for your model - just convert to us997 like others said.