yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Lean Remote should work fine. In any case check if the IR blaster isn't getting stuck (use a camera and see if the blaster keeps flashing on and off long after pressing a button on the IR app). If it still gets stuck, your build probably doesn't have the IR patch yet.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] stingbandel:
Just bought a new battery and it fixed the problem. Now up to 3% it's not shutting down. Thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] stingbandel:
Can u record video with proshot? I always get blank screen when taking videos. Camera is ok but video is not showing… I am using the pro also…
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ROMSG:
No clue we don't validate 3rd party apps
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mmsp15:
I didn't not

I hadn't noticed that but yea it's black screen for video for some reason however it does seem to still record... It just doesn't seem to show the feed from camera
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Well, video recording and preview works on Lineage's camera app (until camera freezes that is), so it must be something on that third-party app that isn't working well with all the changes that had to be made to get Lineage 19.1 on those devices.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] stingbandel:
Yes, I guess so. I have a problem when listening to bluetooth music. When the screen turns off, I hear choppy music for a few seconds then it plays back normally. What could be the reason for it? I already set poweranp to not optimize but still like that. Thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] 0ldsoul:
Thanks for all your work! Glad to know there's already a fix. I hope by the time the fix is released we can dirty flash the update or do we need to clean install everything?

My bad. I just remembered double tap to sleep on home screen only works on stock rom and on my last los 18.1 rom I have nova launcher gesture. Right now on 19.1 I'm using the stock launcher that is why I got confused. Sorry.

*Last time I wrote here I had also experienced battery drain once. I found out and forgot I put a sim that has poor network signal.*

The only thing that currently works for me is the IR remote adapter that can be bought and used with zaza app. It's inconvenient for me though because I don't have a case. There's no place I can hang the dangle.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dextructor:
I'm still trying to make peace with Lineage 19 horrendous design language, but that's not anyone's fault besides Google. So back to business...

Since the LineageOS for microG still didn't release any LG V20 ROM so far (I'll try to reach them this week to know more about it) I decided to give another chance since it's avaiilable builds without gapps.

After wiping everything possible and installing today's build without gapps and testing, I can say that's been improved the performance on my H990DS.

One thing that I do it's to play x265 files that are on my RaspberryPi 4 NAS with the latest mpv (2023-02-27) and accessing the server with CIFS Documents Provider (1.6.0). But I discovered a bug specific to Lineage 19

A good part of x265 files when played on mpv don't have audio control, they are at the max volume. I tried with some x264 and older codecs and no problem, I can control the volume on those older codecs. (Since all my files x264 and x265 have aac codecs, it appears not to be an audio codec related issue)

And I also tested with the x265 file copied to the internal storage as well, but the problem remains.

And the problem isn't restrict to the speaker volume, when plugged the headphone, it's on the max volume. (The Dac tile it's working fine, thanks for the fix!).

Since it was easy enough to test it I downloaded and flashed the latest build of Lineage 18 available (2023-02-28) with the same software stack and x265 file... No problem with older Android, volume controls work on speaker and headphone.

So if anyone can reproduce this bug, or I can provide anything helpful to fix it, let me know.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
IR will be fixed in the next build!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
If you're on official and using LOS Recovery, you'll probably be able to get it through OTA, though any other upgrading method should also work, dirty or not.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Well if only part of those files have that issue, it's extremely hard to know why that's happening without a logcat and dmesg to check what happens when this comes up.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dextructor:
Since it's my first time doing this I hope that I did it right.

I followed an XDA page after flashed the ROM, installed the mpv apk and the file already on the storage.

Since dmsg command on the article required root I installed Magisk, but I don't think that it's an impediment whatsoever, right?

Hope that helps you solve this.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Black6spdZ:
Am a little annoyed.. instructions clearly state:

"IMPORTANT: An official method of unlocking the bootloader is not available, but there may be some unofficial methods available. Unofficial methods are not recommended or supported by LineageOS, so use them at your own risk! An unlocked bootloader is required to install LineageOS."

but yet my officially LG unlocked US996 gets corrupted boot video and now I cannot even use the Lineage Recovery because of the same issue.. phone is stuck in boot and has an unusable recovery now.. what to do?

update: 4.17 unofficial has gapps included and will fail if dirty flashed over an existing install or if you flash a gapps package afterwards
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
And where are they? If you took those logs, you must have them saved somewhere. Send them so the dev team can look at it (also just to be safe, reboot the phone first and focus on replicating the issue on your end, then take new logs as the output will be much cleaner).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dextructor:
Sorry about that.

I uploaded the files unzipped but after posting I realized that they didn't show on my post. So I tried again, until I zipped all and edited my post. At least now they are available to download.

Unless you have another suggestion on how to post.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Are you sure it's because of the same issue though? That video glitch on boot should never render lineageOS and its recovery unusable, it's literally just a few hex edits on the kernel's display files.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Pastebin or any other similar platform should work well enough.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Black6spdZ:
I used fastboot to flash back to TWRP recovery so that I could at least see to flash back to the older 4.13 unofficial.. so phone is working again.. two issues, the corrupted video boot on OFFICIAL unlocked us996 with both recovery and current boot.img and latest 4.17 unofficial gets stuck during boot, gets hot and just boot loops endlessly.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Corrupted video on boot is, as i said before, not an actual issue and likely isn't gonna be behind those bootloops.

As for the bootloop itself, I personally don't use unofficial LOS so i'll need a logcat from that, assuming adb even finds your phone while it's bootlooping. If it doesn't, an engineering build might be needed.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Black6spdZ:
4.13 official is working fine "besides corrupted video" and flashes with TWRP so I'll stay on official for now. Lineage needs to push at least a separate recovery for the official unlocked US996 because the corrupted video recovery is useless
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Okay, if official 04/13 is fine, then it's not what i was thinking (could have been the IR patch for all i know, it was one of the biggest changes from march builds to now). Though i guess we could really do with recoveries specifically for US996, and renaming those with dirtysanta patches to US996D since that's what we've been doing kernel-side.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lallolu:
I installed this today and it is definitely much faster than on 18.1. Really nice job to the developers.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
I saw the warning for formatting the sdcard as internal storage and I tried it 3 three times and it locked up 3 times as well. Is this something that will be remedied in future updates?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Send a logcat after rebooting and reproducing the issue so we can look at it.

Though i really don't recommend formatting any sdcard as internal storage on V20, even UHS-1 cards are WAY slower than the phone's internal UFS.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Black6spdZ:
What size / brand SD? How was it formatted prior?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
It's a: SanDisk 400GB Extreme microSDXC UHS-I Memory Card with Adapter - C10, U3, V30, 4K, A2, Micro SD - SDSQXA1-400G-GN6MA

It was previously encrypted as an internal storage coming from Lineage 18.1. I didn't have issues formatting it as internal storage from 18.1 and I used it for the entire release cycle (formatted it more than a couple of times).

My install process for 19.1 was to: factory reset, wipe cache and wipe system. I downloaded the lineage*.zip, boot.img and recovery.img and installed them with no issues.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
Please see attached file. Thanks. edit: it looks like 3MB is over the limit. Let me upload it to a fileshosting site
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
3MB of text really makes it seem like you didn't actually do what i told you to do on my reply...

With that much text, it's pretty possible that there will be a lot more things on the logs about scardfs and so on, making it much harder to pinpoint what's happening.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
You asked to "send a logcat" which I wasn't really familiar with.

I ran "adb logcat -d > log.txt" after I power cycled from the freeze up after formatting the sdcard as internal storage.

Please let me know if there is a more efficient or specific way to collect the logs needed. Here's a grep output for 'sdcard': (edit: I ran adb logcat as soon as I formatted but adb shell was stuck waiting. The device became unresponsive.)

371:12-31 17:00:33.441 0 0 I : Registering sdcardfs 0.1
9109:04-18 16:49:31.868 538 542 I vold : Executing sdcardfs
9199:04-18 16:49:31.911 538 542 D vold : Waiting for sdcardfs to spin up...
9302:04-18 16:49:31.962 538 542 D vold : Waiting for sdcardfs to spin up...
9319:04-18 16:49:32.012 538 542 D vold : Waiting for sdcardfs to spin up...
9326:04-18 16:49:32.062 538 542 D vold : Waiting for sdcardfs to spin up...
9336:04-18 16:49:32.100 2871 2871 W sdcard : Device explicitly enabled sdcardfs
9337:04-18 16:49:32.113 538 542 D vold : Waiting for sdcardfs to spin up...
9355:04-18 16:49:32.124 0 0 I : sdcardfs version 2.0
9356:04-18 16:49:32.124 0 0 I sdcardfs: dev_name -> /data/media
9357:04-18 16:49:32.124 0 0 I sdcardfs: options -> fsuid=1023,fsgid=1023,multiuser,derive_gid,default_normal,unshared_obb,mask=6,userid=0,gid=1015
9358:04-18 16:49:32.124 0 0 I sdcardfs: mnt -> 0000000000000000
9359:04-18 16:49:32.124 0 0 I sdcardfs: mounted on top of /data/media type ext4
9361:04-18 16:49:32.126 0 0 I sdcardfs: options - debug:1
9362:04-18 16:49:32.126 0 0 I sdcardfs: options - gid:9997
9363:04-18 16:49:32.126 0 0 I sdcardfs: options - mask:23
9365:04-18 16:49:32.127 0 0 I sdcardfs: options - debug:1
9366:04-18 16:49:32.127 0 0 I sdcardfs: options - gid:9997
9367:04-18 16:49:32.127 0 0 I sdcardfs: options - mask:7
9369:04-18 16:49:32.129 0 0 I sdcardfs: options - debug:1
9370:04-18 16:49:32.129 0 0 I sdcardfs: options - gid:9997
9371:04-18 16:49:32.129 0 0 I sdcardfs: options - mask:7
11977:04-18 16:50:28.637 4733 4794 I SDCardScannerService: sdcard files []
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
No, i told you to send a logcat after rebooting and reproducing the issue... it's in the reply up there. That shortens up the logcat considerably.

You can just use adb logcat > log.txt really, don't try to grep by anything related to sdcard since there are system functions linked to it that don't even have "sdcard" as part of their names, so a full logcat after a clean reboot and issue replication is the best approach.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
It generated a 3MB log after I adb logcat > log.txt right after I power cycled from the freeze up after formatting the sdcard as internal storage. I couldn't reboot after formatting the sdcard because it was unresponsive. I had to remove and reinsert the battery and turn it on.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
So in that case even ADB dies when you try to format that sdcard as internal?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
Looks like it. I run format, go to shell and run collect adb logs but it didn't generate any output. I have the log here: https://oshi.at/PocG. Let me know if you have accessed it so that I can delete it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Alright, so it's a very serious issue then if the whole phone locks up.

Anyway, already got that output and i'll take a look at it later, not sure if there will be much in the way of helpful logs about sdcard in there, but i guess that's all we really have.

Thanks for sending!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Also, are you using official or unofficial LOS 19.1? That might narrow things down a bit.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
Thanks for the support. (y)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
Official LOS. I downloaded here: https://download.lineageos.org/devices/h990. I used the instructions here: https://wiki.lineageos.org/devices/h990/
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Great, so one of the possible culprits at first glance is already out. Which doesn't leave much else to look at in those logs except for a key entries about sdcardfs and file manipulation.

Does the phone also lock up if you format that SDcard as removable storage?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
No, I'm on that now and it works fine. I've been LOS official since 17.1 till now and I don't think I've had this issue with internal storage. H910(H915) from 17 to 18 and H990 from 17 to 19.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Hmm... okay. Since it worked pretty much all the time on older lineage versions (running kernel 3.18), the main suspect that comes to mind is sdcardfs being "older" on kernel 4.4 since we didn't go out of our way to update it separately like it was done in 3.18.

Can't guarantee that's the issue, but it is the subsystem that's most likely to cause those issues based on the log output. Gonna run some tests with the internal dev team and if we manage to fix it, there will be a disclaimer and a change listed in lineage's changelog.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] maneaterbug:
Does nfc work here on h990ds? Do you able to top up card(emoney) balance?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
I haven't used it for payment systems but NFC works with my multi-factor authentication hardware key in LOS 18.

edit: In LOS 19, it failed the couple of times I tried it EDIT: IT WORKS. I can confirm that my hardware key works through the USB-C port directly and with a dongle.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dextructor:
I believe that it will require the ROM be able to pass SafetyNet attestation, and that's a question that came to my mind. Since I moved to MicroG ROM's I didn't care anymore about it, but some folks on XDA forum and on reddit claim that works with various Magisk modules (not restricted/required to MicroG just to be clear).

Does anyone tried to pass SafetyNet tests?

Do you mind to share more details about the dongle and the use cases?

AShiningRay did my logs where useful at all and or provide some information for that problem of playback volume of x265 files?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Haven't had time to look at those yet, might be able to on friday.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
I used a Yubikey for MFA/2FA logins and generating OTP on my H990 in LOS 18. It worked on NFC and USB-C (via dongle) authentication/OTP generation. I've just upgraded a couple of days ago and the few times I tried to sign in my accounts that required my hardware key, it failed (can't remember the error msg, sry). My Yubikey is a USB-A/NFC device so I have a male USB-C to female USB-A adapter to plug into the LG V20 USB-C port. It works for authentication and TOTP. It would suck if NFC is perma broken going forward. This is my daily carry backup phone/digital audio player.

edit: I've reached a workable point in my LOS 19 upgrade. I tried NFC with my Yubikey with the Yubico Authenticator app and it works! Glad to report that.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] loyukfai:
deleted
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
You may want to hold off debugging it - I think I know what is wrong.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
I hope it's not an 1D10T (me lol) error
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MarovEsnaen:
Is it good for gaming?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
I mean it's msm8996 so of course not but it gives the most performance it can.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ROMSG:
It's still a v20, the 820s showing its age and can't even reach its full potential due to cooling limitations. Lighter games like COD will be fine but anything heavier or emulating anything newer than the PS2 will be a no go.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MarovEsnaen:
I mean the stock is sucks at gaming. Then I heard someone says that if I UBL, install TWRP, root, etc. my V20 would performs better at games.. So basically I'm looking for rom/kernel with better performance than the stock. Is this (LOS 19.1) the right choice for me? Thanks for your responses. I appreciate it.

Sorry, I'm newbie on this 'custom rom' things.

And sorry for my bad English.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Well... in that case, LOS 19.1 is probably your best bet for improved gaming performance. Some other custom roms have newer GPU drivers, but the one bundled on Lineage's is by far the most stable on both OpenGL and Vulkan (in case you are going to use it).

As for kernel, a custom one focused on performance should come out at some point, but then you will have to choose between official LOS support by keeping everything as per lineage's flashable zip, or improved performance with custom kernel.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ROMSG:
Ah no worries, so while yes it is true that on 19.1 gaming performance is better and as far as roms and kernels go it's your best bet, the v20 (or any msm8996 device really) just isn't very capable.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MarovEsnaen:
Ok maybe i will consider using custom kernel in the future.. If I'm not satisfyed with LOS'... So, what is the choice of custom kernels available for this rom?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dextructor:
Read wit care and attention please all the thread so you can understand fully what's going on

And it was mentioned through this thread that any custom kernel will be available in the future, so let's wait
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] loyukfai:
It seems with the latest builds the phone will stop charging before 100%, anyone seeing the same thing?

Cheers.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
That has "always" been there, it's more likely that you just noticed it now, because it's not that the phone stops charging below 100%, instead what the usb drivers do is give some leeway for the charging procedure so it can finish anywhere between ~95% to 100% (it's not an exact percentage on our kernel device trees), and only resume charging when it goes below that lower percentage.

What this does is protect the battery from constantly cycling between charging and discharging when the phone is fully charged, since any small drop in battery voltage would trigger another charge otherwise.

So unless your phone stops charging way below 95%, what you're seeing is expected behavior.

Edit: Besides, there's zero actual changes to usb on latest builds, all that was done to it was disabling debug calls, so the phone should be slightly snappier overall.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MarovEsnaen:
Sorry i don't understand. I'm a newbie
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] stingbandel:
Hi, does the Apr 23 build for H990ds already have the IR fixed? Mine still cannot work. Thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Yes, it should since the patches are right there on the changelogs. If it doesn't work for you, send a logcat after restarting the phone and trying to use IR, i already know which errors should pop up if IR fails before the patch.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] stingbandel:
Ok will do sir…

Here is the log sir…
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
Has anyone else tried the Quad DAC? The track keeps playing while the audio cuts out and it takes a while (long enough for the display to sleep) to get the audio back. Here are the logs after that: https://oshi.at/KDya
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ROMSG:
It's a known issue, it has to do with the old Quad DAC implementation. The way it works is by swapping the mixer_paths XML and rerouting audio through the DAC. However, this is a total hack and is why the DAC has had all sorts of random bugs like cutouts, hissing, popping, etc. It also results in far worse audio quality compared to stock. As far as why it's having issues on 12, the problem seems to stem from the fact that the audio HAL must restart in order to use the new mixer which in some cases can cause the HAL to crash outright. You're actually fairly lucky, in our testing the HAL crashing has caused a soft reboot on multiple occasions. @xxseva44 is working on a custom audio HAL to handle switching which will be a much cleaner and stable solution.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
I see. I didn't experience this in LOS 17 and 18. In LOS 18, I can recall there would be a 4-5 second like delay (when toggling). I can't even tell if it did work because I can't notice the volume change because I don't notice a much louder volume. It seems the same.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] taketwicedailey:
In 18.1, when you selected Quad DAC for the first time, on subsequent attachments of the audio jack it came back on automatically. It doesn't do that on 19.1, and I have to tap the tile each time I plug in an audio device. Can this be changed?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ROMSG:
Currently no