yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
LineageOS is available for the H990DS in the LineageOS 15.1 Unofficial thread. As we've asked a few times now, OP does plan to build a H990/DS version of the kernel, but all in good time.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dumpystig:
WOW

Please don't quote the whole post, there's no need.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ayman1991:
Hi brother can you help me ?

I need this kernel to release the H990ds device??
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
All in good time. Just give the dev, Omar, some time.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
[MENTION=5103965]Omar-Avelar[/MENTION] If you do get around to building an H990/DS release, please could you look at making vtg_level (or vibration intensity) editable? Using initd or manually editing the file works but it doesn't stick are the first vibration event. Kernel Adiutor reports that vibration intensity is "out of range". Using the slider does change it on the first vibration, but then the intensity reverts to a crazy high amount again.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
I had a sync with [MENTION=2881807]x86cpu[/MENTION] on what's needed for the H990 / H990DS Kernel just today -- and I got some free time to do the experiments tomorrow at night. My Kernel right now has less vibration intensity than what LOS is using right now by default so I think you will be pleased to start with once we get it booting, but haven't tried the slider myself. You will have to try it and then let me know...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
Awesome, thanks. So great to see the V20 being kept alive with honestly the most invested devs I've seen on a device I've had in XDA.

I'll get back with any findings once a kernel is released. Maybe we can get kcal implemented, as LOS default colour controls are somewhat less...vibrant

Thanks!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SketchyStunts:
Yo!!! Version 13.0.0 is superb. Excellent standby. Seems on par with 14.1 now. Thanks man

Ohh, I'm on ls997 btw
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
I've uploaded a test version for the H990 under the downloads section (flashable-h990-gamma-kernel-beta.zip), since AnyKernel does not replace the cmdline I did not have to explicitly add the :

BOARD_KERNEL_CMDLINE += model.name=LG-H990ds lge.sim_num=2

chunk myself, so I am hoping that the Kernel works if you were using the LOS 15.1 boot.img on it before. Hoping it works for both H990 and H990DS. Please give it a try and if your phone does not boot please be prepared to reboot to recovery with the buttons combination and re-flash LOS 15.1 again (or the boot.img from LOS 15.1). Let me know how it goes...

UPDATE: Can you try beta2 now? Wireless should be working now...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
Thanks for this!

Single SIM h990 here. I've flashed this, and booted fine. I can't turn WiFi on, and mobile network takes about a minute or two to connect to a network, then a minute for data connectivity. WiFi turns off a couple seconds after turning it on. First time I toggled WiFi, I got a system UI FC.

Please let me know anything I can do to help. Otherwise, kernel is super snappy!

[MENTION=5103965]Omar-Avelar[/MENTION]

UPDATE: H990 beta2 fixes the issue. WiFi connects right away and network connects and is ready to go on boot too. May I ask what the issue was? Particularly with network as that intrigues me. Thanks so much! This kernel brings LOS to another level!

UPDATE 2:

Also just to add:

• USB OTG is working (read and write).

• KCAL working great

• Vibration is far far better than stock LOS 15.1 kernel (would be great for custom strength in the long term)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
I was missing CONFIG_BCM43455=y, I had copied my defconfig base and forgot to change it from the Broadcom chip that other variants use (CONFIG_BCM4358=y). [MENTION=2881807]x86cpu[/MENTION] already had told me about it so it was easy to spot :)

So is the Kernel good to go? I will upload v14.0.0 when you guys tell me H990 and H990DS are working well :) ...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
Ah! Thanks for explaining that - always great to learn more...

I think the kernel is good to go. Been using it for the day now and no noticeable issues for the single sim H990 (H990DS paging [MENTION=5988026]iDefalt[/MENTION]). Battery has been great and all the features included are functioning correctly. Glad USB OTG is working too!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
TWRP backup running as we speak. Already downloaded beta2 and it's waiting to be flashed as soon as the backup is done. I'm super keen.

Thanks [MENTION=4442887]jl10101[/MENTION] for the page :)

---------- Post added at 11:18 PM ---------- Previous post was at 10:53 PM ----------

Flashed the H990beta2 version to my H990DS from TWRP. Wiped cache and rebooted to system. Note I only have 1 actual SIM in the phone + my mSD card.

Phone booted perfectly fine, networks were connected before the lock screen even came on. Kernel (and phone) are super snappy and I'll report back in a day or two with wakelock, battery usage, etc. But I'm going assume it will be roughly the same to [MENTION=4442887]jl10101[/MENTION] since we have the same device. I definitely plan to go through and poke around at the kernel features, but KCAL is a lifesaver for me. Without it, the burn-in I was getting on stock LOS was insane, I had to play a 60min Youtube video fullscreen to get it to go away. Plus the colours are so vibrant when tweaked properly.

Only real negative I have (so far) is that Kernel Adiutor is showing Little Core 1 as offline, and as a result I can't go into the CPU Governor Tunables (It says 'Failed to read governor of CPU. If you are using a big.LITTLE device this is a known problem, the system forces the CPU to turn off cores making it hard to read out CPU stats'). This also means that the app Cool Tool (which I use for on-screen CPU/network/process monitoring) can't read CPU information. I had this problem when first flashing the DOTS kernel and it was later fixed after updating it at some point. This is by no means a problem, just is something that affects me personally. I should also note that the 'big' cores are sitting at about 40% usage constantly while changing between frequencies, however the 'little' core that is enabled (core 1 is disabled as stated above) is sitting on max frequency (max/min frequencies can't be changed because KA can't read CPU info from the offline core).

Oh did I mention how good the display looks with KCAL?

Overall a very positive first impression, thank you to [MENTION=5103965]Omar-Avelar[/MENTION] for adding the H990/DS to the mix. I do recommend that anyone looking for an extended feature-set over what the base LineageOS kernel provides switch to this. I'm already noticing a difference in battery, performance and the screen even just while typing this. Will report back later with battery stats, and I'm always available for testing new versions or features :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
I haven't had cpu-offline problems myself yet. I am only aware of min/max freq problems if you use KA to change governor on boot, since perfd + EAS interferes with it. For example if you stop perfd or change governor the min freq will change that to the input boost touch freq (aka 1113 MHz)...

Are you using my recommended but optional flashable LG's thermal engine that is in the top of the thread? Could you try it?

The only reason why I know my Kernel would offline cores would be if temperature exceeds 90°C, maybe if that happens during boot the cores don't come up nicely after boot? Do install the thermal engine and let me know if anything changes, as well as keep using it to let me how things go... ;)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
[MENTION=5103965]Omar-Avelar[/MENTION] I do not use KA to change governor on boot, the cores definitely aren't hitting 80 degrees when idling but the phone is noticably hot (presumably from the little core sitting at max frequency). I tried the thermal engine tweak and that hasn't helped anything. The little core is still pegged at maximum speed and core1 is still offline. Most activity seems to be happening on the big cores. I can fully change frequencies and governors on the big cores, but because core1 (which is a little core) is offline, I can't touch the little core settings at all.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Ok... mmm, I wonder what it is... let me triple check the *.dtsi files and compare against LineageOS for H990 later today...

Can you do a "dmesg -c" from adb shell, try to online the core and then do a "dmesg" again to see if the Kernel says anything about not being able to online the core?

# Disable thermals
echo 0 > /sys/module/msm_thermal/parameters/enabled
echo 0 > /sys/module/msm_thermal/core_control/enabled

dmesg -c

# Online your core... here via echo ...

dmesg
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
[MENTION=5103965]Omar-Avelar[/MENTION]

Ignore what I said, I'm silly.. Disabling 'apply on boot' in KA fixes the issue and all the cores are running properly using the proper governor. I forgot that KA still had my settings from LineageOS applied, so it was conflicting with yours and causing the issues. I've disabled the apps ability to apply CPU settings on startup and all is well :)

With the reports of how good the kernel is in the thread, I'll let it handle CPU tasks itself instead of the app.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
[MENTION=5103965]Omar-Avelar[/MENTION]

I think the wide angle camera has stopped working. Not sure if it's LOS or Gamma kernel.

Snap camera only sees front and back cameras and the Google wide angle camera port crashes when trying to contact the camera
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Sweet, yeah Kernel auditor CPU settings with EAS doesn't work that well... but EAS is so worth it that you won't mind ;)

I am still using LineageOS from June 20th with the 3 camera's working with Gamma on us996. The kernel supports the 3 different model of sensors that I am aware of -- unless H990's has a 4th different model of sensor, gotta ping [MENTION=2881807]x86cpu[/MENTION] later...

Can you re-flash the *.zip from LineageOS without Gamma Kernel *.zip, if just doing that makes the 3 camera's work in the build you're using then I might be missing a driver in the Kernel... if only 2 cameras work by doing this then some commits and enhancements that [MENTION=2881807]x86cpu[/MENTION] is working on with the camera from the user-space /system and /vendor partition might be messing with it...?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Flashed the latest H990/DS ROM from the LOS 15.1 thread ( [MENTION=2881807]x86cpu[/MENTION] just uploaded a new H990 build with more dual-sim changes) with the usual Magisk, Xposed, etc. and booted into system without flashing Gamma kernel, to make sure the cameras are still working on stock LOS. Using the Google Cam mod, I get both rear cameras and selfie cam working. I rebooted into recovery, flashed the Gamma kernel beta2 zip for H990/DS and booted back into system. Both rear and selfie cameras working ok. So unless the H990 specifically has a different camera model (which would be weird) everything is okay on both kernels here on the H990DS..
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Just to add to this that LineageOS you shouldn't change the CPU settings either. EAS doesn't work well as you said with it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
Hmm....not seeing 14.0.0 in the downloads page.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
Thanks for the suggestions - I ended up just dirty flashing the latest LOS together withe Gamma kernel and now it works. Really strange! But thanks.

The other thing - I've noticed with beta2 I am not getting deep sleep at all. And for some reason I am struggling to get any insight through BetterBatteryStats. It doesn't show anything insightful or obvious in terms of a wakelock (eg USB OTG, sensors, processes etc). I'll keep digging as much as I can.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I have this same issue. Overnight I woke up to a 22% battery drain from a full battery with no apps open. WakelockDetector and BetterBatteryStats don't show anything abnormal. Weird.

Otherwise performance elsewhere is perfectly fine, I'm happy with it aside from that.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Seems like I broke deep sleep into those beta, I wanted to be sure they booted and all was working well. I will fix it in the weekend and upload v14.0.0 official for all of the devices. :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
[MENTION=5103965]Omar-Avelar[/MENTION] I didn't realize that there was a beta3 version of the H990 kernel available, I've been on beta2 since I was pinged for it's availability. I've just flashed the latest LOS + H990beta3 and I'm about to go to bed, so I'll update you with how things like deep sleep are on this version. It seems beta3 was uploaded just hours after beta2 so I must've missed it. Boot and everything else seems a-okay though :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
My deep sleep issues unfortunately we're with beta 3 (flashed as soon as it was available)...I've update to the latest 29062018 LOS and will flash beta3 and keep an eye out too
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] afrin101:
Thank you devs for still keeping the v20 forum lively

This kernel brings out the true performance of the SD 820 comparing this to the stock kernel and I am blown away by its smoothness and everything.

I don't see any bugs on my h990ds as of now.

Keep up the good work omar
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
See the attached screenshots for wake locks from the kernel. You can also see that according to Kernel Adiutor, the big cores have been in deep sleep, but the little cores only stay in the bottom 2/3 frequencies as much as they (seem) to deep sleep. Hopefully this helps.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Uploading H990 beta4 to see if deep sleep ratio is better here :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Updated to Beta4, flash and boot + functions are all good. Heading to bed shortly so I'll grab wakelock and deep sleep stats when I wake :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Also grab "process", look where "ueventd" is and add that please! :) (if you use better battery stats)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
From an app (if so which one) or adb-output on PC or?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
If you can from better battery stats, if not don't worry
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
See attached battery, wake lock and CPU states. Battery was marginally better, but small cores still having trouble going into deep sleep. Overnight drain was 15% from full.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
What governor is the best? My phone gets hot when playing games. Is there any settings to make the temperature low when playing games?

Thanks for the kernel [MENTION=2212095]omar_av[/MENTION]elar.

H990ds. LineageOs 15.1
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
You don't want to go messing with governor settings as I was recently informed.. EAS handles it itself, I had a problem where I'd changed the governor without realizing previously and it was causing a CPU core to be offline permanently. As for the phone getting hot while playing games, you could try underclocking the GPU using something like Kernel Adiutor (Undervolting shouldn't be necessary since IIRC the dev already did that), lowering brightness, not having it in a case, etc. My phone doesn't get hot personally, but I never have screen brightness above 40%. If you want to get physical, you could also try a thermal paste/pad mod.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
Thanks. The best thing to do is just keep it stock right? The stock governor is schedutil right?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
That's correct :)

If in doubt, just disable the ability for your kernel app to apply settings for the CPU on boot (Kernel Adiutor has an apply on boot toggle you can use to do this).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
[MENTION=5988026]iDefalt[/MENTION]. Can I change any thermal setting?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I'd just put Intellithermal on and leave the rest.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
Only intellithermal or intelligence and core?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I don't have it turned on, but it's up to you.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Updated to H990beta5. Flash and boot into system okay. Will do the usual recording of wakelocks and battery drain, CPU states, etc. and report back.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
[MENTION=5988026]iDefalt[/MENTION]. Do yo flash stock thermal engine? And what does it do?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I haven't flashed it, no. It replaces the kernel's thermal engine with the stock LG one.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
See attached wake locks/battery stats/CPU states.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
How's are the CPUs doing?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] PhillyWonka:
There is a change log for v14.0 . But I don't see it in the downloads section... Was it removed ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I don't believe it's out yet.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
[MENTION=5103965]Omar-Avelar[/MENTION] Just wondering what the status is on 14.x's release?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CrUxXxX:
I am checking here 4-6 times everyday to see if 14.0 available.. I wish this release will send a notification if new updates. Lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
Seems it's out! Hooray! Thanks [MENTION=5103965]Omar-Avelar[/MENTION]
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Just wanting to report that boot and all phone functions are okay with 14.0. Going to do a full charge then test with wake locks, etc. Thanks!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
Not sure how v14 is going on your side, but for me there is no deep sleep happening, so the battery is just constantly draining.

But, What I have found over the last little while, was that the device has been going into deep sleep since disabling Enhanced 4G LTE Mode (and as a result, carrier video calling).

Preferred network type is set to GSM/WCDMA/LTE

And through the *#*#4636#*#* menu, I set Radio band to automatic, and preferred network type to LTE/UMTS auto (PRL). I couldn't find the same network type as stated above though, so figured this was the same thing.

Maybe give it a try? Perhaps it's a modem issue or a default settings issue within modem settings?

Just trying to get to the bottom of this as the kernel is great otherwise!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
That deep sleep though!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
See attached CPU and wake lock stats. Would seem you've achieved deep sleep on all cores [MENTION=5103965]Omar-Avelar[/MENTION] so kudos to you!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Hmm. V14 totally fixed deep sleep for me. I checked and I don't have Enhanced 4G LTE enabled (since it works fine without it here for me) and the network types you've got above are the same for me. It sounds like it could be something to do with the modem and E-LTE and how they interact. I'd be curious to know if [MENTION=2881807]x86cpu[/MENTION] experiences the same behaviour on the stock LOS kernel from the next builds forward, since he recently added the same wakelock-reducing behaviour as done here, if so it'd definitely be something to look into.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
It seems that feature is the culprit then...here are my stats now (with v14, before the change, no deep sleep at all). The non deep sleep is due to charging.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] PhillyWonka:
This got my phone to deep sleep. h918 RR remix 8.1
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Still_living714:
For the screen color calibration are we supposed to apply the settings ourselves or does it apply automatically??
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Right now it applies a profile that sort of matches the iPhone 8 screen (from what I could test). It is definitely less blue than LG's default so it does help with screen retention based on my experience in 2 phones.

So out of the box it's tuned like that -- but you're free to use any other profile! on top :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Nice find [MENTION=4442887]jl10101[/MENTION], hopefully that helps other people as well and would be good to know if the problem comes with my Kernel or if it's also in stock. I am glad deep-sleep has improved by tons now. Seems like I had introduced an ugly bug while backporting EAS 4.4 and 4.12 as well as the MSM Idle components... (the bug was hiding since the April builds from the 14.1 Kernel) but it is now all good from the looks of it. ;)
[Tilt, TyTN II, MDA Vario III Themes and Apps] GotTilt:
Here's the short version:

I'm getting a repeating error notification (can't locate an uninstalled .exe). I think I've tracked down the problem to a stray "notification" still associated to an .mp3 file used by the removed app. In Task Manager v2.7 > Notification manager, I see the following notification:

"\Storage Card\My Documents\My Sounds\Buoy_bell3s.mp3"

which is the sound the old app used. Expanded with the application radio button selected, the "Argument" is AppRunAtTime, and "Type" is CNT_TIME.

Seems like I should be able to fix the problem in this interface, e.g. delete the notification(s). But I don't really understand what I'm looking at (not quite sure what the "notification manager" really does) and really don't want to initiate some downward spiral. :-)

Help, please?

Kaiser/HTC-8900/Tilt, WM6 flashed to Dutty's Touch CE OS 5.2.1622 (Build 18128.dutty's).

The longer version, if needed

I (unwisely) installed EnAlarm, which was buggy as hell. The notification began after I uninstalled it. I scoured my device for remnants, but found none. I searched XDA, found this thread:

http://xdaforums.com/showthread.php?t=326378

...reinstalled EnAlarm, and uninstalled manually (although my previous settings were wiped, so I had no alarms to delete). That didn't work.

I also found a reference to EnAlarm as "Mobialarm" with a link, so I installed that, uninstalled it, waded through the registry for stray keys (deleted one), and the Windows, Start Menu, and Startup folders for stray files (none). I also search the device and storage card for "alarm" and made sure every hit was unrelated.

Finally, I soft reset after every uninstall and tried powering down via the side button. Oh, and I uninstalled some recent software add-ons, including everything Resco, Orbworks, and SPBTime. Then I powered down, removed the battery, waited, powered back up, and got the notification again. :-P

gt

ps- sorry for the lengthy post. Wanted to be thorough.