yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Since lineage recovery is now the preferred recovery, I thought that I would give it a go on my spare phone, and, if it worked, use it on my standard phone. When I tried to update, it failed, with the message "failed to verify whole-file signature" . I checked the log and the digest, which is supposed to be sha-1 is, indeed, different from what I get with sha1sum on the update zip file. (I also tried sha256sum, just to be on the safe side, and no good there either.)

I have a DIY system here: build locally, sign with my keys, and use my own OTA server. It all works fine with TWRP.

Any suggestions as to where I might be going wrong? Or, does this recovery only work with images from lineageos.org, e.g., builds the lineage keys into the recovery?

Best wishes,

Bob

PS The version of the lineage recovery I am using is from an earlier build of mine.

RLF

PPS It all used to work with my OTA server and TWRP. Unfortunately, no longer. It didn't automatically install, not even with TWRP 3.4.0-1.

RLF
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
VoLTE does not work in any aosp ROM and never will. LG implemented VoLTE in a proprietary way. (this is unless lg have a sudden open source change of heart or people manage to reverse engineer (both unlikely)). I don't know what app you are using but it is incorrect (it is maybe just reading your device model). You can easily check you're not using VoLTE, turn off WiFi and place a call, you will see your connection change in the status bar.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] disk@tek@:
I've just tried OTA with twrp 3.4.0-1 to 0726 to no avail. Twrp just booted up to main screen and that's it. RS988 here.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] samussamus1:
Please can someone tell me the main differences between the official build and this unofficial build?

Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Sorry that it doesn't work; nice to know that it has nothing to do with my setup.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] disk@tek@:
There used to be unofficial build first and then they started building official one.

Nobody renamed the thread or bothered with updating info.

So.. Effectively this is kinda unofficial thread for official builds.

But if you want to start from scratch (meaning you have stock ROM or anything other than LOS) you have to follow painful procedure of installing unofficials 15->16->17 and only then you can roll over with official LOS. Otherwise 100% that you'll get multiple issues with the system. For detailed instructions please read post 136.

---------- Post added at 10:16 PM ---------- Previous post was at 10:11 PM ----------

I wish somebody would build flawless latest RR or crDroid for our G5 somehow. So I could just stick to it and forget about this yo-yo updates with LOS. :cool: Dreams oh dreams :angel:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
I working on it :good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
He may be able to jump straight to official from stock, apparantly the bugs were fixed about a month ago, at least on the h850.

https://gitlab.com/LineageOS/issues/android/-/issues/1940
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] samussamus1:
I see, thank you for the response. I was going to try and flash 17 straight on so I'm glad you replied!

I'm now wondering if it's even worth it!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
See my post above, maybe you can flash the latest h850 nightly and avoid most of the steps in post 136.

Not sure if this applies to other variants though.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
The update that was released with that fix included did not work for me coming from stock on my RS988. Might work on other models, dunno.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Aethera:
FYI the latest official nightly fails to flash. After downloading via the updater it reboots into recovery without actually flashing the image. I tried it twice (download the entire update) and it failed both times.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rlvddoes@gmail.com:
Not here: OTA-update went normal.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
It turns out that, with lineageos recovery, you do have to include a local key in the recovery to use a local OTA server with a locally signed image. How to do so is given in an open commit.

https://review.lineageos.org/c/LineageOS/lineage_wiki/+/281743/1/pages/signing_builds.md

So, doing that, I now can do local OTA updates with locally built and signed ROM images and recovery images. It even seems to preserve root (Magisk).

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] scottyrick:
I think this, or some variation of it, might just do the trick. Khushraj Rathod did manage to reverse engineer it, at least for some phones. I don't know if LG phones would also work with his modifications.

https://github.com/KhushrajRathod/VoLTE-Fix
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] davestuarts:
Hi, I've been on unofficial 16 for a while (waiting for camera fix) and as this section title hasn't changed/updated or a new thread started for official install guide, after some confusion I found pedro1977's #136 post.

Would I have to follow that to get from 16 to official 17.1 i.e. would have to clean install and cannot dirty flash?

Also, what is the lineageos recovery system and keys ? Is this automatically setup to allow OTA to work?

Sorry for the noob questions, its been a while.

Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Assuming you have flashed 15.1 at some point after coming from stock and you have no camera bugs etc in 16.0 you would simply start from the second line in post 136 by clean flashing 17.1 latest nightly. You could try and dirty flash 17.1 (not recommended) but your much more likely to have bugs, many of which you may not notice for some time. Either way, I would recommend you take a full backup of 16.0 just in case you experience any bugs after flashing to 17.1 official.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] davestuarts:
Thanks for replying. Yes, I went from stock to x86cpu's 15.1 to 16 and never had no camera bugs neither with gcam, only the issues officially listed. I hate reinstalling apps and settings, guess I have not option this time. I may try titanium and see how that works. Yes, I will do a full rom back too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
If you have your Google backup enabled, and restore it during setup, the apps and most of the settings should restore. If it isn't enabled, you can always enable it and manually create a backup before flashing 17.1.

You may want to use an app called migrate to backup your apks anyhow (I don't believe titanium worked on android 10 before), but I would only restore apks that don't restore from Google. You can also backup and restore individual settings. However, unless critical, I would avoid restoring individual settings from migrate that haven't restored from Google backup to avoid bugs. I wouldn't bother with permissions.

Again this is all covered in post 136 paragraphs 4, 5 and 6.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] davestuarts:
If you mean google backup to cloud, I dont use that.

I didn't know about titanium issues thanks for the heads up.

Never heard of migrate, but sounds like a very useful too, will try that instead. Use various ways in the past, but this app sounds like a headache cure . As you can tell, it's been a while tinkering with roms.

Thanks for the tips.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
I would strongly recommend using Google cloud, it's the most stable means of migrating your apks/ compatible settings. Migrate is complementary, if you're just going to restore all your settings with migrate, that's very similar to dirty flashing 17.1 (buggy) - with apks it should be more reliable but again only if Google cloud doesn't restore them. I only restore apps setting with migrate on an individual basis and when absolutely necessary. Due to compatibility/ security/ permission issues, the settings for some apps won't restore in Android 10 using migrate et el.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] davestuarts:
I see, fair point. I'll get google cloud setup and use migrate as a supplement to it. Thanks again.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
freezes/crashes at wake-up

After the upgrade to 17.1 the phone persistently and reproducibly froze or crashed at wake-up when having been charged 100% full, not when half. This hinted that something changes when the battery is loaded full (or nearly full). After having switched off "Battery Saver->Turn off when fully charged" wake-up works well.

edit 4/8/20: had another wake-up crash ...

BTW: The setting cannot be directly be navigated to but is easily found when searching in Setting for "battery".
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
The currently available nightly is more than a week old. Anyone knows when a new LOS17.1 build can be expected ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
New build for the h830 has just arrived. Still freezing while charging.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stiesen:
I have a couple of bug reports on WiFiNative failures — though nothing that really ails me. Any maintainer interested?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Try gitlab.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
Thanks.

For H850 the nightly was released on 9th of august.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I'm using a (self) build from yesterday, replacing a build from a week ago. I've not had any problems with either. Everything I use* is working properly, including local OTA and lineage recovery.

* I don't use all the features of the phone, e.g., encryption.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Anyone having troubles setting up google assistant / voice match? I just did a clean install and it keeps saying 'trouble connecting. check your connection and try again'. It did this at the initial phone setup, when it usually asks you to setup google assistant. I just clicked dismiss during setup, but it keeps saying this when I try to set it up in the google app.

I've tried clearing data of the google app. Tried removing my account and adding it again. Tried disabling the app and enabling it again.

Using the 8/09 build on my RS988 and used opengapps 8/08. Also using wifi.

Is this a gapps issue? I can't uninstall updates, maybe because it already came with the latest version of google apps? Can I just flash an older version of gapps over top?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
See post 136 under voice match/ Google Assistant. Assistant itself should function though (press the microphone button in the Google app and ask something), remember to select Google as default assist app under default apps too. Ensure assistant is enabled within the app itself too.

You didn't say what Google apps (Nano, Pico etc) you flashed, but I wouldn't recommend flashing over in any way, you'll probably only end up with force closures with other gapps.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Thanks. Was it completely removed within the past few months? I kept hearing that it was removed, but it has always worked for me in various older builds. This is the first time I've experienced this issue so I was wondering if it was a separate issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Voice match has always been disabled for this build. You simply can't say hey Google from the home screen. The assistant can still be called upon, but you have to action it manually yourself. Have you tried opening the assistant app itself and asking a question? If so did it work or just say connection issues (which would be a separate issue)? I assume you don't have mobile data either? Have you tried another WiFi network?

You could always force close the Google app, delete it's cache and data, then go to the /system/priv-app and delete the Google app folder which I believe is labelled velvet (root required). Reboot the phone, then reinstall it via the play store and test again.

It used to work for me in older builds too, at first it wouldn't and then it would right itself on it's own after a while. I'm not sure why it was disabled for this rom so soon as I wanted to play around with it myself.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dietoro:
flashing LG-H85030a-Flashable.Bootloader.zip solved the bootloop problem lineage 17.1

Thank you for these instruction, I experienced a lot of boot loop anyway because I was coming from Nougat 7 Fulmics Rom and this is not enough.

So I come back and flash in TWRP the 30a bootloader LG-H85030a-Flashable.Bootloader.zip of 25 megaByte from this page

and in this way I solved.

Then I flashed:

to-x86cpu.zip and reboot in recovery

clean Wipe: Dalvik/ ART cache, System, Data, Cache

flash lineage 15.1 reboot system and test wifi and camera

dirt wipe: Dalvik/ ART cache, System, Cache

flash lineage 16 reboot system and test wifi and camera

clean Wipe: Dalvik/ ART cache, System, Data, Cache

flash Official nightly latest lineage 17.1 available () and wipe dalvik NOT rebooting

flash latest magisk

flash arm64 nano 10 gapps

reboot in system and now without bootloop thanks to the recent bootloader 30 A at the beginning of this post
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Epifistu:
Does anybody else have WiFi connectivity issues in the latest h850 build (9th August)? Sometimes, the phone randomly drops WiFi and my network doesn't show up on the list. Then I wait a few seconds and reconnect manually.

I also experienced more freezes only fixable by removing the battery.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stiesen:
I have not noticed WiFi-connectivity issues with build 200809 on my h850. Have you checked your WLAN settings? To my knowledge, Activate WLAN Automatically is turned off by default, if that is your problem.

I never had to remove the battery to fix a freeze. For me works long pressing the start button on the phone's back, which brings the menu with the restart button to the screen. Often the menu is not accessible instantly; then I have to wait a few seconds, turn the screen off by shortly pressing the start button and turn it back on the same way, maybe waiting a few seconds in between. Play around with it a little to get the hang of it.

Hope that helps you!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Epifistu:
Yeah activate WiFi automatically is turned on. It happens in my home, when I was connected to WiFi already. Not very often, but I do notice it.

Holding the power button does nothing, the phone freezes, I turn the screen off and when I try to turn it back on, it's just black with the backlight turned on, not reacting to anything. That's when I need to take out the battery.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
about WiFi: no connection possible when 802.11r enabled (on OpenWrt 19.07.3)

about freezes: happened here also on h850, only when loading but really random (luckily not that often)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] disk@tek@:
Wifi is PiA along with freezes. Topping on recently with unable OTA update. Rs988

I guess nothing is going to change at least until proper gitlab issue report. For what I personally lack of experience and knowledge. Waiting for a good Samaritan.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fosunite:
I have trouble enabling nfc on any of these builds. Is there any solution to the issue?

The option about nfc is also missing. In the earlier builds there was one but without any functionality. Paying with googlepay is not possible.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
Did you go straight from stock to lineage 17?

You may still need to flash earlier versions of lineage first before 17. NFC, including Google Pay work fine for me but I followed the steps when first moving to lineage 17.

See post #136
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fosunite:
That s interesting. I did not notice that you need to do these steps before flashing LOS 17.

I wiped out everything before i install LOS 17. Oh well, i will check out the instructions. Thank you very much! Will report back if this worked for me.

UPDATE: tried out the instructions from post #136 and i went through the steps where i flashed from LOS 15.1 to LOS 16 and then LOS 17 provided by the googledrive links. It seems that everything including nfc works.

However, once i flashed the official to unofficial LOS 17, i sort of encountered the freezing behaviour once i unlock the screen and it went into bootloop several minutes later.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Varying degrees of freezing is expected on all variants at the moment. The bootlooping shouldn't happen though.

You said Official to Unofficial??? I can't think why you would be flashing an unofficial over an official, this wasn't in post 136?????
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ismrocks1234:
guys anyone knows how to solve thermal throttle issue in g5. cod mobile works fast for 10 minutes after that its unplayable bcos temp increases and cpu and gpu cores does down... pls help.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xniala:
Hello,

I've just rooted my LG G5 H850 two days ago from stock OS. I followed the instructions from post #136, first installed LOS 15.1, then LOS 16 and then LOS 17.

Everything seems ok : flash light, NFC, call, 4G, GPS... No bootloop.

The only problem is with HDR. It seems that whatever setting I make (HDR on or off), pictures are not taken in HDR mode.

I've tried several apps : stock, CameraMX, even a modified version of Google Camera, with the same result : no hdr.

Any idea or solutions ?

Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] subaron:
I have a T-Mobile h830 on stock oreo.

From what I have read I need to downgrade to stock 7.0 and then unlock the bootloader. But I am unable to find info on this process.

Could someone point me to steps to get this unofficial rom on my stock h830 oreo?

Many thanks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ROMSG:
You could try this it’s a bit tricky but I did it and it does help.

https://www.google.com/amp/s/xdafor...mod-improve-performance-prevent-t3821462/amp/
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kilm13:
Thanks for your great job for this rom 17.1.

My goal is to miror the screen of the G5 via USB-C to HDMI-adapters and finally to 50" screen ...

I have 2 identical H850 LG G5 mobiles : one with android 7 ( H-Rom V30 Port 2.0 version ) and one with Lineage 17.1

Mirroring via hub adapter ( 3 usb + hdmi + current + sd card ) is ok (without sound) in old version 7 but not with android 10+ Gapps ..

nothing appear on G5 screen after hdmi connection..... no detection, so no choice .... and so, nothing on TV screen.

Have you ideas of what is the problem ?

Thank you for read me .....
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
On this ROM there is no kernel support for usb-c to HDMI screen mirroring and I doubt there ever will be. I assume it's the same for the other ROMS, only works in stock.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kilm13:
Is there other "Android 10" Rom who support Usb-c to HDMI screen mirroring for LG G5 ? Thanks ...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] robburne:
Is the Lg G5 SE H840 not supported? I see H830 and H850 in the first post?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] diedmatrix:
I just wiped anf formated all data and partitons and clean installed the latest lineage-17.1-20200830-nightly-h850-signed.zip + gapps and rebooted. After that camera and flash did not work. I restarted and tried again, same problem. Then flash was working but camera keeped crashing. Then i disconnected the charger and rebootet and both was working.

I then restarted again and now phone seems to be stuck in boot (leaneage boot logo)?! Did i do something wrong? I was coming from unoffical LOS 16.0 here from xda.

If I have to install 15.0(unoffical)--->16.0(unoffical)---->17.1(official) what about all the zips from x86? Do i have to use them? I dont understand that :/ i am coming at least from his 16.0

There are

unofficial-to-OFFICIAL.zip

to-x86cpu.zip

to-UNOFFICIAL.zip

to-OFFICIAL.zip

official-to-UNOFFICIAL.zip

EDIT: Ok after killing the boot and restarting now it works again but flashlight and camera need a few seconds to work, they dont work right after bootup - leaves me with a bad feeling if i have to reinstall it (in whatever way) or not?! :/
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
When this happens, try powering down the phone and restarting, if that doesn't work try clean flashing 17.1 official again. I'm not sure what the zips are for, I've never used them, so I guess we don't need to be looking at them, best to ask [MENTION=2881807]x86cpu[/MENTION].
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
The "to-*" zips are to accommodate a difference in keys with which the ROMs are signed. This allows for a change in ROM without a loss of data.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] diedmatrix:
I mannaged to get everything running following the "famous" post 136.

Although i dont undertand why it will help due to even wiping data after flashing the LOS 15. But i am also not 100% familar with how and where android stores what, so maybe even wiping every partition doesnt mean everything is gone?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Wiping the data partition removes all user data/settings & apps aka factory reset.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Lineage 17.1 is no longer building for me. It is failing to make the kernel. It might be something to do with a changed build environment, but I'm not sure (external kernel build?). I have not yet had time to do a thorough investigation, but thought I might first ask whether there have been any obvious changes to the build system before I do.

It isn't a lack of resources, I think. The build machine is a Ryzen 5 3400G, with 32GB of RAM and 16GB swap.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jt12345:
Hi all. Is this the correct thread to ask questions about recent official 17.1 H850 nightlies such as this? Yes, I can read the title which clearly says "unofficial", but this thread is the closest thread that I can find on xda (other threads are either for other roms or other versions) and this page says that x86cpu is a maintainer of the official rom, so this thread seems kind of appropriate. If this thread is not the correct place to ask, can anyone suggest a better thread? Thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Yes, this is the place to ask for the unofficial/ official nightly builds.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jt12345:
Thanks, [MENTION=4579387]pedro1977[/MENTION]

There's nothing in the first post about not being able to clean flash the current official nightlies, but there is info regarding "chain-flashing" ("15.1 (UNOFFICIAL) to 16.0 to 17.1"). Are we supposed to be able to clean-flash current official nightlies, or do we have to start from 15.1 and upgrade twice?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
You could try clean flashing 17.1 latest nightly to see if you have any bugs as this problem may have been fixed (I don't believe it has been). If it hasnt, then go through 15-16-17, see post 136 for detailed instructions.

https://xdaforums.com/lg-g5/development/rom-unofficial-lineageos-17-1-g5-t4039807/post81972297