yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
[MENTION=280472]bjevers[/MENTION]

I too have been suspecting kernel sources to be the issue with bluetooth. Remember, the sources we are using are not genuine to the v20, but they do work sunce they have been modified to do so. The problem is, i cant reproduce these issues, nor do they affect a large enough group of people to get a full picture issue of the issue, or find a solution.

Here are my screen recordings.

https://mega.nz/#!zYciGZiQ!79QPFnEsNifWeL4flaBwqTuoYbQspExjbeW4bzdfkyo

and

https://mega.nz/#!rBdk1TrJ!l4ko8DP7w5-wHx73YCL79Nnuh5eOXCgAuh7Ek2QSBs8

The first one is me connecting and using bt. Thr only reason i had to hit retry, is because i didnt click connect on my car's screen.

You will notice that everything works, is instant, and disconnects/reconnects instatly.

The second video is me turning off my car, and thr phone immediately kills the bt connection. You can hear my keys jingle and the bt disconnect.

Additionally, i have confirmed wifi calling is fixed. Since wifi and bluetooth drivers are somewhat related on Android, i can assume that clean installs of v5 also fixes bt issues.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
whoops, double post!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
whoops, triple post!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
U r right Tilde.

I noticed that v4a works only for certain apps like kodi or spotify. Doesn't work on other streaming apps. I wish v4a coukd worked with aha app.

So far I haven't noticed any problems with bt.

Battery is great as well.

Thx Tilde
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] diehardbattery:
Anyone having calling issues? VoLTE doesn't seem to work. Probably not a big deal since calls seem to work when it's disabled. Came from stock rooted, but had to format data beforehand to get rid of encryption.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Did you do a clean install?

I can confirm wifi calling, volte, hd voice, bluetooth, and viper all work.

The only thing i havent tested is FM radio... I dont have a set of wired headphones.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] diehardbattery:
Well as I said in OP I had to format data to get rid of encryption then flashed from that. Not sure if that's clean enough..
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] oxmis:
Does the theme store work for everyone?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lgkahn:
Tried clean install same issues with Bluetooth resume from button on bluetooth device not working after a few minutes. Even with.lock disabled as Bluetooth device marked as trusted. Same issue with viper. Not working on.Bluetooth till you plug something into jack. Took hours to restore everywto no avail

Hopefully save someone else the bother.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] diehardbattery:
I disabled the VoLTE for troubleshooting purposes. I just re enabled it and it seems fine now.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
If you mean Settings --> Display --> Themes, then yes, it works out of the box. You will have to download/install LG SmartWorld if you want more than the default themes. When you go to the Themes menu, you will see a download arrow, which will ask if you want to download SmartWorld.

Took you hours to do what? I can flash a ROM 3 times and restore all apps (with TiBu) and manually redo all settings in an hour, so I don't know why you always have such lengthy restores.

Also, were you able to see the screen recording that I did? I've been using my bluetooth in my car for hours, and bluetooth is 100% flawless. I can skip tracks, and i can pause/resume at any time, and after waiting any amount of time. Additionally, no issues on call quality on either side.

Furthermore, bluetooth disconnects and reconnects every time I disable either the device, or the bluetooth service on my phone.

I don't actually use ViPER, so I don't know about it not working on BT until you use a jack.

If you wanted to try, I could suggest doing a full format (excluding your internal storage). This would be done under the Advanced Wipe. You would then checkmark Dalvik, System, Data (don't worry this won't remove your stuff from your internal memory), and Cache. Be very sure not to select Internal Storage or Micro SDCard. This is my preferred method of wiping. Factory Reset is usually clean enough, but this doesn't actually remove the files from certain partitions.

I understand you have been trying for some time, and I cannot guarantee that wiping in this method will actually help, but it is what I would do.

Remember, VoLTE can be spotty, as LTE is not as widespread as 3G. Additionally, even in some places where you get full signal strength, the throughput can be degraded. This issue is not as apparent in 3G for various reasons.

The reason I mention this, is because you may get intermittent issues with VoLTE, but it would most likely be due to the connection to the satellite(s)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] diehardbattery:
Not trying to sound rude or anything but I've never had a problem with it until I tried your ROM. As it seems okay now, you could be right, but I've used way too many phones and not had a problem to think it might have just been a service issue. Also, this was at home, and I had not changed my physical location.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AwesomeFabe:
Just tried out FM radio and it seems to get Stuck on "please wait" when attempting to turn on. Restarted phone and all it did was turn of the radio, allowing me to power on the radio just to repeat the process. If there is something I can do to help aid in resolving this issue just give me a shout.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Not rude at all! But you should know, that I disabled VoLTE on the first hour of owning the phone. This was before recovery, or root were available. Furthermore, I live in Miami, FL, and we have LTE literally everywhere. I can be doing 70 megabits down, and 25 megabits up (on LTE), and still have crappy VoLTE. I do know that in v2 I messed up, and that version did kill somethings, but no more issues in v5!

Thanks for this, it is exactly the same issue as before. Just to clarify, you are on v5, right?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AwesomeFabe:
Yes v5. Did a full Wipe to my phone.

I believe I had Bluetooth issue once or twice with this ROM. I have my smartwatch connected and sometimes it would lose connection. I would turn off and then on the Bluetooth but would not fix it and would need to restart my phone to repair the issue. Been using it today though and only had an issue once in the morning,but restarted phone and haven't had issue with my watch the rest of the day
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
I'm not huge on benchmark apps but I was curious... not bad! =) So far, no issues over here. This is a solid daily driver.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] diehardbattery:
Okay, so another question. What's the deal with Viper on Bluetooth? Why do you have to plug something into the headphone jack before it works? Is that just how Viper works?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
If you want to see the full benchmark capabilities, change the IO Scheduler to Deadline, and the Governor to Performance, also the GPU Governor to Performance.

Don't set them to boot that way, it will kill your battery.

I honestly have no idea, since I don't use ViPER. I would imagine this is an issue with ViPER itself.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
[MENTION=2455991]lgkahn[/MENTION], if you like, I can make a flashable ZIP to flash the stock kernel, and to flash the stock modules 100%. This will break color control, and other battery+performance tweaks.

Seeing as how this is the only thing that would affect BT, it should also restore it for you.

I am willing to bet that there are 2 or more revisions of the LG V20 H918, which would explain why so few people are finding bluetooth issues, but most are not.

Until LG releases official sources, however, it seems that this bug will not be fixed. Current kernel source is from either G4 and/or G5.

Basically, Bluetooth will either be spotty for you, or it won't give you any issues; you have to flash to find out. Unless you guys want to start posting what hw version/revision you have, we won't be able to find a link as to why a couple people have issues and most don't.

What I can say, is that FM Radio is not working. [MENTION=320479]NotATreoFan[/MENTION] , is your FM also broken, or just me? I think I saw some complaints flowing around your thread about the same BT issue that a few people are getting, could you let me know?

Also, for those that just want to go to stock kernel, beware, as there are edits in init.qcom.post.boot.sh to force the governor to bluactive, which is not included in the stock kernel/sysfs. Which is why I'm offering to make a flashable kernel ZIP with stock kernel, init.qcom, and modules.

Let me know if anyone wants to try it. No wiping or reinstalling necessary for the kernel ZIP.

I might be gone until tomorrow, so I'll be show to check my notices.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lgkahn:
yes.I'd try it

Thanks. The Bluetooth is a pain when skiing. As a work around now I just don't pause and turn the volume down which does continue to work. Can you make 2 flash able zip one stock and one back to the stuff in ver 5 in case it doesn't fix it. I have a feeling.most people arnt using Bluetooth devices where you have controls to pause and resume.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bjevers:
[MENTION=1325580]Tilde88[/MENTION] I'd like to try the stock kernel zip also. Thanks.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
I'm not using FM Radio myself, but people using my newest ROM have used my flashable zip to add it and reported it to be working fine.

I have it posted in #5 on my thread, if anyone wants to test it on your ROM.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
You can see me pause and resume in the screen record i made a few posts back.

And yea I'll make 2 no problem. Just looking forward to finally figuring out what is causing this.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
I'll just add it into the ROM. Probably something I deleted. Thanks again.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AwesomeFabe:
Just tried out notatreofan FM zip but same issues. Flashed it while having the FM app already installed as well as deleting the app and flashing the zip. still same issues
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mcdavid:
I'm on v5 and notice that when I'm on a call in my car on bluetooth and try to end the call with the end button on the call screen in my car (not on the phone), it does not work. I can only end the call on my phone. Any ideas?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
Did you pair the phone again after installing v5? Or just let the car try to find the phone by BT MAC and allow it to reuse the connection?

I always delete my pairing and then connect my USB cable after installing Android Auto. It creates a fresh pairing for me after each wipe.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mcdavid:
I didn't re pair. I'll try that. Thx
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bjc112:
Not sure why all the issues, my bluetooth and everything working flawless as well

---------- Post added at 10:11 PM ---------- Previous post was at 10:11 PM ----------

Can't wait for the future tweaks, this rom rocks!! ✌️
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TheLoonyRebel:
What's strange is that my Bose QC35 worked flawlessly Sunday yet Monday I had to unpair and repair the dang thing every time I went to turn it back on. Weird stuff. I'll try the stock kernel when it's available.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
I just don't understand all these Bluetooth issues. I've paired to my JBL Clip 2 portable speaker, my car's Pioneer deck, and my Anker SoundBuds and not one issue. Play ▶, Pause ⏸, and Resume functions all work flawlessly as does Android Auto/Spotify. It actually reconnects to my car's audio deck without me having to tap it. Wouldn't even do that with the pure stock ROM. I'm not saying the claims are unfounded, I'm just not having any of the issues I read about here. Hmmm....?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kcsevo:
I haven't had any issues either. Everything is working great! Only thing is I can't get titanium backup to detect my sdcard backup as rewritable but that's every Rom. I did have this technique cause after I installed the bravia engine for some reason it detected it. So i went and pulled the platform.xml to save. Them I would use root explorer to move it to system and TB was able to rewrite on sd card backup location. That doesn't work with this Rom haha.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
Easy fix. Go into Titanium app preferences, and select the option to change Backup Folder. Tap on the "Document Provider (5.0+) option, then browse to the root of your external SD card, and hit select. Titanium will be granted rights to the card. Now select the Titanium subfolder when prompted, and all your backups will show up and/or you'll be able to write new ones in there.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bjevers:
The button on my Plantronics Edge sometimes won't work to hang up either.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Csetoue:
How much sot are u getting with this ROM?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bjc112:
5 hours but depends what I'm doing
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
I am really pleased with ROM. BT works with no issues. Battery great. Only v4a not working through out bt but this is not related to ROM.

Great job Tilde
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Csetoue:
While using the default rom, you were getting how much?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
+

I believe that the sources we have are just not playing nice with some of the phones. My theory is that there were multiple revisions of the hardware upon launch (which is normal). My thought is that Batch A has issues playing nice with the BT side on the kernel (due to the non-genuine sources), while Batch B is fine. If this is the case, I don't believe there will be a fix until sources are released by LG.

What NATF said :D

I too get about 5 hours SoT, with Battery Saver enabled at 15%. Overall usage without charge is 18 hours (~4-5 hours of me asleep)

Yea thats a ViPER issue. Some people have said that if plug in some headphones and unplug them while connected, it will make BT ViPER work.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
Ohhhh....

I jave have to admit that this afternoon I had some BT issues. I just couldn't connect. Even though I got connected I got disconnected.....

I really love everything in this ROM, especially screen color saturation. I dont think I will switch to stock kernel but I just wanted to let everyone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BrokenWall:
So I bought my V20 and installed this ROM v5 and haven't even used it stock so I have nothing to compare to:

I have Bluetooth in my car and these are a few things I have noticed with this phone and recently experienced in compared with my Moto X Pure

Get into the car:

MX: connects to car bluetooth without any issues, and music starts playing

V20: car is running, nothing is happening. I try to tell the car to connect to the phone? it fails.

-----But if I sit in the car and just unlock the phone, it will pair and connect without me doing anything and resume music

Powering off the car while on a BT Call

MX: put the phone to my head and turn off the car, it instantly switches to the handset without any issues

V20: put the phone to my head and turn off the car, phone still thinks it is paired, even after turning off bluetooth on the call screen, the handoff is still delayed by a long bit.

Even now Play Music is still running on my phone thinking it is still connected and streaming over bluetooth, the bluetooth still shows as connected to my car. but it is off and over 50ft away.

Otherwise this phone has been fantastic. Only on my first full day of actual use the battery still appears to be settling in:

11h 31m time on battery

2h 18m of voice calls

2h 7m of screen on time

I am at 45% of battery life left

I just bought the phone 2 days ago.

Info from the box for documentation and comparison reasons

S/W: 10d

H/W: 1.0

Manufactured 11/2016
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Yea unfortunately there is something in all custom kernels it seems that is giving bluetooth issues to some people :\
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BrokenWall:
I will be waiting for the stock kernel and modules flash option. I have been reading over your thread and keeping tabs on everything. I just wanted to post some more detail information on where things are going so you had more than "bt issues" to work with.

Otherwise my other issues are just changing to the physical phone feel and new OS. Since I have been on Moto's "stock" android for so long. Oh and the fact that greenify just doesn't seem to work right. but it hasn't seem to be too much of an issue.

I even started using Lux to fix my auto brightness issue and it does a fantastic job.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
I'll have the stock and v5 kernel zips up later tonight. If it isn't the kernel, it could be the deODEX'ing. Or it could be something with SuperSU patching boot.img. My bet is kernel though.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TheLoonyRebel:
I'm thinking kernel myself as none of these issues were happening on v4 for me... well outside of the audio drops.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Stock Kernel with 100% full stock modules

v5 Kernel with 100% full stock modules

These will not wipe anything, just overwrite.

They can also be used on any ROM. I do not know if using the stock LCD.ko (on the v5 kernel) will cause color control to stop working.

Stock kernel will definitely not have color control.

Update : Hmm... I just realized something. I never changed my updater-script to use the block name instead of the actual pathing for the boot.img. /shrug it's still sde1 so that can't be an issue, just noticed though lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mcdavid:
Hey! That worked. I deleted pairing from phone and car and re did. Now I can end call from car again. Thanks.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lgkahn:
Is the stock kernel have insecure/enforcing off otherwise will it boot with modified system ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
setenforce=0 is set in init.qcom.post_boot, but yea the kernel should be fine. It's the one you guys used before I learned how to compile one ;)

Plus SuperSU patches for no encrypt and noverity
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Just got an experimental kernel to compile. I'll flash and see if it's worth you guys testing. Lots of bluetooth edits.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bjc112:
Fvck stock kernel ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
One bug I've noticed. I use Timely for my alarms. If I disable the alarm, the alarm icon does not dissappear from the status bar, even when backing out of the app. ?

Edit: I've completely uninstalled the app, and rebooted. Still there... I guess I never really noticed until now, since I usually always have my alarm on, but yeah, Timely uninstalled and alarm ⏰ icon still present in status bar... ?

Edit 2: Nevermind, I figured it out! I had an alarm set in TuneIn Radio Pro to play a certain broadcast in the future. I forgot I set that up a few days back. Move along, nothing to see here. =)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BrokenWall:
I flashed the stock kernel and modules last night.

I can confirm this morning when I got in my car and started it, BT Connected and audio started playing without any interaction needed.

Also I was on a call and powered off my car and the BT handoff back to the handset was smooth.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
Did you loose color adjustment future?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BrokenWall:
Yes since KCAL is no longer supported.

But I don't stress over color reproduction on my phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
That's sucks.

Thx buddy
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Yes you will definitely lose kcal since kcal is not included by LG...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Could you please flash the v5 kernel listed right below stock and try it out? It includes all the same modules as stock, only the boot.img is different. This can help me identify the issue. Thanks.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BrokenWall:
Sure thing, I will flash it and test it this evening when I head home after work.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lgkahn:
Bluetooth issues fixed with stock kernel. I didn't even have to disable battery power management in the Bluetooth modules. I can now pause and resume at leasure. I paused for over a half hour with phone locked and it resumed fine. Will try the other zip later today. Thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lgkahn:
Bluetooth does NOT work correctly with this, reflashed other and it does wor again, so it is the kernel. Wish we had source. How long did it take to get g4 g5 and v10 source?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
I don't know. [MENTION=5672995]jcadduono[/MENTION] just released it out of the blue one day! Lol. Thank you for the info!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Ok. So since, we have been able to determine now that the issue is the kernel, and not the modules, ROM, or RAMdisk, we can start to move forward. Would there be any guinea pigs available? I'm at work now, so I can't do anything but here is what I have planned.

I am going to re-base the kernel, and I will have 2 branches. One, the regular branch, the other the security branch which includes CAF and other upstream fixes. I've been using the security branch the whole time.

What I would need, is someone/some people to try out these kernels. I will compile both with no edits or mods on my end.

If both work fine, I would then include the new modules, and work solely with the security branch.

If that goes well, then I will re-mod the kernel, and release the test builds. One with stock modules, one with new modules.

Any volunteers? I can start tonight, and it takes about 10-15 mins to compile one kernel (plus downloading the new base, extracting, configuring defconfig etc).

Also, I do have an experimental kernel that I made last night, but this killed bluetooth altogether; doesn't even turn on lol. (This will not be released, nor included in the testing phase).

So if you are down to test kernels+bluetooth functions, please leave me a little note.

Thanks guys!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lgkahn:
I can test a couple a day. Don't know if that is fast enough for you, but it is easy to repro problem for me, just put on headphones in ski helmet start playing lock phone pause and wait a few minutes resume either works or it doesn't
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
A couple a day? That'd be perfect LOL!

I'll get to cooking a little later tonight, I'll upload all of them, and you guys can choose which you want to try. I just need you to tell me which you tried and what the results were.

Thanks again!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TheLoonyRebel:
I'll test as best as I can as well. Running the stock kernel right now it's working excellent here.