yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkPhazon:
initially flashed with TWRP but just reflashed with fastboot. no static. like before

just shows lg logo and "powered by android". i'll give it a few.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I don't think something is right. Just to confirm again, you're on the Verizon vs995?

If you don't see that static screen you aren't getting it to flash correctly. Maybe dirty flash your ROM first?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkPhazon:
Yeah. Vs995 on weta 5.0.7 (based off of 14b). I updated twrp. After updating twrp i rebooted into recovery and flashed the stock kernel to boot partition. No errors. Wiped cache and art/dalvik. Reboot showed lg logo and vibrator going off. Left it for an hour. No go.

Battery pull, booted to download mode. Flashed stock boot with fastboot. No errors. On boot, stayed at lg logo with virbator going off. Left for 20min.

Battery pull. Booted to recovery. Used twrp to restore last boot, cache and efi. Rebooted and screen gave the familiar your phone compromised blah blah and booted to android 6 min later.

At work now but will try the dirty flash then kernel flash. Should i reboot after dirty flash then flash kernel or should i flash on after the other?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I would dirty flash Weta then flash the stock boot.img, then reboot. I honestly don't know what to tell you if that still doesn't fix it.

It seems flashing that stock boot.img isn't sticking somehow. Sounds like you need a new kernel for sure but nothing seems to be installing.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkPhazon:
Thanks for your help. Will let you know how it goes. Maybe I'll try another rom if all this fails.

I will say unlocking this phone was the most brutal of any phone or tablet i have ever unlocked. Possible ghosts in the machine? I know thats not very objective/scientific :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
Just to interject here. I am still looking for anything that might give me a clue on troubleshooting this, though I don't think it's solely a kernel issue. I've been away from my dev PC for a while and haven't been able to keep up with threads here either so maybe I'm behind the conversation but I thought I'd mention that if you're flashing between kernels you might want to delete the kernel modules in /lib/modules/. The install scripts in Lazy Kernel Flasher and AnyKernel are supposed to do this but I've seen some instances where I believe stuff has been left behind.

Otherwise, my order to make sure everything is right is to flash back to the stock to get a clean boot image, flash root (I use Magisk), then flash the custom kernel (reStock is good, others are fine as well). If the kernel is packed with it's own boot image (.img file) then swap the order on root and the custom kernel.

If anyone can get me a logcat I might be able to find something to start with. Also if anyone wants to test with a clean install of a pure stock rom, let me know and I'll get the zip file uploaded in the next few days.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
This.

I tried to say this, but failed I think.

I'd be happy to test a stock ROM, that's basically what I always use anyway.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkPhazon:
I too will test a stock ROM. I was able to get your kernel flashed via twrp. Not sure why your zip flashed easily while flashing the .img files failed via fastboot and twrp.

The results are the same though with the focusing issue. I'll leave your kernel and try to upload a logcat tonight.

If its not a PIA, if there was a zip version of that stock 18b kernel you had i will also give that a try too.

Edit: just to be clear flashing stock boot .img via fastboot and twrp did not fail, and,did not,produce errors but the phone would not boot after. Sorry.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Take a look here: https://xdaforums.com/showpost.php?p=74992883&postcount=373

We started to troubleshoot similar issues, not much came of it. Askermk2000 posted a restore-to-stock zip file, it should be the stock boot.img just in a zip form.

Give a thanks to askermk2000, he has been a huge help.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
PMs sent with the link to the rom for testing.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkPhazon:
OK Long post. Took the advice here and solved my problem. long story short, after flashing MANY kernal, clean flashes, dirty flashes, the only thing that fixed camera was flashing stock weta kernal WITH THE WETA AROMA INSTALLER.

Long story long, hopefully this helps someone.

Installation: My expercience has been hit or miss. I have many issues getting kernels to boot when flashing as a .img file via fastboot OR twrp. The only kernel that booted via .img flash was weta 1.21. When flashing as a zip i've had mixed results. The restock flashed and booted but during my testing and reflashing I've had to reflash and had it not boot. Anything that does boot runs fine and fast with the exception of no autofocus or manual focus on portrait camera. the kernals that i have tried were 18a stock, restock, weta 1.21, and the modified stock in the Weta 5.0.7 rom.

Logcat: I never done one but I tried to here. The only things is, nothing ever quits on me and I never get any errors. So once I found to solution, I reflashed a kernel i knew had camera problems. All i could really do is open the camera app and record the log. I also took a screenshot. Then I reflashed the WETA stock with the weta aroma installer and repeated the process, again taking a screenshot.

Theories: I am WAY out of my league here but just trying to help. I was able to replicate the problem AND solutions across the WETA rom and alpha ROM on both mine AND my wifes v20. The only deference between the 2 phones is that we have different versions of twrp. I unlocked both of these phones and it was a bear. There a chance i did something wrong, and if I did, then I did it wrong on both phones. It confusing to me since most people seems to be able to easily switch between kernels with no issues and most people don't seem to be having the camera issue. Willing to help however I can, especially since my wife is not using here v20 now (went back to g3 until I sorted camera). I can flash at will with no consequence (when I'm not at work). Anyway, thanks to everyone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
Just curious, does anyone with the focus issue remember what firmware version they were on when they rooted?

Also, did anyone dirty flash WETA over stock or dirty flash another rom over WETA?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkPhazon:
Ive been ablebto reproduce camera issue on a clean flashed 18a rom with non stock kernel, alpha rom on non stock kernel, and clean installed weta.

Don recall what firware i was on when i initially performwd dirty santa, but i DO remember that i first had to downgrade firmware from whatever my 2 v20s shipped with. cheers.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
OK, one theory shot. If you are having camera issues on the pure stock 18a with reStock, then something is differnet between your VS995 and my VS995. I am going to put something together in the next few days to try out another idea.

Edit: Do you remember which version you downgraded to before DS? 12A, 13A?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkPhazon:
I don't remember off hand but when I get home from work I will try to scour my browser history and see if I can find out

If it helps I'm not sure if there are any slight Hardware differences. I got my v20s at a buy one get one sale on Black Friday. That's why it shipped with a newer firmware that I had to downgrade
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I have always been on 13a when using DirtySanta.

I did not flash WETA at all. I was using AlphaRom but with reStock kernel. I can verify that AlphaRom with stock 18a kernel doesn't have the focus issue.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
This keeps destroying all my theories except a possible difference in hardware versions. In that case I would need to find another models kernel source to pull drivers from since LG hasn't updated the source for the VS995 in some time. I honestly don't think this is the case but I'm not coming up with any other ideas.

I have something else I want to try but I need to put it together and test it first and I won't have time for that for a few days probably. In the meantime I have 1 set of logcats, another wouldn't hurt. There is a 100% stock rom to test on to rule out any oddities from roms.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Since I'm on 100% stock at the moment minus magisk, want me to give reStock a try and get logs for you?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
Yes, please.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Installed reStock so I'm on stock 18A with magisk, no modules, only froze bloatware. After installing, no focus. Attaching a log, does that have what you need? I haven't retrieved a log from adb before, but I can if that's better.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkPhazon:
Check all browser history and cannot find which version i dowgraded too. Sorry.

Other things,i,wouldnt think,matter but may: except for the firmware downgrade (performed under,windows 7 pro) the rest of dirty santa and all my fastboot and adb needs performed under os x using terminal.

Also unless specifically told not to by devs i flash everything from external sd card. I have NOT tried changing the card.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
OK, thanks for looking anyway. I have one more thing to try before I'm out of ideas but need some time to test it and I don't think I'll have that time for more than a week at this point. I don't want to hard brick anyone's phone but mine and I can't have mine down for more than an hour or so for work. I'm also hoping for a 19A kdz file too but that hasn't materialized yet.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkPhazon:
I have a v20 thats not activated now,so if your test is a matter of flashing i may be able to,help
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Is there any way to capture the update? Id be willing to unroot and take the OTA if so.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] XeCuTioN:
I have a vpn that I connect to through wireguard. Mullvad dot net. You can get a free account for like two hours (which you can generate new account numbers indefinitely for a new 2 hours) or pay 5 euros for the month.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkPhazon:
Not sure if you were still dealing with this but i was bored and found mk2000 kernel and stock19a kernel. Mk2000 installed and i dont have focus issue on alpha.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ampicillin:
I just flashed this kernel and it seems smooth so far but my CPU still sits at 40-50% and YouTube seems to be using it more. Any tweaks to lower it down on Kernel auditor? Also, Does this Kernel already remove RCTD etc or need to remove manually? Thanks!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
How's progress looking so far on updated kernel ? Can we expect to see anything new?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
He usually only comes on XDA few weeks at a time now. Haven't seen any updates yet though.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
I'm around. I had some (more) issues with my build environment and a severe shortage of time due to my job. Oh, and it's hockey season ;)

My current plans are adding WireGuard VPN support to the kernel, init.d support to the installer and seeing if I can fix the camera focus issues. The first part is done, the second part I haven't even started on and the last I'm looking at currently. I'm going to try different drivers for the camera and if that does fix the issue I might skip init.d and release something new after confirming the camera fix.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Anything the little guys like myself can do to assist?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
I'll PM you when I get an attempt at a camera fix ready.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
Awesome sounds good well if I can be of any help or try beta builds test builds etc I will I'm on vs995 currently running alpha room 19a stock 1.6

do you have any interest in adding wakeblocks?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
I do not have any plans to change wakelock unless someone can show me where there is a huge issue currently andaAt present, I think things are working pretty well. If you have some reason why you think it's needed, make the case but I think these things usually hurt more than help.

[MENTION=2691354]bond32[/MENTION] and anyone else with camera focus issues. I'm testing a fix and will throw up a test build tomorrow or the next day after I put it through the paces the next couple nights. Stay tuned.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] XeCuTioN:
Will wireguard support be part of the test build?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
Yes, it does. If you have a VPN that can test this and want to be a guinea pig, PM me.

Everyone else, if you're still having camera issues and want to test, PM me.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] emdroidle:
I'm planning to ask LGE to start releasing their kernel source as git trees, since that should be easier for them to keep up to date and their kernel releases have been behind for everything other than the H918. Hopefully they would see some benefit from using less bandwidth (someone who had previously downloaded earlier kernel source would merely download the delta, rather than the whole tree), and keeping in better compliance with the GPL.

LGE's took months after shipping the Samsung camera sensor to release their new kernel source code for the H990. They did release it, but that is kind of a bit behind. Being able to see the git history would hopefully hint at some of the reasoning behind changes in their kernel source.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] XeCuTioN:
Wireguard is working great! I just imported a config file for my VPN in the wireguard app (alpha release) and it loaded right up. Not seeing any camera issues so far on my end.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
V1.4 Released

OK, I finally got around to compiling and releasing V1.4. The changelog is pretty short on this one since I've had a lot of real world issues to deal with.

V1.4 3/5/18

Added WireGuard VPN (thanks (again) to [MENTION=4955555]poixninja[/MENTION] for this one)

Download link
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] freakfun:
testing the new one

i will be trying the new kernel sir

thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Keeps showing xda forums are down... Do you have another file hosting site?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
To quote a great American philosopher - "oh, good grief." This is pretty much how everything I do goes lately. I have Android File Host for a backup but no local copy of the kernel zip. If XDA isn't up by the time I get to work tomorrow, I'll put it on AFH.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
Sooo... AFH is not letting me upload, saying the zip file is not a supported format.

So here is my Google Drive link. This is not permanent.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Thanks for still updating. I tried it, fresh stock 18A. Still no camera focusing. I appreciate the continued development though!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] elcanela:
Hi. I'm curious; you said you still have no camera focus. I have slow focusing, especially in kow lighrlt, but it focuses. Is that what youre referring to, or does your v20 not focus at all? I'm only asking because Im curious, dont mean to bug.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
The focus all together just does not function. Normally, you would tap the screen to focus on an object and the green box would pop up while the lens focuses. With reStock on mine, it doesn't function - no green box, no focus. Backcheck has tried to hammer it down without any luck I think. Not everyone has that issue too which makes it hard to track down.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] elcanela:
I see. Unfortunately, I dont have that issue. Thanks for the reply.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
I've always thought the AF was buggy. I shoot a lot of sports (hockey) and it loses track of the players pretty easy. Tapping the screen will cause it to refocus but it often focuses on the wrong target. Other phones I've had have had issues but nowhere near as bad. I've found little tricks to compensate but I've never been fully satisfied with it. But I've had this issue with all kernels so I'm pretty sure it's a software issue.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] elcanela:
Yeah, I came from a VZW Google Pixel (not unlockable) and it has an awesome camera. I guess, in a way, the V20 was a bit of a "downgrade" according to some, but the screen size, removable battery and expandable memory on the V20 sold me. I am kind of bummed the camera is not as good as I thought it would be. It has a bunch of features that as a hobbyist photographer souded great to me, but the execution with the software/hardware left something to be desired. That said, I appreciate your contributions for this device, and FWIW, Im rockin' the kernel and I think it's solid. Keep up the hustle!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] XeCuTioN:
Will you be adding any additional cpu governors in future builds?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
There are no particular plans to. To be honest, the default ones work fairly well so between those, ElementalX and Blu_active I think things are pretty well covered. If there was a compelling reason to add more, like some benchmarking that show another governor had a clear advantage in some useful category, I might add something else.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] WárAsatruär:
Anymore development expected?

Example: Adreno Idler ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
More, yes. I have something big already in the works ;)

Adreno Idler, probably not. I tested it but I don't know if it even did anything. I might revisit the idea sometime down the road after the next release, but not soon.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TraderJack:
Hi... I'm currently learning what I can for my VS995 which are on the way. I'm a little confused coming from other phones as to exactly how all the pieces fit together here.

I was directed here based upon someone mentioning reStock as something I needed to flash if I wanted to use Magisk as my root method with the V20 instead of SuperSU.

My understanding is that I can only root if I am running (or downgrade to) 13A or earlier firmware. My understanding on the V20 is that the firmware "13A" really just is another name for the version of the ROM from Verizon. On other phones I was used to the operating system being the ROM and the "kernel" being the firmware. It seems that now "firmware" means ROM+kernel?

So this kernel is based on the kernel embedded in the 10b firmware?

But, you can run a later firmware like 13A and then flash just this kernel over it?

I assume this doesn't get around the issue of being able to root only up to 13A? Meaning I couldn't be running 19A with this kernel and still root, right?

Thanks!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] WárAsatruär:
My friend I'm on vs995 with this kernel and on latest 1AB firmware everything is solid and shouldn't have to do with su or magisk

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

My friend I'm on vs995 with this kernel and on latest 1AB firmware everything is solid and shouldn't have to do with su or magisk
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] WárAsatruär:
So any more progress on this kernel
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
At the moment I'm trying to get the new 20a codebase to work but it seems way buggier than 10b. So far I have static on boot and broken Wi-Fi and that's just preliminary tests.

Beyond that, no. There isn't anything broken and I have nothing to add at this point. I might try to script init.d support to the installer but that is way on the backburner.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] toastyp:
Isn't that the oreo source code? Might explain why it's buggy since we are still rocking nougat system/firmware.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
That's my hope except the static on boot makes me worry. There were some files missing that I had to add from 10b as well. We'll see when (if) we get Oreo. I'm used to less than perfect source code but I have a bad feeling about this.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] toastyp:
They've promised oreo down to the G5, so hopefully they come through. They've put minimal effort into maintaining this device (still bugs on pure stock nougat), so I agree it's an if. Losing as much money as they have, I'm surprised they are still releasing as many phones as they are. Maybe if oreo comes out, they will post a more refined version of the source with 20a being a pre-release or something. Probably wishing upon a star but oh well. Anyways, best of luck in figuring out how to work with the mess LG has left you with!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] WárAsatruär:
If you ever need any testing I'm here I love testing and helping out
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TraderJack:
Newb here on the V20.

Couple questions:

1) How to verify that this kernel is installed. Or, for that matter, how to check what kernel is installed if unknown.

2) How to take advantage of this kernel. Are all the "tweaks" just enabled, or does it unlock some settings I can play with?

thanks!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] WárAsatruär:
K so first you can install any kernel editing app if it doesnt say restock kernel it's not installed next this has base settings kernel wise and many bonus add ons that you the user can manually adjust he has added pretty much allthings cpu govs io scheds more than any other kernel I've used this guy is the man .
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
I do not know, it works for me. I do not think this is managed anywhere in the kernel anyway, I think it is part of the rom. Can you post or screenshot the software information screen in settings, about phone?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
I am using the WETA 4.4 rom based on vs995 base with this kernel
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I'm on NotSoStock myself, would really like to get that WiFi Calling to work... Perhaps I will try to restore a stock system image and try this kernel.

Just to confirm, I would need to uninstall SuHide then kernel, then Su, then SuHide again?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
I tried to replicate it by dirty flashing WETA but it did not full boot and I ran out of time to test. I'll give it another shot tonight.

You just need to uninstall SuHide prior to installing the kernel then reinstall it. I do not think you need to reinstall SuperSu. I have not personally tested it, it is on my list of things to test when I get time.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I restored a backup of a stock 13a system, installed the kernel, couldn't get it to boot. Probably messed something up somewhere...

BackCheck, are you on a completely stock system?