yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
I think when you're coming from a completely different rom (ie stock to lineage), it's advisable to do a clean install. I personally wipe dalvik, cache, data and system before going to a new rom.

You shouldn't need to flash to 14.1. I went from stock -> LOS15.1 -> 16.0 without any issues. Flashing straight from stock to 16.0 seems to work for some, but flashing to 15.1 then dirty flashing to 16 seems to work every time.

What I did was:

1. Advanced wipe -> tick dalvik, system, data, cache and swipe to clear

2. Flash 15.1, Magisk, Opengapps (8.1 nano), clear dalvik, reboot and do initial setup.

3. Flash 16, Magisk, Opengapps (9.0 nano), clear dalvik and reboot.

Flashing Magisk twice probably isn't necessary. I flash it with 15.1 so that I can install simple reboot so I can boot to recovery after setup. Then I flash it again with 16 just in case.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Skynet30:
Thanks for the feedback guys. What has me stumped is that the developer of this ROM (x86cpu) said this a couple of pages back:

"You can't from an Oreo bootstack. It needs to be nougat, also from stock you need to wipe data first. No need for the to-x86cpu.zip."

He was answering to someone who flashed this ROM coming directly from Stock Oreo and had problems. So x86cpu says that you need a Nougat bootstack in order to correctly go to LOS 16. Additionally, you need to wipe data (that's not the issue, I understand that step). What I don't understand is how to get a Nougat bootstack, because you cannot downgrade Stock Oreo back down to Nougat as far as I am aware (it will brick the phone).

It would really be great if [MENTION=2881807]x86cpu[/MENTION] could shed some light on this issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Didn't see that post. Yeah maybe wait for his response, or someone else who was on stock oreo and could shed some light. I came from stock nougat as oreo isn't even out for my variant (RS988).

FWIW, I also had no camera and flashlight when I went from stock nougat to LOS16, and I tried at least 3 times. I *think* I managed to get it to work once with the first LOS16 build, after a second attempt but now I'm not totally sure I'm remembering correctly.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Aseiel:
You need to install LOS 15 first than 16. Camera and flashlight will work properly :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pspablo:
At the beginning, thank you to all who contributed to the creation of this ROM, including testers who record and report errors. Personally, I am of the opinion that it is a good soft. However, I would like to report and reproduce the following errors which I revealed in my H850. They are: 1 / does not work automatic adjustment of the brightness of the screen 2 / notification signals can not be mute to make them quieter 3 / sometimes the ringtones are played with a delay ie less playable 4 / you can not set the clock widget with weather despite the weather provider installed 5 / w the camera application lacks 4k settings for movies and pre-flash on the camera. The camera application was installed only after upgrading from LineageOS from 15 to 16.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Skynet30:
I did that today because I have several complete backups (incl. EFS and MISC backups) for stock 6.0, 7.0 and 8.0 and I figured if something goes wrong I can claw my way back to a working phone. Worst case I'm out about € 100,- as that is the used value for a G5 where I live.

Anyway, it seems to work just fine - although I have used the phone only a little bit. But calls, wifi, GPS and mobile data works. Camera works too.

FWIW out of curiosity I checked my backups of BOOT, MISC and EFS partitions that I made over the years and these change after every Stock ROM upgrade.

I.e. a 6.0 BOOT, MISC and EFS partition is different from a Nougat stock rom and that's different from a Oreo stock Rom. In case anyone needs or wants to restore their phone in between major android versions, I'd recommend to stay with the respective partitions from that version.

I'm just saying this to show that a phone that goes from stock Nougat to LOS 16 will be different from a phone that goes from Stock Oreo to LOS 16.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Sdobron:
You can downgrade stock oreo to nougat. Look in the rooting threads.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nuvirus:
Testing newest 16 Version atm with h850, Basic function doing well so far

Great Work, LG G5 ist my daily Driver atm.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ikibob:
So I flashed the 15.1 .zip from the g5 folder in the google drive downloads. When it boots up, it says "To start android, enter your password". I have tried getting out of this but I cant. I know you have to format data. But I can't get to TWRP because you have to get to recovery mode. But when I try to get to recovery mode, I turn on the phone, holding down the power + volume, the LG logo appears (I've tried letting go when it appears and then pressing again, keeping it pressed, etc.), switches to a screen saying that bootloader is unlocked, it will then continue to boot switching back to the LG screen, interrupting my request for recovery mode I believe, and boots back to the enter password screen. I've tried doing stuff with adb but because USB debugging is disabled, I can't. Any and all help is appreciated.

EDIT: Tried guessing the password 1234. It said to reset to use. I reset. Brought me to the password screen again. Typed 1234. Says 6 more attempts before wipe. So if it's unrecoverable, I can wipe it I believe.

EDIT 2: After failing the password a bunch, it just goes into the negatives.

EDIT 3: Figured out the recovery mode. When powering on, hold volume down + power. Once LG logo appears, quickly release and then press power again while still holding volume down. This asks to fac reset phone, choosing yes took me to TWRP. I was then able to format data and boot to lineage without needing a password. Hopefully this helps someone else.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bokanedirin:
Does the fingerprint scanner active
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nuvirus:
For me Fingerprint Sensor worked the same as Stock 8.0
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Legitsu:
is there anyway to get 802.11r working on the 821 platform

you can enabled it in the framework but then it just refuses to connect and goes into a loop
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SeanGold:
Firstly, thanks for your great work on this and the other projects, and for your reply! And I believe so, I'm 99% positive I have the latest build, it's from May 14th it seems. I also have encountered another issue, simmilar to one I had on my Nexus 5X with an Android 9.0 build, and that is, that when I get a phone call or try to place one it usually hangs, and it seems that one of the modems or something gets turned off, and sometimes comes back on in time, but sometimes it doesn't, not sure if anyone else is having this issue as well. Other than that, the ROM is running pretty great.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] antoxa2584:
Only I have no default camera app and any other crashes?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Sdobron:
What else is stopping this device from going official?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Encryption support and fixing all the selinux never allows denials.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
How is that coming along?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Gekass:
You came here from stock version? If so, try this (worked for me).

"What I did was:

1. Advanced wipe -> tick dalvik, system, data, cache and swipe to clear

2. Flash 15.1, Magisk, Opengapps (8.1 nano), clear dalvik, reboot and do initial setup.

3. Flash 16, Magisk, Opengapps (9.0 nano), clear dalvik and reboot.

Flashing Magisk twice probably isn't necessary. I flash it with 15.1 so that I can install simple reboot so I can boot to recovery after setup. Then I flash it again with 16 just in case. "
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] antoxa2584:
On 15.1 camera works, on 16 not((((
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] golan101:
Guys suddenly fingerprint doesn't work on my phone, there is not even an option to add a fingerprint, it just disappeared from the settings and there is no fingerprint at all

Any solutions?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bokanedirin:
Plz I need the link
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Gekass:
You did everything as written in my replay? if so, it should work.

---------- Post added at 08:36 AM ---------- Previous post was at 08:36 AM ----------

link for what?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Skynet30:
Someone posted a working GCam config in this thread for the G5 including a guide how to install it. I'm using that and it works great although in my case the LOS Stock Camera works fine too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SaidJan:
Love the circle battery icon in June 5th update. Thanks.

What are the other changelogs?

Still my Hey Google doesn't work. ☹️

Edit: looks like any app that uses camera doesn't work with the new update. (Whatsapp video call, Duo, OpenCamera, LOS camera)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-16.0-20190605-X86CPU

lineage-16.0-20190605-X86CPU

Updated sources.

June security patch
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Reznor7:
Camera no longer works for me (RS988) on this update. I even did fresh 15.1 --> 16.0 installs.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tedour:
Just a small question, not sure i can post it here : How are you doing your update without removing your datas (i'm running lineage-16.0-20190514-X86CPU-h850.zip + magisk and want to upgrade to lineage-16.0-20190605-X86CPU-h850.zip) ?

I have found these solutions :

- I download the zip file on the sd card, then wipe system partition and flash the new zip

- Use CyanDelta Updater

Thanks for your help !
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Reznor7:
Is your experience like mine where you can't get "Access with Voice Match" to toggle on?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Yeah the camera doesn't work for me either. The camera app is there, but it FC. Also the flashlight doesn't work.

Also have an RS988.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
H830 here i updated to the latest version lineage-16.0-20190605-X86CPU and the camera has stopped working anyone have a solution Gcam not working either
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Voice match was disabled sometime ago because it doesn't work and freezes up the system. You should be able to call it still but only when the phone is unlocked and the screen is on assuming you have enabled it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
After updating to 5th June, the following apps FC.

Amazon underground

Google translate

Marine traffic ship positions

Worldnews24 (defunct anyhow)

Youtube

Camera app as already noted.

Avast won't update definitions

Connectivity issue??????

Also noted

Ghosting of screen/ burning; seems to be red over black. Maybe because I activated night light and over livedisplay.

Sometimes memory management is less aggressive, hovering around 500mb and sometimes hitting 300mb, thus slowing down phone. Has been happening for a while.

No flash light - already noted.

Make a twrp backup before flashing this (remember to remove password, fingerprint before doing so) or wait for another update. Don't try and revert back, it will only go into recovery loop.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
has anyone tried a clean install?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Yeah, clean install resulted in no camera app at all and no flashlight.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rd-Target:
On my H850 I can confirm that the following apps are not working after the update:

YouTube

None of my three camera apps (all three was working just fine before the update)

Signal Private Messenger

The last one is the most critical, as I now can't send or receive any text messages...

Hoping for a fix very soon. Going on a family vacation tomorrow, and it would be a plus with a working camera. :D

Edit: Tried reverting back to the 14th may release, but ended up in recovery loop, just as pedro1977 wrote.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jofa news:
I can only join

Even with the three camera apps, they don't work anymore.

But also for me it's a disaster that Signal Messanger doesn't work anymore.

I can only hope that we get a quick hotfix for it, because a return to the previous version is not possible.

Greetings Jerry
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hey [MENTION=2881807]x86cpu[/MENTION]

I just installed the latest build on my H850.

Coming straight from latest stock Oreo rom (with Oreo bootloader).

Wipe everything.
Install Lineage.
Install Magisk.
Install Gapps.
Reboot.

This is my first on Lineage 16. Result was good so far.

Fingerprint works (I thought it would not from previous reading), OK Google (at least when screen on).

Camera is messed up.

Other than that I didn't do much testing, but I will be onwards. In fact if you need tester for H850, I'll try to be what you need.

I captured LOG's for you. There's definitely lots of noise about camera there.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mie_ayam:
For me downgrade from oreo h830 c to nougat h830 A /root/install twrp /flash 15.1/flash16.0. And all work. Try use baseband nougat version . forbme is A
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Sdobron:
Thanks for posting about the problems. Guess lineage sources have broken something since the last update.

Best to hold off until the offending commit(s) have been identified and rolled back.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] diegorosales994:
I've loved this kind of roms, I'm shure I'll be helping yo u when I can, soon!

I have the H830 version, I've installed the latest update on the cloud but that one has numerous bugs like camera not working, youtube doesn't work, I guess is because the camera driver problem, and couldn't put the the device to sleep while charging, my cellphone is booting in the os every time.

Recommendations:

If the camera is not working well with the version you're using I recommend make a clean install of lineage os 15.1 (any version), I've tried with the latest, and proceed installing the 14 may version of lineage os 16 over and then the gaaps obviously, I do not have problems running any app and the camera is working well, the previous problems were fix and I also have the correct mac of wifi and bluetooth, there's still problems with the 5ghs hotspot but sincerily, I don't use that.

I hope I've help someone.

Blessings to everyone.:fingers-crossed:

Note: I forgot the issue with charging input, it always tell me I'm charging the device rapidly since I plugged in a fast charging charger, after that even if I'm not using fast charging charger it says "Charging rapidly", never " charging slowly" or "normal charging" anymore.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
Anyone having this issue the navigation bar and notification bar fail to adapt to the background it's really annoying also when i press the power button to lock the device the lock sounds a few seconds later I can upload a logcat later
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Why is it that we need to flash LOS 15.1 first to fix things like camera?

In the V20 thread people where saying for a while that it's no longer necessary, but now again people are saying flash 15.1 first.

Did I do a mistake, or was it good to have logs of a clean flash instance?

If there's something you need help with, or work offloading, you can send me a PM. Like I mentioned in the other thread, I'm not a rom dev

but perhaps there's something I can do (besides the kernel I'm working on).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ludoboii:
I did a clean install of the May 14th build of LOS 16.0 and had no issues at all, besides 5GHz hotspot and IR not working.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-16.0-20190611-X86CPU

lineage-16.0-20190611-X86CPU

Thanks to [MENTION=6814590]askermk2000[/MENTION] the logs helped attempt to determine what is going on with the camera. This update is only to try to fix the camera issue.

Please test/report.

I also remove the lineage-16.0-20190605-X86CPU ones that failed to work for the camera.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I use a V20 too, and in my testing I did not need to flash 15.1 before installing 16.0. I cleaned flashed 16.0. Plus it will not get official status if you have requirements coming from 15.1 to 16.0. I am not sure why things do not fully working. I was/still am hoping the updated camera blobs would help not require coming from 15.1.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
Question: have those related commits been reverted or has some other fix been applied ?

p.s.

This LOS 16.0 ROM is a real improvement on 14.1 and with a very pleasing battery life, thanks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
A fix. It's working on v20, so reverting would revert the v20/g6 as well, which I'd rather fix than revert. The logs indicated what the issue was and what I needed to do to fix it. I just need confirmation.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
I'll report back on that once I've found time to install the 20190611 build.

BTW (as already reported): FDE works without problems on 16.0 (i.e. after upgrade from 15.1, I've not tested whether going from 16.0 unencrypted to encrypted works).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Flashed 2019.06.11 - still camera not working.

This was - I believe it's called dirty flash? First without wipe cache/dalvik, it then hung shortly after boot, screen becoming frozen unresponsive.

I then wiped cache/dalvik and rebooted again, now normal, but no camera.

Perhaps I need to manually wipe everything before flashing..?

Anyway, here are the logs. NFC also not working btw (previously also, but forgot to mention); in log:

Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 2824 (enableInternal), pid 2623 (com.android.nfc)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
I can confirm. Camera is not wotking.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
I'd like to add that my main camera app (Google pixel port to G5) stopped working about 2 weeks ago suddenly, but the camera in other apps worked. I also hadn't updated the OS in a few months. I'm updating now, I'll see if there's any difference.

EDIT - The camera doesn't work in any app now, but I'm also getting System UI crashes, sometimes when opening apps, but always when I try to scroll through notifications.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Reznor7:
Did a fresh install of 6/11. Camera does not work.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Thanks, that log identified the next issue. New builds are in progress. It will be dates the same 0611. I've removed the offending ones already. I'll post once updated. Be sure to check the md5sum on those new ones.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Local build from 9pm BST, 11 Jun. Camera crashed.

Local build from 1am BST, 12 Jun. (quick build)

-- stock camera - main camera worked. Wide dodgy. No selfie.

-- Open camera - all good.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-16.0-2019061[12]-X86CPU

lineage-16.0-20190611-X86CPU-rs988.zip

lineage-16.0-20190612-X86CPU-h830.zip

lineage-16.0-20190612-X86CPU-h850.zip

Updated the camera portion again. Give it a try. Only the rs988 ended up with 0611 repeat, so check the md5sum for that to ensure you have the latest one.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rd-Target:
With latest build I can confirm that camera, flashlight and Signal is working again! ? Great work [MENTION=2881807]x86cpu[/MENTION]
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jofa news:
[MENTION=2881807]x86cpu[/MENTION]:

I did a "dirty flash" with the image lineage-16.0-20190612-X86CPU-h850.zip and can report that my problems with the camera apps and signal are fixed.

Thanks for the quick help and fix.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I don't know how it's possible, but on my H850 it's

not

resolved :eek:

I ended up doing a clean flash since it didn't work at first. Didn't make a difference.

The logs are a bit different now.

Edit: My device is not use as phone so it's always in airplane mode, I didn't come from 15.1, and I'm on Oreo bootloader.

Only potential differences I can think of.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
Dirty flashed and everything is fine now. H850
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
It may be that you have to clear storage for the camera app. Force Close, then Clean Storage.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Camera app? I haven't even tried to open any camera app.

In any case, if everything was cleaned upon install, cleaning camera app has no meaning.

Edit: So I'm gonna assume those above did not clean flash LOS 16.0 like I did. Would be useful

to mention such things in your posts.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Apologies. I didn't pay sufficient attention.

My flash was from a version with a non-working camera. That version was clean flashed.

Best wishes,

Bob

PS.

1. Dirty flash from 15.1 works. No loss of data.

2. Open Camera works well.

3. Going from non-encrypted to encrypted on 16 works. Decryption in TWRP seems to work.

4. Bluetooth SBC HD works. (600 kbps @ 48 khz, 551.3 kbps @ 44.1 khz.)

Very nice. Thanks [MENTION=2881807]x86cpu[/MENTION] .

RLF
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
Quick test reveals no problems.

LOS Snap camera needed clearing its cache and data; this although Dalvik and Cache were wiped during install in recovery (TWRP).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] debianmain1:
Also did a dirty flash--reset cache/dalvik before the flash....seems to be working well, test drive today. H830
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
An update.

Now what I did was wipe everything (again) + format data.

Flash latest 15.1 (no gapps or su)

Reboot

Flash latest 16.0 (no gapps or su)

Wipe cache/dalvik

Reboot

I don't know what is the mechanism behind the "flash 15.1 first" fix, but I can say that on this phone I never previously tried any Lineage/custom rom (well once, but has since KDZ'd probably many times).

So now, on LOS 16.0 it works. Was it flashing LOS 15.1 first, not flashing magisk or gapps...? I have no idea.

Previously the logs where absolutely trashed with massive crashes, tainted this and that, denials etc. So far (only seen logcat due to no root) it seem totally fine.

[MENTION=2881807]x86cpu[/MENTION] Let me know if you need anything else in connection with this. Should I get the logs from this install as well?

Edit:

Considering others' claiming also clean flashing LOS16.0 without issue on this build, I updated the post above to reflect that I'm on Oreo bootloader as well,

but since it works now that doesn't seem like a plausible explanation.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I have the logs on the clean flash. I'm checking with others too. I was able to clean flash on my V20 (us996) device, with no issues. I do have a G5/G6 development phones to test things as well, just don't use them as much. Nothing stands out as to what the reason or why things are having issues on a clean flash.