yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NikolasOliveira:
The h830 version is possible to unlock, but you need to go through "easyrecowvery", the step by step is available on xda, it's a little complicated at first but then it's easy to understand
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kejava:
I went through this process recently with a bunch of my H830 models. For someone new to this, it can be a convoluted process. Many of the parts are scattered around in different sites/discussions.

@Madfrog22 reach out if you have trouble.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NikolasOliveira:
I used the following tutorial. Because it's old, the images don't appear anymore, but the software download link is working and the written step by step really works. https://xdaforums.com/t/guide-tutor...ecowvery-h830-v20a-only-noobfriendly.3580264/
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] EEngineer:
I have an LG G5 H830 and I had no trouble unlocking my bootloader.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Was it recent? Perhaps unlocking the bootloader on the H830 doesn't require an unlock file from LG.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] EEngineer:
No, I did not need an unlock file from LG.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kejava:
I went through the process for the H830 and RS-988 models of the LG G5. The process for the H830 continues to work fine, it requires the Uppercut downgrade and then the dirtycow exploit. What's funny is my biggest obstacle was running Uppercut on Windows. I only have Linux at home. Luckily I had an old Win7 virtual machine lying around so worked through that. The RS-988 (and likely some of the other models) used special code from LG to unlock the bootloader. From what I can see and others are saying, that LG online service is no longer available.

As @EEngineer mentioned, no special code for the H830, but it is a process that you have to careully follow.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kejava:
Disabling NFC seems to have helped with my random reboots. Will try for a few more days to be sure though.

As for the SMS/MMS drop-out issue, I tried a different ROM (Lighthouse, very nice!) on a different H830 phone but with the same SIM. Got the same behavior :-( So anyway, could just be something in my settings that's bad with Mint Mobile. I've read about about "mobile data always active" in Developer Options causing some issues. I'm going to trying keeping that feature disabled and see if that helps in anyway. BTW, I didn't see this behavior my RS-988, just the H830.

UPDATE: Disabling "mobile data always active" worked with my phone but not my wife's. I'm beginning to wonder if it has something to do with the duration that you're knocked off wifi. Such a strange issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] EEngineer:
Disabling NFC on the LG G5 solves a lot of problems, including stability & battery life issues.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kejava:
Yeah, it seems that way so far. Kind of funny too, considering the extra step I had to take of installing LOS 15.1 to get NFC enabled. On the bright side, one less step on the next major reflash.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kejava:
I think I'm narrowing down my text issues to APN settings.

Anyone mind sharing their "Preferred Network Type" and APN settings with me for their H830? Or perhaps pointing out possible issues with my present settings with Mint Mobile?

Here are my settings:

Preferred network type:

LTE/TDSCDMA/CDMA/EvDo/GSM/WCDMA

Name: Mint

APN: Wholesale

MMSC: http://wholesale.mmsmvno.com/mms/wapenc

MCC: 310

MNC: 260

APN Type: default,mms

APN Protocol: IPv4/IPv6

APN Roaming Protocol: IPv4

MVNO Type: IMSI

MVNO Value: 310260x

These are my new experimental settings. I didn't have any MVNO values before but found these in a separate discussion. The MVNO Value matches the network that I connect so that's a good sign.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Madfrog22:
yes i have it... but i'm a bit worried about anti rollback version... i dont want to brick it
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Madfrog22:
nice tutorial, havent tried it tho
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Madfrog22:
really? thank god...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kejava:
I think part of the problem that I'm seeing with my sms/mms and even voice dropping out it is the removal of 3G support from my area. I've read in this thread and others but it didn't really sink in (for me):

3G is going away. It's already started with AT&T and T-Mobile will be July 1, 2022

4G LTE is for data only

VoLTE provides voice over LTE

Don't have VoLTE? Then it switches to 3G (HSPA?) for voice but see item 1

LOS on LG G5 doesn't support VoLTE and never will

You can only make voice calls on the crappy old stock ROM (Android 8) b/c it supports VoLTE

I wanted to stick with LOS (and Lighthouse) but the problems I'm seeing seem like they might be related to this removal of 3G. If VoLTE is not supported in the ROMs, how will you make voice calls in the next few months? Aren't we on borrowed time here?

I just started flashing some of my back up LG G5s with the stock KDZ. I hate it but it seems like the safest thing to do.

I suspect many of you already know what I'm saying here. I'm posting it for those that don't ... or perhaps I've gotten some of this wrong and I need to be corrected. Please, feel free to correct me.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mattia.b89:
Sorry for the intrusion.

I am going to buy a second-hand G5 with the idea to flash LOS.

What are issues of the lack of VoLTE?

With my actual phone (no VoLTE as well...) when I receive a call, it just switch to 2G... that is you can data on 4G, you can have phone call on 2G, you CAN'T have data WHEN calling.

It is the same for this phone + LOS ?

(latest @kejava post is not clear... it implies you will not be able to call anymore at all...)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bernardobas:
Make sure it's an h830 or it's already bootloader unlocked (if other variant). Otherwise, you'll not be able to unlock it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kejava:
@mattia.b89 Hi! Sorry if I wasn't clear. I suppose that what I'm saying might depend on where you're located. Everything I've been reading is saying that 2G AND 3G are being phased out starting roughly in 2022 and should be gone by 2023. I suspect this is why my wife was having so much trouble with voice and text when she when into to the city (Philadelphia).

Recently, I switched all my LG G5 H830 phones over to LOS. They worked quite well at first but then we noticed issues recently when taking trips away from the home, e.g. drop out of SMS/MMS and voice. Toggling airplane seemed to work for SMS/MMS but not really voice.

Google for "2G 3G shutdown" and you might find that it impacts you immediately. I found these links kind of useful:

https://www.phonearena.com/news/t-m...-2g-3g-4g-lte-network-shut-down-date_id134159

https://www.digi.com/blog/post/2g-3g-4g-lte-network-shutdown-updates

The takeaway: networks are shutting down 2G and 3G, LOS doesn't support VoLTE on this phone.

Maybe there's more to this that I don't understand but it seems that LOS on this phone will cause significant problems for people, particularly if they need voice calls. Going forward, I'm starting to wonder if we can only put LOS on 5G phones. It seems that LOS supports VoLTE one some phones but it's hard to tell until to you read the forums or try it for yourself.

Sadly, I reverted my H830 to stock a few days back. Everything is working fine now and the wife is happy. If I want a phone with a removable battery, I might just have to switch to the PinePhone.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mattia.b89:
Ok, I am in Italy: different situation.

Here, the phase out concerns about 3G only, not 2G.

[IT: https://www.punto-informatico.it/perche-disabilitare-2g-scelta-migliore/]

So I can stay safe for years.

Thanks @kejava
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] EEngineer:
I called T-Mobile customer support last month. I explained that my LG G5 has LOS and that it does not support VoLTE. I was told my phone can still make calls using 4G and LTE so there would not be a problem.

I suggest that those of you using LOS should do the same instead of guessing - call Customer Support and tell them about your phone to make sure you can still make voice calls.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ludoboii:
What's the correct version of the firmware to install in order to have LineageOS 18.1 work properly? The installation instructions mention the firmware from the stock Android 7 ROM, however when looking at commits I found this one where they changed a value that seems related to the firmware from version 7 to 8, but I might have gotten the wrong impression. There's an older commit where they changed the same value from version 6 to 7.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Use the latest firmware.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tootandboom:
Just picked up another h850 and I'm getting the "Device not registered" error when looking for OTA updates. The phone is on Nougat with security patch Dec 1st 2016. The wiki indicates Android 7 with most up to date patches. Can anyone verify for me that this is conducive to proceed with the flashing/installation process?

Thanks in advance!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tootandboom:
Disregard, it's been so long that I hadn't gotten quite caught up on all the changes ( i.e. LG site gone etc.). Apologies for wasted question.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 2the6:
Fingerprint problem in 830.

After flashing the rom the fingerprint remains but after that the fingerprint vanishes automatically.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] andrerodr:
I'm getting the same fingerprint error.

edit: it's an h850
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Androi100:
DEVS?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] disk@tek@:
Hey guys. Can you get a gps fix on latest build? Not fused but from satellites only?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] DrowningInFreedom:
Satellite GPS works fine on my 17.1, will flash 18.1 on my spare G5 to see if it's as broken as you say

EDIT: I can't get satellite GPS to work on the last 17.1 build or latest 18.1, my daily G5 has 20201125 17.1 which works fine. Both phones are H830
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] disk@tek@:
Thank you for testing. I hope devs will fix this soon. Havoc does not have satellites either.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I have a self build from Sunday, after the 5 April security update. GPS tracks satellites, and gets a fix using them.

However, my impression is that stronger satellite signals are now needed to get a fix.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
Does anybody know what's the difference between the recovery downloadable here <https://download.lineageos.org/h850> and the official TWRP from here <https://eu.dl.twrp.me/h850/> or has anybody running/tested the first?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I've used nothing but LineageOS recovery since the beginning of December.

TWRP has many more features, such as a shell and nanroid backup. Lineage recovery is (or was, last time I used TWRP) better integrated into the system. It allows automatic upgrade of an encrypted system.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
@rfrazier so as I see the necessity of backing up I'll stick to TWRP.

My system isn't encrypted anyhow and I don't like automatic updates either.

Need to check comments prior to that as this is my main device.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Good points. I misspoke. Lineage OS doesn't have a fully automatic update. It is more of semi-automatic one. It sends a notification that one is available. Then you have to download it (button in the notification). Then after it is downloaded, you have to install it (button in the notification). In "settings -> system - advanced -> updater" there is an option (top right, three dots thingie) to see the changelog for the next release for your phone model. That might be useful even if if you don't use Lineage recovery.

I use a local OTA server, so my notifications come from it. I once got a LG5 for spare (pretty inexpensive) when I thought I had bricked mine. However, I got the original back working, and use the spare to test major changes, e.g., seeing if the new Lineage seedvault backup works. (The answer is reasonable well, but perfectly.)

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
@rfrazier so that's the normal updating procedure I know from all the other devices I have on LOS.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
That's because of incompatible data - format /data and you'll be fine.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] zhekan16:
Lg Cam Plus module does not work. Support planned? H850
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
Any chance of getting FM radio to work?

On LOS18.1 for I9195 it's working, but different hardware of course.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
I think no. Maybe one day someone will try.

IR port doesn't work. After the first command, the infrared is stucked. On LOS 17.1 after a reboot works again, but with LOS 18.1 yeasterday I had to remove the battery.

For mic gain I see issue only on videorecording. With Open Camera I switched source audio to default and works. I patched Gcam to use the default audio and now videorecording has good audio.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Something is causing 18.1 to have the low mic gain bug in video recording that 17.1 (at least for me) doesn't have. Is this perhaps why? It's using a different audio source? This is probably the only reason that I'm sticking with 17.1.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
Nope - they can fix it on Lineage, but we can't do anything.

should work if it works on stock on your model?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
Did.

Tried the from LOS18.1 extracted .apk but H850 didn't let me install it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
I'll take a look.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] australisaurora:
Hello.

I'm new to this whole custom ROMing. As new as one can get, so please go easy on me.

My G5 is numbered AS992, or more specifically, LGAS99220a. I got this from "About phone->Software version". Since this guide offers support only for H830, 840 and rs998, should I forget about flashing LOS on my set? I just want to mess around with LOS as this is my spare phone I rarely use. If I can get dark mode on this in the process, it'll be gold, but I won't lose sleep over bricking it. That said, I'd still not take the risk knowing this method/ROM is certain to not work on my variant.

Thanks in advance.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
This is very strange, from 17.1 to 18.1 this issue is not changed for me, I have H850 and there is also this issue opened from another user with H850. This issue is not alone because there is also this different smartphone but same mixer file and same problem, no changes from 17.1 to 18.1

Audio source for video recording is for default CAMCORDER (0x05) it's the same for all app. Some app let you to choose, but some app as GCam and default LOS Camera don't let you to select a different source.

Apart from that, I think LOS 18.1 is better than 17.1, android 11 has some interesting improvements respect to 10.

We can set wifi to manual connection, I don''t like automatic connection of wifi. I see a little improvement in battery drain.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Strange indeed. Low mic gain in video recording is the only issue I have with 18.1. I've gone back and forth between 17.1 and 18/18.1 like 4 times now and the issue is replicated every time. Every time I did a clean flash fwiw. I can barely hear the audio in video recordings in 18.1, so it's not like it's a small difference.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
What?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Androi100:
I was looking here on the xda forums and the guys found out how to unlock the bootloader > h830 from tmoblie but it only works if you have it on nougat

https://xdaforums.com/t/guide-tutor...ecowvery-h830-v20a-only-noobfriendly.3580264/
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Androi100:
I would also like to know when the IR will work again
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
No clue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Androi100:
do you have the next update??
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
No. I do not. I do not have this device, x86cpu is the only lineage guy that does - please stop bugging us about this. IR is not in charter and we have 0 idea why it doesn't work - people keep saying "wElL IT WoRKs in GAMMA KerNEL" - okay - then isolate what patch fixes it and we will happily integrate it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] qwek:
sorry before, this is out of topic, i just wanna ask you something sir, its about your UNOFFICIAL LOS 18.1 for griffin, before asking, i can confirm that i dont see any thread about your LOS 18.1 for griffin, i just wanna report that your LOS 18.1 has a random reboot, can i PM you the log? or where i can report the bug?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
meh, DM it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stark-Industries:
Bootloader is not unlocked. Is there a way to unlock the lock?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] npjohnson:
What? Not unless the device is unlockable per Motorola.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Androi100:
what's your model
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] davestuarts:
18.1 lags on LG G5​

Yes, still using a 2016 G5 as a daily driver as a long as LOS continue to support.

The issue I've had for a while but never asked about, is lag mostly when wifi/data is turned on.

It's like all the apps seem to then download data/connect to the internet at the same time and the phone basically stalls for a minute or more, then becomes stable to use. It can be annoying when I quickly need to access an app or brower and have to stand around waiting. I dont leave data on to save battery. Is this a governor thing or developer tweak I could change?

Bluetooth can also take a minute to turn on and be ready to connect.

Are both of these related? Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stark-Industries:
H850.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Androi100:
the only one that is unlockable so far is the h830 https://xdaforums.com/t/guide-tutor...ecowvery-h830-v20a-only-noobfriendly.3580264/
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Androi100:
devs a friend of mine who works on the moto g4 plus gave an idea of the lg g5's IR he said the following "While taking log It can be seen as Cannot find manifest entry ... after something android.something.ir like that"
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bccrosby:
my device is h830, after installing rom lineageos 18.1 , my machine has the phenomenon of being used, then suddenly randomly restarts randomly, so is it because of mainboard error or lineageos18.1 rom error?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bccrosby:
please help me how to turn off nfc
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xenondroid:
Is Camera API2 failing to take HDR pictures a known issue? I'm using OpenCamera and it gets stuck while taking a picture.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] a.pavliashvili:
hello, is there any instruction how to install this ROM on LG G5 Dual H860N ? (if it's posible)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Androi100:
is activated by mobile ?

if not, I don't think there's any way
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] a.pavliashvili:
what does it mean "activated by mobile? i'm gonna to buy this one

https://a.aliexpress.com/_m04GLJS

i prefer with dual sim coz it have Memory Card Slot...

any advice ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Androi100:
if you want to unlock your device's bootloader it is better to get the tmoblie h830
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] sqrtus:
My LG G5 H840 has an unlocked bootloader, but when I try to flash Lineage 18.1 version for H850 (testing), I get an error that I can't do it. Is it possible to make a firmware for the H840 or correct the file from the firmware for the H850 (maybe there is some kind of manifest file or something else inside) to use the firmware from the H850 and flash the H840 model on Android 11.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
@sqrtus inside the .zip there is a file "updater-script" in which is defined which device the ROM was made for.

When you change all H850 references to H840 flashing may work.

If "h1" can stay idk as I'm having a H850.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] sqrtus:
I updated TWRP to the latest version 3.7.0.9, edited the updater-script file

Spoiler content hidden.

, but still getting error 255 when installing zip

code i removed from updater-script

Spoiler content hidden.

I don't know what to do with this error, please help
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bmwdroid:
Wasn't I clear in writing:

"When you change all H850 references to H840 flashing may work"
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] sqrtus:
assert(getprop("ro.product.device") == "g5" || getprop("ro.build.product") == "g5" ||
getprop("ro.product.device") == "idk" || getprop("ro.build.product") == "idk" ||
getprop("ro.product.device") == "h840" || getprop("ro.build.product") == "h840" || abort("E3004: This package is for device: g5,idk,h840; this device is " + getprop("ro.product.device") + "."););

I did that too, but I also got error 255. Do I need to change h1 to idk? Or do I need to make changes in some file besides updater-script?

The question is still different: Can Lineage OS 18.1 be installed if the OS is not on the device at all, or is it necessary that at least stock Android 7 is installed (this is stated in the Lineage installation guide)? The thing is that I wiped the whole OS and formatted the Data.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] sqrtus:
Should the repackaged archive with firmware be registered via Zip_sign or SignAPK or not? Now I have restored the firmware with Android 6.0.1 version data, do I need to upgrade to Android 7 stock before installing both Lineage OS 18.1 and, for example, Lineage OS 15.1 or not?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] chicagonyc:
The official LineageOS instructions say that a downgrade to 7.0 is needed to upgrade the phone. Is that really necessary? Or perhaps it only applies to a stock 8.0 ROM?

I have an unlocked RS988 (US) that is running 17.1 that I wanted to upgrade to 18.1.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] sqrtus:
Tell me, if the H830 model has an unremoved on the official LG firmware SIM lock from T-Mobile, then, having previously received root-rights on the stock firmware and flashing TWRP, and also installing Lineage OS 18.1 further, will the SIM lock from T-Mobile be preserved and on Lineage OS 18.1?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] EEngineer:
I think I know the answer, but I'll ask anyway - is there a patch available so the LineageOS LG T-Mobile phones can use VoLTE? Because according to T-Mobile, starting January 2023 any T-Mobile phone that does not support VoLTE cannot make or receive any voice calls at all.