yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
New UNOFFICIAL

New builds up. Sorry it's been a while, quite busy with real life. But with help from [MENTION=5103965]Omar-Avelar[/MENTION] and [MENTION=7600152]EvilHowl[/MENTION] the white balance issue should be fixed as well as the Snap LineageOS camera auto shutter issue. (should fix for G5/G6 as well). I appreciate others helping and poking, it makes things go much faster.

H990 is being worked on, this is much more difficult as it is not as straight-forward as the other variants. [MENTION=6984210]emdroidle[/MENTION] is mostly getting it done, and I am assisting where I can.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Thanks man, will be running these new builds while testing out more Kernel changes ;) on top... I appreciate these builds a lot

---------- Post added at 09:57 PM ---------- Previous post was at 09:54 PM ----------

EDIT: Does anyone else have an anomaly where when using an app such as "Kernel Aduitor" where the battery size reported is 2800 mAH instead of 3200 mAH?

I am wondering if it is taking some of the LG G5 parameters since we share a bunch of the msm8996 code. (As the G5 has 2800 mAH battery size) and I am also wondering if this is incorrectly not making use of those extra 400 mAH we have in the V20's :-o, or is this nothing to worry about?

Looking at the device tree source files I think it has something to do with CONFIG_LGE_PM_BATTERY_ID_CHECKER not being set (at least for us996)... so it doesn't do the battery ID detection and faillbacks into 2800 mAH...

Or... maybe it is just a cosmetic thing, but this caught my eye...

EDIT2: It must be just cosmetic 'bug' that does not impact anyone then, as the dmesg output shows the right LGE 3200 mAh battery detected. Yay :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] awidawad:
Just built your kernel earlier today and I can confirm the 2800 mAh reading in kernel auditor. I don't think it will actually affect battery life but it definitely is something we need to look into.

BTW thanks for your time working with this device. :) I wish I could contribute more but work is so demanding. It's nice to see others jump in
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
You're doing an awesome job! Thanks! Here to poke at the H990 build when it's up.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Following this thread as a potential final custom ROM for my H990DS (I only use a single SIM slot in it.)

Is it possible this would work using the DOTS kernel by any chance? Or is this reliant on the LOS built in one?

Many thanks for the work being done here. Even those behind the scenes making it happen.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zenns:
Yeah waiting fot 990HS
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SketchyStunts:
Settings, developer settings, advanced restart.....profit.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] patterson??:
Thanks had it checked in reg settings 4got bout that step...anyway thanks once again!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SketchyStunts:
No worries buddy. Glad you got it sorted
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Download the zip? Or a bug in your phone downloading something? What does the error say?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
There was a fix that went in late last week I think for that one.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] fr4nk1yn:
Ok Going to try this again. Pulled my misc partion, fixed the zeros in wifi and bluetooth, flashed it back to the phone, and checked to make sure they took. The Wi-Fi offset was at 6000.

-edit: And... I'm in. Both Wi-Fi and bluetooth have the addresses I set and it went past both SIM card and Checking for Updates without issue.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] R-T-B:
Hello x86cpu.

I'm trying your unofficial build now but still hitting the problem I described in the official thread (no incoming calls recieved until I place a call, 1xrtt cdma does not appear to work until a call is placed, us996 unlocked). It seems to be an inherent issue with the los rom.

I'm going to work on getting a lineageos build environment going so I can poke at this issue soon, but in the meantime, if you want, I'm available to debug with you... just tell me what to do. As it is I'll probably be running around the build.prop like a headless chicken and I'm not sure it'll end with success lol...

Feel free to PM me if you want to get in touch somehow for debugging.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] patterson??:
I want to thank you for keeping this alive for us. Very little going on with our device these days. I can speak for the vs995 version its obvious tons of work has gone into this from all developers involved. I'm not the only one that appreciates the f*** out of what you guys do!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
A logcat would be helpful. Fresh boot (note time), let it settle down... note time, place a call from another phone and note time (note what the other end hears or does not hear), then call out (note time), note length of call (from call history). Call in again from another phone and note time and length. Then logcat -d and I can take a look (or you can). (telephone numbers are masked out, ie: tel:**********, so they ar enow shown).

Also, if you can provide the apn settings that do work for xfinity, since I do not see it in the apn list for LOS, it can be added. Thanks.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Do you experience the VZW issue of after a reboot having to place a call before getting them?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Somehow your misc parition got trashed. The misc partition is set from the LG factory with your hardware WiFi/BT mac address. From other threads to fix twrp boot loops it was suggest to /dev/zero the entire thing....which was not correct. You only need to wipe the first part of it. Glad you got it sorted out.

I think you have the vs995, and if so, do you have the issue on VZW where you have to make a call before it works getting it? Thanks.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] patterson??:
Yes
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] R-T-B:
I'll start off with the APN settings for xfinity, and work on that logcat.

Here is Xfinity's APN settings. Mind you they don't officially support byod, but a sim card swap works (tested on several devices, this one is the first to fail):

<apn carrier="Xfinity Mobile" mcc="311" mnc="480" apn="COMCAST.RSLR.VZWENTP" type="default,dun,supl" protocol="IPV4V6" roaming_protocol="IPV4" />

---------- Post added at 04:52 AM ---------- Previous post was at 04:33 AM ----------

I know this is probably not very helpful, but thank you so much for confirming I am not alone, lol. I thought I was going insane.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] v0ne:
Still no love for H990 variants?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] patterson??:
---------- Post added at 04:52 AM ---------- Previous post was at 04:33 AM ----------

I know this is probably not very helpful, but thank you so much for confirming I am not alone, lol. I thought I was going insane.[/QUOTE]

Ya I forget sometimes until a text don't send then it clicks the call is needed.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Skinzaholic:
H918 latest update

I did a clean install of the newest update to the unofficial rom and I'm having issues with a messed up screen. It may be what everyone calls the static screen but I don't think it is. After booting, when you try to do anything on the phone the screen has areas that disappear and go in and out. Like the status bar will blink or just totally disappear for a few minutes. You can still click on things, it's just not visible.

Overall it's just not as smooth as the release I was on before. I came from the unofficial release that was listed in the post with the official releases. It was dated March I think. Did a clean install.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] fr4nk1yn:
Odd it works on stock, and demolition, with the messed up partition.

Yes, have to place a call on each reboot, and after a couple reboots it's always stops sending MMS messages. I think that has to do with the sim card losing some info(?).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Anywhere I can get a stock ROM copy?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
How do you fix the stopping sending MMS message right now? Logcat would be helpful after fresh boot as described in post #29.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Added a commit, we'll see if it gets in there.

https://review.lineageos.org/191848
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
I would also like to note that the bug in (at least my US996 V20) where:

Camcorder stops recording audio from the external mic

Or when phonecalls speakerphone stops recieving audio, and phone-call person complaints they can't hear you after 1 minute...

Can be fixed by reverting these two files to the Apr 25-26th versions:

/system/etc/audio_platform_info.xml - msm8996: Enable stereo camcorder mics and set proper ACDB IDs … (works)

/system/etc/mixer_paths_tasha.xml - v20: Add camcorder stereo dual mic paths …

History of commits:

https://github.com/LineageOS/android_device_lge_msm8996-common/tree/cm-14.1/audio

https://github.com/LineageOS/android_device_lge_v20-common/commits/a3f92f55d0c1ffb1758211670cf367bf24acee16/audio
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Even tho I was thinking the value might not affect us since the Kernel correctly detects 3200 mAH. I am concerned that this might indeed affect us and we could be getting battery life with the right power_profile.

I found that the source is here:

https://github.com/LineageOS/android_device_lge_msm8996-common/blob/cm-14.1/overlay/frameworks/base/core/res/res/xml/power_profile.xml

We should need a V20 unique power_profile.xml that matches the characteristics of the V20, At a minimum the following change:

<!-- This is the battery capacity in mAh -->
<item name="battery.capacity">2800</item>

But because this is the base of Android power API and decisions of the battery this has. I think this will reflect us into indeed getting right measurements and utilization of idle power, camera, GPS, etc. We should be importing this from the V20 source directly and overriding... would you say this is do-able [MENTION=2881807]x86cpu[/MENTION] ? :)

I hope I am not being annoying, but seems like we could be ironing a lot of non-critical bugs and get an amazing LineageOS experience in our V20 by getting these things sorted out...

EDIT: [MENTION=7600152]EvilHowl[/MENTION] I see that you guys don't have a custom override power_profile.xml defined for the G6 either and your battery capacity is 3300 mAh...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] EvilHowl:
Yeah, it's only a cosmetic bug. I am getting more than 6h SOT on custom ROMs, just like stock or even better, so it's definitely only a weird "label".

What other bugs can we fix? Have you started developing Oreo?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Now I am not so sure it is only a cosmetic bug because all of those values are feed directly into BatteryManager from Android (https://developer.android.com/reference/android/os/BatteryManager.html)

Hahaha, I was just going to mention you on the post above man :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
I have a 6400mah battery and I know I get about twice my 3200. But I see kernel auditor reports 2800.... weird.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Reverting my mic change too? I'll have to try this.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] EvilHowl:
I've seen :P. I'm subscribed to this thread because there are very interesting things that are useful for G5-V20-G6 devs :)

Hmmm, it shouldn't affect battery performance, because otherwise I would get a way low battery life... Try to rebuild and test it, currently I am running stock because I can't stand the really poor performance of LineageOS.

It seems that we need a kernel without EAS and other things. We should try to "copy" all the work from OP3 and Pixel 1, because this 3 devices have a really bad ROM experience. Some users of the G6 community are selling the device due to the poor custom ROM experience, and it's understable. We need to fix performance, some camera problems and other small things...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Most likely your mic changes are harmless but I didn't get a chance to try it so I reverted fully and patched locally :), seems like the problem came when it was resynced in July with stock
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Smittiegee19:
I'm on H910, most current build. The problem I have is inherent since a couple months. My Bluetooth mic volume is extremely low. It doesn't matter the receiving device, i.e. my truck, headset, etc. Caller says it sounds like I am a mile away. Wondering if this is a known issue and if so, how can it be correct, even partially
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Hey guys, anyone want to try a zip that works on top of these UNOFFICIAL builds? :) I would like to see that I am not getting any placebo effects myself.

Flashing the following file : flashable-lge-v20-lineage-hotfixes.zip

Will get you the following fixes to test and try,

XML file replacement to get a fix on speakerphone recording + camera mic audio recording that drops mysteriously (while we investigate specific commits)

Performance fix that causes heavy video 'lag' feeling and sometimes scrolling jerkiness and lagging in the UI (I want you to try the same as me, I don't think it is a placebo effect but would like other people to chime in)

Stock LG V20 thermal engine and config files (I don't think upstream LineageOS will need this... but I am testing this myself, so it comes free in the zip as it is a personal zip that I am using)

Nothing else...

:fingers-crossed:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] WhiteWidows:
Flashed on my ls997 running the latest unofficial. Will give it a day and report back as the lag issue creeps up over time. So far seems a bit smoother.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Here's another easy bug left over in the msm8996 system.prop

https://github.com/LineageOS/android_device_lge_msm8996-common/blob/cm-14.1/system.prop

persist.volte_enalbed_by_hw=1

There's a typo there in the common prop. Seems like it came from OP3 at some point which they fixed but we didn't:

op3: Fix enabled typo … Tortel committed on Dec 17, 2016

persist.volte_enabled_by_hw=1
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wma2wma3:
Why write down the model H990

If it is not here
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shawamawa:
It's WIP mate, have patience.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] HiddenKnight:
Hello everyone.

So I was poking around, wanted the better battery life and instant GPS locks plus fixed Bluetooth...

So I took the H918 10q update, yay!

?

Obviously, I am here, trying to figure something out.

Lots of individuals say that you cannot boot LOS after taking an ARB01 update.

After talking to a buddy of mine, in order to actually flash over and use something else, one would need to have an updated ramdisk from the current version of the stock, let's say 10q, and move that into LOS kernel to get it to successfully boot. Does this sound correct?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Well how about that. Yeah, that's a easy fix, the OP3 did it here: https://review.lineageos.org/151828

You really should get a gerrit account. Even if you cannot merge changes, you can get them submitted and it can be merged much quicker. I can submit a fix for this, but won't be until later today. (no builds for 14.1 today anyway). Thanks for the good catch!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Omar-Avelar:
Let me do that next week for sure :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wma2wma3:
I did not understand

This false advertising or something else I did not understand
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mmmmmmmma:
Nothing's being sold, much less advertised. If you are in a hurry, I can help you look up all the information you will need to start building your own. Let me know.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NippleSauce:
It is there. Check the download page.

*EDIT* Oh, wait it isn't, my bad. Ignore this post.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] thebeatsociety:
Black Screen after LG logo

Bootloader is unlocked and phone is rooted. In twrp, after I flash rom and gapps (yes did clean wipe dalvik cache, cache, system, data before flashing), when I hit reboot system, I get LG logo and then nothing. screen goes black. Can't boot into rom. Any ideas?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] HiddenKnight:
What firmware are you on?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] thebeatsociety:
Having trouble determining build now cause I didn't make note of it before I put twrp on with fastboot. Strange thing is inside the phone where you remove battery, Model says LG-US996 but when I installed 996 loneageos it failed and said this device is 918. So I'm not sure and without being able to boot into anything except twrp, I don't know how to find what the build was on the stock room that was on the phone at time unboxing?

Will I need to go back to stock firmware first and try again? If so, how do I do that?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
I think you should try installing the dirty Santa US 996 first. See if that boots
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] thebeatsociety:
Can you post link to that for me please?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zenns:
Hahaha people are going nuts for the H990 Build oh well lets hope we get it before christmas.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
It's been a while since I did this so I was thinking about sprint because it has its own rom there. So that won't work for you unless you're ls997. But you rooted with that site. You used Dirty Santa's root method and didn't you back up your rom before wiping? Restore that backup.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] thebeatsociety:
? I didn't backup what was on there at first sad to say. Any known method of restoring TMobile stock back to this device? Even if I lose root, doesn't matter. Just didn't want it to be bricked like it is now.

---------- Post added at 04:09 PM ---------- Previous post was at 03:42 PM ----------

I used dirtycow method not dirtysanta if that makes a difference
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
I don't know anything about dirty cow other than I hear it's the same with some instructional changes. There might be a kdz for tmobile
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] D4rk9009:
Hey if anyone wants working h990 build I got one uploadedcon google drive ..pm me

---------- Post added at 02:37 AM ---------- Previous post was at 02:36 AM ----------

I build a nethunter kernel works great..but I don't have a lot of understanding in it as some of u...any oone wanna teat it runs great I just wanna know what's workin
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zenns:
The H990 you built is it for H990DS Or H990N(Hong Kong Model) (Both Are Dual Version) And H990T (Single SIM)

You won't want the users to complain about this issues :)

I think the boot up was related to kernel issues from what I have hear but I also believe that the device would be official be supported in LineageOS 15.1 :) but for now I can't wait to see a stable version for 14.1 :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] D4rk9009:
I got h990single sim...but im sure it works on any h990

---------- Post added at 03:19 PM ---------- Previous post was at 03:17 PM ----------

https://drive.google.com/file/d/1Z4ozY0PTsHfVPAt9B3EzXljdPbZPVG9u/view?usp=drivesdk

That LOs h990... i just made back up couple weeks ago after i flash the zip in twrp flash 24 kernel from dirtysanta thread

---------- Post added at 03:20 PM ---------- Previous post was at 03:19 PM ----------

I didnt upload nethunter kernel.. but if somebody wants checkit out PM me... it made my phgone reaallly snapy..that i feel..

---------- Post added at 03:22 PM ---------- Previous post was at 03:20 PM ----------

i want somebodu to check if network monitoring works with extendet usb wifi...

---------- Post added at 03:26 PM ---------- Previous post was at 03:22 PM ----------

I wanna say this....h990 or ds dont get almost zero suport ofcourse im not talkin about x86 or emerls..in general every rom suports every build but no way they gonna make it for h990..if u Make it for 5 builds is it so Hard to add one more??

Look in forum there is 2 threds root one and this..

---------- Post added at 03:31 PM ---------- Previous post was at 03:26 PM ----------

I got nexus 7 tablet..its amazing how much roms .kernels u can get..i lm like sWitching evevryday..plus all tjhe linux os u can boot with it..that the last time i ever ever buy anyrhing LG....THAT NOT ANDROID...FREAKIN PUZZLE PHONE...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zenns:
Dirtysanta Kernel only fix the static screen and several improvement to the screen thats about it, again I'm not a expert about this so if someone has H990DS would like to test it :) cause LineageOS has it own Kernel to start off with so yeah I will wait for it.. Since other variant support it so we will wait for the ROM and I'm sure it is soon
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wrigglevision:
Backing up my data as we speak. I'll be a lab rat with my H990DS because I've nothing better to do this evening.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] D4rk9009:
Omg dude

---------- Post added at 03:46 AM ---------- Previous post was at 03:45 AM ----------

Good luck loli got zero problems..while u wait with youre touchw
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] D4rk9009:
i love this rom
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] D4rk9009:
btw this new launcher with on screen keyboard so cool

??

---------- Post added at 03:51 AM ---------- Previous post was at 03:49 AM ----------

these apps in playstore that add mods and stuff to kernel to they work???
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wrigglevision:
It was a no-go :(.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TheIronMaiden:
Any plans for lineage 15?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] D4rk9009:
How exacly?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wrigglevision:
Still reads "No Service," just like when the builds were publicly up for grabs. Data enabled, setting to GSM/WCDMA/LTE, SIM in the same slot it's always been in, but it just won't connect (not even when I manually select T-Mobile US in Available Networks).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] D4rk9009:
Did u flash kernel ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wrigglevision:
I'm an idiot. Didn't read that part about the kernel.

PM sent.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
lineage-14.1-20171218 UNOFFICIAL

lineage-14.1-20171218 UNOFFICIALs uploaded.

Please test, see how this works. Thanks [MENTION=5103965]Omar-Avelar[/MENTION] for ideas, also [MENTION=7600152]EvilHowl[/MENTION]. Changed some kernel settings around. Also test camera/video recording to ensure it works and/or is not any worse that is is now. Sound settings mic/speakerphone, in-call etc...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jl10101:
Ah man am I ITCHING for the H990 build...

Nice work on getting the camera to where it is!