yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Bonz:
Took 1 minute and 10 seconds to boot RR. Using the latest version on my H990DS unit. Lineage is snappier than RR but RR comes with tons of tweaks and personalization.

Both roms are stable (non-SS build). In terms on boot up, lineage is faster than RR but for gaming, based on my experience, lineage with gamma kernel is lagging on PUBG although RR heats up the unit when gaming. One quick fix is to underclock the CPU using a kernel management app to reduce heat.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] thirdzcee:
destructive process indeed, would that mean if repartition was previously made, then another repartition should be done in case someone would like to flash back to stock rom?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
A kdz includes that partition layout, so that gets it back too. I also made a flashable zip that will delete the vendor and merge it because into system (tested too) as another option.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Possibly... will investigate this, but not sure as it appears to be a hack...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CrUxXxX:
Thank you very much for caring our LG v20 community!!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] akendrick451:
Getting LG v20 default camera app to work with Lineage?

Hey guys, any way to get the default LG v20 Camera app to work on lineage ROM? I tried installing it via an apk but it didn't open.

Thanks, Anthony
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Nope, LG Framework that is needed for the stock app to work isn't present on AOSP/Lineage. Best bet is the Gcam mod by cstark27
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] joaovictorsouza:
This question is recurrent here... Not way to get it's work with Lineage OS or other ROMs that's not based on LG Stock ROM. The camera app and other LG apps depends of LG UX framework and it is a really hard work to port. Probably it never will work
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] |bogdan:
Not working on H990DS

Hey all,

I tried to install this last night on my H990DS SEA variant and I just couldn't get it working. First time it booted, after ~10 minutes of the animated logo, I got a kernel segfault (which unfortunately I didn't save). On all subsequent boots, after ~5 minutes of the same logo, it just reboots into recovery. I also tried with two other different kernels - Gamma and NeOcOrE, with no luck. I tried re-flashing, with or without Open GAapps, with or without wiping dalvik, cache and data, pretty much all possible combinations, with the same result - reboot into recovery.

As versions go, I have TWRP 3.2.3-0, and I tried installing lineage-15.1-20180821-X86CPU-h990 with its own kernel, Gamma flashable-h990-gamma-kernel-v26.0.0 and NeOcOrE lineage-neocore-1.0. After a few hours of flashing and rebooting I gave up and installed Super-4.1_H990DS10H_8.6.18_Final, which worked fine on first try.

Any idea what could be wrong / what I could try next? I really want to test it! Thanks!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grillac:
I'm not an expert by any means, but did you try wiping system?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] |bogdan:
That did it, thanks! (I actually thought about that, but was too lazy to try, your reply convinced me to try :) )
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ottersR:
Anyone got any idea why I can't connect to the tether app Netshare on LOS? Worked fine on Super rom
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
As a general rule coming from stock to AOSP, you should wipe /system, /cache, /dalvik-cache and if you're wanting to start completely fresh, /data too.

---------- Post added at 09:40 PM ---------- Previous post was at 09:39 PM ----------

That's why. Problem listed in the OP.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
/data coming from stock has to be formatted (not just wiped). The LG encryption will not work.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Does not work. :(
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] joaovictorsouza:
Maybe we can make a patch for GSI with files needed to camera works. Or it is not so simple?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] puzzimassa:
Stock apps won't work. Use snap, it's like 2 dollars on the app store but it's even better than gcam
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] |bogdan:
Device encryption

Anybody experimented with device encryption? I enabled it more than 3h ago, and for the past 1h or so it just shows the default LOS boot animation (didn't look at it the first 2h). I've read that it can take a while (the info popup that appeared when I enabled it said something like "could take an hour or more"). But >3h?

L.E.: Considering it took too long, I just removed the battery, rebooted, was asked for the PIN, and everything worked. So it looks like encryption succeeded, but then got stuck with the boot animation, and needed a manual reboot. I also booted into TWRP (3.2.3-0), was again asked for the PIN, and the decryption was successful.

I've seen people reporting that camera doesn't work with encryption; for me it kinda works, but sometimes, when opening the camera app or when switching between cameras, it takes 12-13s until I get an image (it happened before encryption, too, but was more like 2-3s).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ottersR:
The tether is showing up as a 2.4ghz connection though
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] |bogdan:
Maybe this should be specified in the OP? There was nothing about needing to wipe /system when coming from stock (it was first time for me flashing a non-stock ROM, and was not aware about the general rule; although in hindsight this kinda makes sense).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ottersR:
FWIW I got tethering to work by using PDAnet. Netshare was no go.

To be more specific this is about the phone with LOS connecting to a tether from another phone. I use my other phone to tether to my V20 when I'm out in the country because the V20 doesn't get signal there.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Grillac:
No problem. Enjoy!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NippleSauce:
It might be worth starting a GSI/Treble thread if you're still interested in pursuing Treble support for the V20. I know some of us are coming near the end of our device contract so no sweat if you're not interested in opening up yet another can of worms, haha.

Thanks for keeping the V20 working smoothly this far ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Leicxan:
Here is the github source code link for the linker zip.

https://github.com/OP3Treble/linkerfix

:silly: I think the camera doesn't work cuz we don't have the binderlized cam hal from LG?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] johnwaynegacy:
I haven't tried it on this rom, but there is an unlocked version of the stock rom wifi tether app. Maybe it works here.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] htpc_punk_monkey:
I feel stupid asking this, but how do I know if I am pre or post 10p? I have been on the 14.1 unofficial for almost a year
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] c0mpl3xy:
I would not recommend purchasing snap as development appears to be abandoned. It works well but be aware of that.

I recommend using these gcam apps

Main lens: https://www.celsoazevedo.com/files/android/google-camera/f/cstark27_GCam_5.1.018_24_v3.9test.apk

Wide angle: https://www.celsoazevedo.com/files/.../f/cstark27_GCam_5.1.018_24_wide_v3.9test.apk
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] puzzimassa:
Yeah you're right, although it works very well. I think it puts out much better pictures than gcam bit I'll gcam for video and portrait mode.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
If you are using a h918 on 14.1, you'd be pre--10p.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
I believe that's the issue currently.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I couldn't find a post about it but I noticed a new build in the downloads folder so I went ahead and downloaded it.

Is listed as 'lineage-15.1-20180831-X86CPU'. Did the usual TWRP backup, flash of the ROM, Gamma v26, Magisk 17.1, Xposed and wiped caches and rebooted. All working okay here :) [MENTION=2881807]x86cpu[/MENTION] am definitely excited for a coming build with the changes I can see on the gerrit from recently.

---------- Post added at 03:39 AM ---------- Previous post was at 03:24 AM ----------

Also, not sure if it's any help to anyone at all, but LG put the LGH990N_Android_Oreo_v20a source on their website, the zip is titled "ELSA OOS LGH990N". Not sure if it'll help in the way of development or anything but I'm having a poke around, there's sources for some files and a kernel in there too. Hopefully other variants aren't too far behind, and if anything it should let the maintainers of stock-based kernels start updating, perhaps it'll help with Lineage 16.x things too. It's so far the only Oreo source for any H990 available, apparently the H990/DS is due for Oreo in a week or so. Looks like it was uploaded somewhere around the 23rd of September.

GET IT HERE
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Most changes in gerrit are already in this build, I just merged it. Can I ask why the install of Gamma still? When I inquired before it was due to the lack of kcal. Now with kcal added, I'm curious as to why? (This is really asking anyone else why).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Mainly because I've been playing around lately with taking a kernel source and modifying it to tailor it more to myself and then building it and flashing it to make sure it's working okay, and I was already using Gamma before so I've kinda stuck with it.

Admittedly I haven't tried the LOS kernel lately, especially with the CLANG changes, so next build I'll probably give that a go. Gamma also has features I'm not sure if the stock (new?) LOS 15.1 kernel has since there's no feature-list per say for the LOS kernel. If you think just re-flashing the latest build is a clean enough way to wipe out Gamma and give the stock LOS one a go I'm more than happy to make a backup first and do just that :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
I cannot tell exactly what is different. The kcal addition will only be here and not an official addition. I do know the Lineage kernel does not have the ability to exclude wake-locks, so that is something missing. Just was curious as to why. The newer one has much better EAS support and schedutil added back. If I can ever get a vendor version out, the gamma kernel will most likely fail to boot unless modified. You shouldn't need to wipe to install, just do not install the Gamma kernel. Wipe system only, then install Lineage, etc... but do not install gamma. No data wipe should be necessary.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] c0mpl3xy:
I'm using latest vs995 non SS at time of post (31) and I use gamma. I hear it has things like EAS that are apparently helpful. I'm not knowledgeable about kernels much. Do you have a recommendation or reason why the lineage kernel is better than gamma? I'm very curious. Also, I've created guides for other devices (rooting, unlocking, setting up things) and if you feel a need for a guide for something let me know.

Thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I know I'm not x86 but the Lineage stock kernel is EAS based as well, and is probably more up to date in areas than Gamma as he said a couple posts back. Gamma is also EAS based but probably a bit behind Lineage. From a ROM-maintainers point of view, it's simpler to have people only using one thing and he (realistically but still optionally) only has to provide support for the kernel that ships in his ROMs, a problem caused by Gamma doesn't have to be of any concern to him. Gamma for example is also based on LineageOS sources but is modified to have the features listed in its OP (whether or not the LOS kernel has them, apart from KCAL, I don't know). At the end of the day, kernel choice mostly comes down to features that tailor to a user the most. If x86 has anything to add that he's aware of r.e the LOS kernel from his under-the-hood view of things, that'd be cool to learn about :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Wiping system isn't necessary for AOSP roms.. the existing /system gets totally replaced with a fresh image (system.new.dat.br is a broli compressed sparse image, for some mildly interesting background info about the sparse image format, see this article and/or the AOSP documentation) (after running scripts in /system/add-on.d to preserve things like opengapps and magisk).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] thirdzcee:
They just want a custom kernel, flash junkies, i kid the flash junkies part but i think its just how people are these days, they want custom everything, even me, except sticking to the stock kernel for now until i solve my clang toolchain fiasco, since the rom is compiled with clang i think so too should the kernel be, found out that my ryzen cpu is affected with clang segfaults but its a little too late for an rma cause i will be left cpuless if i do an rma, tried compiling with clang on my intel atom laptop and after 2 hours of waiting i still have 300 warnings to fix.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
USB-OTG works, IR does not and might not for a while. FM won't work either. Encryption works so-so. Full camera does already work. /vendor there is no guidelines yet on that whether to do or not to do.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Kernel is compiled with clang now, merged in yesterday. Most everything is now merged in, still just picking a handful of things: Picklist
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] c0mpl3xy:
Interesting, thanks. Gamma is working for right now, so next update I'll use lineage kernel
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cjprostar:
Camera fixed now for treble? And will we see treble soon?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
No camera not fixed for treble, I think I misunderstood. It's working normally now.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] therealrayzzor:
Maybe there's something I'm over looking but I thought wave to wake was a setting for ambient display. Was on this rom a few weeks ago and could have sworn I had that set up but just installed what I believe is the latest version (8-21) and I don't see it, only lift to wake. I also tried out RR not too long ago so maybe I'm just getting the roms mixed up.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TripOG:
Wait, what's working normally now? The camera?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Camera has been working fine for a while now, just not on a treble vendor image.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] rjavc:
Hey [MENTION=2881807]x86cpu[/MENTION], i dont know what kind of magic omar does to gamma kernel, but everytime i flash it, it makes my ir blaster work. I just flashed your latest build and it rebooted when i used the ir blaster. And rebooted again to green screen (i dont know what is it).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Is most likely something related to the LOS kernel vs the Gamma one, and something that Gamma has to enable IR that the LOS kernel doesn't.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] rab3072:
I've been on the latest build now for the H990DS but my phone doesn't seem to like it that much. It has been unstable for me since flashing.

I get random flashes when opening apps, weird lag drops where everything freezes for like 30 seconds and the latest gcam just started acting weird as well.

I've tried reflashing a few times, wiping system beforehand, but same issues. I thought it was Gamma at first but is doing with Los kernel as well.

Games also lagged. Not even high demanding games. I noticed all cores locked at 1300 or something and then as the game finished it unlocked.

Strange.

Is there a new build on the way? Otherwise may have to try rolling back

Edit: I was talking about 21st August build. Just seen there's a new one from 1/9. Installing now.

2nd edit: seems to be the same on September build. Took only a couple of minutes for me to see an issue. Its not so much a flash, but it is like a white screen comes out of nowhere then minimises. Very strange. Can't comment on performance yet but doesn't feel too snappy tbh.

Just wondering if it's an H990DS issue or if anyone else is having similar problems?

---------- Post added at 08:01 AM ---------- Previous post was at 07:19 AM ----------

It seems I have some serious core locking now. Stuck at 1036 from boot and the minimising white screen thing has come more often. My phone is laggy just typing a message. Infact I have had the weird minimise thing 3 times writing this!

:(

I'm wondering if maybe it is a Magisk issue? After the Magisk manager update and flash update, it does not say the pop up toast of starting operations anymore... Unsure if that was yltaken out deliberately in the update though. Magisk does still have root capability.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Migush:
I can't say how or why, but with Gamma my H990 is way smoother, uses less battery and gets less hot (most important). Also Snapchat's camera is acting pretty weird with the Lineage kernel where's with Gamma is works normal
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
That's good to know, there shouldn't be anything in the kernel related to IR, but I can take look still.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
There's definitely something about it kernelwise.. I just switched back to a second screen gamma build (my own) and it's snappier and the IR blaster is working reliably. Not that I was quite running the exact same lineage kernel, I added kcal to rashed97's clang+eas (reverted the verity and vendor changes and grabbed almost everything except vendor changes from Gerrit)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Just flashed lineage-15.1-20180901 and all is well and good here. Brain had multiple farts when I saw it was dated 1st September and today (for me) is the 4th and I could've sworn I'd just flashed a build the other day but that was the 31st August :eek:

Anyway, all is well and good :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
All the kernel changes are merged now. I don't see anything different IR kernel-wise. So unsure what is going on there.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
lineage-15.1-20180903-X86CPU

lineage-15.1-20180903-X86CPU

Updated to latest lineage code.

Graphics update driver.

This will be most likely be the last for a couple of weeks as I will be out of town this Sunday.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] pierro78:
can I flash this on an h910 v10l or do I need a more recent modem firmware first ?

Hey folks, can I flash this on an h910 v10l (december 2016) or do I need to flash a rom with a more recent modem firmware first ??? :confused:

Thanks for your help ! :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
I am not 100% sure, but if you have been running the official 14.1, you should be safe to flash. Even an upgrade should work, but you'll need to flash the "to-x86cpu.zip" first, then flash the X86CPU builds.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Capt_rusty:
In my case it's mostly autorotation. For some reason it always stops working after a period of time on the stock kernel, but flashing Gamma fixes it and keeps it working.

It also seems like the adaptive brightness levels are higher/brighter on Gamma, or adaptive brightness doesn't work for me on stock kernel, can't tell which. That wouldn't make me go out of the way to install it though.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Gamma by default uses kcal to tweak the color balance and also adjusts the max brightness.

on enable-display-tweaks
write /dev/kmsg "GammaKernel: LCD Panel Optimizations"
write /sys/class/leds/lcd-backlight/max_brightness 255

# Gamma settings for better LG V20 contrast and colors
write /sys/devices/platform/kcal_ctrl.0/kcal_enable 1
write /sys/devices/platform/kcal_ctrl.0/kcal "256 256 223"
write /sys/devices/platform/kcal_ctrl.0/kcal_min 20
write /sys/devices/platform/kcal_ctrl.0/kcal_sat 260
write /sys/devices/platform/kcal_ctrl.0/kcal_val 255
write /sys/devices/platform/kcal_ctrl.0/kcal_cont 256
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] exadeci:
I understand that there is an experimental version with the second screen working, what is broken in it that makes it not worth adding to the default version?

Better said if I flash the second screen version what will be worse than the regular one?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Thanks [MENTION=2881807]x86cpu[/MENTION] , as always the build is working well here. If anything I think the graphics side of things is decently more snappy on this build than it otherwise has been (which is still super snappy mind you). Hopefully you get a rest or breather from us for a while :p

Is there a possibility (if it's not too much trouble) we could get another second-screen build before you go? Would love an up-to-date SS build to play around with personally while you're gone, but if there's a lot of effort involved it's no problem at all.

Edit: Antutu 3D graphics benchmark score has indeed improved :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
After flash: There's a delay when locking the device (usually happen when on homescreen). The screen turn off but it's not lock.

Update: After format data and install from scratch, the hiccups are gone. Probably because of the updated graphics driver. Will test more.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] exadeci:
To answer my own question everything is the same (updates aside), the second screen is a custom thing completely different from stock with 2 options:

Toggles (wifi, Bluetooth etc) up to 10 that can be moved and colored

Media player shortcuts

Also, I've found out that the widgets from sswidget by [MENTION=7055541]Zacharee1[/MENTION] works on it (not BoredSigns) so you get the additional weather widget and info which gives you the notifications, battery, wifi, network and time like stock which is more useful for when you screen is off as we can't currently use the second screen with the main being off.

You can enable the widgets in AOSP Signboard and edit them by pressing on them on the second screen or using an app like Shortcut Master.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nakashima Taiki:
Anyone can upload the previous build for this rom?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NippleSauce:
Anyone experiencing random battery loss on the build prior to 9-03? I just noticed this now, but on my commute to work (about 30 mins) with my phone quick charging and streaming music off of YouTube, I went from 100% to 50% battery.

I'll have to do some more investigating, but I've been noticing some battery loss issues but just hadn't caught it happening until today.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tecknomarc:
The problem with the SS build is that the second screen causes a wakelock and massive battery drain. the second screen also will not update when the screen is off.

Other than that, the build works fine and is super stable! I tried the SS build for a bit and it was amazing having that extra real estate available.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ali-nsr:
mee too my device not locke and freez after flash last version of this rom :(