yashsingh1/xdaforums huggingface dataset:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] elwood_:
I got mine working. I flashed the FullStock ROM from here (bootloader only caused bootloop) and followed the rest of the instructions here.

I have noticed two problems though.

1. 'Ok Google" doesn't work, it will not stay turned on. I read earlier in the thread that this was not working for most custom ROMs. Is this still broken?

2. When using the Dialer i get mixed results with incoming/outgoing phonecalls. 80% of the time the entire GUI lags and i end up getting an error: "process system not responding". usually takes a minute or two for the dialer to initiate the phonecall. Sometimes it doesn't work at all. Incoming calls sometimes work. Other times i notice the network switch from LTE+ to H during an incoming call but nothing else happens, the dialer never pops up.

I've tried quite a few fixes. I'm either going to try a factory reset or do another clean flash. Maybe i screwed something up the first time.

Edit: This is on H872 with Gapps Full.

Edit2: I did a clean install with Gapps Full and the dialer issue was still there. Wiped and installed Gapps pico and the issue seems to be resolved. I'll install the rest of the Gapps manually and test after each to try and determine which one is causing the dialer issue.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] elwood_:
Which version of Gcam is everyone running? I tried the latest but HDR+ mode doesn't save any pictures.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-15.1-20190704-X86CPU

lineage-15.1-20190704-X86CPU

July security updates.

Bluetooth fix for h870 implemented on all devices.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Blazethony:
I can't install, error 7 and 6 in twrp
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Silberhase:
After the installation of the latest version lineage-15.1-20190704-X86CPU (for the H870) the phone didn't receive any standard SMS messages. Can anyone confirm this issue?

After a rollback to the version lineage-15.1-20190617-X86CPU all the SMS arrived that have been sent before.

Sending SMS was still possible with the new version.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-15.1-20190913-X86CPU

lineage-15.1-20190913-X86CPU

September security update.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jackchauhan1987:
Have u updated to work with Oreo boot loader
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] tablord:
Battery drain issue

Unfortunately, I can confirm the exact same issue. Battery drain is significantly higher than with LineageOS 14.1. Both when using the device actively as well as

Battery stats look kinda weird but to me they confirm that it is not some app that goes haywire but the system. So using something like SuperFreezZ or Greenify will probably not change much. Is there another way to reduce battery drain apart from using energy saving mode?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-15.1-20191111-X86CPU

lineage-15.1-20191111-X86CPU

November security update.

Not sure how much longer I will be continuing to update the 15.1 version. I might start to update it less frequently.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ICanTrollU:
kernel for cpu overclock

[MENTION=2881807]x86cpu[/MENTION] which kernel would be compatible with this rom to overclock cpu?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-15.1-20191204-X86CPU

lineage-15.1-20191204-X86CPU

December security update.

I am going to start to taper off building these. This might even be the last, as in don't expect more, but I could if any serious security concerns arise. I also am unable to test these anymore due to the age and complexity of building 15.1/16.0 and now 17.0
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] iCuba:
Can someone recommend the update to 16 version?

I don't want to face to much bugs and then forced to change back to 15.1 and do all the setup again. This is why I'm asking.

15.1 runns great for me now.

My second question is what execly bootloader I have to install, to get the fingerprint sensor work properly?

Greetings
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-15.1-20200109-X86CPU

lineage-15.1-20200109-X86CPU

Updated sources and January security patches in.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-15.1-20200303-X86CPU

lineage-15.1-20200303-X86CPU

Latest March security update. This includes the critical February Bluetooth update as well.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] sas06:
It is heartening to come back to this forum after a long journey of PIE and A10 based roms and still see updates on LOS15.1. Currently PE and MSMExtended have A10 versions which run beautifully but all have BT calling issue (The other party can bearly hear you). Some fixes have been done but still not sufficient for me to use my handsfree comfortably. With COVID-19 my handsfree usage has significantly increase and I decided to come back to LOS15.1 from where I started. This ROM works flawlessly with my handsfree. I will stick to this for some time. Kudos to the honorable x86cpu for continuing.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
cstark works fine, newest version. Do not have HDR+ on, either off or Enhanced. I've tried other various camera and they all work, opencamera, snap, the Lineage one. If the cstark is not working, then it's something in the app.

Keep in mind, I'm releasing this ROM here pre-official status, but things here should end up official.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Yes, go back to Nougat bootstack and it should work.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Stefanos infinity:
Thanks guys, followed your advice with nougat and fingerprint works now. Cheers
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jjohn7293:
Doesn't West Woods flashable zip include the bootloader? Does it have to be kdz?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] natemckn:
You can get a flashable copy of Nougat bootloader from here:

Us997: https://files.persona.cc/zefie/files/cell/LGG6/US997/ROMs/bootloader-only/

Nougat = 17A

Oreo = 20A

H870: https://files.persona.cc/zefie/files/cell/LGG6/H870/ROMs/bootloader-only/

Nougat = 11G

Oreo = 20A
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jjohn7293:
Will the stock Oreo Rom continue to function with a nougat bootloader?

Asking for a friend
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] natemckn:
No clue, probably not. If you plan on running stock you should use the correct bootloader for the version of stock you're running. If you plan on using a custom rom, flash the Nougat bootloader for fingerprint to function.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Stefanos infinity:
Fixed the fingerprint scanner issue but now i have no camera!

Camera IS installed (i cheched the apps list from settings), but the camera icon is nowhere to be found to open it.

So i re flashed rom and gapps, with no results. Open camera worked, but i kinda liked the stock one

Any guess? Thanks!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] QQboss:
Maybe try to disable/enable from system app list with something like device control etc.?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Stefanos infinity:
still no luck
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] QQboss:
thats weird :) someone will know for sure... in the meantime, you should try CSTARK gcam, if you didnt, it is really awesome and it works with both standard and wide cam.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
It's not just the bootloader, the fingerprint firmware, hal and blobs need to match, which are all nougat at this point.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I like cstartk and use it, it just seems the latest version on the G6 has some issues with HDR+, while HDR enhanced works ok (or no HDR).
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
How did you fix it? Nougat bootstack or only the boot loader? (there is a difference). Possibly do a format of system wipe to try to and/or as a last resort, data wipe.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] natemckn:
Maybe we're using the wrong terminology. My understanding is that /u/zefie made those by taking westwood's flashable stock rom and removing the system partition or something like that so they contain everything else including whatever was breaking fingerprint. But I haven't tested those personally. If someone can confirm or deny that those actually fix fingerprint for people coming from stock oreo that would be appreciated so we can use them instead of the full kdz or large zip.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Stefanos infinity:
Well, here are the steps.

1) DL the https://xdaforums.com/lg-g6/development/rom-op-il-lg-h870-11d-rom-t3711191 OPEN EU LG-H870 11G ROM

2) Reboot to recovery

3) Erase everything internal

4) Flashed the OPEN EU LG-H870 11G ROM

5) Reboot to check that i was indeed in Nougat and fingerprint was OK

6) Reboot to recovery & flashed LineageOS

7) Flashed GAPPS, wipe Cache

8) Reboot, Setup, Fingerprint ok, No Camera

9) Re flashed LineageOS & GAPPS, Still No Camera
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] QQboss:
I am having a weird issue, phone is loosing root access somehow. It happened twice already, I am rooted with Magisk.

Anyone having the same? What could ve happening?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Boot stack includes the entire "everything" but the system/recovery part. Sometimes can include system, but not recovery since that wouls lose TWRP. Bootloader, it just the boot/aboot, etc.. stuff for booting. the "modem" (/firmware) is not usually included. That is most likely neededing to go back to nougat until the g5/v20 can catch up with Oreo in the G6.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Magisk issue, happens sometimes with me, reboot fixes it.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] natemckn:
set_progress(0.500000);
package_extract_file("bootloader/aboot.img", "/dev/block/bootdevice/by-name/aboot");
package_extract_file("bootloader/aboot.img", "/dev/block/bootdevice/by-name/abootbak");
package_extract_file("bootloader/apdp.img", "/dev/block/bootdevice/by-name/apdp");
package_extract_file("bootloader/cmnlib.img", "/dev/block/bootdevice/by-name/cmnlib");
package_extract_file("bootloader/cmnlib.img", "/dev/block/bootdevice/by-name/cmnlibbak");
package_extract_file("bootloader/cmnlib64.img", "/dev/block/bootdevice/by-name/cmnlib64");
package_extract_file("bootloader/cmnlib64.img", "/dev/block/bootdevice/by-name/cmnlib64bak");
package_extract_file("bootloader/devcfg.img", "/dev/block/bootdevice/by-name/devcfg");
package_extract_file("bootloader/devcfg.img", "/dev/block/bootdevice/by-name/devcfgbak");
package_extract_file("bootloader/factory.img", "/dev/block/bootdevice/by-name/factory");
package_extract_file("bootloader/hyp.img", "/dev/block/bootdevice/by-name/hyp");
package_extract_file("bootloader/hyp.img", "/dev/block/bootdevice/by-name/hypbak");
package_extract_file("bootloader/keymaster.img", "/dev/block/bootdevice/by-name/keymaster");
package_extract_file("bootloader/keymaster.img", "/dev/block/bootdevice/by-name/keymasterbak");
package_extract_file("bootloader/laf.img", "/dev/block/bootdevice/by-name/laf");
package_extract_file("bootloader/msadp.img", "/dev/block/bootdevice/by-name/msadp");
package_extract_file("bootloader/pmic.img", "/dev/block/bootdevice/by-name/pmic");
package_extract_file("bootloader/pmic.img", "/dev/block/bootdevice/by-name/pmicbak");
package_extract_file("bootloader/raw_resources.img", "/dev/block/bootdevice/by-name/raw_resources");
package_extract_file("bootloader/raw_resources.img", "/dev/block/bootdevice/by-name/raw_resourcesbak");
package_extract_file("bootloader/rpm.img", "/dev/block/bootdevice/by-name/rpm");
package_extract_file("bootloader/rpm.img", "/dev/block/bootdevice/by-name/rpmbak");
package_extract_file("bootloader/sec.img", "/dev/block/bootdevice/by-name/sec");
package_extract_file("bootloader/tz.img", "/dev/block/bootdevice/by-name/tz");
package_extract_file("bootloader/tz.img", "/dev/block/bootdevice/by-name/tzbak");
package_extract_file("bootloader/xbl.img", "/dev/block/bootdevice/by-name/xbl");
package_extract_file("bootloader/xbl.img", "/dev/block/bootdevice/by-name/xblbak");
package_extract_file("bootloader/xbl2.img", "/dev/block/bootdevice/by-name/xbl2");
package_extract_file("bootloader/xbl2.img", "/dev/block/bootdevice/by-name/xbl2bak");
package_extract_file("modem.img", "/dev/block/bootdevice/by-name/modem");
package_extract_file("persist.img", "/dev/block/bootdevice/by-name/persist");
package_extract_file("rct.img", "/dev/block/bootdevice/by-name/rct");
set_progress(0.700000);

That's what zefie's "bootloader only" zips have in updater-script.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Ok.. that's fine, thats the bootstack (minor difference), which includes the modem (/firmware), which is where those are getting referenced. So if that is flashed back, then Lineage 15.1, you should be ok.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Stefanos infinity:
I've tried & failed in every attempt to root.

After reboot the phone always says no root access.

I've entered recovery and flashed the

1)SuperSU-v2.82.zip

Reboot - nope

2) UPDATE-SuperSU-v2.82-20170528234214.zip

Reboot - nope

3) addonsu-15.1-arm64-signed.zip

Reboot - nope

Anyone??
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] dc239:
Use magisk, supersu is old

Odesláno z mého Nexus 7 pomocí Tapatalk
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Stefanos infinity:
Finally, that worked. Thank you.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Hazzah:
Do you need to flash official-to-unofficial if you're installing from stock?

I haven't had to flash a rom in years, and so forgive me for being a little rusty. Do I need to flash the official-to-unofficial zip if I am starting from stock oreo? Or is it fine just to flash the unofficial rom straight away? Thanks!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Stefanos infinity:
One thing is certain if you start from stock Oreo. No fingerprint scanner.

You need to revert to Nougat, then wipe, then flash LineageOS, then Gapps (ARM64, Pico or Nano) and if you want root, flash Magisk, SUperSU didn't work for me at least...
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
or use the add-on su for LineageOS
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jjohn7293:
So the only bug on this ROM is the fact that volte won't work?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-15.1-20180626-UNOFFICIAL

lineage-15.1-20180626-UNOFFICIAL

Updates with latest sources.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Alpha-Retard:
Hello, I just installed the latest version of this rom. It's a very good rom but there seems to be an issue that sometimes long pressing the screen turns it off for less than a second then it turns back on. Sometime the phone freezes and the fix is to press the power button.

Edit: forgot to mention my model is H870.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jjohn7293:
Thank you for your work on this!

In the op, out says that the bug is volte... Is that the only major thing?

What about Google camera or anything else
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
volte is not necessarily bug, it just plain does not work. Google camera only shows 2 cameras (by Google's design). The LineageOS camera and Snap/Open Camera both work very well with all 3 cameras. "ok google" is not functioning on any LineageOS device currently. That's about it though.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
To add to this, LineageOS has a charter now for 15.1 devices going into Official status: https://github.com/LineageOS/charter/blob/master/device-support-requirements.md Seeing how this does, it will be soon that this becomes official.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] dc239:
Latest version works fine, but If pinch to zoom I get blackscreen for few seconds

Odesláno z mého LG-h870 pomocí Tapatalk
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-15.1-20180627-UNOFFICIAL-h872

lineage-15.1-20180627-UNOFFICIAL-h872

Adding the h872 device too. Any whos test, let me know and we can see about getting this into official status too.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
https://review.lineageos.org/218821

Should be resolved now.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
The next builds should have that fixed: https://review.lineageos.org/218821
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] natemckn:
Awesome! that bug was the main reason I haven't flashed over yet. From what I can tell, the biggest remaining bugs/missing features are:

-BT Mic issues. 210662 is related and I have that cherrypicked on my builds but I still think its broken, but I don't have a BT mic to test with so if someone else can confirm (with logcat preferably) that would be appreciated.

-AOD low power screen. G6 has a low power screen mode specifically for AOD on stock but isn't used on LOS. I think Rashed had it partially working at one point but I have no clue if it ever got finished.

-VoLTE? I assume that's not going to happen since its not on the charter but would be nice to have if someone got it working.

-Encryption? I have not been brave or bored enough to test. Does encryption work already? Can twrp actually decrypt it?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
210662 -- Wasn't aware BT was broke, it should be working.

AOD -- You are correct in your statement. Not simple, not in yet.

VoLTE -- Maybe never.

Encryption -- Yes..it works, I'm using it. TWRP does not decrypt it, I have not found one that will yet... I can still mount /external_sd, send things there and flash from there, so sorta ok. No backups of course yet..

Update: Anything with a BCM4345 Chip, the BT calls might be staticy (media is ok). This does include the h870. But Also includes the h990 (v20), h850/rs988 (g5). The us997/h872 should be ok.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] natemckn:
That makes a ton of sense. I think most of the BT issue reports come from H870 users, I just assumed it affected US997 also since 99% of stuff is the same. Thanks again for the updates. I'll probably flash over to official once it comes out and phase out my own builds (unless I have a reason to not to).
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I plan on keeping this unofficial thread going as being one of the maintainers it helps that to be able to test before getting merged into LineageOS, so this is where I'll put up builds for testing. That includes and future /vendor partition, Bluetooth fixes and AOD low power mode.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] anxname:
I like the LG G6 and the LineageOS ROM and RR Rom, but i have i big problem with my microphone during calls if i switch to speaker, because i don't want to keep my phone by ear.

So if i switch to microphone, nobody can hear me.

Here is everything that i have tried already, but at the moment no body can help me.

https://xdaforums.com/showpost.php?p=76904984&postcount=404

My device is a H870

It would be great if somebody could solve the problem
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I just want to make sure you know that when on speakerphone, the mic is at the top of the G6. There is a tiny hole next to the headphone jack, that is the mic for speakerphone, not at the bottom. Ensure you have your phone turned so that mic is facing you. The sound comes out the bottom. This is by design to eliminate feedback from the speaker at the bottom, so they use the mic at the top.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] fk2106:
I've been testing the 6/20 ROM on the us997 and so far almost everything works. Things that don't seem to work for me are:

- Deep sleep

- Always on display uses a lot of battery

- Colors by default look washed out and I had to use an app called sa2ration to add more saturation. (Although the red looks a little bit orange)

I tried the 06/26 and the colors were better but the pinch to zoom bug (black screen flashing) was there so I reverted back to 06/20.

Wireless charging works, MTP works, auto brightness, fast charging. Performance are good, launcher doesn't stutter.

My setup:

LOS 15.1

Stock gapps

Magisk with Pixel Experience Module

Ruthless launcher

Product Sans fonts
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] anxname:
Yes thank for this Information.

But i have written that i dont have this problem on stock Roms and i have tested it more times on both as Stock as AOSP Roms and the Microphone problem is only on AOSP Roms.

So the Problem have to be somewhere else
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-15.1-20180629-UNOFFICIAL

lineage-15.1-20180629-UNOFFICIAL

- Rashed merged the upsteam kernel in.

- G6 "black" screen issue is gone

Anyone try the h872?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Alpha-Retard:
Rotation seems to be broken on the latest build (H870).

Edit: my mistake. it was probably just a bad flash. reflashed and everything's fine now
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] oisns:
no problems with rotation here on build 20180629-UNOFFICIAL-h870.

btw great work and thx for ur engagement!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] julian__b:
Are there any plans as to when we can expect this to be official? Because I'd really like to flash this ROM but I can't afford to brick my device at the moment.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Alpha-Retard:
You're right. I must have messed up something during the installation. Reinstalled again and everything's working fine now
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] natemckn:
I flashed over to this build over the weekend and it works very well. MTP works, all cameras work as expected, the only problem I noticed is the weird deep sleep bug.

Basically after about 24-48hrs of uptime (not all on one battery charge of course), at some point deep sleep will stop working for me. Fresh off a reboot, if I leave it idle for like 30min, I can check the CPU state and see that most of the time was spent in deep sleep. After about 2 days of uptime, that stops working and all idle time is spent at 307mhz, which obviously can't be great for battery life. A few weeks ago I was pointed to a potential fix which I merged into my builds and I had not had this problem come back since then, I was able to run for over a week without it bugging, so I think that fixed it, but the inconsistent nature of replicating makes it tough to be sure.

Mind taking a look and possibly merging this into your next build?

https://github.com/w0lfsvk/android_...mmit/559b86bc4379a4a3e542f97b42e20be17112c497

This exact same change got merged to many other LOS device kernels over the past 6mo, so we probably can do the same thing safely:

https://review.lineageos.org/q/make+firmware+caching+configurable
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I see it is merged into numerous other kernels, so it should be easy to do and add in, as it also came from Google's kernel source too. Thanks.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] QQboss:
I am having a problem with recording videos. Most of the times, I try to record something, the output file has only few kilobytes and I am not able to open the file at all.

Initially I thought, its problem of cstark gcam, but the same problem was with the stock camera app.

Can anyone support this brhaviour? H870.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] EmilioDallaTorre:
I'm sorry: if I wipe the misc partition, the only way to have back my MAC is to have it backupped before doing it?

(I haven't lost my MAC, and I wrote it down, but I'd like to be sure about it…)

When I switched from official Lineage 7.1.2 to stock ROM 8.1, I got no problems with MAC…

Can somebody please explain it in detail?