yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] Vortell:
I have none of those issues at all. That being said there is not volte. Bluetooth has some issues for select people, i think it was narrowed to certain profiles. i have not had them. Ir works fine with right app. Both cameras work but you will need gcam to get close to stock quality. Quad dac does not work supposedly there methods to get it to work but no clue where they are anymore. I did it once but i don't have any high ohm headphones. Sauron magisk module might be able to turn on one of the dacs. All qc chips have dac built in.
[LG V20 Guides, News, & Discussion] princedede:
KTweak magisk module is kinder helping mine go without reboots and freezing. Though i get freezing occasionally but nothing serious anymore. And it's buttery smooth.
[LG V20 Guides, News, & Discussion] TripOG:
I had some of those issues with black screens and freezing on some of the more recent builds but this latest build has been rock solid. if it keeps it up, ill probably stay on this one till 18
[LG V20 Guides, News, & Discussion] xxseva44:
interesting... I havent used lineageos 17.1 in a lomg time. So the latest build doesn't have any freezing issues?
[LG V20 Guides, News, & Discussion] Merazomo:
I haven't made any changes to my V20 is a while, so is the MGC_MIX2S_JOKER_dev1 camera still the camera to use? or have there been improvements since then? I remember that was the only camera that wouldn't take green pictures with the front camera; for me at least.
[LG V20 Guides, News, & Discussion] TripOG:
its been solid for me on an h910 with gamma, this rom seems to be hit or miss for people.
[LG V20 Guides, News, & Discussion] Ooxae1le:
freeze on wakeup/unlock

went to LGE opensource site at opensource.lge.com, typed in h990 in there.

downloaded the oreo opensource package from there including the msm-3.18 kernel.

and found those LG power management related changes that LGE put in which are not present in Lineage 17.1 stock kernel, specifically in lmh_lite.c

i'll try to backport those and build.

wondering why this is missing and what else is... but one thing at a time :)
[LG V20 Guides, News, & Discussion] rlvddoes@gmail.com:
Interesting. I always suspected the freezes/reboots are power-related.
[LG V20 Guides, News, & Discussion] Vortell:
Last time I checked they solved that with settings file for many different versions of gcam. I haven't kept up with it as the v20 is more of a toy now. I use it primarily for tv out. Unlimited data is awesome with tv out and bluetooth keyboard/mouse set. There is however a while thread for the v20 somewhere. I think it's in gcam thread.

---------- Post added at 04:12 PM ---------- Previous post was at 03:44 PM ----------

Yeah there was an issue with power on after deep sleep. You could just force quit and disable something and the issue went away. It was a ordering issue. It's been a very long time since there was true stability issues for me. Only issue for me is with networked movie playback with movie players. Standalone Streaming through video service works fine. Might be firmware issue but been slacking on flashing firmware again since I don't really use it for that much. I think it's a buffer issue of some type. It works consistently right about 10 mins then fails. Only with apps that pass video to another app or that are streaming through dnla/upnp server. I'm taking about from apps like vlc(network section), media monkey, bubbleupnp, and custom video players from websites that cache movies and play in external players like mxplayer/nova video ect. The thing is if the video is downloaded it plays back fine even through the apps with playback issues. So I speculate there is either garbage collection issue for caching process or an allocation issue somewhere.
[LG V20 Guides, News, & Discussion] Ooxae1le:
Could you please expand on this? what do you mean by 'force quit'? When I experience the freeze on wakeup SCM is completely frozen and there is nothing (other than reboot) that fixes it for me. What do you mean by "disable something"?

on an unrelated note.... i am giving this a try:

echo Y >/sys/module/lpm_levels/parameters/sleep_disabled

so far (1 try out of 1) the freeze did not occur, running the 2nd attempt now. building the kernel in parallel. stock lineage instructions didn't work. for me, hit this failure:

device/lge/common/consumerir/Android.mk: error: "android.hardware.ir@1.0-service.lge (EXECUTABLES android-arm64) missing libcir_driver (SHARED_LIBRARIES android-arm64)"

trying with the github.com/TheMuppets/proprietary_vendor_lge.git repo now.
[LG V20 Guides, News, & Discussion] TripOG:
Could you expand on this, I spoke to soon and my phone was frozen this am.

Let us know how it works, it would be great to get a little better reliability out of these phones while we can still use lineagos
[LG V20 Guides, News, & Discussion] Ooxae1le:
had another test with: echo Y >/sys/module/lpm_levels/parameters/sleep_disabled

no repro. so far, 2 out of 2. now running a 3rd test.

TheMuppets repo did not resolve the missing libcir_driver error.

i've googled a little, it looks like others have had this problem too, but nobody posted a 'how to get rid of it' info. so i'll have to research that too. hate duplicate work :(
[LG V20 Guides, News, & Discussion] TripOG:
well good luck, we will all appreciate your work if you get this figured out.
[LG V20 Guides, News, & Discussion] G U C C I:
Sorry for the delay, I've been busy but look at this little sneak peak teaser! ;)
[LG V20 Guides, News, & Discussion] TripOG:
Did you get the sim squared away?
[LG V20 Guides, News, & Discussion] ozymandiasmusic:
I have had different experiences. I can't seem to get any gcam to properly save photos. They get stuck trying to save the photos.

Plus any Bluetooth phone calls don't seem to be working. I've tried various different headsets/devices with no luck.

(US996 with Dirty Santa static)
[LG V20 Guides, News, & Discussion] Ooxae1le:
ran 6 more tests with:

echo Y >/sys/module/lpm_levels/parameters/sleep_disabled

one test was overnight. no freezes so far!

so the theory that freeze has to do with waking up from sleep seems to hold water so far.

i was (eventually) successful at building 17.1 lineage last night, so I should be testing a kernel with LGE PM changes merged later this week...

in the meantime, i'd appreciate if anyone who frequently experiences freezes please try the sleep_disabled hack and share their observations.

i'm not saying this is a good workaround (that is really up to you to decide), but let's get more data on it anyway. it helps characterize the issue and even after there is a new kernel with a fix it can be useful to have people quickly test if they have the same problem or not (without having to flash boot).
[LG V20 Guides, News, & Discussion] Nwananka:
Please add signature spoofing in the build. I want to try using microG and rid myself of Google Play services
[LG V20 Guides, News, & Discussion] TripOG:
what exactly does echo Y >/sys/module/lpm_levels/parameters/sleep_disabled do? My freeze ups seem to be pretty random so I'm not sure if ill be able to tell if its working or not.
[LG V20 Guides, News, & Discussion] Ooxae1le:
it disables some c-states in the msm low power management driver.

there is some documentation in the kernel tree: Documentation/devicetree/bindings/arm/msm/lpm-levels.txt

so you're likely to experience higher battery drain when doing this.

you can echo "N" back into that same file to re-enable / turn this back to default.

the 'pretty random' part is the problem, for sure. this is why the first step has to be 'nail the repro' whenever possible.

at this time the only thing i can suggest is to increase the number of iterations (i.e. sleep for an hour, wake it up, etc). or sleep duration, if that matters, overnight seems to work best for me, but it's just a feeling i have, probably just a 'pigeon effect' :)

i've written a script to wake up and go back to sleep from a PC, but i haven't seen it actually freeze while connected to a PC yet. it always happened on a charger (so far). if i can get this to happen with a PC, then automation will always win, i just let it run and send me a telegram/slack/something when it 'hits'.
[LG V20 Guides, News, & Discussion] TripOG:
yeah it seems to happen when i have my phone charging overnight ill goto wake up the phone and it'll be black screen frozen but its not every night, ill give it a shot as long as my battery life doesn't get too bad ill keep trying
[LG V20 Guides, News, & Discussion] Ooxae1le:
Thanks! while on charger battery life doesn't matter much :) so you could always turn the 'workaround' on before putting it on the charger and turn it back off after taking it off the charger, assuming it doesn't freeze at that point :)

i know it's a pain but in the absence of good data, any additional data point is good!

i built a 'no change' kernel, loaded it up and now i can't repro the freeze either! :(

i'll keep trying for a while, if it doesn't happen overnight i guess i'll diff the sources against the stuff that was tagged with 10-04 17.1 official build, assuming they tag them. i very much doubt that any changes exist between that and top of the 17.1 tree (which i checked out), but who knows.... it just felt a LOT more reproducible before. i had it happen 50% of the time or so. now i had 4 tries in a row with no freeze.

---------- Post added at 10:13 PM ---------- Previous post was at 10:01 PM ----------

hmm... i just realized that one difference between what i had before and the 'no change kernel' that i'm running today is that magisk was no longer there.

i don't think it would matter, but i've installed it back now just in case and will keep trying to repro. i guess if it freezes again i'm going to have to try it again w/o magisk to rule it in or out. or just try my 'fix attempt 1' kernel anyway, with magisk on.
[LG V20 Guides, News, & Discussion] Vortell:
Thats odd your using the config files for them right? Also can you use hedgecam2 or opencamera from the play store? Honestly there it's rooms if info on gcam in the lg v20 gcam thread in gcam forum.
[LG V20 Guides, News, & Discussion] Ooxae1le:
after reinstalling magisk i reproduced the freeze on the 2nd try.

given the number of tries is still in single digits, i don't think magisk has anything to do with this. probably was just 'time'.

so the issue still happens with my 'no change' kernel, which is good.

i've installed the new kernel (w/change) and it froze right away too! i haven't even had a chance to put it on the charger! it froze while connected to my dev machine!

so the bad news is . . . the LG PM-related changed in lmh driver aren't making this freeze go away. but the good news is... i can repro this while it's hooked up to the dev machine. so the repro should be automateable.
[LG V20 Guides, News, & Discussion] Vortell:
Not sure what you are asking for but, for the issue with upnp/dnla just set up server on another phone(bubbleupnp) or computer(serviio) both are free. Then try to streaming like a 20 min show through from the server to your phone.
[LG V20 Guides, News, & Discussion] Ooxae1le:
I think the question was about what you did to solve the problem with random freezes on wakeup. you said earlier that you 'disabled something' to get around it, so TripOG and I both wanted to know more :)
[LG V20 Guides, News, & Discussion] ozymandiasmusic:
I made sure to apply them. I just applied Gamma Kernel to see if it adds better stability.
[LG V20 Guides, News, & Discussion] Arnold Nguyen:
Please help, I have installed lineage 17.1 official to my lg v20 us996. But there is not fingerprints detected at set up.
[LG V20 Guides, News, & Discussion] twostroke:
That sounds very interesting. Where do you get the Resurrection Remix 7.0.2 rom? Can't find it on the official site.

Thank you for the several very good answers. At the moment, I think I will not install lineageos until there is no improvement to stock.
[LG V20 Guides, News, & Discussion] G U C C I:
Reboot the phone into recovery and wipe dalvik cache and the regular cache and reboot.

---------- Post added at 01:00 PM ---------- Previous post was at 01:00 PM ----------

It's in this section of the site. Should be near the top of the topics list.
[LG V20 Guides, News, & Discussion] xxseva44:
https://xdaforums.com/v20/development/rom-unofficial-resurrection-remix-v7-0-2-t3969875

Use the 20191216 build as the latest build has issues with logging into your google account
[LG V20 Guides, News, & Discussion] G U C C I:
Try a differently dated GAPPS version.
[LG V20 Guides, News, & Discussion] DerLhurgoyf:
I also encounter freezes whenever I charge the phone during the night. So today I tried something different and enabled "stay awake" in the developer options and charged it during the night with the screen on and unlocked. Then next morning I took the phone and everything was looking ok, so I disconnected the charger did some stuff, then I disabled the screen and when I wanted to turn it on again it got stuck just like the times before.

In my case the freezing is gradual. First it will light up the screen and pattern unlock, but I can't interact with the pattern and the screen eventually dims and turns off again as if I wasn't touching the screen. After a few attempts it will just show me the lineage boot animation which will eventually also freeze and all I'm left with is taking out the battery.

Will setting sleep_disabled affect the battery life?
[LG V20 Guides, News, & Discussion] rlvddoes@gmail.com:
Fully charging is my garanty to get a frozen phone (and not only during the night.....).
[LG V20 Guides, News, & Discussion] almaheera:
hello, i flashed this rom, ofcourse this has best performance, but the main problem is bluetooth range so poor, its only 1 meter range, anyone has solution to fix this problem? im using tws support aptx, thanks all

---------- Post added at 04:31 PM ---------- Previous post was at 04:19 PM ----------

have you found to fix this problem? my phone too, bluetooth range is poor, thank that you said turn off fix this problem, but im using wifi for streaming with my tws -_-
[LG V20 Guides, News, & Discussion] Ooxae1le:
yes, sleep_disabled is going to affect the battery life, but not as much as keeping the screen on and unlocked.

w.r.t. the 'gradual' freezing as you described it, i've seen that type of freeze too. i am getting a combination of that type and the type where screen remains black.

btw, you shouldn't have to take out the battery. in my case, the volume down with the power button hold does reboot it. adb reboot also works for me.

please give the sleep_disabled setting a try, i haven't seen freezes with it, but i'd be interested to know if anyone else has.
[LG V20 Guides, News, & Discussion] Migush:
I was looking for a working gcam and came across this one by Nikita:

https://www.celsoazevedo.com/files/android/google-camera/f/changelog1429/

It's super smooth and most features work. I haven't made a preset for the lg v20 yet, so if anyone wants to that would be much appreciated!

Only downside is the wide angle camera is not supported. Might be something the dev can add support for, since there is actually already an option to set camera ids for auxillary cameras.
[LG V20 Guides, News, & Discussion] DerLhurgoyf:
I tried it, but it would still freeze up as soon as I wake it back up after charging.

Does it have to be applied in a certain state (charging, adb,etc.)?

Also it doesn't seem to be persistent. Once I reboot after freeze it will go back to "N".
[LG V20 Guides, News, & Discussion] Ooxae1le:
Thanks for giving it a try!

You are correct that it's not persistent. So it has to be re-applied after every reboot.

It shouldn't matter in which state it is applied.

It is interesting that you see the freeze up even with this change (assuming it was re-applied after any reboots) and I do not.

Do you mind trying it one more time and when you see the freeze, could you ADB to the phone, become root and run the following:

dmesg | grep "scm: secure world has been busy" | wc

I just want to make sure we're experiencing the same problem... there could be several freezes out there, for all we know.
[LG V20 Guides, News, & Discussion] emanuel:
My freeze problem was resolved when i removed all notifications from lock screen in privacy and disabled every display in lock screen display and removed all trust agents in security. Hope that helps my devise is h990ds
[LG V20 Guides, News, & Discussion] Ooxae1le:
Thanks! I tried that after reading the forum, perhaps one of your earlier posts.

However, i can still reproduce the freeze pretty reliably. I am on h990n.
[LG V20 Guides, News, & Discussion] DerLhurgoyf:
I applied again while not charging and this time it seems to work. So far charged twice to 100% and no freezes. :good:
[LG V20 Guides, News, & Discussion] ozymandiasmusic:
I understand a lot of people, are having issues with Bluetooth still? I have tried personally 3 different headsets and one conference pick but no luck regarding phone calls.

Are there specific logs I should be collecting?
[LG V20 Guides, News, & Discussion] Ooxae1le:
for me, BT headset works for output (i.e. i can listen to music, etc), but the input (microphone) does not work. i.e. people on conf calls can't hear me if i try to use the BT headset.

there are some LGE kernel changes missing in the lineage kernel.

once i figure out the freeze i'll try to figure this out as well, time permitting.
[LG V20 Guides, News, & Discussion] Ascii3:
One thing I believe that would be good to do for this ROM is to allow the status bar items to wrap to multiple lines. Unlike may other Android implementations, this LineageOS 17.1 implementation for LG V20 devices has an unusually large top bar (status bar + notifications bar) and is set to the logical height of the display that corresponds to the LG V20 second screen. This is implementation generally seems nice, however, there currently does appear to be a shortcoming in that the top bar items cannot exceed one row. Notifications indicated in the notifications bar are also limited to only show up to seven items; if there are more than seven non-silent or persistent notifications, the notification bar only shows six indicators plus a bullet indicator. I think it would be useful, especially when using a large logical display resolution, if status bar and notifications bar items were allowed to wrap to other lines within the top bar.

At a logical resolution of 1110dp x 588dp (392 dpi), for example, three lines of status bar items could fit in the top bar area; when running the logical display resolution at the display panels true resolution (1:1), 2720 x 1440 (160 dpi), eight lines of status bar items could fit in the top bar area. I have attached screenshots to illustrate this.

[MENTION=5848265]npjohnson[/MENTION] and [MENTION=2881807]x86cpu[/MENTION], what do you think?
[LG V20 Guides, News, & Discussion] npjohnson:
Would be cool if android supported that. Currently platform doesn't tho.
[LG V20 Guides, News, & Discussion] hungtinglung:
Finally working with both camera and bluetooth, lineage-17.1-20201018-nightly-h990-signed.zip(LGv20-H990DS).
[LG V20 Guides, News, & Discussion] sajadzarepour:
We are waiting for lineage 18 :)
[LG V20 Guides, News, & Discussion] rlvddoes@gmail.com:
But still the freezes after charging.....
[LG V20 Guides, News, & Discussion] Black6spdZ:
I haven't been able to use any builds after 8/27
[LG V20 Guides, News, & Discussion] hungtinglung:
charging,,

NB:100% fully charging

Camera ok.

Bluetooth ok.
[LG V20 Guides, News, & Discussion] sajadzarepour:
i have noise in headset speaker and sounds are not clear. could you help me , i use sound mods but did not change .
[LG V20 Guides, News, & Discussion] G U C C I:
Still working on it bud.
[LG V20 Guides, News, & Discussion] stingbandel:
Bluetooth output and input are working? I mean u can listen using the bluetooth headphone and can send over voice over the microphone?

One more question. What about the IR, is it working?

Thanks
[LG V20 Guides, News, & Discussion] TripOG:
Does anyone else have issues where the screen cuts off because of the notch second screen set up? Certain apps seem like they go up into non existent areas where the front facing camera is.
[LG V20 Guides, News, & Discussion] hungtinglung:
i don't have ears bud.

but onyx 3 bluetooth speaker+H990DS works fine.

app mi remote+samsung TV works fine.(IR blaster)

gamma kernel v20.

NFC works fine too.
[LG V20 Guides, News, & Discussion] sajadzarepour:
[MENTION=4690111]iTzFeRReTTi[/MENTION] can you tell me los18 has option to activate or deactivate sim cards without remove physically?

In los16 was this option but in los 17.1 not
[LG V20 Guides, News, & Discussion] Gorilla Daddy:
Before I backup and format my EXT4 data partition, does this support F2FS?

Thanks in advance.
[LG V20 Guides, News, & Discussion] G U C C I:
Currently porting the newest crDroid version (6.11) which is still Q, but this time the kernel was noticed in the PRODUCT_SOONG_NAMESPACES which it had not before. Not sure if it was due to the most recent commit from 3 days ago or what, but it is currently building right now. Hopefully the baseband issue will be resolved as that was it's only issue last time due to (what I believe) was a kernel issue. Fingers crossed!
[LG V20 Guides, News, & Discussion] princedede:
Great job man!! We really do appreciate and can't wait for it to be available for us all!!??
[LG V20 Guides, News, & Discussion] lybxlpsv:
I made a WIP dac switch. feel free to try. again do with your own risk.

https://github.com/lybxlpsv/v20_dac_switch/releases
[LG V20 Guides, News, & Discussion] gh0st:
Tried it on my us996 and it shows bypass even after installing the magisk module and clicking on the enable button.

anything else needs to be done to enable dac?

Update: Tried actually playing music and it now shows Hifi! this is a godsend. thank you so much, been waiting to use the dac on lineage os for so long!
[LG V20 Guides, News, & Discussion] serpent android:
Does flashing ainur narsil via magisk work here?

---------- Post added at 04:30 PM ---------- Previous post was at 04:29 PM ----------

Does flashing ainyr narsil via magisk bring up the quad dac?

---------- Post added at 04:35 PM ---------- Previous post was at 04:30 PM ----------

Great. Is the quad dac audio working?
[LG V20 Guides, News, & Discussion] G U C C I:
No, it caused me to go into fastboot mode, actually. The devs need to update it to work on Android 10. Same with Viper.

Again, that module ( as far as I know) is incompatible with Android 10.

I don't believe we've gotten the DAC to work on AOSP (hopefully yet). You can try Gamma kernel and flashing the tasha.xml zip but I think that's the closest we have to a functional DAC at this stage.
[LG V20 Guides, News, & Discussion] serpent android:
Thanks.apart from quad dac support b jow else is the rom any reviews..

---------- Post added at 07:09 PM ---------- Previous post was at 07:02 PM ----------

Magisk version?

---------- Post added at 07:22 PM ---------- Previous post was at 07:09 PM ----------

Hows the battery? And what to do for the amazing quad dac.
[LG V20 Guides, News, & Discussion] Landloord:
Usual battery life. No quad DAC. Someone mentioned an app for the v10 you can try and see if it fixes the DAC
[LG V20 Guides, News, & Discussion] serpent android:
Being fair. Do u recommend it despite loss of second screen and quad dac?
[LG V20 Guides, News, & Discussion] alexp1289:
I'm just curious what's the benefit of this ROM being official vs unofficial? Can't wait for the camera bugs to be fixed then I'll daily drive it ?
[LG V20 Guides, News, & Discussion] Landloord:
I'd suggest you back up the stock rom and give it a test drive. If you like it, you stay, if you don't, you restore
[LG V20 Guides, News, & Discussion] texas7412:
any idea as to why magisk keeps uninstalling itself when i reboot? It did it about 6 times now and when i try to reinstall it, the phone bootloops It was working fine then suddenly just said nope