[LG G5 ROMs, Kernels, Recoveries, & Other Developme] obs3rv:
OK, I think in the first case, my proximity sensor actually isn't working. (Stock Oreo H85030e completely clean, LOS 14.1 completely clean without gapps, and LOS 15.1 + OpenGApps super or MindTheGapps all show its reading constantly at 0.0 despite having cleaned it with a q-tip + 95% ethanol + an airduster for good measure. Stock LOS 15.1 completely clean without GApps actually doesn't seem to have any working sensors--"no input" in the Sensor Test app--but at some point GApps updates from Google turn them on.*) Unlike the AOSP and Google Dialers, however, the LG dialer blanks the screen but lets me turn it on again with a press of the power button/fingerprint scanner.

I'm going to try working around this issue with a patched dialer found attached to this post. It would be nice if LOS had the ability to use the power button in the same way to override the proximity sensor, but this ought to work for my purposes -- if I can get it working.

I tried to use Magisk + systemless Xposed + the Xposed module Sensor Disabler, but that module had no effect unfortunately. It would have been the ideal workaround as it would have worked for more than just the dialer (Skype as well for example). I believe it hasn't been updated since Nougat, which might be the reason.

In the case of Voice Match not working with the screen turned off, I noticed it's intermittent. Sometimes Voice Match works with the screen off, and sometimes Voice Match turns itself off altogether. It might have more to do with recent gapps than anything else, as I found that the last Oreo MindTheGapps build, dating back to August, had it working properly, but with the inevitable updates, it started misbehaving.

In the case of the FM Radio in the H850 variants, I'm hopeful the Broadcom FM Radio driver can be integrated, but I suppose I'm not holding my breath.

* LOS completely clean w/o GApps with the Sensor Test APK sideloaded via ADB.

Edit: I had to build my own Dialer.apk (attached) based on [MENTION=3072588]digital0[/MENTION]'s changes to LOS 15.1 source code. I needed to switch to the system dialer as the default one and wipe ART cache + cache before it would work. Now the dialer does not turn off the screen.

I don't know about you but I'm pretty excited about having security updates for a phone I bought (all right, used) less than 18 months ago, especially in today's adverse security environment. Especially as no other ROM for this phone has had any recent updates, security or otherwise. Whether it's Nougat, Oreo or Pie is absolutely a tertiary concern. Primary is that it works, secondary is that security vulnerabilities are mitigated.

I'm likely going to replace this LG G5 with an Android One phone--perhaps a used Nokia--at the end of the year. The confluence of native Project Treble and the relatively wide developer community for Android One phones would possibly give such a phone software support longevity, whether by manufacturer or developers of custom GSIs.

My backup phone is a Wileyfox Swift, which has official crDroid (Pie) builds for it. While that ROM is absolutely gargantuan compared to its internal system partition, I choose it because it continues to get security updates (among other improvements), and its dev community is still active after so many years. (This old phone even gets official nightlies of LOS 15.1.) Perhaps not coincidentally it's based on the same "seed" hardware platform based on which a number of low-end Android One 2nd-generation phones launched in 2015.