yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
So I flashed this because I needed a stock verizon kernel to get my advanced calling to be able to turn on. So thanks for that!! Im gonna see how well the battery life feels on this rom for a day to see if it I like it or not. You should take a look at the konverged kernels governors and what it has and see if that will help you out. That Kernel is solid and I love it. I just want a verizon version of it lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
Yess, I'm on 12a though. I'm going to update to 13a soo. I had a lot of problems switching roms with this phone when I first got it. My original 12a was really the only one that worked right
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Well, I guess I'll try again tomorrow. I bet the issue was suhide. Thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
I can call with wifi, but calls will refuse to go out if airplane mode is on. Thats just how wifi calling goes.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
I can get it to work on airplane mode if I manually turn wifi back on. I just don't see why this would be much different across stock based roms. I guess this is what makes it fun?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] repsol_23:
So far your kernel works on my vs995 running weta 3.3 for vs995. Only been about an hour but all seems to functioning well. Thanks for the kernel, especially the lack of static boot!!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Any chance someone could upload a stock Verizon image? My backups aren't working... Tried a few.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
I am wondering if maybe some needed files then are being debloated out of the VS995 base roms maybe causing it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
This is what I'm thinking too... I wish we had a stock base ROM to use.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Im on the USS996 Weta 4.4 rom with this kernel atm and I get the airplace thing. Why do you need airplane mode on to call on wifi? Just call on wifi without airplane mode??
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I guess I would try WETA again...

The airplane mode, I know when I have wifi calling working it only worked part of the time. Sometimes it would actually use the wifi calling but most of the time, even if I had a tiny shread of signal it would still call normally.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Artimis:
Looking forward to trying this kernel and hopes it fixes WiFi calling :)

There was another user on here who confirmed that there is something in the stock VZW kernel that allows WiFi calling to work (and, yes, the most accurate test is to put in airplane mode, flip WiFi back on, and attempt to make a call assuming the WiFi calling option is already enabled and the line/phone has Advanced Calling enabled).

So far, even on a stock VZW ROM, no kernel has been released that allows this to work yet so if you managed to get this and the static boot screen fixed then it's a first!

Can't wait to try!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dfogelstrom:
[MENTION=5774816]BackCheck[/MENTION], what would it take to get this kernel for the T-Mobile H918? There are no kernels in general floating around for our phones, and it's nice to see someone working on something! I say it's a huge step in the right direction for development!! Great job, and if you need anything as far as a tester for a H918, I am totally down! I hope to be in this thread a bit more!

Cheers and great work!!! ??
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
I won't say I will not work on another variant, but as the OP says I have no plans. At the very least it will be a few weeks down the road. I don't have time or resources to maintain another device. The H918 is currently on 10j and I've tried to build for the VS995 on the source for it without success and I suspect trying to build for the h918 on the VS995 10b would be equally as ineffective. Maybe someone else can copy my steps, the commits in the source are pretty much in the order I got things working in.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
All with wifi calling issues, or any other issue I guess. Can you please look in /system/lib/modules and see if the following files are present and only the following files are present.

ansi_cprng.ko

bluetooth-power.ko

brcm_bt_drv.ko

brcm_hci_ldisc.ko

br_netfilter.ko

dummy_hcd.ko

evbug.ko

fm_drv.ko

g_laf.ko

gspca_main.ko

lcd.ko

mausb-core.ko

mausb-device.ko

mmc_block_test.ko

mmc_test.ko

rdbg.ko

spidev.ko

tcp_htcp.ko

tcp_westwood.ko

test-iosched.ko

ufs_test.ko
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
WETA 4.4 VS995

ansi_cprng.ko

bluetooth-power.ko

br_netfilter.ko

brcm_bt_drv.ko

brcm_hci_ldisc.ko

dummy_kcd.ko

evbug.ko

fm_drv.ko

g_laf.ko

gspca_main.ko

lcd.ko

mausb-core.ko

mausb-device.ko

mmc_block_test.ko

mmc_test.ko

rdbg.ko

spidev.ko

tcp_htcp.ko

tcp_westwood.ko

test-iosched.ko

ufs_test.ko

There may be a few mistypes as my mac is trying to correct my spelling.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
Interesting mouse-device.ko is in there, this is not from my kernel. I doubt it matters much though.

I have upgraded from VS99512A to VS99513A. Guess what... I can't use wifi calling in airplane mode even after re-enabling wifi. I guess it is something in the roms. It's late, I'll see what I can do tomorrow or this weekend.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
The mouse-usb.ko was a autocorrect its mausb-device.ko
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Have these also, on NotSoStock:

core_ctl.ko

dns_resolver.ko

texfat.ko

userspace-consumer.ko
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Is verizon still behind? or is it updated to 10j? I think im actaully gonna start looking into learning the roms and kernels and such. I love messing with my phone but never actually made anything myself xD
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
The VS995 is currently on 10b, at least as far as souce code on the LG website. I don't know how much difference there is between 10b and 10j. I tried at points to compile 10j with the vzw config script, it doesn't work. I figured 10b was what was on the website for this variant so I decided to go with it ant it worked.

I linked the page I got my download in the OP. I started with an Ubuntu VM, the Google Android prebuilt toolchain and just seeing if I could get the basic kernel to build. There is a readme in the zip that had some basic build instructions to help start.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Artimis:
How are you upgrading from 12A to 13A? Are KDZ'ing back to stock, OTA updating, and then going through DS again? Or are there /system images available somewhere now?

I am using the stock VZW 11A rom with the NSSR 5.5 kernel and can't use wifi calling in airplane. I was going to flash this kernel tonight or tomorrow and try again to see if the kernel will fix it. Would be interested to know if moving to the 12A base with another kernel works though.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
12A was what came on my phone and I have a nandroid backup of that. I extracted the /system from the 13A kdz and made a zip to flash to upgrade.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] KittySparkles:
Once the v20 gets some kernel loving it's gonna be an even more amazing phone. Some governors, hotplugs, thermal control, and some optimization and it'll be perfect.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mrtruckincowboy:
werewolf was good with no static but the op quit working on it for some reason
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
Just to let anyone keeping track know, I'm testing the patches that move core control to the kernel. They seem to be in most custom kernels for the MSM8996 so I'm not too worried this will break anything. I did a decent stress test of battery life last night before I updated and it seems to be pretty good. I hope these patches will make it even better. I might release a test version at some point to get more feedback.

If all goes well I guess I may add the Zen IO scheduler next to see how that affects battery life and performance. Unless anyone has any better suggestions, which I'm still open to.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I can't seem to have any luck these days...

On a stock rooted setup, I was able to install the reStock 1.0 without issue and everything was fine. I attempted to install SuHide and it hung on the Verizon logo so I guess that is out. No biggie though, unless anyone else has had success with SuHide?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
Have you tried magisk?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I have not. I'm currently on stock with reStock 1.0 and SU successfully. What do you recommend? Uninstall SuperSU first thru the app then go into recovery via adb, install Magisk?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
I have not tried it yet, but reading the thread it says unroot, flash magisk because of has superuser in it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Kevin_xail:
So has anyone been able to use wifi calling and a custom ROM like WETA with this Kernel?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
From my knowledge, no. The OP said to have stock 12A with this kernel and Wi-Fi calling working
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
Wifi calling should work on any rom based off of VZW stock. Stock 12A is the only thing it works with airplane mode enabled. I am looking into a fix for this.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I don't know how you're able to use wifi calling with airplane mode. I've activated it successfully but when using airplane mode + wifi it says it can't make calls with airplane mode on.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] FlyingCaveman:
Can confirm wifi calling on weta 4.5.2 vs995 with this ROM. Plus with magisk all safetynet passes for snap or pokemon. This is great!!! Thanks for the hard work
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
It was working on stock VS99512A, upgrading to 13A broke it. I may switch to a US99610F base for testing. I don't think it's kernel related but I'm still testing things.

Great. I'm curious on Magisk, are you using it's su or super su (or something else)?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] FlyingCaveman:
Using its own.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] supreme329:
I'm also on US996 Weta using this Kernel. I'm having no issues at the moment. Have you ran into any problems? How's your battery life?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] imucarmen:
I used this kernel with the us996 version of WETA and battery wasn't too good for me. The little cores on the cpu wouldn't stay in deep sleep so I would get 2% loss per hour with the screen off. This kernel with the vs995 version of WETA has excellent battery life. Today I had about 45 minutes of SOT and 6 hours of background YouTube streaming and had 70% left after being off the charger since last night and starting the day with about 90%.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] supreme329:
Thanks for the info. I only gave this kernel a shot because it got rid of the static. I guess I'll revert to stock until a kernel fixes it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
About battery life. I should have a test version tomorrow with some changes that hopefully improve batter life.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] imucarmen:
Battery is already excellent for me. No issues with your kernel at all. The only things I would like to see is some more gov options for the CPU and I/O and the westwood TCP Congestion Algorithm.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Here's my process in an attempt to get SuHide working:

- Root with exploit

- Install Weta for Verizon Variant

- Install ReStock Kernel, all is well and working great

- Install SuHide -> Won't boot, stuck at verizon logo.

Did I do something wrong?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] elliwigy:
i agree with some others.. my battery life has been excellent:

keep in mind thats almost 5 hours and only 1% drop which didnt drop until i used my phone a little bit.. i didnt have this good standby on stock or konverged.. i havent even set up greenify or l speed yet lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Frick yea its great
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Well sorry to say, but if your security patch is december or later then you'll have 0 luck with su hide :/ and If it isn't then I am unsure. I've used it with this kernel before updating to a fw with a newer security patch soooo

---------- Post added at 05:54 PM ---------- Previous post was at 05:49 PM ----------

Looking forward to this!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Thanks, that didn't even occur to me.

Have you tried Magisk?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
It fails to flash for me 100% of the time so I just didn't bother with hiding root. I needed it once to log into snapchat and that was it xD Now Im on a later SP so no need for it now.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I've got it installed successfully but SuperSU is still installed too. I think I have some reading to do...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Magisk? How did you get that to flash???
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I actually did the entire root process over. But it was mentioned in the WETA thread to install the stock kernel first then install Magisk. Once it boots successfully you can then install Restock. That's what I did.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Wellll yeaaa, Im avoiding that lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nightra88:
When I flashed 4.6 weta on my vs995 I flashed the stock kernel and tried to install magisk but to no avail. It won't install via app.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
OK, a little late but here is the test version. If anyone who has a good grasp of their battery usage could test and tell me if this is better or worse it would help greatly. I don't plan on trying to compete for longest batter life, that's not the idea here. The idea is to improve things by small steps without breaking anything. Hopefully the battery life will improve with additions.

After this I'll look into some other optional items like I/O schedulers, governors and TCP congestion algorithms. Might also whip up some flash-able modem zips but that's another topic for another day.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nightra88:
I'll test it out. I'm running a stock kernel on my vs995 at the moment but my battery life has been a little wonky, lately, not getting as much as battery as I should, but I do know approx battery life. (I run a Hyperion battery) but I'll check back in later and let you know.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
Cool. If you can try out both the test and regular version as well, it would be helpful to know which works better.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ravreet_Kang:
Issue with LineageOS

I was running lineage and decided to flash this kernel and try it out. In lineage the second screen is disabled but when this kernel is installed the content is displayed like the second screen is part of the main screen so idk how to really explain this but the status bar is at the top of the second screen and the rectangle with the camera and sensors cut into what is displayed.

https://imgur.com/a/bjP2g
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
I think I get the idea. I don't think there is anything I can do, I think Lineage is missing the code for the screen. They probably do not compile the drivers for it in their kernel and that's why it's not active with it. Hopefully, the LineageOS devs can get the second screen active at some point.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ravreet_Kang:
Oh I see well anyways thanks for responding quickly and good luck with development! :good:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Lineage has so many problems... Personally I would move to a stable Rom :/ Lineage just has a terrible time with trying to use the second screen. There are quite a few nice verizon/US996 hybrid roms.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
[MENTION=5774816]BackCheck[/MENTION] So currently with restock 1.0 and Weta 4.6 US996 I am getting wonderful battery life! I can't wait for the governors and such! I feel its bad to ask, but hows the progress going on this kernel?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
For Verizon:

You don't need to do the entire root process over. Get the KDZ for 12A from here https://xdaforums.com/v20/development/vs995-kdz-t3527538

Get the LGExtract tool from here https://xdaforums.com/showthread.php?t=2600575

Extract the kdz. It will be a bunch of files and a dz file. Extract the dz file. There should be a boot_6.bin file. Rename it to boot.img. Put that on your sdcard

Here is the link to my VS995 boot.img (This is the already extracted VS995 12A boot.img) skip the above steps https://drive.google.com/file/d/0B-JjsdrM6j0bQWRuVTNkX1FkWHc/view?usp=sharing

Magisk

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

UnSu https://xdaforums.com/showpost.php?p=63615067&postcount=2439

Install a terminal emulator - it makes it easier.

Make sure you have these files below on your sdcard:

boot.img from above kdz that you extracted

Magisk 11.1.zip

UnSU.zip

ReStock1.0 kernel

1. Install the Magisk Manager App

2. Go into SuperSu app do a full unroot.

3. Go into Terminal emulator and type "Reboot Recovery"

4. In TWRP Flash UnSu.zip (to remove any traces of SU)

5. Flash boot.img (this is the stock boot.img)

6. Flash Magisk.zip (magisk contains its own SU)

7. Flash ReStock 1.0 kernel.

8. Reboot

9. Open Magisk app and check to see if Safetynet passes. It should.

Maybe I will upload the boot.img when I get home from work to make the process a little easier.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
Thanks for this. So just to be clear, the Magisk should be V11 and not V12? When attempting the steps you posted, when I install Magisk it returns an "error 1", but perhaps I don't have the correct stock boot image...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BackCheck:
Well, I uploaded a test version a page or so back that I had hoped to improve battery life even a little more. I've had a report of some issues with it though and I don't know if it actually improves battery life. I have some plans to add some user tweakable stuff, I/O schedulers, governors and TCP congestion algorithms.

Really good stuff! I might add anyone with linux might use kdztools to extract the files. It will merge any split files, not just the system.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
I am on magisk v12 but I think its beta. I have no issues with that version.

If you had and root switch installed use the root switch rm to remove it all.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bond32:
I didn't have it installed. I think perhaps I need to re-install Weta when I install the stock boot.img...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
Yes, you can dirty flash WETA and then do the steps I have above.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Well Im getting insane battrery life as is now. I will test it when I get home @ 3:30!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ravreet_Kang:
Yeah but it's gotten better, the only major bugs at this point is speaker static at low volumes and weaker signal. I just wanted to help bring a stable stock ROM to this device. I'll probably switch to WETA and reStock on Saturday though.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Weta is amazing from my experience. Make sure to use the hybrid version! I prefer the US996 rom with the Verizon bloat. It has it included when you select it. Best battery life I've ever had on a phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ravreet_Kang:
I should use the us996 version?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
I recommend it myself. I have a VS995 as well, but before you do! Make sure you have wifi calling and advanced calling on first! After installing the US996 Rom on my Verizon phone, I haven't wanted to go back. If you don't want to wipe your data then the Verizon rom is the next best thing. But a quick TB and LG backup will allow you to restore everything back anyways.

Also weta doesn't come with the LG apps included. There is a zip that you can flash after Weta is installed!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ravreet_Kang:
Oh OK thanks for the advice
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nightra88:
Okay I will. I'll test to about 50% battery on both. That should give me a good estimate.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nightra88:
It sleeps like a baby. Didn't use my phone for 9 or 10 hours didn't drop a cent, been using nearly constantly for the last 2ish hours, snapchat, Internet, XDA labs, Playstore. Maybe a few others but here's what I got so far. [MENTION=5774816]BackCheck[/MENTION]
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Guitarfreak26:
Which snapchat do you use?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Latest? Why?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Guitarfreak26:
Trying to get one working without messing with magisk etc
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Yea thats the issue... Logging into it with root just won't work. But what I did was when I was on a base fw that rootswitch worked on, I used that, logged into snapchat, and then later backed up snapchat for later use. At this time its too late to do that for you. I use snapchat all the time, so not having it was a burden.. But if you use Weta, and you use the US996 build, I still have the 3.4 build that still supports rootswitch. But that would allow you to use rootswitch, sign in, back up snapchat with TB and then say, restore a backup in TWRP so you are on your stable setup and then restore snapchat with the logged in data? Just an idea..

Edit- Now that I think about it, that sounds more of a pain than getting magisk working lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Guitarfreak26:
I know there's a way to do it on blustacks but snapchat doesn't login for me on that either lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
Yeah magisk is nice. I use android pay as of the phone is not root yet all my rooted stuff work. I don't have to take any other actions like switching on and off root.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Yea but I dont want to go through the trouble to install it. I was giving him an idea how to avoid dealing with magisk..
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dwertz:
Did you try the method that I had posted earlier and still have issues?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lumince:
Noooo i just got home. Im getting a little lazy xD
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] drbveb88:
Are these results with the test version or 1.0?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] supreme329:
Is this US996 10F based?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] drbveb88:
Clearly not.

View attachment 4052380
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] supreme329:
Clearly