yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Electrolite_XYZ:
My headphone has 150 ohm so it should trigger high-impedance mode automatically, I'll try to look futher into the issue.

Edit:

Maybe the DAC is not entering high-impedance mode?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Vortell:
That's what I am thinking. Kind of figured that it was high ohm headphones. I didn't think it would self trigger on asop at all.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
Should we still use the stock thermal file and the stock audio mixer file on OP's post? I was just about the flash the latest gamma and I was wondering if it was actually needed or not
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I would, at the very least the stock thermal file. Omar actually recommends it be installed on his recent changelog in post 2.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CrUxXxX:
66.0 to 68.0 kernel gamma and recommended stock termal file "December 25" screwed to pixel launcher 9 modded files. Icons come out little over folder icons. How should I fix it? So I wheeled back to kernel gamma 56.0 stable working good.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] rab3072:
I can't modify my vendor anymore and I also fail safetynet since trying LOS 16. So can't change the thermal lol.

I reformatted and restored my backup and still have the issues. Anyone else get this?

Next stage will sadly have to be a reformat without restoring a backup and setting up my phone from scratch again ? cba lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
If Omar ever decides to work on 90hz again, Ice Bear would be happy to help test.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CrUxXxX:
Nevermind!! 70.0 anykernel kernel gamma working very good ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] zinou213:
128 Exfat SDCARD ???

Just before installing your kernel over RR rom, my sdcard worked flawlessly, but after boot, i saw persistent notification that said scaning for card errors, the notification stayed all time and the card is initulisable, any help ???
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ilxaot:
I had to format mine because it wouldn't detect files, although mine was new. 256GB Samsung if that matters. Not sure if it was due to the kernel or not though
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] gandyprakoso:
im using lineage 15.1 with secnd screen verson. it works perfectly.

but i need kernel for editing color with kcal. then i flash this kernel.

but the problem is, after flash this kernel the second screen display is get down into status bar..

i hope you can fix this.. thx alot btw :good:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ki11aprime:
Flash the gamma ss build..
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] gandyprakoso:
Where to download it? I can't found in first page.. The b4

---------- Post added at 01:50 PM ---------- Previous post was at 01:48 PM ----------

OK already got it.. Thanks for helping..
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
Tasha.xml patch fixed my speaker phone on LOS 15.1 12.14.18 LS9997. I was using rootlinux dual speaker mod before flashing the patch. Is there a way to keep the dual speaker mod working and get the speaker phone working too? If I knew what changes needed to be made to patch the speaker phone I'd do it myself with text editor. I tried to figure it out but don't see any major differences. Happy New year!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] gandyprakoso:
need to be clarified, is dual speaker mod made phone speaker unuseable? ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
Coming from working rootlinux dual speaker I wanted to use the Tasha.xml mod that's available on the OP Downloads. I flashed and successfully fixed my speaker phone calls. As I expected it breaks the dual speaker mod from rootlinux because it replaced the file. I'm wondering if the file can be modded so they both work.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tprobinson:
Thanks for all the work on this kernel! It works great on my H990DS, though there are a couple of oddities I'm not sure about.

With the SS build, every ~4 times that I unlock the phone, only the second screen's backlight will come on, so the rest of the screen is really dark. I can almost always fix that by locking and unlocking the phone again (quickly, so the second screen doesn't have time to come on).

Also... though I have the second screen on my H990, it actually is really, really annoying. I've noticed that it is really eager to trigger compared to the stock buttons up there and dragging to the left or right to access media controls almost never works. Flashing the non-SS kernel doesn't really fix it, it just pushes the buttons down. The buttons are almost always out of sync with the actual device state as well (such as showing "no wifi" when it's actually enabled, or vice versa)

Is there some way I can configure the buttons? Or use that space only for notifications, like stock did? Or even just get rid of them altogether without breaking my screen resolution, because I am really tired of accidentally triggering airplane mode, or having my music suddenly blast out of my pocket because it decided that I wasn't on silent mode anymore.

Additionally, it seems like after flashing Gamma, I'm unable to try other kernels. Flashing anything else just bootloops me. Not sure what that's about, hope I don't have to stock-DirtySanta just to flash another kernel.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I've personally never experienced the partial backlight issue on the second screen build with the tests I've done in the past, nor have I had any reports of it. It's possible it could be fixed in an updated version, but I'm currently still waiting on Omar-Avelar to update his Github repo so I can sync the latest changes.

The SS kernel itself is not responsible for the behaviour of the second screen in the ways you're describing. That's handled by the second-screen framework that Blaises and Zacharee1 developed, the SS kernel just tells the ROM to use that space for said second screen.

Your best bet would be to look through the second-screen framework thread somewhere in the V20 section for potential feedback/other reports of that behaviour.

It should be noted that Blaises hasn't been active on XDA for some time now though, leaving that project and his ResurrectionRemix builds in the dark support-wise.

Note: I'm unsure if second-screen Gamma builds will be needed for LOS 16.x since Android 9/Pie supports this natively in the way of a notch.

Flashing the non-SS version of Gamma on an SS ROM will indeed push that area down. The buttons being out of sync is again an issue with the framework itself.

You could try using the BoredSigns app by Zacharee1 (is paid on the Play Store, or you can build it yourself from his source using an IDE like Visual Studio) to customise those aspects of the framework.

You also shouldn't be cross-flashing kernels without either restoring a TWRP backup of (at the VERY least) your /system and /boot partitions or re-flashing the zip of whichever ROM you're using.

So for reference if you wanted to change kernels, you'd first do a TWRP Backup of your current stable/working setup -> Flash ROM zip (overwrites your system and other areas the kernel you're moving from is responsible for-> Magisk/Xposed/Etc. since these modify the boot image -> New kernel last since doing this before Magisk can break Magisks' ability to modify the boot image.

This ensures the kernel you're moving from (in this case Gamma) doesn't leave any modifications behind that the new kernel doesn't know how to handle.

Also, as far as I'm aware, Gamma is the only custom kernel for AOSP/LineageOS/ResurrectionRemix. Flashing mk2000 or the DOTS kernel will bootloop you because they're stock-based and don't work on AOSP. This is denoted by the use of the "[STOCK]" or "[AOSP]" tags in the thread titles for the kernels.

Always do a TWRP backup to an external source such as a microSD card before modifying anything on your phone, and you'll never need to restore to stock again. I've only ever gone through the DirtySanta process once, and it was the first day I got my V20. Since then, I've never been in a situation where restoring a known working backup has kept me in the dark :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] EnterTHEvoiD:
Thank you ever so much guys :)

Shall I install latest thermal patch aswell?

---------- Post added at 09:56 PM ---------- Previous post was at 09:44 PM ----------

I would also recommend installing bored signs from Google play. When I was using the single screen version of RR 6. 2.1 it made the second screen work without any lag at all. It probably won't fix those bugs you mention but it will make, at least, everything more responsive.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CrUxXxX:
Do I have to Flash bluetoothpatch, recommended stock thermal engine mod, adreno+5xx+-+v313+rev23+-+non-treble and flashable-lge-v20-tasha-xml-patch everytime upgrade new gamma kernel Los 15.1+EAS?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] fralyx:
I don't know why, but my screen now looks shorter. Installed the LineageOS with 2nd screen & this kernel.

Does this support verizon variant already?

imgur.com/a/yEXUD6f
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
You're probably not using the second screen version of Gamma kernel.

Latest release is a few posts above.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] fralyx:
Woa ? ok... Thank you

Is there any way to install LGBackup on lineage OS?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
No problems.

Sadly no, but that function is filled by TWRP or something like Root Uninstaller or the new Migrate app going around XDA
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
New second screen kennel is greatness. Thanks. If there's a way to fix the (developer settings) pointer location issue that cuts off the x coordinate, that would be awesome for those of use that use it in Tasker. If not I think I'll live. Again, gratitude for all the great work.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] infernus38:
Just updated from ss57 to ss71 my vs995, RR 6.2.1 ROM, and now having a weird bug. In camera apps viewfinder is rotated: when using camera2api mode viewfinder is rotated by 90°, in legacy camera1 mode viewfinder is rotated by whole 180° lol.

But captured photo and video files have proper rotation, bug affects only a viewfinder.

Pls help, new gamma kernel build is awesome, I don't want roll back to ss57 again(
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I'm afraid I wouldn't know, sorry.

Testing that using the latest second screen Gamma build on the ResurrectionRemix build I have, I don't have that issue.

I'm on a H990, though I don't THINK that would have anything to do with it.

Does it happen on other camera apps, like cstark27's GCam mod?

If it's only affecting the viewfinder, it could be an app or even a ROM issue.

My advice would be to do a TWRP backup and see if you can reproduce it on a clean flashed LOS 15.1 or RR previous version, with the same kernel.

If it still happens, then perhaps Omar can have a look at it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Is this with the second-screen version?

I think this problem was introduced "66.0.0 - Enabling Skia OpenGL rendering by default" and later fixed in "70.0.0 - Add debug.gralloc.gfx_ubwc_disable=0, as well as reverting to default OpenGL renderer due to whatsapp camera glithces and other misc glitches depending on GPU driver.", but should be fixed in the single-screen versions starting from 70.0.0. The setting is located in ramdisk/init.msm8996.rc : enable-gpu-tweaks in case you want to check your *.zip and let us know ;)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] EnterTHEvoiD:
Running the latest SS version of gamma and also have that WhatsApp camera glitch :(
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] itchydroid:
I can also confirm WhatsApp camera glitch. Running latest RR (NON-SS 1/3 build) with Adreno drivers and gamma SS V71. Device is H918 ARB1
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
Can we have the fm radio enabled or fixed? Nextradio just cut streaming and requires that you have the fm radio chip on your phone, I know the H918 has it but it's not enabled or doesn't work.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Vortell:
Or titanium backup
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] infernus38:
Yes, that was a second screen version. And yes, problem was caused by init.rc parameters from ss anykernel zip.

I ended up fixing that by swapping Image.gz-dtb from second screen anykernel zip to a v71 normal anykernel zip and flashing the result.

Thanks.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Is noop the default IO scheduler in Gamma kernel 72?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bhizzle:
Hello everyone, please is there a fix for the static screen bug yet? Plus my phone charges so slow. I'm on the latest RR SS build and gamma v57 (also ss build).

I've tried to enable fast charge from Kernel Adiutor but cannot find the option. Would really appreciate some suggestions.

Thanks in anticipation
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Don't double post across threads.

Static screen bug is what you get when following the Dirty Santa root process.

It's known that instead of doing a "fastboot reboot" after flashing TWRP twice, if you pull the battery instead it doesn't happen.

You don't need to enable anything in Kernel Adiutor if you have a charger, and cable that support it, and if the conditions mentioned in my reply to your other post have been met.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bhizzle:
I sincerely apologize for the double post.

Weirdly, the phone charges normally now, so i guess you are right, it's best i leave it the way it is (for the sake of my battery).

For the static, i was hoping flashing gamma kernel would fix it somehow, read some fixed it by flashing some kernels (albeit stock-based). Guess i'll stick with the temporary "proximity sensor" fix for now.

I believe flashing the thermal mod from the first post at this point is safe? Forgot to flash it initially

Thanks again for your assistance
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Yeah, you should flash the stock thermal mod. Was recommended by Omar a few versions back.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] gavilan2010:
Can this be possible to add fast charging to this kernel. Is fast i love it just missing that option.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Fast charging works, I use it everyday. You need a charger that supports it, and a cable capable of handling the current.

My V20 fast charges with the included 2.4A charger.

Fast charge is disabled when the screen is on. Charge current is limited to 1A to prevent overheating.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] gavilan2010:
Sorry i mean the usb fast charging like when u connect to a pc. No to the wall charger like mk2000 kerner stock if u go to kernel auditor then to battery have that option to fast charge from usb.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ilxaot:
The USB ports on your computer likely don't support outputting an amp-rating high enough to sustain fast charging. USB ports on laptops or desktops are typically designed for transferring data and low amounts of power, not high amounts of power at a fast rate. As a rule of thumb for the near future, if you aren't plugged into a wall outlet don't rely on fast charging being an option.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] gavilan2010:
Ok well i was just hoping for that like i say that be nice ...see if i plug the phone to watch movies or anything i can watch all day without lossing power from battery now is even better because the fast usb charging charge my phone even when im waching movies with the screen on bright. So my phone is always 100% long is connect to a pc.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Yeah, unless your PC has a dedicated fast charge port, USB3 is limited to 900mAh of power output because it's mostly a data connection.

I don't have any experience with fast charging from a PC, but you could compare the charge rates by using something like the Ampere app.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Vortell:
There are some laptops I have seen advertised with usb-c that double as usb-pd ports. USB 3.1 goes all the way up 20v 5a, however I don't think I have ever seen one with quick charge 3.0. Interestingly enough quick charge 4.0 now is compliant with the USB-PD standard. Though I'm pretty sure based on my reading the best you would get from these standard usb-pd ports would be the standard 2.1 amp rate. I think I saw it on one atx based pc kit.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Yeah, I was talking standard USB/3 specifically since he hasn't specified a standard otherwise (such as USB-C, however that one DID cross my mind).

I'm aware of the 3.1/5A Quick-Charge ports (previously working in a PC retailer I've seen machines with them) but that's why I said "unless it specifically has one".

Things like QC and the other varying charging standards need to be integrated into one package and made more standard, IMO.

(for the record I'm simply re-iterating what I was saying, wasn't correcting you or getting up you or anything (saying this since it's hard to gauge the tone of a message via text))
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Vortell:
Nah I never got the I want to argue vibe from you don't worry. Honestly thought the "unless it specifically has one" was disbelief. I also think Google is moving slowly towards standard power supply. I think everything should move to vocc though not qc. Recharge heat should be in adapter not device if possible.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
I believe mine is 5V at 1.5A, is this enough to fast charge? I think it is but I can't remember
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NippleSauce:
H918 is also affected. I have been noticing pretty significant battery drain overnight.

Just tried applying your change. Will report back in the morning.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] adityajiwap:
clean flash LOS 15.1 05.25.2018, gamma kernel 1.3 then magisk 16 passed safetynet check nicely here.

yeah, i also suspect something's wrong with the OTG.

i've disabled with host mode, will report back later on
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
How do I do this?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NippleSauce:
Easiest way (in my opinion since copy/paste on mobile sucks) is to first look at the echo. As you can see it says "echo Y". That, essentially, means that you'll be modifying the file specified with a value of 'Y'. Then, you just look at what's after the echo to find the file you'll be applying the change to, which is, in this case, "sys/module/dwc3_msm/parameters/disable_host_mode". So "disable_host_mode" is the name of the file which you will be applying the change to. The rest is the path/location of that file on your phone.

So basically you just open a file manager, nagivate to your root directory, then follow the above path until you see the file called "disable_host_mode". Open it in text editor and change the value there to 'Y' (it should currently be 'N'). Save the file and reboot your phone.

And that's it!

***EDIT*** - Changes don't stick after reboot...

***EDIT2*** - Ah, so the change isn't supposed to stick, for whatever reason, as indicated in this thread:

https://xdaforums.com/mi-5/help/battery-drain-due-to-6a00000-ssusb-t3735031

You have to do this after every reboot.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xRoach:
I'm using H918. My sister's V20 was running Gamma Kernel and I was using stock 15.1 and her charger estimated it would charge from 16 to 100 in 3 hours. I popped her battery out and put it in mine to charge and my estimate was 33 minutes. When I get off work I'll take screenshots when I get off work with it charging with both kernels.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] adityajiwap:
[MENTION=5103965]Omar-Avelar[/MENTION]

looks like the fix is working: https://imgur.com/a/ZlIqQwU

btw, this is unrelated with the wake lock issue, but with your 1.2 - 1.3 kernel i'm facing several kernel crashes every time the phone boots when the lock screen appears - after the LOS boot animation.

i need to pull battery / reboot several times until the phone gets lucky and i'm able to unlock the screen without crashing the kernel.

how can i gather log to help you identify the issue?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
I've uploaded 1.4.0 in the meantime with USB OTG disabled as we investigate the problems associated with it...

UPDATE: Ouch, it does deep-sleeps sort of... but I still see the 6a00000.ssusb wakelock!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NippleSauce:
In the thread I linked in my previous post, someone mentioned that enabling ADB fixed the issue on their Xiaomi Mi Mix. I know they're different phones, but with the crash that happens when enabling ADB on our devices, maybe something is going on there?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
I've fixed the "6a00000.ssusb wakelocks" by reverting a few commits in following files on what I had before the vs995 Oreo sources, they're related to the USB phy and controller:

modified: arch/arm/boot/dts/qcom/msm8996.dtsi
modified: drivers/usb/dwc3/core.c
modified: drivers/usb/dwc3/core.h
modified: drivers/usb/dwc3/debugfs.c
modified: drivers/usb/dwc3/dwc3-msm.c
modified: drivers/usb/dwc3/dwc3-st.c
modified: drivers/usb/dwc3/ep0.c
modified: drivers/usb/dwc3/gadget.c
modified: drivers/usb/dwc3/gadget.h
modified: drivers/usb/lge/Kconfig
modified: drivers/usb/phy/Makefile
modified: drivers/usb/phy/phy-msm-qusb.c
modified: drivers/usb/phy/phy-msm-ssusb-qmp.c
modified: drivers/usb/phy/phy-msm-usb.c

Getting a few hours of testing on my phone before I put the builds up (v2.0.0) without that nasty wakelock using this temporary patch ;)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
Awesome. Can't wait to get my hands on the next version.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NippleSauce:
He actually posted it earlier today. It's available to download and test.

So far, it seems like it fixed the problem but I won't be able to test and until tomorrow night. Currently boarding a redline across the country so doze probably won't engage with the turbulence.

**EDIT** - It seems a version 3.0.0 was also posted today ?. I wonder what else was discovered and changed.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
All I noticed so far in version 3.0.0 is he added the ability to block/allow wakelocks. Enabling advanced mode shows a bigger list of wakelocks to block/allow.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
I had to push in some updates and now we're into v4.1.0 as 3.0.0 had some potential wireless packet loss. Seems like I got the v4.1.0 settings right for the V20, and added as well the [timerfd] wakelock too. Let's see how this thing deep-sleeps now...

NOTE: Btw, I still need to investigate OTG and fast charging... but I will have to revisit those during the week... ;)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TheIronMaiden:
Forgive my ignorance, but why does the LOS 15.1 stock kernel's version number 3.18.103 or whatever and yours is 3.18.71? Makes it seem like you're using an older build.

*just trying to understand*
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SketchyStunts:
More or less...