yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
interesting finding i think what i got is actually us996 (just found out serial no says lgus996...., probably the seller crossflashed to h910 without me knowing)

so when i flash the us996 modem, it boots ok, then i migrate to us996 build and twrp to us996 as well, the screen become a lot of noise/static during boot, which wasn't before

in short

us996 device

h910 los18 rom 20211104 + us996 modem = ok

us996 los18 rom 20220102 + us996 modem = ok but noise/static screen during boot

also in windows explorer even with us996 rom still says LG-h910
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
That's because other models are unlocked through the engineering bootloader and the DirtySanta(DirtyCOW) exploit, while the us996 can be unlocked officially... Or at least it could a while ago. That exploit makes it necessary that the kernel provides a way around that garbled video during boot on those other models. According to @xxseva44, it's related to the proximity sensor and booting the phone with your finger blocking it "fixes" the screen noise. But since your device is a us996, simply unlocking it officially would be better. But then you can also flash an h910 kernel over that us996 rom and possibly also solve that boot issue.

At the end of the day, it depends on which kind solution you want.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
ahhh i didn't know that, i though it was a h910 so i unlocked/rooted using the common root method, is there anyway to revert and "officially" unlock it now?

static screen doesn't bother me that much though

wifi instability is more of a problem

ahh i just checked lg has stopped the bootloader unlock service
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Yep, unfortunately they seem to have closed that service, so the best approach you have is using that us996 rom with the modem that works best for you and also a h910 kernel to solve that screen glitch at boot. I don't think the h910 kernel will break things on your us996 since they're basically identical except for that unlock procedure.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
thanks! probably I'll flash h910 again for the next update... particularly no benefit in flashing us996 except the static screen anyway
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
there is another problem.... twrp, already using latest version, cannot decrypt /data, using pin, any idea?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Oddly enough you need the really old versions of twrp. I forgot the exact version but it would've been bundled with your root guide. From there, format data and reboot.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
thanks a lot! so i need to wipe again.... yikes....

one last question for time being, if the device is already bootloader unlocked (which I think so bcs otherwise the seller couldn't have flash h910 rom on it), is it possible to revert to stock and keep the unlocked bootloader? is flashing a stock kdz ok? or if there is anyway to check?

then with unlocked bootloader i can still install twrp and los?

thx alot guys.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Well if you want to be on stock, just dont flash a rom on top and flash the patched kernel which would've been with your guide. If they didn't link one, use mk2000. You should already have twrp. Do not flash a kdz, you're basically restoring the software on the phone. If you want stock, use alpha omega, weta, etc, theres a post on the v20 thread which has them linked. And you can use los with the unlocked bootloader.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
thx a lot

what im thinking is that if i have unlock bootloader then it will be nice to get rid of the red logo during boot right?

but then i just remember, usually bootloader unlock will still give you some kind of warning anyway, so that's a wash.

so probably i'm going to stick with it and just flash los h910

i prefer los to stock

thx!!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
umm i just flash back to twrp-3.0.2-1-us996 and format data, then update twrp and install los, then encrypt and set pin

but still cannot decrypt in twrp....
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
ok, i need rest and here is the outstanding issues

1. encrypted phone cannot be decrypted in twrp (tried old and new twrp)

2. wifi unstable

3. gpu driver outdated (cannot run filmic pro)

cheers.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mangokm40:
Isn't there a newer TWRP here?

https://twrp.me/lg/lgv20us996.html
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
cause it was recommended to format data just after root... so i tried again anyway

now i use twrp-3.6.0_9-0, still doesn't work, my lock code is pin, any idea?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
hi

is it ok if we get some logcats for devs to see?

my wifi is working very spordic here... i use wifi mainly, put my phone in airplane mode and enable wifi, but it keeps disconnecting and re-connecting. tried several modem, no improvement...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
file a bug like the wiki says on gitlab
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
sure... i'm switching back to h910-10r modem for now and see how it goes.

@AShiningRay can you do for the modem? I'll file one for decrypt and gpu driver

TWRP decrypt fail: https://gitlab.com/LineageOS/issues/android/-/issues/4335

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1621

GPU driver outdated: https://gitlab.com/LineageOS/issues/android/-/issues/4336
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
TWRP isn't us, the GPU driver one is fine tho
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Actually, the modem also isn't handled by lineage nor TWRP, that's on a different partition and relies on the firmware, and is also a proprietary blob that we can't develop directly on, so filing an issue for it doesn't make much sense unless it was for finding a way to circumvent the Wi-Fi/SIM problems, but i hardly think that's caused by lineage code. The only way of "fixing" those, if possible, is by testing lots of modem versions then making a knowledge base about them here on xda, and we also need to take into account the multiple phone variants.

Mine is a h910 and i don't face those connection problems with the modem currently on it for example, but i only tested on 2.4GHz. I'm also on LOS, but that's a custom build that we're using to test the 4.4 kernel, so it isn't exactly the same device tree that's on the official builds.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
but on stock it's no problem so i think it's some interaction between kernel and firmware, we may pick one firmware and work on it?

@A.Whit what do u think?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
It works on stock, and that's exactly the problem. We can deal with the phone's rom and kernel sides, but the firmware is a proprietary blackbox that we have no actual access to, unlike LG with their stock rom to which the firmware was tailor-made to. We can only send things in so that it can send results out, we don't know what it does with the interface code we have on the rom and kernel any deeper than surface level, and surely we can't simply brute-force our way through by testing every possible combination of blobs/kernel configs/firmware version, etc. About using a specific firmware and working around it... that's kinda what @npjohnson is doing by recommending that people use the nougat firmwares on the first few posts. They're the ones that are known to work the best until now, and those proprietary files are also the reason we still don't (and likely will never have) VoLTE and Wi-Fi Calling on the V20's custom roms unless a genius manages to reverse-engineer the frameworks in a way that allows them to work on customs.

I mean, maybe there's a decrypted and "tweakable" firmware out there, but if there is one, i didn't find it yet and messing with those things isn't exactly legal, so the most we can do is work around the firmware with the tools we have, and that's what we're doing.

But here's the thing: Most of my knowledge is on the kernel side of things, if anyone more knowledgeable than me, especially with roms can clear some things up, i'd really appreciate it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
thx!

1. right now h910-10r modem seems to be okish for my wifi only use. not perfect but not too bad...

2. gpu driver await dev to fix thx

3. twrp seems i'm not the only one... https://github.com/TeamWin/android_device_lge_h990/issues
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
deleted
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Isn't there a developer option for that? I'm currently on my Redmi Note 4X (My V20 is on a barebones Lighthouse ROM for the time being), and it's LOS18.1 has a "WI-Fi-enhanced MAC randomisation" option in there.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Modem doesn't do much for wifi. Wifi blobs are what's causing the issues, makes sense seeing as their old, really old. As for the gpu driver, it's old, but still fine. You can flash a newer driver if you'd like from the adreno team. For twrp decrypt, send a log here.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Now that is weird, chances are slim but i guess possible.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
Anyhow, thanks a lot devs that it's even still possible to flash LOS on V20. :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mathew2214:
i am unsure if this is a LineageOS bug or a TWRP one, but is anybody else losing their fingerprint settings after restoring a backup from TWRP?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
FBE, makes sense, it wasn't designed for that.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mathew2214:
please forgive my ignorance, what is FBE? and is there any hope of a workaround?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
File based encryption, and no.

But I've just realized, this is the V20 thread, confused it, v20 is FDE, but still, Android wasnt designed for full data restoration like that
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
SORRY and SORRY to devs and @npjohnson ! It turns out it's probably the seller who modded the phones before selling and put in same MAC. I finally fixed it by following this guide

https://xdaforums.com/t/guide-fix-wifi-mac-address-changing-on-reboot.3533841/#post-70474540

So it's TOTALLY unrelated to LOS. 😅😅😅

Last outstanding issues for me.

1. graphic driver https://gitlab.com/LineageOS/issues/android/-/issues/4336

2. twrp decrypt https://github.com/Phoenix591/android_device_lge_h990/issues/1
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
I just read @npjohnson explanation in the TWRP thread about decryption. Maybe I just switch to Lineage OS recovery instead.

:D

as long as system update can work it should be fine, backup is preferable but not 101% necessary

so now still trying to figure out the gpu driver
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
adreno modders team
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
the one on G5 forum? i tried that, but it complains about it needs minimum android 9 so i cannot install it on top of los18 😅
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
You need the magisk module, not the recovery module
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
is there simple method to update without installing root?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
no good i installed v5.5 adreno via magisk (now aida64 says opengl es 3.2 v@0490.0) but filmic still doesn't run?? 😢😢
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
can someone clarify what exactly the "hi-fi quad dac" toggle does? does it enable the dac or is the dac always used but the amp power is increased?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
it seems it maybe another issue, i'll remove the bug report on gitlab first, sorry for the trouble caused.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] louie123456789:
On my lg v20 I notice that sound doesn't work and the sensors and GPS don't worry is their anyway to fix this?I have the h-910 variant if that helps.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Is vulkan working?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
i dont know, it should work after magisk + gpu driver installation?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
is there any way to adjust power profile? when I zoom, after 20 min it stutter every 15-20s, wondering if it's thermal issue

thx
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Try running a vulkan benchmark in 3d mark
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Rom1995:
Unfortunately still no for me
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Yea that's probably why
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
What about VulkanCapsViewer? Vulkan isn't directly linked to GLES in any way, so i don't think that tool reports vulkan info correctly, even if it should. In any case, they have an AIO driver don't they?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Rom1995:
Same problem with the aio driver. It was working in android 10.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Strange, it should be supporting vulkan right out of the gate. Did you flash the package to clear the gpu caches? If it doesn't fix that, then i guess the flashable zips for those drivers aren't working for Android 11.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Rom1995:
Yes even without flashing the gpu update the stock gpu drivers shows vulkan as unavailable for me.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Weird, the stock gpu driver supports vulkan as well, even if it's just 1.0. Not sure how much trouble it would be but... could/did you try another rom that has updated drivers by default? It might be a conflict on your lineage install, even if it's really unlikely to be one.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BloodyIron:
Hey @npjohnson finally got around to flashing my LG v20 (H918) with LineageOS 18.1 (Android 11) with the nightly build from within the last week. And the flip cover magnet thing, doesn't seem to lock/wake my phone. :( Is there a setting I need to turn on, or what?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
There’s an issue with how vulkan is set up, there’s a commit that fixes it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
link me it?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
msm8996-common: Fix Vulkan support · lighthouse-os-devices/android_device_lge_msm8996-common@40d2dcb

* vndk can't detect Vulkan in vendor so we moved it to system. Also fixs Vulkan Version not showing correctly.

github.com

msm8996-common: Move Vulkan libs to system · lighthouse-os-devices/proprietary_vendor_lge@9ab2941

* vndk cant detect it in vendor, moving it to system fixes vulkan support

github.com
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
I can do that. Wish there was a better way, as moving to system sucks.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Also, I’ve been working on A12 su

Yea, but still better than nothing. Also I’m working on updating our trees for android 12, so los 19 may be a possibility in the future assuming you plan on continuing to support the v20:))
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Unless you can somehow magically port BPF to 3.18, sadly, it won't be official.

Already got LGE 8996 booting 19, but BPF cannot easily be reverted, the existing solutions and the one on the lineage Gerrit result in broken data and net filter, which I refuse to ship, as does the project.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
who said anything about 3.18😉😉
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
If you got 4.14 booting on 8996 (and LGE 8996 by proxy), I'll eat a hat.

And thank you immensely lol.

But given I've heard people claim it before, I'll reserve gratitude ;p
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Thank @AShiningRay and @askermk2000,they're the ones doing the heavy lifting, I'm handling the device tree side conflicts and issues
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BloodyIron:
@npjohnson did you see my previous post from earlier today?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Looking into it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BloodyIron:
Okay cool, thanks!

And by the way, thanks for your continued support for the LG v20! I really appreciate it :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
thanks @xxseva44 @npjohnson i'll test the app again when new build is out :D

btw i'm still troubleshooting why zoom stutter, it seems to occur more often (my perception) when my mic and camera is on, i mean if i'm just a participant it seems ok. when it stutters both incoming and outgoing are freezed for a few seconds, then become normal again for ~20s, then freeze again....

or maybe it's throttling, really not sure.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BloodyIron:
Oh hey, question, I noticed bedtime mode is missing. Is that an Android 11 thing (it being removed), or...? I rather liked that feature :(
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
u have

Digital Wellbeing installed?​
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
ok i just tested (sample size = 1), when phone is not charging, zoom doesn't stutter

will keep on monitoring.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BloodyIron:
Google Play says not compatible with my device :/
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
Hi I wonder if these are safe to use on LOS too?

https://www.reddit.com/r/lgv20/comments/ar0jd8

https://xdaforums.com/t/mod-fix-cpu...ng-increase-charging-speed-screen-on.3650705/

Edit: I can find /mnt/system/system/vendor/etc/thermal-engine-8996.conf when in Lineage recovery (mounted system, then use adb shell)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
I'm not 100% sure but I thought Bedtime mode is a part of Digital Wellbeing app, but I'm not really sure
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BloodyIron:
Okay so Digital Wellbeing is not possible with MindTheGapps, as it is missing a component that's in OpenGapps, or alternatives. So that's kinda annoying it's not even optional. :(

Why is it that MindTheGapps is the "supported"/recommended/preferred Google Apps package of all the options?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
You can actually use OpenGapps without any problems from what i tested a while ago as long as it's not one of the biggest packages. It's just that Lineage themselves don't support the google's Gapps because they bundle some specific apps right into the rom and some of those can conflict or be made redundant with more fully-fledged gapps packages, but their gapps wiki page does recommend OpenGapps Nano if you don't want MindTheGapps for example.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
because OpenGApps breaks regularly. Random bootloops due to bad privapp perms.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
hi is this going into next los build? thx!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
Hi is there anyway I can diy like using adb?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
Getting messages from carrier that VOLTE required. Looks like the old non volte signals are shutting down.

LOS doomed. End of the road

T-Mobile will require VoLTE for all phones starting January 2021, AT&T to follow suit in February 2022 - Here's what that means for you

Both T-Mobile and AT&T will shut down their 3G networks, forcing phones to use 4G LTE for voice calls (VoLTE.) Here's what that means for you.

www.xda-developers.com

How to check if your phone supports VoLTE​

There’s a pretty easy way to check if your phone supports VoLTE on your current carrier. Simply install the “Network Mode Universal” app from the Google Play Store, turn on mobile data (and turn off Wi-Fi so you don’t accidentally trigger VoWiFi), and make a phone call to another number. If the “Voice Network Type” line shows “LTE,” then your phone call is being routed over LTE. Congrats, your phone supports VoLTE on your carrier! If you see anything other than LTE, like GSM, WCDMA, UMTS, or just 3G, then your phone does not support VoLTE on the network
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
that's sad.

but here no volte force, we can still use old school voice circuit

just still awaiting the gpu fix and driver update :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
hi, question i have, how to keep magisk 24+zygisk when update rom? thx!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tagatapos:
Hi, everyone. Just wanted to ask about restoring. I'm currently using an H990DS rooted with DirtySanta and have LineageOS 18.1 CF. Is it possible to restore to original LG V20 stock firmware while staying rooted? I'll appreciate it if anyone can point me to a guide which I can follow. Thank you in advance.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
No. If you want the stock os, either reflash and root again or flash a stock based rom and root.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tagatapos:
Hi. Thanks for your response. May I ask if you have any recommendations for a stable and minimal stock-based ROM?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] hungtinglung:
https://xdaforums.com/t/rom-oreo-rooted-h990ds-20a-oreo-flashable.3853735/
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
Hi there is there any update about the GPU driver? :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Pretty sure he mentioned that he wasn't going to update it just yet. If you want newer drivers, flash the ones from the adreno team. Don't flash anything higher than @V490 as we don't have the display hal and gralloc updates for @V5xx.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
No, but we're working on it. That is a band-aid - we found the real fix.

We don't be updating the GPU drivers but we will fix Vulkan

See above
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ryu945:
If someone could figure out how to get VoLTE working on LineageOS for this phone then it would solve a lot of problems. This is the fastest battery phone on the market that supports custom ROMs. There is no replacement for it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
As mentioned before, volte isn't happening.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ardoras:
Is there any hope that the next version of TWRP will solve the decryption issues, where if you enter the correct PIN (pattern in my case) w/ LineageOS 18.1 it won't say incorrect pin?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
for vulkan: fix merged
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
THANK YOU!!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nostupidthing:
you need to contact TWRP team, i think i tried, but there's no one taking care of v20 now so don't have much hope