yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shadow52:
The more I think about it, the more confused I become. The GApps merge request has this note:

The version of gapps used when creating the logcat was open_gapps-arm64-9.0-super-20191105.zip, with the gapps-config.txt posted in my last comment. But I used open_gapps-arm64-8.1-super-20191105.zip, which should contain the same bug, for a flash of 15.1 and that booted fine. Is this issue Pie specific?

Now I've just wiped again and tried to boot a clean flash of 16.0 (just 16.0 and Magisk as before) to make sure I can reproduce the earlier success today. Bootloop to TWRP...

The steps I have been using to wipe for the last few days are:

1. Wipe -> "Format Data"

2. Reboot -> Recovery

3. Repeat steps 1 and 2 until "Format Data" completes without any red error text (usually the first 1 or 2 attempts there is an error mounting storage)

4. Wipe -> Advanced Wipe - Check Dalvik/Cache, System, Cache

5. Reboot -> Recovery

6. Install -> lineage-16.0-20191112-X86CPU-h850.zip

7. Wipe Cache/Dalvik

8. Install -> Magisk-v20.1.zip

9. Reboot -> System
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shadow52:
OK, so it looks like there are 2 issues - the second is with TWRP. Not the version (I've tried 3.2.3-2 and 3.3.1-0). Looks like installing TWRP as a system app before rebooting to system also causes a TWRP bootloop in 16.0. Why I didn't consider this when I was testing all the other combinations of GApps/Magisk I have no idea *kicks self* :rolleyes:

Now a fresh install boots with my preferred OpenGApps super config (above), but hangs on configuration ("Just a sec"). I seem to recall from earlier in the thread I couldn't get past this even with OpenGApps Full or MindTheGApps, so I may have to drop down to nano or go back to dirty flashing over a configured 15.1.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
Microg or opengapps (pico, stock and super aroma) fully working on my h850 los16 clean flash.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shadow52:
Eventually got it working, following suggestions around the forums for that scenario. Tried wiping internal storage and rebooting - no go. Tried skipping installation of Magisk - didn't work either. Last I just shut down, pulled out the SIM and SD card tray and rebooted - bingo! I've been able to run through setup. Installed Magisk, rebooted with SIM and SD card re-inserted. All seemed fine at first, but there was a notification that the SD card was being checked. Hit the power button to turn off the display and let it do its thing for a while, unlocking a few minutes later the phone seemed to have hung. Eventually it came on, but the launcher desktop has been replaced with "Phone is starting" and a progress bar. Eventually the phone froze.

This is roughly where I had got to a couple of weeks ago before I started all the re-flashing.

Tried rebooting, phone seemed fine then froze again in use. Rebooted again without the sd card, phone now seems to be working fine. I may have to transfer everything off the card and reformat it in the phone.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] willghatch:
H830 HDMI

Hello,

I have successfully built this rom for the G5 H830 (or at least LineageOS using [MENTION=2881807]x86cpu[/MENTION]'s fork of the proprietary_vendor_lge repository, which I think is what this is), and it mostly works great!

There is one feature that I would really like to get working, which is display over HDMI. I have a USB-C dongle with various ports including an HDMI port. On the stock rom, when I plug it in, it mirrors the screen. With any custom rom I've tried, including this one, nothing happens. Using other parts of the dongle works (USB for keyboard, mouse, thumb drive, and charging through the power delivery port).

I tried editing the build.prop with various bits I found online that might relate to HDMI, but I'm really not sure if there is just a small tweak that will enable it or if there is something fundamentally missing from LineageOS to get it to work.

Any hints on how to get HDMI working, references to read, etc? Is it likely a small tweak to the build will enable it, or is it likely to need a serious effort? (Or is it perhaps impossible without some dedicated reverse engineering of the original ROM?)

Also, any tips on getting wired ethernet working using the dongle would be cool, too, though I would only ever use that if I can also get HDMI working. My ultimate plan is to build a little laptop-like shell to plug my phone into, so I can use one device for both form factors.

Thanks [MENTION=2881807]x86cpu[/MENTION] for your work on this, and thanks to anyone with any suggestions!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dievide:
i can't find the -x86cpu.zip file, can you link me it please? thx
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Click on unofficial downloads link, it's in there

---------- Post added at 01:36 AM ---------- Previous post was at 01:34 AM ----------

Most likely a kernel issue and therefore a serious effort and a remote possibility that it will ever work.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Goxy287:
Hello, first time posting here. Tried to get this working on my - what I thought was an h850, but when I tried to get the unlock.bit from lg's website, turns out my phone is a IOT-h850-marketing.eua or something. Not sure where this phone came from since I bought it used like 2 years ago and the seller is not sure either. Not that I blame him, it was as while ago. Weird though because it shows it's a normal h850 in the phone info. Is there a way to check this? And if it is a marketing model, is there a way to unlock the bootloader so that I can get this rom working? Only thing I did to this phone was manually update it to android 7 and android 8 but those were official roms. Any ideas?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Good write-up. Basically what I do.

Does a clean flash actually work now? When I tried, it would only work if I was already on LOS16. If I came from stock, camera, flash etc., wouldn't work.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ismrocks1234:
today i wiped everything( dalvic, system,data,internal storage,cache) and flashed 16.0

then magisk 20.1

then gapps arm 64 micro.

and bingo.

phone booted succesfully

every thing is working camera and all.

and now battery drain is also solved.

i mean now battery is better with clean flash...

my device rs988...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Goxy287:
Sorry for bumping this again but I'm really out of ideas here. Surely somebody can inform me at least if its possible to do it with this model at all?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Sorry to hear this. What LG say in response to a request for an unlock code is pretty definitive, I suspect. I don't know of any way to unlock the bootloader, other than getting an unlock code from LG.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Goxy287:
Thanks for the reply. Oh well, really sucks honestly because there's literally zero difference between this model and the normal h850 from what I can tell.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shadow52:
So it was an issue with the SD card formatted as exfat. When I first had trouble with the phone scanning the SD card and the phone getting slow, I tried moving all the data off, deleting the partition on the card and letting the phone reformat it. That resulted in a card formatted as VFAT (basically FAT32, with a max file size of 4GB) which to me is unacceptable. So I re-formatted the card back to exfat, copied the data back minus the "Android" folder and gave it another try. It worked for a while, but eventually the same issue came up again, the "Checking SD card" notification appeared and the phone would eventually hang (and not just after a reboot). I'm still no good at getting much out of a logcat, but there were some messages about storage services checking the disk/dying.

In the end I re-formatted the card again, this time as ext4. I have some reservations about using a journaling filesystem, I'm not sure if that's going to kill off the card quicker, but I'm not writing to it that frequently. I did consider F2FS but read some pretty negative reports from others. So far I'm very impressed with ext4 - not a single delay/notification about checking the card and no more freezes. Also I'd swear the performance is better - I'd read that this might be the case so it could be confirmation bias, but loading maps in OSMAnd+ seems a bit snappier. I will have to try saving pictures to SD - with RAW capture enabled in OpenCamera the exfat formatted card was unusable.

---------- Post added at 08:52 PM ---------- Previous post was at 08:46 PM ----------

Yes, working fine for me now. Bluetooth (including headset), WiFi, NFC, camera, fingerprint, usb-otg.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Is system wide dark mode present in this ROM? I dirty flashed from 15.1 and can't find it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
No, only what's under display/ style and if available, within the apps themselves. Its implemented in android 10 and presumably Los 17.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Can't believe I missed that, since I had clean flashed 15.1 before dirty flashing to 16 I thought that was the issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] no_means_no:
After trying latest RR ROM but facing no working camera I did the cleanest possible installation of latest lineageos, but same here. No cam is working.

Any ideas?

Gesendet von meinem SM-T813 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
You should probably flash to 15.1, do the setup, then dirty flash to 16. Some say a clean flash works, but it doesn't seem to work for everyone, so flashing to 15.1 first still seems like the safest bet. Follow the instructions in shadow's post here: https://xdaforums.com/showpost.php?p=80927209&postcount=997

This also applies to RR, since it's based on LOS16. Flash to 15.1, do the initial setup, then dirty flash to RR.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shadow52:
[MENTION=2881807]x86cpu[/MENTION] could you elaborate on this? I've tried searching for your post but came up empty. I saw that you'd posted to the magiskhide-props-config thread - I've tried using that module to update the device fingerprint but it appears to be set correctly already to the one you supplied (lge/h1_global_com/h1:8.0.0/OPR1.170623.032/190380127377a:user/release-keys__2018-12-01). My device is currently failing with ctsProfile:false.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Yes, you found the right one. That module. Fingerprint has to match security date. The date is updated and fingerprint stays the same. That module adjusts both.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Gold_Phenix:
Hey IF you dont have working camera ? Flash lineage os 15.1 and you can wipe data, storage, you make factory reset ... Only dont wipe system in twrp and flash lineage 16 and camera work fine. I did that. [MENTION=2881807]x86cpu[/MENTION] its posible include K-lapse and Kcal in kernel?

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] no_means_no:
I'm gonna use this big "thank you for this" to say it finally works.

Just one OT question:

I activated the "volume rocker wake phone" option. But it wakes even up when listening to Spotify with headset and trying to chnage volume with headset buttons. Is there a super short way to switch this on and off, or even an app to control this. I searched the store for quite a while, tried several apps which don't do this exactly.

For I know it's very off topic, I say "sorry" and thanks in advance.

Gesendet von meinem SM-T813 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] LollipopLover:
Could this ever be brought to the LG G5 SE (h840) now that the bootloader and TWRP are available?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I was thinking about getting a miracast dongle to use my g5 with a projector. However, I would like to know that it works first. Anyone used miracast with the g5?

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tremalnaik:
With the G5 itself works, I've tested it a couple of times, but I have an almost stock rom with MK2000 kernel, I haven't tested it with Lineage.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Verifirs:
Great ROM, everything is in working order except for one issue. I can send/receive calls, and I can send SMS messages, but I cannot receive them. I checked and the SMSC number is right. I'm using the QKSMS app from F-Droid (no Gapps).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] no_means_no:
I'd love to get WiFi WPS back [emoji12]

Gesendet von meinem SM-T813 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
LineagesOS 17.0 tree is created :victory: I hope soon will release first version :o
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] zaptac:
Yes, works without problems with this ROM (H850).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Link????
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
In the v20 forum. I haven't had a chance to get the g5 built yet.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] debianmain1:
I am very interested...Please tell us how it goes!!!!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
excited to try the new version!!!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Gold_Phenix:
For me with lineage 16 dont work i cant connect with LG . But with stock ROM miracast works.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] davestuarts:
I want to ask a question, which will probably sound stupid to some, but I've very curious about.

I have lineage 15.1 installed and been running it fine for several months and will soon be transitioning to 16.

Why is it not possible to run any of the official LG apps created for Oreo/Pie arm64 but can install regular apps from play market?

Dumb question. As we initially need to flash the x86 package, does that mean only x86 type packages will work?

Thx
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
The reason why stock apps usually won't work on custom roms is they rely on stock frameworks and whatnot, which thankfully are not included in custom stuff.

You don't have to worry about signatures and stuff if you're coming from x86's los15.1, I believe it only applies when you're running a ROM compiled from somebody else.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Goxy287:
Hello, managed to bootloader unlock, but now when I try to flash twrp-3.0.2-0-h850.img it says "OKAY" on both sending and writing and then it says finished. But when I try to boot into recovery it just factory resets the phone and boots into stock system. What am I doing wrong?

Also tried to use fastboot boot twrp-3.0.2-0-h850.img

but I get:

Sending 'boot.img' (17524 KB) OKAY [ 0.517s]

Booting FAILED (remote: 'unknown command')

fastboot: error: Command failed
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Idk why, but yu can't run

Fastboot boot recovery.img

On the G5. Once you flashed the recovery image, power off the device and use the power key to boot to recovery (search on yt).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I received a miracast dongle yesterday.. No brand name as far as I see, but is supposed to work at 2.4/5 GHz, I tested it last night with a Optoma ML750e projector. It worked perfectly using wifi-direct on 2.4GHz with a resolution of 720p (1280x720). It is interesting to see the home screen projected to 150cm (60 inches) diagnal.

I've not played with it much, but I think it can be used either via a LAN or using wifi-direct. I only tested it using wifi-direct. I don't know whether it will work at 5GHz. I haven't yet tested it at higher resolution. The dongle is supposed to work at HD resolution, but my projector's native resolution is 1280x800, so I only tried 1280x720.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Goxy287:
I did. it gets me into the factory reset menu and that just resets the phone and boots into normal system again. Same result if I try to adb reboot recovery command. The twrp menu never shows up as if it's not installled correctly at all. But it says it is when i flash it so what could be the problem?

I DID IT! I left it in the factory reset menu while I was researching what to do and somehow it booted in twrp :D not sure what the hell happened there but I installed the rom and It's running fine! Thanks for the great rom.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] davestuarts:
Thanks, that makes sense, especially regarding the framework.

---------- Post added at 03:09 PM ---------- Previous post was at 03:05 PM ----------

Thats really interesting, as I have a older smart TV that doesn't support miracast type protocols. Any chance you could tell me the dongle you purchased or a link?

Perhaps in PM if not allowed here.

Thx
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] droidsometimes:
I just installed lineage-16.0-20191112-X86CPU-h850.zip on my H850, and while the install (latest TWRP, OpenGapps Pico, Magisk) went fine, none of the sensors work. Camera doesn't work either.

I came from latest official 14.1, flashed latest stock Oreo first with LG UP (H85030f_00_OPEN_EU_OP_1122), then wiped and flashed 16.0.

So I guess I'll start from scratch, and go via 15.1.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] davestuarts:
Hi. Have been running LOS 15.1 for a while now, thinking of coming to 16. For those who use it as a daily driver, is it stable, as that's most important to me?

I've looked at the non-working features which are ok, though I wish IR did work somehow.

Do any use gcam and if so, any issues with photos and/or videos?

One last question, I'm not always so patient. If I do a dirty flash from 15.1 , will all my app/settings stay the same?

I will ofc do a twrp backup first.

Appreciate your input
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Goxy287:
Hey so which camera am I supposed to use? Gcam port for G5 or opencam don't work, and neither of the apps like instagram or messanger's cameras work. What am I missing? Also youtube and viber dont work, theyre stuck on a white screen.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Install 15.1/ gapps first... Boot up... Then dirty flash 16.0/gapps.

You could come from 14.1 official.. Just flash the to-x86cpu.zip... then 15.1... boot...etc.. that should preserve your data.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] droidsometimes:
Yeah, did that last night, and funny enough, sensors and camera are working now.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nekrok:
Since some updates ago my screen does not respond for a couple of seconds after unlocking, although it looks just fine and normal. Feels like it is getting worse. Any idea?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
I've already sent some logs to [MENTION=2881807]x86cpu[/MENTION] about this.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-16.0-20191205-X86CPU

lineage-16.0-20191205-X86CPU

December security update.

I am unable to test these anymore due to the age and complexity of building 15.1/16.0 and now 17.0.

Separate note. I still have my v20/g5/g6 to test and develop on, but it is no longer my daily driver. A while ago I purchased an Asus Zenfone 6 to use. The 16.0 will also most likely be security updates only, while I focus on stabilizing 17.0 for the V20. Once things seem stable I will start a 17.0 G5 thread.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
Thank You so much for you hard work.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
I waiting los17 builds, thank you.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] soniccm:
Thanks for your time and for still supporting g5 device mate :good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
[MENTION=2881807]x86cpu[/MENTION] i have problem tried dirty flashing latest build and went into bootloop tried getting log but said "can't create dm: Read-only file system"

i dont think its the build somethings messed up cause tried going back to 11/12 build and same thing happened
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] debianmain1:
As for me.....I'm ready to test LOS 17 at any time.......
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SaidJan:
Thanks for all your hard work. I just wish we could get the low mic voice recording fixed. That's the only main issue, and sometimes it doesn't work for recording voice in Whatsapp or Telegram... It looks like mic stays in use by apps, and the only way is to force close the app.

That screen freeze is kinda ok, we can bare with it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
+1 on that, it's really annoying. Other than that, this ROM is pretty much flawless, if only I could figure out why Viper4Android stops processing audio after 5 minutes..

---------- Post added at 11:56 AM ---------- Previous post was at 11:41 AM ----------

+1 on that, it's really annoying. Other than that, this ROM is pretty much flawless, if only I could figure out why Viper4Android stops processing audio after 5 minutes..
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Out of curiosity, [MENTION=2881807]x86cpu[/MENTION], is it proving easier to go from 16 -> 17, than it was to go from 15.1 -> 16? Is there more modularity, perhaps as a result of greater use of HALs?

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
Has anyone tried to flash the latest build i cant seem to get it working...had to revert to 11/12 build..lg H830 here TWRP 3.3.x

My steps

Wipe System

Flash ROM

then Gapps

Then Magisk

[MENTION=2881807]x86cpu[/MENTION]

Thank You for your continued support.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Yes.. Except for the audio issues. Ie.. Bluetooth media playing out the phone instead of the Bluetooth speaker. Also calls are on speakerphone and cannot switch to the earpiece. So some weird audio routing issue. Once that's figured out it sound be ready.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
Hey Guys!! Thanks for all your help..figured it out that it was a faulty GApps version they seem to have reverted back to 11/27 and I downloaded a 12/04 version

so for anyone having the same issues....

God be with you all

thank you
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Opengapps it's starting to do that more frequently with the privapp enforcement. Meaning... If there is an app in /system/priv-app that is missing some defined permissions, your phone won't boot. Quite annoying on their part. Typically it's an updated app with a new permission that needs to be added properly