yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
It depends entirely on what the hardware supports, but can be set in software. In our case, talking about a Kernel that sits at a lower-level than a piece of software like the graphics driver which is part of the OS is a little skewed, but it still works for explanatory reasons.

The fact that the kernel sits at a low level is probably the reason Omar might be able to accomplish this. It'd help having recently cut down to only a couple panel files as mentioned in the changelog.

On a PC monitor, you can set a custom refresh rate as part of the custom resolution I mentioned, and when you hit apply it'll tell the monitor to start displaying at 75hz instead of 60hz for example.

You then have to hit apply or confirm if your monitor hasn't stopped working because it's unable to display at that refresh rate (think most cheap office-type monitors) in which case it'll revert back to showing at what it was before, and the monitor comes back on.

The fact that most PCs use dedicated GPUs, Windows supports this behaviour and the drivers already know how to do it are all reasons it's common to do on a PC but less common on a phone.

I know little about how Android's graphics-side works, but I'd imagine the above factors are all things Omar might have to consider when seeing if it's possible to do for the V20.

AFAIK Android has no "fallback" of sorts if you were to set what would be an incorrect refresh rate, and I'd only guess that at that point the panel would stop working on anything outside something like TWRP which uses a completely seperate kernel built-in (in our case it's the mk2000 kernel).

Obviously none of this isn't natively supported by the manufacturers or they'd just make the monitor display at that refresh rate anyway, and can do things like shorten panel lifespan, draw too much power, generate too much heat (mainly a case for a phone display), etc. but generally it's safe to bump it up a "tier" on a decent PC monitor, the tiers being 60, 75, 90, 120, 144hz.

If our panel hardware just doesn't want to play with a higher refresh rate, then there's not much that Omar would be able to do about it.

I'd actually be interested in getting (if he'd be willing to do it) a write-up if [MENTION=5103965]Omar-Avelar[/MENTION] does manage to do it regarding how he did it. It'd probably be fairly interesting, technically.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SketchyStunts:
I have my 4K tv overclocked from 60hz to 75hz & my 144hz ultrawide monitor at 165hz. Can tell a difference on both units. Be so cool to overclock the refresh rate on the v20 if doable
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
If I take a second screen kernel version and flash it to my no second screen lineage rom, can I use the second screen like how it's used in los 16?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
No. The second screen will be used on the main display and it will also place the camera cutout on the main display.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
Okay, thanks

---------- Post added at 06:50 AM ---------- Previous post was at 06:49 AM ----------

Does this kernel allow for quickcharge 3.0?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
No problem. As for QuickCharge 3.0, the thermals included in Lineage OS/Resurrection Remix/AOKP limits charging speed when the screen is on and goes back to QuickCharge 3.0 (or is it 2.0?) when the screen is off. The behavior is the same on stock. One can, however, remove that limit. The V20 will heat up a lot more when using it while charging.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Demitel:
Ice bear, is there a way we can set it up to use QC3.0/2.0 while are screen is on? Thank you :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
It won't go above 1000mAH when the screen's on.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
I think my charging is fast enough but I wish it was faster. I get about 1000 screen on at most and almost 3000 when the screen is off
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
With a file explorer, navigate to /system/vendor/etc and edit the thermal-engine-8996.conf file. Open it as a text file. Delete everything in the text file. Then, copy and paste the following into the text file. Make sure to save before exiting.

sampling 5000

c_mode_ap 3

c_mode_pmic 7

[KRYO_SS]

algo_type ss

sensor skin_ap

sampling 5000

device cpu_voltage

set_point 40000

set_point_clr 38500

device_perf_floor 1478400

[SS-CPUS-ALL]

algo_type ss

sensor VIRTUAL-CPUS

sampling 10

device cpu_voltage

set_point 85000

set_point_clr 65000

[SS-GPU]

algo_type ss

sensor gpu

sampling 250

device gpu

set_point 85000

set_point_clr 65000

[SS-POPMEM]

algo_type ss

sensor pop_mem

sampling 10

device cluster1

set_point 85000

set_point_clr 65000

[GPU_MONITOR]

algo_type monitor

sensor vts

sampling 5000

thresholds 46000 47500 49000 50500

thresholds_clr 45000 46500 48000 49500

actions gpu gpu gpu gpu

action_info 560000000 510000000 315000000 214000000

[DAYLIGHT_MONITOR]

algo_type monitor

sensor vts

sampling 5000

thresholds 49500

thresholds_clr 45000

actions daylight

action_info 1
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Demitel:
Thank you so mucb ice bear you're helpful as always
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Demitel:
QC2.0/3.0 in action while screen is on, Thanks Ice bear :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] seacrow01:
Good to know it wasn't just me.

​
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
Be careful as faster charging than there should be will be unhealthy for your battery. And measure the mA rate while the phone is on and see what it is
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
This. So much of this.

There's a reason it doesn't function this way automatically on most phones these days.

Heat is bad for a battery, and with genuine OEM batteries drying out we're slowly (but surely) being left with lesser quality ones.

1A should be enough to charge and use your phone for anything less than benchmarking. I can anything but gaming on the phone, even updating apps with the screen on, and still have the battery % go up at a noticable speed while on 1A.

The V20 is extremely thermal limited and you also introduce more chance of permanent retention on the LCD if it's hot enough.

Ultimately it's an individual choice, IMO if you need to use your device either let it charge fast while being screen-off (in the case you need to leave for something soon and it's not that charged) or have a charged battery on-hand ready to swap in (I do the latter).

Modifying something like the rate at which the phone charges while in use is unsupported in anything I'm aware of because of the risks above.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Demitel:
yes Thanks for reminding me sir :), but yes i know the risk, and and i am not going to blame anyone other than me once my battery doesnt function well, and i am not going to use it all the time, just incase of emegency since my phone is very critical in my field of work as i am a telecom engr. in my job, i needed it the most, and i am using powerbear 6000mah battery so i am sure i am not going to use the qc3.0 while screen is on all the time hehehe,

Thank you :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
I've noticed when my phone gets hot enough I'll see the old home buttons from stock. Really important to be careful if you wanna keep this phone for a while
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] HDXUT:
does it support los16

can i flash it on los 16:)

if not

when the los16 supported come？:fingers-crossed:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
Maybe it's possible to make a Tasker profile to replace the file on command? That would be really cool imo
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
No you can't use it with LOS16

It is rude to ask for ETAs, so please avoid such questions in the future.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
If you'd read the first post in the LOS 16 thread, you'd see how it says "Gamma kernel will not work without an update".

There was Gamma for LOS 14, LOS 15 and considering how popular it is, there will probably be for LOS 16.

But we don't know.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Take a look at the linked post. The answer HDXUT and anyone else that might want to know whether LOS 16 will get Gamma Kernel is there.

https://xdaforums.com/v20/development/kernel-gamma-kernel-us996-ls997-h910-t3788279/post78208597
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] HDXUT:
thank u

:):):):)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
This is a crash that happened just now
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
Uh and it seems to have happened again

How would I get the ram dump? Because just connecting a USB won't work of course.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Fire:
This looks like the error i had.

Did you try reflashing the Kernel or are you nit able to boot (reboot) at all.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
Everything works just fine after the crash and I haven't reflashed the kernel. Occasionally I find my phone with this kernel crash when taking it out of my pocket.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Fire:
Well you should try it, did you usually have your hand inside the pocket aswell when your phone crashed because when i longpress the second screen my system Ui crashes, something that my lead to a crash on your phone
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Your modem is crashing. You can see the line where it says "modem crashed".

Re-flash your ROM, Kernel and then any other system modifications you have. Update the kernel if needed.

If it's crashing sometime around taking it out of your pocket, it's probably something to do with changing signal strength, signal bands or anything else the modem handles, including WiFi and Bluetooth.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
Oh I have never noticed it crashing because I was touching the second screen.

It doesn't really matter if I reflash everything, because I have done that quite a few times. Also it doesn't seem to be crashing while taking it out of my pocket; I feel my phone getting a bit warmer than usual in my pocket, and then I see it has crashed.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] rab3072:
I was getting crashes very similar if not the same on a previous version. It seemed to just fix itself, maybe with an updated version. Who knows.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Fire:
Maybe you should try to flash a different rom and come back to this one if flashing different versions and combinations of the rom lead to a crash.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
Stock with root crashes aswell
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Fire:
You dont have xposed or any magsik modules which could be responsible for all the crashing. Do you have the Vulkan driver patch installed.

Could it be that you drop your phone and your modem is broken for real?:laugh:

Have you tried redownloading both files again, maybe you have had some package loss and some minor files are missing.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
I'm pretty sure none of this is responsible for the crashes, but I do have magisk modules installed rn. Still on a completely stock LG rom with just root via the Dirty Santa method makes it crash.

I do not have a Vulkan driver patch installed

I have dropped my phone a few times, but I have tested it already and on the stock LG rom with no root, zero system modifications to it, my modem does not crash and it never did.

I'm not sure which files you mean, but I have wiped every partition quite a few times and flashed everything again. I was using different versions of everything almost every time.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Only other thing I could think of would be to grab the latest KDZ for your variant and use KDZ Writer to flash just the modem partition and see how you go.

I've not had any other reports of any crashing at all on the latest second-screen release, so it seems like it's isolated to your phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AndySolis:
Dose this work on the stock lg Oreo ROM? ((H910 ))
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cnjax:
Title of the thread clearly states lineage os
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Fire:
Just intendet to exclude everything else befor recommending to reflash the modem. But that allready happend
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
I have already done that
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ilxaot:
[MENTION=5103965]Omar-Avelar[/MENTION] - if you need a tester for the LOS-16 version let me know, my finals end this week and I should be able to help out. US996 for reference.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Yes. On LineageOS 16.x/Android 9. That is how it functions. As stated in the LineageOS 16.0 thread.

On LineageOS 15.x and LineageOS-based 15.1 ROMs, it functions like the screenshot.

Android 8.x does not natively support a notch. I am waiting to hear back from [MENTION=5103965]Omar-Avelar[/MENTION] as to how Gamma builds for 16.x will be proceeding, or if separate builds will even be needed anymore.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mikekote666:
I see thanks for making it clear :fingers-crossed:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bigcletus:
Anyone experience the big core1 and core2 getting stuck at 2150mhz on interactive governor?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
If you've changed the governor, that's probably your problem. Not meant to on this kernel.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CrUxXxX:
Should I shift on all boots on for kernel editor? I did switch on on the screen on boots and adjusting, call to catch rid of screen ghosting. Others advocate for other boots on/off? . I'm on RR-O-v6.2.1-20181206-h910-Unofficial and flashable-h910-gamma-kernel-v59.0.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
Hey [MENTION=5103965]Omar-Avelar[/MENTION],

Is it possible to set lower brightness levels in the kernel, because my eyes just hurt by the amount of light this screen emits, even on the lowest brightness setting.

I asked the same in the lineage 15.1 thread, but I was told it's the kernel that handles the minimum brightness level.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DesertEagleSlim:
I've had odd issues with every kernel release since 55. I keep having to flash back to #55 release. All the others (possibly starting with 57 but I've found 55 works best) on my RR rom. It lags something fierce and with #60 I couldn't even open Facebook or most social apps. They would keep freezing and stop responding. I tried clearing all cache on phone and apps. No luck. Maybe it's something new in the commits causing it, not sure. Using same settings on all with Kernel Adiutor. Nothing drastic. I'll keep trying new releases and see if it changes. Just wanted to mention it is all, not complaining. Wanted to also see if I was only one.

---------- Post added at 10:14 AM ---------- Previous post was at 10:01 AM ----------

What would be the optimal settings for the kernel using kernel adiutor? Your "supposed" to leave the governor set to schedutil correct? I had it set to interactive. Small core min setting 480 big core min set to 652. Both maxes set to max #s.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
I've been on build ls997 59 for a while. Everything excellent. When updating to 60 it fails with "updating ramdisk failed" in TWRP. So I tried to flash 59 again and I get the same error even though it's the same file I originally successfully flashed. The only thing different now is I just updated Magisk from 17.2 beta to 18.0 stable. Any ideas what could be going on?

Update: I was able to upgrade to v60 by first dirty flashing los 15.1 rebooting then booting TWRP again and going ahead to flash v60. No errors this time.

First time I couldn't just flash the update over the previous version though.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
I got you another kernel error [MENTION=5103965]Omar-Avelar[/MENTION] btw. Gamma 2nd screen v57 h990 and lineage 15.1 31-8-2018
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I had this issue and was able to fix it the same way you did.

I think it's because of the new Magisk release. I too had to flash my ROM, Kernel and then Magisk and Xposed.

Any other way and I'd get that same error.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I've had this problem the last few versions, I think it's got to do with the different memory management tweaks Omar added the last few versions.

It's especially prevalent coming out of deep sleep from say Overnight. I use the Cool Tool apps overlay and the disk usage is constantly maxed out for a solid 5/10 minutes or so after trying to use my phone.

It's fixed by doing a restart, but forget about a big app like Messenger/Facebook/Snapchat or even Firefox/Chrome working properly after sleeping the phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
[MENTION=5103965]Omar-Avelar[/MENTION].

H990DS, wipe dalvik and cache, downloaded 2 times, tried flashing 2 times, v60 to v61.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
See the posts literally 2/3 above yours
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
It works. Thanks.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SoberD:
Thank You for all your Hard work!!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
Aaaaaand another one ;)

This time with Los 16.0 and the Gamma build in the 16 thread
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
At this point I'd be considering either a full LGUP restore to a completely factory phone and going through the whole process again.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] 4shared:
[MENTION=5103965]Omar-Avelar[/MENTION]

Thank You for your Hard work.

great kernel, my only problem is the cast screen (wireless display) wont connect for me anymore when i flash this kernel.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Those charging controller messages and battery print outs are harmless. There was no panic at all while being there:

Can you help me confirm these are the values at the top?

reboot_reason 0x6d630100
tzbsp_reason 0x6d630301
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
I can confirm those values.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
This 0x6d630301 code means TZ_WATCHDOG_APPS_BITE. I am not 100% sure but looks like something with TrustZone complains.

Have you talked with [MENTION=5988026]Redline[/MENTION] or other H990 users to see which kdz ROM they used as base before flashing Lineage? Maybe the TZ partitions that you have are causing some trouble so LGUP a known "good" kdz version that works for other users and then install LineageOS back again?

I would do a TWRP backup, transfer that to my computer. And then do the LGUP KDZ of a known H990DS stock kdz that has not been giving any problems to other others as base. Then TWRP and reinstall -- and then only restore data on top from the TWRP backup
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
The only one I remember using, wow it's been a while since I made the jump from stock, is the 10c version that is used for doing the Dirty Santa process.

The last one I have downloaded on my PC (from when I used or use KDZWriter to update) is 10k. The last time it was modified is around the same time I started using LineageOS.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Does anyone know how to combine the flashable stock mixer paths with the dual speaker mod?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
I don't even recognise you anymore Ice Bear.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Ice Bear is perplexed.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
Anyone have problem with low audio when recording?

H990DS

Lineage OS 15.1 (December)

Gamma kernel 63.0

Flash mixer tasha file
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
Yes I've had this too with Gamma second screen v57 on my H990ds running Los 15.1. I think I just reflashed lineage and the kernel to fix it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
Do you flash the mixer tasha file?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
Does anyone use LKT with this kernel? What's the experience like and would you recommend it?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Electrolite_XYZ:
Anyone knows what section of the mixer tasha file I should edit just to futher increse gain in headphones a tad bit? I flashed the modified tasha, it helps, and I'm at good volume levels but only at max volume so if I listen to a song just quieter than usual (like some old recordings) it's not loud enough, this gain issue is the last thing I need to fix to have a perfect experience in Lineage
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CrUxXxX:
Just saw lkt 1.3.zip on the magisk module. I'll test later.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Vortell:
I have searched for info on this before there are threads out there you could also just download the magisk module and read what it does. It just try the module itself. Called Android mic fix in the repo. Just a starting point at least. Wait you did try the mixer path file from the op right?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Merry Christmas from Ice Bear!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Electrolite_XYZ:
Yes I tried the op Tasha file, it's still not loud like before in Nougat. I have a kinda annoying headphone to drive, the sound most of the times is just enough at max volume but if I listen to something quieter it's not enough.

Using Neutron where I can force more gain its not an issue but this won't work with Spotify so I wanted to increase gain system wide using the Tasha file.

Does this magisk module alter the Tasha file and increase gain? I'll check it
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Vortell:
You can force HiFi dac to stay on with a mod and that has the ability to drive head phones better. From what I have read at least.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
[MENTION=5988026]Redline[/MENTION] can we get some new second screen builds (I still use them), since there seem to be some changes for kernels panics on the H990DS.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DesertEagleSlim:
I cannot use any newer Kernel above say 53. Any of the newer updates cause phone to lag badly. Apps open really slowly and I get kernel panic crashes often. Running RR rom on H910 with US996 bootloader dirty Santa. Anyone know why? Was something changed in the newer kernels?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
[MENTION=4198621]DesertEagleSlim[/MENTION] Try this maybe? I haven't had this issue since a few versions back, but some intensive apps would cause it to happen.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
At some point, yes. I was test-building Gamma for LOS 16.0 the other day using some recent commits from emdroidle on the LOS gerrit to see if it could fix the SIM-crash issue on the H990 (it didn't).

But yeah, I'll get some new SS builds up soon.

Edit: Just waiting on Omar to update the Gamma Github repo and I'll build.