yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
6.5 should be out tonight or tomorrow.

WiFi calling is fixed. (thanks [MENTION=5264701]lordodin912[/MENTION] . Turned out to be the defconfig after all. Netfilter/netlink )

Built with the latest -old v6 Uber Toolchain cross-compiler (ubertc 7 is bugged, and latest v6 doesn't boot after compile)

Kernel optimization flags added in for Uber (thanks [MENTION=5264701]lordodin912[/MENTION] for the info on this)

Better 3g/4g connectivity. Which should hopefully lead to less polls to satellites, and hopefully reduce battery consumption (May need to upgrade to latest bootloader and radio).

ConservativeX governor and a few other added it

ROM tweaks to init-post_boot to do the following : ensure min CPU freq is at 307mhz for all cpus, 133mhz for GPU, modified cpu_boost and other tunables for bettery battery usage, other small tweaks.

GPU gov set to simple_ondemand by default

Many TCP congestion algorithms enabled, westwood+ is default, and recommended.

Small tweak to ZEN_DECISION hotplug

More things fixed/tuned

*testing* AutoSMP hotplug added to kernel. (idk wtf it is though)

*testing* Force current charge. Ability to override charging rate. Might set to max rate by default.

Oh and I'm trying to see how I can add Google Services by default, as well as the latest Google Assistant update so you don't have to do it after initial setup. No promise on this as it may be required to do manually idk.

There is still some sort of bug with SMS. It has probably existed since 5.5, and we (or i) just never noticed. While SELinux is enforcing, texts wont send. I'm working on fixing this...

Depending how SELinux goes, 6.5 will be out tonight or tomorrow.

Might add a few LG apps by default as there are many requests for it (update center, weather, LG Music).

6.5 will not force wipe, but if you have bugs with wifi calling, texting, or rootswitch freezing, this is an indication you have to do a Factory Reset within recovery.

There will also be a 6.5 kernel only for those that want to use it on other ROMs. I do not recommend cross-flashing to non-H918 devices.

Development for NSS H918 will come to a halt as of 6.5, as I need to make an update for the other carriers. Additionally, IRL will be taking over for a month or two.

This is what v6 was supposed to be, but I did a few too many additions a little late into the testing phase.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] StonerSteve420:
how can i install the stock lg IR blaster remote app. I love that thing
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
What is the name of the app?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] StonerSteve420:
QR Remote I do believe
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
It seems Xposed for nougat might be available really really soon.

http://www.dexteroid.com/how-to/install-xposed-framework-on-android-nougat-7/ (i don't recommend doing this, the developer has not officially released this, nor is it fully working)--just stating that they are doing great work!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
I can't help but distrust articles that contain content behind a survey-wall.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
I didn't even know there was an ad on the site.

Recommend https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
I have ABP, Windscribe and UO. It isn't the ads, it's the "like us on Facebook to download this"
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Oh. Lol. Well, the info is legitimate, idk about the download and all that, just the first link I foudn on google.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
Well I'm personally content waiting for official Xposed.

By the way, how do I upgrade my modem on this phone?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] JeyTruth:
Wow. Awesome news. Good work. Thanks for your dedication man.

---------- Post added at 04:21 AM ---------- Previous post was at 04:18 AM ----------

I'm surprised it's coming out so soon, woo!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] StonerSteve420:
How do we log into Snapchat since we don't have Xposed? I tried using root switcher but whenever I choose to disable it the whole phone freezes up
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkestSpawn:
https://xdaforums.com/v20/development/firmware-twrp-flashable-bootloader-modem-t3547268
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dfogelstrom:
[MENTION=1325580]Tilde88[/MENTION], thank you sir for all your hard work and dedication to us and our phones. You have done one hell of a job here! I'm sure 6.5 will be the best out yet. Looking forward to your work in the future.

Also, thank you for making a seperate kernel for us to flash on other ROMs for the H918. Now even if we don't use your ROM, you are still part of it! Really cool man.

Thank you again brother, and be well!!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
Tilde, please dont forget to add lg screen capture in second screen. It is very useful.

Thx for your hard work...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkestSpawn:
I dont believe this site is accurate, seeing as it says to install xposed-v87-sdk23-arm.zip. Although there might be a beta that someone might have their hands on, after scouring for a bit I didn't find anything. =/
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
It mentions that it was for an ARM device, that's why I said not to use it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkestSpawn:
Yeah, I was referencing the "xposed-v87-sdk23-arm.zip" since thats for Android 6.X, but who knows maybe they figured out how to make it work on Android 7.X

"Patiently awaits 6.5 to flash as my crackflash pile is empty" =)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Trying to see if there is a fix for selinux for SMS
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] me2151:
What's wrong with it??
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] codedesignr:
QuickRemote
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] JeyTruth:
Issue with the rom or kernel?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] codedesignr:
There was an update script that fixed this and wifi tethering, but I think tilde pulled it due to a bug. Guessing it's fixed in 6.5.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] StonerSteve420:
Then we must wait lol no big deal anyway. I can wait for snapchat
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TheIronMaiden:
Hope we see a h910 update soon, good work, excited for the bug hunt.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Goldsusanoo:
Gps issues

Has anyone had GPS lag issues with this ROM? Or should I try to reflash after doing a standard wipe of cache, dalvik, and system?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aaren11:
Tilde?

Seeing as you seem to be leading the way on v20 kernel development at the momment. Could I please humbly request that some effort be directed towards a build that disables Touchboost. Little cores always ramping thier base clock up to 960mhz, even with Input boost disabled, makes tweaking for battery life a compromised endeavour.

Any actual active hotplugging options would also be appreciated. From what I've heard people have had some success with Thunderplug on big.little socs.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
ROM it seems.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
6.5 has init.qcom-post_boot edits to lower the input boost for the big and LITTLE cpu to a lower freq. It also edits the polling frequency to 80ms up from 40ms.

ZEN_decision hotplug is already in and has been for a long time. Only 1 core active with screen off.

As of 6.5, autosmp hotplug is in, but up to the user to activate (i havent even flashed the final 6.5 kernel which has autosmp, but I don't think there will be an issue).

Thunderplug not compiling for me, not going to spend more time on it (for a while).

Core control helper disabled by default now in post_boot as well.

I will not be disabling touchboost, as with the new default governor it will be too slow. ConservativeX is the new default gov.

You can disable touch boost (per core) by using a program such as Kernel Adiutor under the CPU settings. But this will likely cause stuttering/lag
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
When SELinux is Enforcing, I cannot send SMS. Likely that this has been happening for a while, just never noticed. No clue how to fix it, tried a bunch of things.

Trying one last thing now. Edit in defconfig to disable inet diag destroy, and I also found a typo in the SELinux context for the run-as binary in my updater-script.

Here's to hoping.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
No GPS issues at all. People complain that Pokemon Go has no GPS drift for free egg hatching... :-p

My ROM.zip already wipes everything you mentioned. You should consider a clean flash (factory reset within recovery). This will wipe your apps and settings, so be sure to backup. As always : DO NOT BACKUP SYSTEM APPS.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
6.5 done uploading. I will be doing a clean flash now, and re-testing SMS, but if anyone wants to try it, I guess let me know.

If texting is still "bugged" (may not actually be a bug), then you will have to remember to enable root before sending a text. Receive works fine no matter what.

Hopefully it's fixed though, idk, flashing now.

Lol whoops. Tried to change GPU governor in the kernel... Phone does not like that, going to have to do it with post_boot instead. Same thing happens on with the CPU if you change the default gov from PERFORMANCE to anything else. Strange lil MSM8996
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vibrantliker:
I'm up for testing, but just saw this. I'll wait a few.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aaren11:
Awesine news on the qcom edits, look forward to trying them.

I've been using ZEN-desicion for some time now, and while it is useful for standby, it has no effect during uptime. Hence why I said "active hotplug options."

Fantastic! Can't wait to see what effect this has.

Already done. With a tweaked interactive (by way of AKT) completey disabled touch boost doesn't cause any stuttering or lag in my experience, but the hard baked input boost, keeps clocking the Little cores up. Hence my request.

Keep up the excellent work! Sounds like V6.5 is going to be the culmination of a lot of personal investment on your part, and I can't wait to see the fruits of your labour.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] me2151:
Interesting. I'm guessing most of the time you are set to permissive?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Yea, except for when you want to pass SafetyNet. Rootswitch disables SuperSU, and sets SELinux to Enforcing. Both of those are necessary to pass SN.

If I disable root, and set SELinux to permissive, I can still text. If i stay rooted, and set SELinux to Enforcing, outgoing text just tries to "send" endlessly.

I tried playing with the selinux contexts for the messaging APK, database, the works. Nothing. So hoping that the typo and defconfig edit will fix this...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] me2151:
Try setting enforcing and use a different messaging app. That will tell you if its related to the apk

If it still doesn't work play with contexts related to telephony
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Tried telephony contexts changes too. Nothing. It was all already set to radio_sys_file properly, and then after edits, i set it back.

The new messenger thing I was thinking about, but never even bothered lol. Only other thing i can think of, is that Hangouts.apk is no longer in the ROM but idk
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] me2151:
Nah hangouts apk has no effect on any telephony activity. Another thing you can try is context edits on the settings itself. Might be something catching in there
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Oh ffs... Fixed SMS, now WiFi calling acting up again. jesus christ this is bull****.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] me2151:
Hahaha that sucks. What fixed it?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] JeyTruth:
The struggles! Are you releasing the kernel along with the rom or going to release them at a separate timeframe?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
run-as had a typo in updater script. instead of being 0x0 it was 0xc0

If I flash the 6.4 kernel, wifi calling is fixed, and sms stays fixed...

problem is, i forgot to backup the 6.4 defconfig so I cant diff them..............................yei
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] me2151:
At least it was an easy fix
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Breaking news:

All bugs eradicated. Truly Nolan came into town.

No bacterial lifeforms detected.

Beep-boop.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] JeyTruth:
Hallelujah!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
So on top of the info posted here, I've added in my go-to settings for color controls. I think it looks great, but of course, you can change it in the color control app.

Wifi calling fixed, sms fixed. No bugs that I can find.

Autosmp compiled, but I don't see it in the kernel settings or in /sys so idk.

You can turn off WiFi while on a WiFi call also. It will stay connected and switch to 4g. First connection may take up to 10 seconds, but it's just the first time.

Your phone will be very slow for the initial setup. Once you finish setting up your email, and fingerprint and all that, reboot your device.

If you have factory reset, you will need to update Google Assistant, and Google Play Services. Both of those updates can be done from opening Google Assistant. She won't work until these are installed/updated. SafetyNet bypass also requires Google Play Services, so just be sure to have all updates installed from play store.

LG Music is back in. I added back in the LG update center and the weather lockscreen thing, but they doesn't show up. I'll make a separate zip that works later in the future. For now, you can download smartworld and other things from LGs website.

One more thing, once your battery goes down to 10%, your phone will slow down and be as conservative as possible. I don't believe at 10% anyone will be worried about a smooth experience, but rather that their phone can last them enough time (it will!!). The savings is even greater if you enable Battery Saver at 15%.

You don't have to wipe anything.

However, if you get one of the following bugs, you will have to factory reset in recovery:

**Rootswitch disable freezes phone

**SMS dont always send, or won't send with root disabled

**No call connection or sound when calling after disabling wifi

**Literally any other bug

Here is v6.5--perfected (includes fast-charge fix.

Here is the fast-charge fix for those who flashed frp, the old link. If you are reading this, you probably don't need it.

========================================================

Sidebar:

Here is the 6.5 kernel. Note : this is not an update for v6.0, this is only a kernel to be used on other ROMs.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] JeyTruth:
You are the man!! Great. One question tho, how hard is it to be able to record phone calls? Is it something that a simple script can do? Or it has to be coded within the rom ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
No idea. Try an app in the play store. No new features for quite some time. I have to do the other devices first.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Hah! So ... Funny story. I gave you guys an outdated post_boot script. I took down the old link. Anyone that already is on 6.5, I will have a tiny zip for you. Everyone else, will have a new link.

All it is is Fast-charge. Basically it will force the highest current possible from your charger+cable combo (1500mAh max). Thanks to [MENTION=6734975]sollapse[/MENTION] for this, from his konverged patch to qpnp_smbcharger!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] storm68:
Oh no. It says rom not available on mega... Darn
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] StonerSteve420:
Does the 6.5 update fix rootswitch freezing up the phone when I switch it to disabled​? I did a fresh install when I instilled the link in the OP. Also will this version now allow me to log into Snapchat? Thanks for all the help
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dfogelstrom:
Does this include the seperate kernel?

Thanks for all your hard work Tilde!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
New link coming.

It should fix rootswitch freeze. If it does not, unfortunately, you will have to factory reset (this is mentioned in the info). Once root is disabled, yes Snapchat will work.

No, the kernel-only zip does not include any tweaks from the ROM, so this ZIP does not apply to the kernel-only.zip
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Links to 6.5 updated, as well as an addon for anyone that downloaded from the old link.

OP updated with any and all info.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] JeyTruth:
I flashed the 6.5 kernel only into another ROM everything is working fine but i noticed the wake up process takes a good 3 sec once it detects fingerprint or the double tab. Is this normal? I had 6.0 kernel working fine prior to this.

Screen stays black for a bit then it wakes up, pretty much.

Edit: okay nvm! Apparently after a normal reboot the wake lag issue seems to be resolved.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MidtownHD:
Fingerprint is very slow, 3+ seconds to wake up. Anybody? Clean flash, latest version.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Reboot.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lmax579:
Is 5.7 the newest kernel?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] StonerSteve420:
Got this up and running. I'm able to get into Snapchat now but unfortunately I can't get passed Snapchat verification due to my new phone number. (If anyone could help that'd be appreciated)

Now onto the ROM. Oh man I love what you did with the color change. This display just got 100x more enjoyable to look at. I'm worried to see how it affects battery life but so far I have been perfectly capable keeping the screen at 35%-45%. So maybe that will help. Buttery smooth even better than before. No issues with lag unlocking with the fingerprint​ reader. Only thing I'm noticing is no haptic feedback from GBoard but that very well could be Google's issue. Vibration works just fine. I get paid this week. Definitely kicking over some donation money for a sick pack. Much appreciated!!!!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lmax579:
For this kernel will it have the conservative setting?

---------- Post added at 06:02 AM ---------- Previous post was at 05:58 AM ----------

OP, can't find the color control settings that you use
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dfogelstrom:
Would you share the numbers for your color setup?

Does anyone have some recommendations as far as color adjustments in kernel auditor or color control???

Trying out different combos to see which is best!

PS- yes I've used the kernel auditor mod presets under "screen" but wasn't a big fan.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] JeyTruth:
I second this.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] androiddiego:
From Tildes original post:

"For anyone interested in my color options, they are:

My new settings are:

All 3 colors at 256

Saturation 68

Value 129

Contrast 127

Know that I love deep, rich, vibrant colors. Also, changing colors will not change effects on pictures taken! This is post-processing. Your phone's screen is what changes, not the files that you create.

Note: Adding saturation (vibrance) will always give some sort of color banding -especially since KCAL is post-processing. You can minimize color banding by ever-so-slightly reducing gamma (read as "Value" in the Color Control app), and by ever-so-slightly fine-tuning Contrast. The value changes would be minimal, and the color banding will only be reduced ever-so-slightly, but this is just how it is. Nonetheless, the device looks friggin amazing with the color options set."

I assume the numbers still apply to the new kernel.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Heads up... I will not be answering posts asking ignorant questions. Read the OP. It has all the answers. On top of heavily testing everything, i write long detailed posts just to have people ask me things and waste time. Good luck.

Also, how do you people not realize that my color settings are preset? I mentioned it in the description. I mean cmon people....
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] suhridkhan:
People simply doesn't read these days. People are used to reading short tweets and status updates on social media only (I am guilty of this myself often times); when we see long posts, we just read the first and last paragraph, and then look for the download link. :(
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MStrawder:
You really outdid yourself this time. The most responsive ROM I have had on this phone yet. Incredibly quick and smooth. The colors look fantastic. I've been lamenting this screen having come from my Nexus 6 which allowed me to really fine tune the display. Now though, it looks very deep and rich. Payday is Friday and I'll be sliding some your way. Thank you again for the hard work.

Oh and you left out the app that tells this thing to go make me a sandwich. My only disappointment.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
LOL. Thanks for the feedback. Although it is very much appreciated, i dont take donations. Buy yourself something nice and shiny!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] StonerSteve420:
It's the preset color options when flashing 6.5
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MStrawder:
If you insist. I'll print this to show the wife. I'm only following orders at that point. Seriously though, everything is working great. ROM feels great, colors are beautiful and I got smooth and rich sound from the quad-DAC. I'm suddenly less posses at remembering what I spent on this thing.

FYI, no call sound bug so far either. Be nice to use Wi-FI calling again. I have 4G in my house, but crap speeds and call quality. Oh and its a dirty flash. Was on the first 6.0 that required the fix zip and went straight to 6.5
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
I assume I can do dirty flash over 6.0

When I see some issues posted by Tilde then I need to do clean flash. Is it correct?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Yes sir :). Based on the post above yours though, I don't believe there will be any issues! :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
I guess MStrawder posted at the same time.

Anyway, Thx Tilde for your hard work.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yedranedra:
Drooling from afar

Tilde88 I know you said you would be off to create the other ROM's so should you need an ATT tester let me know sir.

yedranedra
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] JeyTruth:
[MENTION=1325580]Tilde88[/MENTION] Pegasusq Governor seems to force the frequency to be stuck at 300mhz. At least in my end :/. Conservativex is very nice although I do notice a sensible delay and I like the phone to be snappy :L. Otherwise good kernel [emoji14]
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MidtownHD:
I have, a couple of times. Still slow, and slow to wake up. Is the battery-saving too aggressive?