yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Sdobron:
Interesting you say that, I've noticed that too but thought my touch screen was going bad...good to know it's not a hardware problem.

Hopefully someone can figure out what causes this issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SaidJan:
I've searched online to get the "Okay Google" to work, and I saw that after Feb 2019 security update, this has happened.

Could you release a pie version with Jan 2019 security update please? Maybe some of the problems would be fixed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
yes on pie we still have the back button always

---------- Post added at 04:37 PM ---------- Previous post was at 04:25 PM ----------

had anybody fixed ambient display it keeps force closing
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Thanks.

On another note, deep sleep seems to be working. After 5 hours I didn't drop a single percent, whereas I normally would drop 2% on stock.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
Currently on stock Oreo. Is it best to downgrade to nougat then flash this rom?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
You can enable that.. Settings.. System.. Gestures.. swipe up on home button.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
yes
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
I have the swipe up gesture enabled. I just thought it was supposed to show a pill with no back button, unless there is an option to go back. eg on the homescreen I thought it was supposed to only show the pill with no other icons, but if you open an app or anything else, it shows the pill and the back button.

For me, I see the pill and back button at all times, even on the homescreen. I was just wondering if this is normal behavior of the new navigation system.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
Afaik it shouldn't be on the home screen but almost everywhere else then yes
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Yeah that's what I thought. Is it just me this is happening to? It's not big deal, just curious. Perhaps this is an easy fix.

Other than that, this build has been running fast and stable and battery life is good again.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Ahh you're right. I'm using Lawnchair v2. Using trebuchet there's no back button on the homepage.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] YossiAxda:
Hello

Can anyone give me an answer, please?

Can I use Magisk to flash this rom by patching the boot image?

Any assistance is appreciated.

Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Zakelinho:
Can't seem to get any camera app working. Tried 3 different GCam apps, Camera MX, Open Camera. All ask for permissions, then force close.

Also, no Camera app was installed when I installed Lineage OS according to instructions. Any help?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Flash to 15.1 with gapps first, do initial setup, reboot to recovery and flash to 16 with gapps. A few of us had to do this to get camera to work. I eventually got it to work before after a second flash but could not get this build to work without flashing to 15.1 first.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
Everything works great for me. The brightness issue is a the only major one affecting me and the battery drains pretty fast
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] -lukin-:
Hey guys,

First, big thanks to [MENTION=2881807]x86cpu[/MENTION] for the builds and energy that must go into supporting LOS for LG G5 :highfive:

I have a G5 RS988 and used LOS for the past year. There is one small bug that I have been meaning to share when I switched from stock to LOS. I connect to my van via BT to listen to music and podcasts. When I switched to LOS, the dash display stopped showing the media information

Here are a couple photos. First my wife's Nokia with stock fw and second my RS988 with LOS 16.0 (Yes my phone is called Home Run)

My phone is flashed LOS so I could not post an image of the stock fw working

I have tried to adjust the BT settings in Developer options but did not have any luck with that route

Any ideas?

Thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
I cant even get our van to reconize my device anything specific i need to do?

using latest LOS build h830
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Yeah I agree with this. Everything works great, just might need a bit of optimization? Standby battery is great, but when in use, battery drains a little on the fast side. On the plus side of that, everything is buttery smooth, but I personally would sacrifice a bit of performance for battery life.

As for the brightness, it seems like there's a steep curve between 60-100. Below 60 it's a small gradual difference.

Other than that, the rom is very stable.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Zakelinho:
It worked, thank you! Also GCam works flawlessly now.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Sdobron:
Anyone have a mirror? Google drive says too many downloads recently and may be 24 hours until available again for H830.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bernardobas:
Never used stock, sorry.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Scostam:
Google Assistant isn't working for me. Long pressing the home button does nothing. And opening the Google Assistant app just takes me to the Google Feed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Many thanks!

It doesn't build with the listed sources. (Low priority, from my point of view.)

[111/1076] including device/lge/h850/Android.mk ...
[112/1076] including device/lge/msm8996-common/Android.mk ...
build/make/core/binary.mk:1528: error: device/lge/msm8996-common/recovery/Android.mk: librecovery_updater_msm8996: C_INCLUDES must be under the source or output directories: /updater/include.
12:05:46 ckati failed with: exit status 1

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jolt151:
I had the same error last night when I was trying to build for RR, and my "fix" was to use LG-G6-DEV's fork of msm8996-common (didn't end until compiling for a different reason, will be working on it today). You could also go to their file on GitHub, and what you need to do is right in the commit history.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] debianmain1:
I've got it installed (last night) & configured....will test drive today. Looking good so far!!!!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] a6767552266:
seems that the lowest brightness is too high:confused:anyone have the same issue:confused:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gerciolisz:
Didnt have a opportunity to try bt calling but bt audio streaming seems more stable now. On 15.1 it was changing it's speed a little sometimes.

Had one soft reboot when disconnected USB cable connected to PC.

Sorry didn't have time to get logs.

After soft reboot screen didn't react to touch but system was working.

Last thing I observed is assistant do not work just like someone said few posts earlier.

Overall effect is awesome. Almost stable experience. Great work!!

Edit : h850 here
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
I had the same issue on my LeEco. Go to system settings, default apps, set Google Assistant as default assistant app.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Scostam:
Problem solved, thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Reznor7:
My battery is draining noticeably quickly with the screen on, but not with it off, so I suspect there's something going on there.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
[MENTION=2881807]x86cpu[/MENTION] tested on G5 H850. No major issues found, except brightness is broken, minimal brightness is too high
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gerciolisz:
Yeah it fixed a problem with assistant thanks:)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Noted...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Oh no.. not yet. Most changes are not merged officially. I have to repopick around 70 changes.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
If anybody found any working gcam please let me know. I tested a few, all fc. Default camera and Open Camera works though.

[MENTION=2881807]x86cpu[/MENTION] can you include new Snapdragon Camera? (if it works)? The one included now is old, fallback version.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Reznor7:
Wide angle works with Open Camera. Setting selinux to permissive allowed Netflix to work.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
The Lineage camera should be included. It no longer supports the wide angle. I've tested opencamera and it should work.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ankerlevel:
Would you mind sharing those repopicks with us geeks we like building ourselves? :cyclops:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
repopick 232739 244655 244891 232738 232736 232641 244384 232640 233849 233851 233852 233853 232353 232789 232779 232931 232932 232933 232934 232937 232939 232936 232937 232957 232959 232960 232940 232966 232978 232979 232980 232981 232982 232984 232985 232986 232987 233462 233745 233746 233747 234157 234158 234159 234174 234390 234426 234427 234648 244659 244660 244692 244693 244708 244709 244803 244804 244805 244915 245239 245337 245338 245339 245340 245349 245341 245343 245348 245344 233748 245356

https://review.lineageos.org/#/q/ch...ange:245344+OR+change:233748+OR+change:245356

It has picks for all the g5/g6/v20 devices, so if you pick that you might get errors on devices you do not have setup. I maintain all of them, so these are that set.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Reznor7:
Is anyone else getting a 15001 error on Netflix? I'm assuming Magisk is the cause, but even the liboemcrypt disable module has no effect.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bernardobas:
You need to set selinux to permisive for Netflix to work.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SaidJan:
Where is deep sleep setting? How can I turn it on and off or use it?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
u cant turn it off or on the OP fixed a blob that was causing the phone to NOT go into deep sleep when the screen is off

in his latest build
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] interista4e:
Is the low mic volume still present?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
Full Disk Encryption (FDE)

I'm happy to report that FDE works well.

The phone was first encrypted under LOS 14.1, then after update to UNOFFICIAL LineageOS-15.1 it kept working and now after again the update to UNOFFICIAL LineageOS-16.0 it still works.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
[MENTION=2881807]x86cpu[/MENTION] or anyone else that may know, I think I figured out why some of my sms notifications were popping up 'late'... I think it's when my phone goes into doze/deep sleep. I tested this theory just now by sending myself a text after the screen has been off for several hours and the notification didn't pop up until I turned my screen on. This happened on the first build, too, so it wasn't caused by your recent deep sleep fix.

Is there anyway to prevent this? Also my notification LED doesn't seem to be working. When I do get texts, I see the preview popup with ambient display, but once the screen turns off, the LED doesn't flash.

I didn't make any changes to the optimization or anything, it's all default. Messaging app is set to 'Don't optimize'.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SaidJan:
Yes unfortunately.

And also hey google doesn't work.

And sometimes touch doesn't work.

There are the major issues on the latest build.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Hey google works for me. Haven't had any touch issues either. I do have the same low mic recording volume issue, and no notifications in deep sleep and no notification LED issues though, as I said above. Battery life could be better, too. Other than that, the latest build has been very solid for me.

For those that care, I finally found some good Gcam mods and settings that work well with our device. Every Gcam mod I've tried had an issue with these lines/artifacts in low-light scenes, with the main camera only. These mods with a little tinkering fixes those issues, and the camera performs better than the stock LG camera app, and significantly better than the included snap cam or open camera.

These ports are for the most part the same (fu24 tweaked BSG's port and released a build). I'm not big into photography, but to my eye, he added some tweaks, settings and attempted to fix slow motion. In the fu24 build, it seems like it forces 240fps slow motion, regardless if you set it to 240fps or 120fps. It works for the most part, as in it seems to capture in 240fps; but the video is a bit dim and I get a bunch of ugly artifacts. In the original BSG port, only 120fps works (240fps force closes the app) and it captures with no issues.

There are quite a few ports, but I found the 'MGC 6.1.021. MI8' ports work the best. I like the v2e versions for a few reasons: 1. they seem to process HDR faster. 2. they're the newest versions. and 3. they have an option to enable Pixel III AWB (auto white balance) which I think does a slightly better job with color accuracy.

Download one of these versions of Gcam:

1: https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_MI8_V2e.apk (original BSG port)

2: https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_MI8_V2e-fu24_02c.apk (based on BSG v2e, tweaked by fu24)

And use these settings: https://xdaforums.com/showpost.php?p=79351656&postcount=2279

To get rid of the lines I was talking about, I also had to enable 'Buffer Fix' in the 'Fix' section of the BSG Mod section.

To enable the wide angle toggle on the fu24 build, go to settings -> BSG Mod Settings -> Auxiliary camera switch method and set it to your preference (personally I set it to long press).

(Personal preference) enable Pixel III AWB (auto white balance) in the 'Fix' section. This is enabled by default in the fu24 build.

Night mode works on both, but the viewfinder is basically useless. It takes the shot, but the viewfinder is frozen.

credit goes to fu24 and BSG for the ports/builds. And Alex and C D for most of the setting tweaks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] optionalmgrr.la:
Hopefully when you upgrade to official it will still work :fingers-crossed:

Thanks [MENTION=2881807]x86cpu[/MENTION]
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] YossiAxda:
Is there any chance for an answer?

Is there anyone kind enough to assist me?

Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
I don't believe you can but you can try these instructions here first.

http://developer.lge.com/resource/mobile/RetrieveBootloader.dev?categoryId=CTULRS0702

If not try it with the h830 method.

https://www.hardreset.info/devices/lg/lg-g5-h830/faq/faq/lg-bootloader-unlock/

If not then nope.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
it seems that u are out of luck only the european version of the H850 is officially supported for a bootloader unluck

check here https://xdaforums.com/lg-g5/development/official-european-lg-g5-h850-bootloader-t3363040 and scroll to the FAQ it appiers that they only supported the european version. I copied and pasted 1 of thier questions there here

Q: I have an H850Q from Israel.. can I unlock the bootloader?

A: No, this official unlock program is ONLY for the H850 model for countries in Europe just like LG did for the LG G4.

But... for about a 10 day span last year G4 devices from SE Asia worked with the official site and users received unlock.bin file

hope that answers ur question

Good Luck
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] #1n00b:
Thanks for the advice about Netflix
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Just to follow up on this post, I played around with more Gcam builds and I think I found a good one with working view finder for night sight. I haven't played around with it much but the few shots I took look great to my eye. The slow motion behaves like fu24's build that I described in the post I quoted. Everything else seems to be working fine.

For anyone that wants to try, download this Gcam build: https://f.celsoazevedo.com/file/gcamera/GCam_6.1.021_Advanced_V1.5.190418.1850.apk

And download the config file I made and posted here: https://xdaforums.com/showpost.php?p=79582691&postcount=2316

Instructions on how to install config file: https://www.celsoazevedo.com/files/android/google-camera/f/settings09/

I basically downloaded the G6 config file, since the one for our phone causes the app to crash, and made some changes to make it work best on the G5 (ie changing the base config/model and enabling the buffer fix etc.). I made it so that 'Long Press' is the way to switch between the normal and wide lenses. You can set it to cycle instead in the settings.

Sorry for getting OT but just thought I'd share. Plus if you want a fully functional camera app, you'll need a different one than stock atm, and this might be the best for our device.

If anyone feels that this should be posted somewhere else, feel free to delete or move it.

edit: Not sure which build I like best between Arnova's advanced, BSG's original v2e or fu24's build. Arnova and BSG's builds seem to have similar white balance, but Arnova's exposure seems off sometimes... seems to overexpose. fu24's white balance seems a bit different than the other two, sometimes it looks better, sometimes it looks ever so slightly green. Arnova's build is the clear winner for night sight... not only does the viewfinder work, but the images look far better. It seems to be the only build that properly processes night shots and the results are impressive.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nedkoff:
Hi, thank you for sharing this.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SeanGold:
Hey, I'm getting some pretty serious wakelocks, and it's telling me it's from the Lineage OS. Under wakelock dtector it's showing me "wlan_rx_wake" as the main one, anyone else getting this issue? Any ideas why?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Are you on the latest build that resolved that?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] golan101:
For me standby drain is really bad but when in use battery drains normally,

it's like 2-3% per hour of standby drain and I don't know how to solve it...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
Could it be that your GMS reception is not very good and that for that reason the telephone radio drains your battery ? In that case you would noticeably experience less use of power when located at a place of good reception.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] golan101:
I thought it could be it but no, the drain is happening even with good reception (I rarely have bad reception)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Skynet30:
Do you mean Stock Nougat or LOS Nougat? Would you mind elaborating on the correct migration procedure to LOS 16 for someone coming from stock Oreo who is already rooted with TWRP installed?

EDIT: I have a stock Nougat 7.0 TWRP flashable zip for boot and bootloader. Would it be sufficient to flash these before flashing your LOS16 ROM?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] leriaz17:
That's some good stuff. However the front camera has a weird green tint to it. Like the whites are completely green. Any fix for that, or is it just on my end?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
I think any further discussion of Gcam should continue in the Cstark LG Gcam thread: https://xdaforums.com/apps/google-camera-mods/cstark27-google-camera-mod-wide-angle-t3747263/page233

Anyone who has Gcam related questions please post them there. I feel like I'm derailing the thread.

But to answer your question, you're right... I didn't even test the selfie cam. This seems to be an issue with all of the newer v6.x builds of Gcam. Unfortunately in the Arnova advanced build, this issue is unfixable AFAIK. In the other builds I posted (v2a, v2e, v2e fu24) if you disable HDR the selfie cam colors are normal. So unfortunately there doesn't seem to be an issue-free Gcam build for the G5 (and seemingly most LG phones). If the selfie cam is important, I would use one of the v2e builds (BSG's original or fu24's modified version). If night sight is important, use the arnova build I guess.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] uagent:
So I had that working, then I encrypted my phone using the encryption option under security, now I, too, get a request for permissions, then a force close.

I've noticed in my logcat for cstark's Google camera returns:

"Camera Manager reconnect failed, or there are no cameras on this device."

"Process:

com.google.android.GoogleCameraWide

java.lang.IllegalStateException: No Cameras are currently available."

The built-in AOSP camera is throwing a bunch of errors that the camcorder profiles do not exist.

Finally, "Camera Holder" / org.lineageos.snap errors out with:

"open camera 0"

"fail to connect to Camera: -1, aborting"

If you're having trouble on Lineage OS 16 with the RS988, try dirty flashing v20190514.

I dirty flashed 20190514, magisk 19.2 then gapps 0528, then cache/dalvik wipe.

That seems to have corrected the issue. Thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Reznor7:
On every boot, my entire Google Photos collection (13000+ pics on an external SD card) reindexes, heating up the phone for a long time.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Sdobron:
That's probably standard behavior, not rom specific.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gerciolisz:
Just delete them from sd card if you backed them up on Google photos. Google photos has special buttton for this action
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Skynet30:
Sorry to be a pest, but I have read the entirety of this thread and the thread for LOS 15.1 but I'm still stumped: Apparently it is not advisable to flash LOS coming directly from 8.0 Stock Oreo. So how exactly does one migrate properly from the LG H850 (G5) stock 8.0 Oreo to Lineage OS 16?

Am I supposed to:

1. flash Lineage OS 14.1 Nougat incl. GAPPS -> reboot

2. then flash LOS 15.1 incl. GAPPS -> reboot

3. lastly flash LOS 16 incl. GAPPS -> reboot

?

Or does one have to downgrade somehow to Stock Nougat first and then flash LOS 16 directly? To my knowledge, it isn't possible to downgrade the stock rom...?

Sorry for being daft, I just want to avoid bricking my device by doing something stupid. It runs okay on Stock Oreo, but support is finished and the Stock Rom is quite bloated unfortunately, that's why I want to go to LOS (I don't use the features that are buggy anyway).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gerciolisz:
Hmm i am still confused like you, but already i am on this Rom coming from Oreo... Nothing od wrong other than issues we all know...

I was first on 15.1 first but its was straight from Oreo and unlocked bootloader via LG sent code.

Anyone can describe me what i have done wrong if everything is working and IT should not?XD