yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Damn, that really is quite outdated. The latest one we have on lighthouse, v0490, dates from 09/02/20.

I could get xxseva44 on it to get a flashable zip of the driver for Android 11 (there's some zips for that driver here on the V20 forums, although i didn't get it working on LOS 18.1/Lighthouse since it was made for LOS 17.1) while it doesn't get merged officially into the LOS rom, but i have no idea if he's available right now.

Meanwhile... @npjohnson, i'm not very knowledgeable in the rom side of things, so i'm not sure if that's a major task but is it possible to update the GPU driver to the same used in lighthouse? From my testings, it does fix the Filmic Pro bug @nostupidthing was having since it records just fine here, and will also probably fix a large assortment of GPU bugs in other things as well as make the GPU faster/more efficient overall. I'll contact xxseva about it and see if he can help.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
"where is the GPU driver from?" Is the big question.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ryu945:
Where is a "safe" location to download such file?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
I have uploaded it for you. Can be used for H910 or US996

US99610f_00_1205.kdz

US99610f_00_1205.kdz

drive.google.com
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Seems like they need to be either extracted from other phones, or downloaded from google's development site for their pixel devices here:

Driver Binaries for Nexus and Pixel Devices | Google Play services | Google for Developers

developers.google.com

From what i've seen, The Adreno 540 on the Snapdragon 835 has the same underlying architecture as the Adreno 530 on the Snap 820/821, so the Pixel 2/XL binaries should work on the V20 as well and also be the most updated ones, but if not, i guess the latest Pixel qcom binary should be a safe bet. I even got ahead and downloaded the pixel 2 binary and it appears to extract a vendor folder even without my phone connected to the USB, so the driver's probably internal to the .sh file.

Unfortunately i don't know how to interpret those extracted files myself, so i'm sorry if that's not enough information.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
If they from another msm8996 device, and an officially released firmware, we can look at it. Anything beta or pre-reoease, no.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
The Pixel/XL binary is made for msm8996 and it's from the Android 10 release for them, so it's by far the safest bet we have:

Driver Binaries for Nexus and Pixel Devices | Google Play services | Google for Developers

developers.google.com

But as i said, i have no idea how those extracted files work. I'll get in touch with other ROM devs and see if i can get some extra info.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Alright, so i had a chat with @xxseva44 over telegram a while ago, and yep, those appear to be the gpu blobs we're looking for. Lighthouse uses the latest drivers from Pixel 2/XL (msm8998 -> Adreno 540), so they do work on the V20 but aren't intended for msm8996 in the strictest sense. He also told me about the structure of those extracted files:

"Vendor stuff(qcom folder) is the actual drivers and stuff whereas the device(google_devices) stuff is just listing out the directories and telling the compiler where the vendor files are".

Hope it helps.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
The vendor repo stuff has no bearing to us, as we do something entirely different.

And as for msm8998 - eh that seems like a bad idea to me. Might be open to pixel XLs drivers but not 2 XL
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Yeah i posted a link to the latest firmware binaries for the Pixel XL above, 2 XL isn't really intended for msm8996 so i can understand not using it as a base.

And if the driver structure is different on lineage, i guess we have to find out what differs between google's binaries and Lineage's structures...

I have the lineage repo cloned locally, and so far those drivers and etc seem to be located on /lineage/vendor/lge/msm8996-common/proprietary. At least the files in there appear to be the same overall. But i'm not sure if those are actually part of the rom or come from another repo, as some ROMs for the V20 do include a "msm8996-common" github source separated from their main ROM source.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
I really appreciate you trying to dig into this, but it's actually really simple, we just structure the folder structure differently because we extract them from a running build instead of from the OEM sourced tar, because obviously we don't have that from LG.

I'm down to test the pixel XL driver, I'll give it a shot, nothing more really needed.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Alright, thanks!

I just didn't think the proprietary blob extraction procedure depicted on Lineage's website could also be used for those qualcomm blobs as well.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
is there anything i need to do or i just wait for next los build?

THX A LOT !!!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Waiting is the best approach since the alternative is packing the driver up and making a flashable for it. npjohnson is testing it, so if the driver works fine it should come to the lineage releases in a while.

But after (and if) it gets updated, please report if the app is working on it cause the 8996 driver on the Pixel XL is likely older than the one used in lighthouse, so i can't guarantee it will work on this one even though it should fix a lot of things if the binary is much newer than the current LOS one.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ryu945:
Thankyou. I tried to flash it and it asked me a question not mentioned in the guide. It was asking about partition name. There were a lot of check boxes to click on.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
You need to select all partitions in partition dl. Keep in mind after you flash it and reboot you will need to unlock bootloader and install twrp. Then you can install los.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Only thing you'd need to do is clear cache and delvik and posibly force reboot once or twice
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ryu945:
I used partition dl to get to that menu. Does that mean I need to select all of those?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
Yes
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ryu945:
I tried running that guide. At step 16, it just stops on an LG logo screen. It has been over 10 minutes. Guide says 5 minutes.

edit: nm
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
Thats the hardest step. When you run step3.bat file the instant the phone goes blank you must pull battery out and when you put it back in hold vol- plus power button until logo and release only power button and then hold power button again until Factory data Reset menu then proceed.

Repeat step3.bat until you get into twrp. If you allow phone to boot without doing this you have to start over with RUNMEFIRST.BAT
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] riverstyxxx:
Just got this installed, works great! I followed the guide on their website and how to unlock the bootloader, the only thing that didn't pop up was the message saying to go to step 2 (or maybe it was step 3). I can see why this phone has a dedicated audience, I'm really liking it so far. One problem is that I have the Verizon phone and it vibrates until lineage loads all the way to the home screen.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
where can i check if the latest build is updated with new graphics driver? thx!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Usually that's written in the "Recent changes" of the builds for your model, so from npjohnson's main post, it's "Get the builds here" in lineage's page for the device, then "Recent changes" right below the "Builds for *model*" text.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
not yet. I'll post here when/if we push them.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ryu945:
Thankyou. I got it working after understanding what it going on and customizing the instructions. Who would I ask if Divest OS works on my phone ( LG V20 910). This page says it supports the US 996 but no mention of my phone. I thought the 910 was similiar to the 996. https://divestos.org/index.php?page=devices&base=LineageOS

edit: Developer says it is not supported and they are adding it next build cycle.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
The H910 is nearly identical to the US996, the difference lies in how the bootloader is unlocked on them. The H910 (i have it) needs to be unlocked with an engineering bootloader while the US996 can be unlocked officially. This usually means that a ROM made for US996 with official unlock in mind will display lots of graphical artifacts in the screen on an H910 or any other model with engineering bootloader. That's probably why they don't support anything besides US996 yet.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
While that is true, if he want to run it and avoid static boot, he just needs to croshflash the us996 file(by editing the updater script) and then flash an h910 kernel, swan for example. Then voila, no static:)) He can also just flash the rom and cover the proximity sensor until the boot completes
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ryu945:
Would there be any lingering problems if I just flashed a ROM with download mode and then installed an OS and support installer menu (aka power + volume down) after that since I did not flash the H910 kernal afterward? The OS I installed is made for the H910 and the support installer is also tested/made for the H910.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ssurell:
US996 loses Verizon 4g LTE switching from stock ROM
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] fire219:
Hi, I've been using LOS 18.1 on my V20 (H910) since not long after the first release. It's been working mostly flawlessly for me ever since, but there's one issue that keeps coming up that is becoming more of an issue as I'm having to travel more.

The cell modem technically works... but not very well. At home it works flawlessly, but when I travel anywhere else connection is very flaky. By that I mean sometimes it will work fine, but very often it will just not receive anything (data, calls, texts -- everything) for up to a few minutes. This happens in places with perfectly strong signal, and the signal strength on screen seems correct. (In places with weaker but still acceptable signal, often I get no reception at all...)

It does eventually straighten itself out -- the signal indicator will show the small X over it for a few seconds before disappearing with the return of functioning service. Service will remain for a few minutes (or until I turn the screen off), then it is back to square one.

This definitely did not happen on the stock ROM (don't remember which version -- but it was Nougat with some 2016 security patch level). I assumed it must be a modem incompatibility, so I flashed that "universal" modem (MPSS.TH.2.0.1.c3-00045-M8996FAAAANAZM-1)... and it may have helped a little bit? But that may just be placebo, because the problem does remain.

Is this any sort of known issue? I certainly haven't found anyone else with it (but there's a lot of threads on XDA, I could have missed it). Obviously can give whatever logs or screenshots are needed -- I would love to not have to worry about missing calls.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
I have had a simular issue and I think its been around for STOCK and LOS since day 1

Try this and let me know if it solves the problem: When your connected to wifi and then leave the wifi area (ex driving to another location), REBOOT PHONE after your out of the wifi connected area.

OR TURN OFF WIFI and REBOOT phone and leave wifi OFF for a few days and see if problem still exist.

Cant wait for your results. Please post results
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Yea this is a costom rom thing, issue is definetly modem related. On custom roms, signal reception in general is just weaker, why? Honestly not sure. Could just need to be updated although that could interfere with fingerprints. Either way the issue is isolated to custom roms.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
If you know of or find a baseband version that is better for signal reception EVEN IF it removes fingerprint, please let us know.

I have never in my life used fingerprint feature and never will.

Thanks

FYI. I am using baseband from 99610f on my H910 and live out of the city and far from towers. Getting min 3 bars and LTE with great speed on att tower...... not bad. No kernal crashes at all
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] fire219:
After a few days of testing, this has not solved the problem, but it seems to make it a bit better. I still get drops like I said before, but it's less common. My phone is at least somewhat usable far from home, at least.

I'd love to hear from anyone who has an actual solution to the problem, though.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Jaspreet.master7:
I deleted my boot and aboot backup images for h990ds. Can someone please share them.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
thanks! awaiting!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
small problem, hope it can be fixed... 😁
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
BTW, I wonder if it's advisable to upgrade the baseband (and how) on LOS18?

For example, one V20 is running m8996faaaanazm-1.77269.3.79643.3
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Nah, if your current one works, keep it, v20 can be finicky.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] stingbandel:
Does anybody have problem with NFC? I have problem NFC cannot write to my parking card. I can read the parking card to check the balance but not able to deposit amount to my card from my banking app. It always says fail to write because the card is not attached properly to the phone. I am.sure I attach it properly as it can read the card just fine. Somebody experiencing the same problem like me? Thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] el-sahef:
Why is it that LineageOS needs the nougat firmware to work correctly with the hardware (e. g. fingerprint)? Is there a possibility that some stuff would work somehow better with the oreo firmware and what parts of the system would need to be modified (kernel, whatever)?

I'm just asking out of curiosity.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
we could update kernel and blobs, but the issue is the g5 was left on nougat, v20 is oreo.

We'd have to decommonize stuff - it would be a real pain this late in the device's life cycle - better to just deal with it as is tbh.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
understandable

is there anything we miss by not going to nougat?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
We are on nougat firmware, which you need to run the ROM as it is.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
ah yes, i meant oreo... just wondering if any benefit for los from adopting oreo for v20? but as far as i can tell it's perfect right now except for the graphics driver so i think it's best to stay with nougat which and tested and working :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Not really. Both are horridly out of date security wise, so meh.

Maybe some firmware bug fixes?

But at the moment things are stable, so at least for 18.1 that's how we are staying.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
Perfectly understood and reasonable.

But pls, take a look at the graphics driver, im waiting for it to use Filmic.

THX A LOT!!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jantin1:
Hello! I have a problem with the LOS 18.1 on LGV20 US996. I have flashed the US996 rom onto a previously H915 phone, then installed LOS system and recovery with use of TWRP. I also had to flash modem separately to prevent kernel crashes. Now the system is stable (doesn't crash, boots every time, wifi and calls work) but it doesn't recognise internal storage. SD card is fine, it's recognised by the file manager and I can easily browse it.

- File manager ("Files" app) says "Can't load content at the moment" when I select "Downloads",

- camera (Open Camera app) says "Failed to save picture" when a photo is taken.

- Voice Recorder provides most useful error prompt:

java.lang.IllegalArgumentException: Volume external_primary not found

thus I suspect it's a system-wide problem with access to the internal storage. At the same time it's possible to install large games from Aurora (so apparently obb folder exists and can be written to). It's also worth noting, that Aurora did ask for permission to access storage, while none of the other apps did and the permission doesn't show up in app menu (neither as granted nor not granted, storage access credential is just not there).

Until now I tried the "Fix contexts" option of TWRP, but without success. How can I fix that?

LOS 18.1 on US996 doesn't see internal storage, SD card is fine
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jantin1:
As usual when I give up trying and post on the internet I figure out the solution 20 min later.

So if you're facing the above problem the steps to fix it are as follows:

1. Boot to fastboot

2. flash TWRP with computer with USB

3. Boot recovery TWRP: Disconnect USB, remove battery, insert battery, boot recovery with buttons. DO NOT allow a reboot, as LOS will probably replace TWRP with its own recovery.

4. Format data. Not just wipe. Use formatting explicitly to make sure the phone is clean and filesystem is established from scratch.

5. Flash LOS from SD card within the same session of TWRP (important, as you have just formatted out the previous system)

6. Reboot.

7. Enter fastboot, flash modem via computer if needed

8. Volia, now all should be fine.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Lineage OS 19 is based on Android 12, so the chance of it even booting on the current 3.18 kernel is very slim, we'll need to update a lot of things including a major kernel version bump to reach a reasonable state to port anything Android 12 so it will likely take a while. Even kernel 4.4 still requires a ton of patching to be able to boot android 12
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
We are far, far, very far from that. Our device trees are simply too outdated for a12 to even get past the lg logo. Only hope of even booting a12 is a significant upgrade for the kernel, device trees and device firmware. All of which will take time, lots of it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
hi, not sure if hardware or my stupidity.... one lg v20 (h990ds) on los18 had some problems yesterday, mobile network was lost and fingerprint sensor was lost too

after reboot, mobile network works again, but fingerprint still missing, it's totally missing from settings too

i tried many methods i found online, not working...

then, i thought about wiping, then when i try to twrp backup my phone, it asks for password to decrypt, which I have totally no idae, tried my pin, it doesn't work. removed the pin, still doesn't work...

i don't want to wipe without a backup, is there any solution?

and I wonder if it's a hardware defect? maybe when I wiped the phone with clorox some moist got in?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
any updates on the gpu driver? :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Sounds likee you're on oreo firmware, you'll need to go back to nougat and unlock the bootloader again OR flash a nougat flashable for your variant. As for the twrp thing, really odd as usually the pin thing happens when booting to the os on a stock based rom. Overall, advice would be to start fresh on nougat
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
no i'm not.... it used to work, just one day it started acting up.... anyway i suspect it's hardware going south so I'm trying to get it fixed...

the mobile network lost was for one sim (sorry not clear before), it happened again but a reboot always fix it.

the fingerpint is still lost though

anyhow thanks for replying :D

the thing about twrp asking for password is strange though... any idea? i set a pin only and twrp doesn't take the pin to unlock the phone, I removed the pin and twrp still ask me for password which i have totally no idea...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
one new question, which vs995 rom recommended for los 18.1? or i can use h915 file from this https://xdaforums.com/t/root-howto-at-t-h910-up-to-v20g-fully-tested.3664500/ too?

thx
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
can you let me know which kdz you used for dirtysanta? thx!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
Same issue with our h910 on current LOS release. I have tried several baseband versions from android 7 but no change. This issue is when WiFi is off or not connected. LTE signal from tower is 4 bars. Speed test is blazing fast. But all apps come to a halt and can't get data to work correct.

Phone calls OK. APN settings OK. I am at a loss as to why data speed test is great but apps not getting data from internet. Yes once in a while they work sporadically but its hit and miss.

Location works using GPS navigating app that has maps saved on phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
hi any news about the graphics driver :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] loyukfai:
This link seems to be dead now, any suggestion?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
ahhhhh i try to flash los again on another h910 but now whenever a sim is in there it kernel crash but i forgot how it was done........... any idea?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
this modem seems to work

https://xdaforums.com/t/rom-h910-h9...5-1-for-lg-v20.3775689/page-106#post-77597800

edit: ummm this seems to have a lot of wifi drop though
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
It is? Weird, i just entered the AFH link right now and there's a mirror to download the modem.img file.

In any case, if AFH can't find any mirrors for you i think i still have that file somewhere on my phone. I'll see if i can upload it later.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] loyukfai:
Nevermind, it works now. Thanks.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
hi there i tried several modem.img , some are wifi stable but kernel crash whenever sim is installed, some are crash free but wifi unstable, so there no solution?

h910
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
this modem https://drive.google.com/drive/folders/1pKKp78EqFwoCs5PuXi_2P-4_hsEx6u5_

from this thread https://xdaforums.com/t/guide-us996-no-service-radio-off-after-ota-kdz-fix.3727126/

seems to work great

edit: sorry say too soon wifi still not stable