yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
For what it's worth, I'm running the latest version of LOS 15.1 with v52 and I can't say I have the same issue, or have ever had an issue like that with Spotify or Rocket Player, and I've recently been using a set of BT Bose headphones my partner got (I personally use wired earbuds) testing various things out with BT (including BT music streaming).

Weird that some people have the issue and others don't, but I can't recall ever having that issue with any version of Gamma & LOS.

I'm personally super restrictive with what apps can do what when the phone is sleeping, the screen is off or under what circumstances, but it sounds like maybe your device is having a problem waking.

IMO, I'd do a full TWRP backup and try clean-flashing the same ROM or a different one (like ResurrectionRemix if you're currently on LineageOS or vice versa) and seeing if you have the same issue, especially with the stock ROM kernel. If you do/don't you can then try Gamma and see if it happens.

Or you could even try out the recently released Migrate with a different ROM if you don't feel like restoring everything. If you just do the apps that you need to use and then clean-flash and set everything back up how you've got it now, and if the problem is gone, it might mean there's an underlying issue with the system on your device causing it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
I had no such issues recently. Been using RR with gamma for about a month on and off on my 990DS.

I had faced this issue(several others reported this as well) on RR about 1.5 months back and it was a problem with the ROM.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] granadier:
If it was the rom i will try stock kernel later then, and if it keeps happening i will post there. Thx for the info.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
I did a small change on v53 regarding charger logic now. Let me know if that's sufficient. Also to get into more detail what did it take to reproduce? While at 100%, connect back to charger and it won't charge?... or was it at any initial condition % and just happened from time to time?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SketchyStunts:
The last revision I charged to 100% flashed 52, plugged in & went to bed. Gotta charge my phone then I'll try 53 & report back. Been playing battlefield 5 on PC so I'll try to remember lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Ice Bear is facing the static screen on boot on the H918 with Gamma kernel v53. V52 doesn't have the static screen on H918.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
Same issue, Same variant.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Rate Ice Bear's CPU times. Ice Bear is using custom values for up_rate_limit and down_rate limit for BIG and little cores.

For BIG cores:

up_rate_limit=2000

down_rate_limit=6000

For little cores:

up_rate_limit=500

down_rate_limit=8000
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Steven87:
Has anybody tried this kernel with aokp? How is it working compared to Los ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
The person who made AOKP for v20 himself suggested using gamma kernel for smoothness that means he himself is using it. So long story short it works well enough to try.

I tried it with AOKP but can't really draw a comparison.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Steven87:
Thanks, just asking because I read somewhere that aokp is caf based and los is aosp, so I didn't know if they were compatible or not.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
Yeah. I was wondering the same when I read about it on the AOKP thread. Maybe OP of AOKP and Gamma can clarify about the compatibility of AOKP and gamma kernel.
[MENTION=5860553]BananowyPotwor[/MENTION]
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Vortell:
They are both asop based. I also assume they have CAF enhancement added on. I know Los does. CAF = Qualcomm optimized asop. So most qcom devices use the caf on custom rom. They just cherry pick parts of different repositorys aka caf Los asop aopk ect in a way that all features of the said rom will work together. Not sure how many base on pure asop anymore though unless they are Google devices. It's more CAF or Los and what ever rom(ie aopk) for qcom devices I have had and read about.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Dileas:
Edit: never mind; I scrolled through some messages and found the earlier explanation. Sorry to bother you.

Now I remember why I stopped using this kernel the last time.

I've got a us996 running Lineage 14.1, and as soon as I install this kernel on it, all videos refuse to play. Even animated GIFs no longer work. Doesn't matter which app I use; stock video player, inside WhatsApp message windows, YouTube app ... no video in any of them.

Anyone have any idea what's going on there? I had the same issue when I installed this kernel a few months back so I stopped using it ... then I forgot all about that and tried it again today. It's a really weird bug.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Vortell:
No issue like that for me in any if them from v47 to v51 went back to standard kernel though since there was not a kernel without static during boot up for us996 dirty Santa. Also the newer ones are for los 15.1 not 14.1
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Ice Bear remembers explaining this to Dileas several days ago.

---------- Post added at 10:57 PM ---------- Previous post was at 10:40 PM ----------

V54 of Gamma kernel got rid of the static screen on the H918. Happy day!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Dileas:
You explained it to someone else; not to me. However I did find that explanation after I posted my question ... which is why I updated my previous comment almost immediately.

I've now installed LOS 15.1 as well as your kernel. Works flawlessly. My phone has never been this smooth, and battery life seems absolutely incredible so far. Thanks so much!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Ice Bear apologizes. It was indeed another user and ironically they had a D in the beginning of their name, too. Their username was Diudia. In any case, Gamma kernel isn't Ice Bear's. It is [MENTION=5103965]Omar-Avelar[/MENTION] 's. Dileas should be thanking Omar instead.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] seacrow01:
Hmm I am wondering if v54 has gotten rid of the static for US996 DS
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Hmm, seacrow01 would have to test V54 to find out. Ice Bear doesn't own the US996 DS.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] seacrow01:
I had hope this time lol ..but nope! ..Confirmed Static boot on the US996 Dirty Santa
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Seems like trying to fix the static boot isn't easy because of the Dirty Santa exploit. But then again, Ice Bear isn't sure. Maybe one day, Omar will fix it. Omar just needs time.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Steven87:
Latest kernel is giving me amazing battery life, and no static on boot. I'm on a h910. Running aokp and latest v54 gamma kernel, nano gapps.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SketchyStunts:
If I get another dog, I'm naming him Ice Bear. But.... Only if Ice Bear approves.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Ice Bear approves but the dog must have white fur just like Ice Bear.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xttapolatakettle:
Battery life VERY good on VS995 v54
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Sebaskyclad:
How much sot and standby time, bro? ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xttapolatakettle:
It's been so good that I just decided to play 2 hours of ingress, but that sort of skews things :/
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Steven87:
This is the best battery life I've seen on this device so far, before this I was barely getting 2:30 his sot, and I've still got 20% left.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
So I'm on v45, can I flash to v54 or do I need to clean flash it? Any issues? I'm on a H918 and don't want static boot or a brick so if someone can let me know it'd be appreciated

---------- Post added at 07:46 PM ---------- Previous post was at 07:44 PM ----------

This is still pretty terrible. Last device I had I was able to get 6 hours of sot. But it only have a snapdragon 4xx and not 820. Same battery size too, but only a 720p screen. Might wanna get an extended battery
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
You're right to dirty flash it over the top of your current version. Recommend doing a TWRP as always beforehand in case of issues.

I regularly get 5-6h of SOT myself on a stock battery, LOS and Gamma. I run a fairly optimised setup though, down to setting individual permissions for each app for what they're allowed to do in the background and when.

Here's some tips for anyone that might want to extend SOT:

I never have my brightness above 40%, it takes a lot more power for an LCD to go from 50%+ than it does to go 0% -> 50%. Location is battery saving, GPS updates are done by my watch.

I use App Ops to set permissions for apps regarding waking the device in the background and preventing the phone from sleeping.

I have a 'slimmed down' LineageOS with any app I don't use disabled. CPU cores & GPU are under-clocked since the most intense thing I do on my device is app updates.

I use lite versions of popular apps like Facebook Lite (back when I had my G Flex 2 I legitimately gained over an hour of SOT just by switching from the regular Facebook app to the Lite version, even when it wasn't running and was just in the background) and I'm currently between regular Messenger and Messenger Lite.

I rotate batteries between 3 different ones once a month, so I have 3 months of batteries at any given time. This reduces wear on each and extends the life. Also try to avoid low % charges to full charges, these wear out the cells faster.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] itchydroid:
Was wondering, do you charge your battery full or limit. I use MCS to limit charge to about 84%. I also run a slimmed version of RR - delete APKS I dont use and run your Gamma SS Kernel. I have an extended battery from Perfine is gives me about 1.5 days of normal usage. Surprisingly if I charge to 100% (as I used to do) I'd get a little over 2 days of usage. Not sure why 85%->100% gives an extra 12 hours of juice. I'm aware that charging after 80% is slower. Still grasping the battery-fu science atm :confused:.

I also use Messenger Lite as I've notice the Facebook full apps are are resource intensive. For Facebook itself, about a month ago I started using "Slim Social" on f-droid. It utilizes the Facebook web api and appears to be a little more feature-rich and at the same time, lighter than Facebook lite. Normally I would be cautious about ultizing 3rd party apps with my facebook, apple, google credentials but this is open-source and on fdroid.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I'll only do a full/limit charge if I'm sitting above ~70% or so, like if I've been out of the house and using my phone for a couple hours. This way I'm still only charging part of the cells, but am getting full capacity.

You should probably limit charge to around 90-95%, 84% is a touch too low.

As for why an extra 15% would give you so much more capacity, it's probably related to how your battery specifically drains and the voltage curve for it. I've noticed it takes a while to drop from 100% to 85% on my batteries, and from there it drains a bit faster.

Charging after 80% is slower more likely because there's less room for the electrons (or whatever they are) in the battery to re-arrange when charging.

This is why you need more voltage on the high end, and more amps on the low end.

Yeah I used to try out different Web wrapper apps for Facebook that just wrap the mobile site in a UI but ultimately I went back to Lite.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] exadeci:
[MENTION=5988026]Redline[/MENTION] Would it be possible to have an updated SS version of Gamma? Is it just a rebase or more complex than that?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] seacrow01:
Does this kernel break voice match aka "ok Google" ? It worked with stock lineage kernel. Has anyone got this working?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
As I said in this post, I was waiting for the static screen issues to be ironed out on regular Gamma before doing updated SS builds.

Now that they have been, I'm waiting to hear back from Omar confirming which release version the second-screen branch is on, once I know that I'll go ahead and build the updated SS versions.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
Thank you. I'll try and follow this. Much appreciated
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Fire:
When playing GOF 3 the kernel sometimes crashes printing out this error.

As i dont have a pc at hand, i have to send you the error report as an phone picture.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
Is that a H990ds?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Fire:
Yes it is.

Sorry seems like i deleted the device name, while finalising my post.

While i'm at it GOF 3 is Galaxy on Fire 3.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grin59:
We need a version for lineage 16.0 now that it's out :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
It'll come in time. There was Gamma for 14.x and 15.x and when Omar is ready, I guarantee I'll be the first to flash.

Sidenote: Omar pls respond to my PM
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Haha, yeah... it smells like a H990DS since the modem was the screamer! :) good eye

But it only happens with GOF 3? I assume other intense games as well then...? Can you run stock LineageOS Kernel for a while and let me know of the results as well? And are you using my adjusted thermal config files? If you can help peel the onion and start testing one ingredient at a time and post the results -- I could check what might have caused the crash after.

And Sorry I don't have an H990DS device and the modem crashlog doesn't seem to indicate much from that backtrace.... mmm hence why I asked for the steps above to see if I can get some ideas...

Will do, and have been busy with quite a few things lately... but a v16.0 Kernel will come in time ;) ... I am so glad that [MENTION=2881807]x86cpu[/MENTION] keeps pushing things further with our phone!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
Oh I don't think it has anything to do with your kernel in specific. I get those too now and then using Gamma and Los kernel on my H990ds (although they were not about the modem the last few times). For me it even happens with lg's stock rom with root via dirty santa. I even got to the point once where my phone would just instantly throw a modem kernel crash on boot. I had to go back to completely stock. After some time I tried to root again and that attempt seems to work so far. For some reason one thing that decreases the crashes is reflashing modem using kdzwriter once in a while.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] muckc:
Sometimes i get kernel panic when transfer file from Win10 PC, anyone have the same problem?

H990N, RR rom, Gamma v53.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
Yes, I did get one yesterday while starting the file transfer
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] serpent android:
Hi.im using the resseruction remix Oreo on my h910 with the gamma kernel ss v47,it works like a charm hut the battery drain issue persists.what kernel version should I use.

Thx
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DesertEagleSlim:
Having an odd issue with the last 2 kernel releases. Maybe it's just me.. The volume buttons take forever to react when I push them up or down. I flashed back to 53 and it's fine. Could that be kernel related?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Definitely a touch odd, haven't heard of something like that before.

I just updated (from v53 co-incidentally) to v57 and it's not happening for me on my H990DS. I wouldn't imagine it's anything critically wrong, but it sure does sound like an odd one :cyclops:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cmdmoto:
Post made in error
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
Yes I think so. Ok google works for me with Stock RR kernel but doesn't work when I flash Gamma kernel
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] muckc:
So about kernel panic when transfering files from Win10 issue, is it just me and that guy up there have the problem?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Fire:
Up until now the Kernel did not crash again.

I will now test the Kernel with the new thermal engine. Then again with the normal Kernel incase i actually installed the thermal engine incase i did install the engine and just froget about it. After this i will test the standart engine.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Gamma Kernel Second Screen v57 Release

(For those of us still on LineageOS 15.1) Gamma Kernel Second Screen v57 is out

Features:

- Up-to-date with Gamma Kernel Single Screen v57 (built from the 'gamma-ss' branch) which includes these changes since the last release (v47):

57.0.0 - Better charging mitigation. Updated to CONFIG_LGE_PM_CHARGING_SCENARIO_V18.

56.0.0 - Charging detection logic clean-up based on CAF and less of LGE's.

55.0.0 - Merged the charger controller scenarios code with Oreo.

54.0.0 - MDSS display cleanup and memlat tweaks. Should feel snappier. Merged a few USB Type-C code portions from the Oreo source, hopeful fixed h918 static on boot as well with my experiments.

53.0.0 - Charger logic detection was taking longer sometimes, fixed this. And removed some extra dtsi junk that helped shave 300 KiB of Kernel image size.

52.0.0 - Backported a few things from newer schedutil. And fixed h910 static on boot I had introduced due to my own experiments.

51.0.0 - Converged to only two panel files, "dsi-panel-sw49407-dsc-qhd-cmd.dtsi" and "dsi-panel-sw49407-dsc-qhd-cmd-global.dtsi", experimental. Fixed on mem subsystem tweaks not being honored due to me starting perfd earlier than expected by mistake.

50.0.0 - Converged on single "dsi-panel-sw49407-dsc-qhd-cmd.dtsi" file. Added lge,skip-auto-mute in the audio *.dtsi. Increased the panel qcom,switch-freq-khz to 800 based on latest Oreo sources as well.

49.0.0 - LGE's Panel & MDSS extra clean-up.

48.x - Never released

Always tested on these ROMs before a new release:

- Latest UNOFFICIAL LineageOS 15.1 second-screen version by x86cpu

- Latest UNOFFICIAL Resurrection Remix second-screen by Blaises

Flashing process:

It's the same as any other kernel.

Make sure your TWRP is up-to-date

Do a TWRP backup (I do everything except a full system image because that's like 50GB in my case)

(If flashing a ROM, clean or dirty) Flash your ROM first, then the kernel. Please refrain from flashing anything that modifies a boot image (such as Xposed or Magisk) before flashing the kernel, as modifying a ROMs stock boot image and then having the kernel do the same can cause conflicts.

(If not flashing a ROM and you just want this over your existing ROMs kernel) Flash the kernel

For good measure, wipe caches/dalvik

Reboot to system from TWRP

Enjoy!

Downloads are here

Or here: https://androidfilehost.com/?w=files&flid=282339
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
I am having this really weird issue with my 990DS. After I flash gamma kernel(single screen or second screen) whenever I play any video the audio and video are out of sync. Sometimes the audio lags and sometimes the video. I have tried clean flashing several times with different gamma builds. I'm on the latest single screen RR 11/15.

I even tried it with LOS15.1 and same issue. But I clearly remember I didn't have this issue the last time I flashed it with gamma. I don't know what's going on and it's driving me crazy :confused::laugh:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Could you please post the Kernel panic with the MTP file transfer?

Ah, I didn't know it was not working as I don't use it. Let me check...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
Now I'm not sure it has something to do with gamma. I rebooted while on stock kernel and ok google stopped working. So it's probably something with rom.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Happy Thanksgiving! Ice Bear is grateful for all the support the V20 had gotten by all the V20 devs.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Fire:
Firstly as i use microg and the game wont start when im using stock webview and i therefore have to use bromite webview i cant tell how GOF 3 will run on GApps.

I also tested PUBG. Both games run with both Gamma Kernel 47 with and without Thermal engine / 57.

GOF 3 wont run on stock kernel wether using the bromite webview or not (but when using bromite the game progresses the loading progress long enough to make the kernel crash, when using stock webview the game will crash right away)

Long story short it seems that the kernel panic happend due to me using the stock kernel. (I read gamma kernel so i thought i was using the "aftermarket" gamma kernel)

Seems like my entire problem would be better harboured in the RR thread.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
V59.0. Battery stuck at 50%

H990DS
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xttapolatakettle:
Same on vs995
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
Ice Bear has a question regarding the panel hz bump with Gamma Kernel v59. How does that work exactly? Ice Bear is willing to learn more.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Instead of displaying at 60fps, the panel would display at 90fps. If you search for a review on YouTube of the ASUS ROG Gaming Phone, you can see that this is what the panel on that phone displays at.

As I understand it, basically, we'd get another 30 frames every second showing on the screen. This would smooth things out even more, equivalent to going from 30 to 60fps.

If you've ever used a 90/120/144hz gaming monitor, you'll notice the difference between even 60 and 90 makes things so much smoother.

While generally it results in increased GPU load, for someone like me whose most GPU intensive application is YouTube, that's fine.

Most people don't know, but you can overclock your computer monitor (even laptop displays sometimes) by setting a custom resolution in something like NVIDIA Control Panel.

For example, most 120hz monitors can be overclocked to 144hz without any trouble.

While the difference between the two isn't as big as 60 to 120hz for example, it's still increased smoothness at the end of the day.

I know nothing specifically about how Omar plans to implement it, but in some phones they drop the refresh rate back to 60 or 30fps when the screen is displaying a static image to save power. Similarly, this is how newer graphics cards do the same.

If the image on the screen hasn't changed since the last one, it'll just re-render the same image from memory to save on GPU load.

Hopefully this helps in some way :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
Uh, I didn't take a picture so don't have that. Is it still stored somewhere after multiple reboots?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ice Bear:
This was very informative!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
Wow. I didn't know one could do that with software. I thought it was dependent on hardware.

This would be nice to have on the V20