yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
Hmm to be specific, you mean flashing this: http://downloads.codefi.re/autoprime/LG/LG_G5/H850/H85020A/LG-H85020A-Flashable.Modem.zip and this: http://downloads.codefi.re/autoprime/LG/LG_G5/H850/H85020A/LG-H85020A-Flashable.Bootloader.zip on top my existing Lineage installation, right?

Don't I also need this? http://downloads.codefi.re/autoprime/LG/LG_G5/H850/H85020A/LG-H85020A-Flashable.Boot.zip

P.S. charging is ridiculously slow. Ampere shows charging is in fast mode (with original LG charger), but after a while charging current is decreased from 1.9 A to 350 mA and it takes 9 hours to full charge. WTF? Many chargers (quick charge supported or not) tested, always charging current is 350 mA. Has anybody experienced similar problems? This makes device completly unusable.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
I only flashed the first 2, not the 3rd one you linked. Granted, I was on a different Rom but that shouldn't matter. I had made a nandroid just in case, but flashing those 2 shouldn't touch your installed Rom at all.

I'm using AOSiP right now but I have the charging problem as well. Only thing that helped me was flashing SpeedyKernel - there hasn't been an update for a while, but 2.1 works fine. I don't have the link right now, but you should be able to find it easily here in this subforum.

I'm guessing there was a change in the LoS kernel recently that's causing the problem - otherwise I don't know how it would be happening on 2 totally different roms.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
I guess you mean this kernel: https://xdaforums.com/lg-g5/development/kernel-h830-h850-los-based-speedy-t3604944 ? Do you remember latest working (charging ok) nightly? I have jira account and I'd like to create regression bug report.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
Yea that's the one - latest version 2.1 is working fine here on AOSiP.

I'm not sure what the latest working version was, I've only been using this rom for about 2 weeks now. But I think it only started being this bad on the last version which he released this Sunday. Oddly enough I haven't seen anybody else on any rom mention charging issues, I was beginning to think it was just me lol.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] chaostimmy:
Hello companions,

is your GPS working? Mine doesn't.. getting connection to only 1 satellite after 5 minutes...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
If you are on h850 it is a known problem. But no real fix for now...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] chaostimmy:
But with LG stock I had no problems .. isn't the known problem a general problem independent of the software ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
No the GPS.cfg is not good for European somehow. On h830 it seems to be fine!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I have an h850, and GPS works fine here. I just went outside and checked. I had 88 seconds TTFF, using 16 of 30 satellites, and a reported resolution of 6m. I have disabled com.qualcomm.location and am using unifiednlp. But that's for network (wifi and gms), and I'm uncertain how it affects location using satellites (but it may).

Best wishes,

Bob

PS After that, inside, but upstairs, I have TTFF of 7 seconds, using 17 of 29 satellites, but with a resolution of only 14m.

RLF
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Anyone having problems with getting the camera and torch to work??

edit: sorted it appears an old version of supersu, may have caused this.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
Charging issue, please vote: https://jira.lineageos.org/browse/REGRESSION-1000
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
With the fairly recent sales of this model (RS988) it is priced competitively with midrange phones and offers a lot of value. I'm sure the userbase and demand for custom rom support is fairly decent now and will continue to grow. I too would kindly request support for our device, it would add significant value to an already value packed device.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Unscedeo:
RS988!!

Yes, exactly. I don't know how to get this out to the developers nicely, but please, add support for this device. Everything is already in place, including an unlocked bootloader, TWRP, root, a large userbase, and a device tree. I and a lot of other people are willing to test this, and I really wish that some developer of any ROM would give an update to what is happening with this device.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
A couple of comments, then a question.

Comment 1. It looks like RS988 is being worked on by Rashed.

Comment 2. I had a build failure. It took me a while to figure out what went wrong. I had been using the firmware blobs from my phone, as per the wiki instructions for building. (I'm rather new to all of this.).. The blobs had been updated on the Lineage side of things. I figured out that I had to add the TheMuppets repository to "roomservice.xml" get the firmware blobs that lineage was using. This solved the build failure problem. So, if you've had problems, you might want to do this.

<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" />

Question. I want to use git to keep track of my local changes. However, I don't want to send them upstream (for now, and maybe not ever). I've read a number of tutorials on how to make local changes that one will eventually integrate into the main upstream side, but none on how to keep the changes local, but to apply them when the main upstream side has been renewed. I think I want something like: repo sync --> apply local changes. I think that I could use "stash add" and "stash pop", but, on my understanding, this will overwrite rather than merge, and I want my changes merged. Apologies if this isn't clear. I'm absolutely new to git. Does anyone know of a tutorial which I could read on this?

Best wishes,

Bob

PS It looks like "stash pop" and "stash apply" do merge. Perhaps "stash" before and "stash pop" after sync will do the job. Since it is "pop" rather than "apply" I start off afresh each time, and don't have to worry about stacked stashes.

RLF
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
gps is fine here on the 830 in europe, even indoors
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] -lukin-:
Hey guys, I just purchased a RS988. What can I expect if I flash to it? PM if testers needed to fully support his version of G5. Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Indeed, the charging is weird. With a fast charger it starts at about 2000mA, then drops to 400mA. With an ordinary, high quality charger, it starts at about 1000mA, then drops to 400.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
I have already adres comment. IT seems to be related to turbo charging support introduced recently. Please vote and comment.

P.S. another bartery bug on latest nightly. After power off and power on (not restart), bartery stats are broken.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
The proximate problem is that /devices/soc/qpnp-smbcharger-16/power_supply/battery/constant_charge_current_max drops from what it really is (2000000 or so in the case of the fast charger) to 400000, no matter what.

It is like after the first loop, or during it, it can't get the information from the charger and drops to a safe constant.

constant_charge_current_max is the maximum current that the charger can produce.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
So, the only solution is older kernel or to stay on previous nightly. 300 mA charging makes device completly useless.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SpGG:
GPS issue 850

I bought a used H850 recently and went straight to Lineage. I did not test the GPS on stock before I installed LineageOS. I have the most recent firmware that came OTA in June and July 2017. I tried to use GPS (not knowing there is an issue) and found it wouldn't. I then installed Fulmics ROM 3.5 from this forum and now I can't get a fix on Fulmics either. Maybe this is a firmware issue? What version of the firmware do you have?

Also could you please describe the exact steps you took to get GPS, so I can test if it works for me?

Do you think I should go back to stock first and see if GPS works there? That way I could also test earlier firmware versions, since the most recent one isn't even out in a kdz file afaik.

GPS was a hardware issue. I went back to stock and had the same issue, then fixed the hardware and I now have GPS on stock and on LineageOS

Note: I used this video on Youtube. The video doesn't mention how thick the paper needs to be that props up the mainboard. I folded a stickit note to have three layers, which almost seems a little excessive, but I didn't want to open up the phone a second time. Two layers may have been sufficient. OTOH the LG G5 seems to open up nicely. There is no glue. This is just personal apprehension about opening up my expensive hardware.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] drinfernoo:
How are you measuring that?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
My Baseband is MPSS.TH.2.0.c1.4-00047-M8996FAAAANAZM-1.88674.1 1 Feb 22 2017 23:00:00

I too quickly went from stock to lineage. I checked all the hardware before I did, including GPS. And it worked on stock. Along the line, I tried Fulmic, and it worked as well.

It might be worth going back to stock, as if it doesn't work, and is a hardware problem, perhaps you can get them to fix it.

At the moment, I'm using UnifiedNlp for network location, instead of google, as I don't have GAPPS installed. You probably don't want to install it, especially if you are using GAPPS.

Best wishes,

Bob

---------- Post added at 10:50 PM ---------- Previous post was at 10:49 PM ----------

BatteryBot Pro, from f-droid.

Best wishes,

Bob

PS You can also read the value from /sys/devices/soc/qpnp-smbcharger-16/power_supply/battery/current_now

RLF
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Flashdown:
Well I have the same Issue since last nightly. Hope it gets fixed soon, it's terrible. I've voted for it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Anyone know why shuffle and and repeat settings are lost every time the music app is started, while the rest is retained i.e. track time etc? Can someone pull and post the lg music player apk from the nouget ROM?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PhrostB:
NFC still not working unfortunately. :(
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
Have you tried latest nightly? I guess issue is still there, I can't see any interesting commits to fix it
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Flashdown:
Well I didn't because I couldn't find any promising commits, too. So I jumped back to the nightly from 18th of july for now.

Gesendet von meinem LG-H850 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
The same for me. I don't want device that I unabe to charge in reasonable time.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Memory mngt issues, system is dropping to around 300mb, and freezing, should be kept above 500mb

---------- Post added at 08:04 AM ---------- Previous post was at 08:03 AM ----------

Charging issues here too, dropping to 3 watts without reason.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I'm no great shakes at this sort of thing, but I had a look at the power section of the kernel. It looks like there have been additions of Lineageos, LG specific code, and that the fast charging bit of it just hasn't been turned on yet. Although I think I see how to turn it on, I'm not going to do so (even locally), as a mistake in the charging bit of the ROM is a mistake that can have really bad effects. If one makes a mistake with audio, audio might fail, but there is little chance of frying the phone. I would rather wait a bit, and keep a spare battery to hand. In any case, I'm pretty sure it is in the hands of the lineage folks, not the upstream kernel developers, which is what I wanted to find out.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
With latest build, wallpaper keeps crashing, audio glow.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Randomuser666:
Hi everyone:

-FYI: On the latest build (Aug. 22nd) charging is still slow, max 420mAh (H850). On last week's build I tried charging with the phone turned off, but that was not any faster.

-Does anybody know if LOS will ever (or in the foreseeable future) be including a working FM-Radio-App?

-Did anyone manage to get rid of the non-power down issue. Or is there a link to the latest radio/baseband. Not sure if the link someone mentioned some days ago is for the latest version? Btw my workaround is to boot to twrp and then power down. That works. And surprisingly if the phone was being charged while doing so, it is then possible to power it up as well.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I don't have a problem with powering down. I just hold the power button until the menu comes up. However, I hardly ever use that button. Instead, I use Simple Reboot from f-droid (needs root). This allows all the options allowed by checking Advanced Restart in the Developers options.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Juanito216:
What's the most best nightly to use right now if I want to use one daily?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] King_lilrowrow:
All issues that have persisted when I first started working on Lineage (CyanogenMod) before it's official status.

The G5 (H830/H850) is still under heavy development even this far into its life, it's the reason I've been slow in even working on the G6 or other G5 models.

Things should change soon, a lot is still going on behind the scenes.

Thanks guys for the continued support.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Rumzie:
I really haven't had an issue with powering down, or even with any of the advanced power settings options.

I am however running into some new serious bugs with the new kernel on build 8/22:

1) I do not get and audio when receiving incoming calls. Only work around is if I make the call first.

2) Using the power button to activate the torch while the screen is off results is a soft restart every time.

3) Charging is still not optimized. The only realistic way to charge is overnight.

Other than that, I am getting very solid UI performance and battery results (someone noted some bad memory management, which I haven't even remotely experienced).

Can anyone confirm/deny that #1 or #2 are not proprietary to me?

Also, could someone help explain how I could get an logcat log for #2 on the list, since It forces a soft reboot?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
Honestly this is amazing news. Had to go back to stock for the past few months as LOS based ROMs were not too good.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Here,

1 ) Works fine.

2) Soft reboot.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] King_lilrowrow:
We already have booting versions of Oreo (lineage-15.0) for the G5 with most issues fixed.

We are just waiting on a few things to be merged upstream then I'll start unofficial builds with a new thread.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 0657_Code:
My falcon on official LOS does in fact include an FM-Radio-App, which I just tested to confirm it actually works. Specifically it includes com.android.fmradio (version 2.0). I don't know why it's not included in the G5 builds, maybe just nobody really noticed or cared.

The charging / power down issues are not present on my h850 running the 20170704 nightly and, AFAIK, the consensus is that these appeared only on newer builds. Yesterday I charged at an average of 2600mA with >3000mA at maximum. While those older builds do suffer from the other known issues, those at least allow you to charge in a reasonable time and may be a better option than going back to stock.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Flashdown:
That is awesome news! Can you share the apk, pls? [emoji51]

Gesendet von meinem LG-H850 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 0657_Code:
Here you go! Freshly grabbed from /system/priv-app/ on my falcon and as of yet untested on the G5.

Edit: The app crashed immediately upon launching after installing as a user app (including the library). I would suggest to try to install in /system/priv-app/ and grab some logs.

Edit2: Did so myself. If installed in /system/priv-app/ it starts and shows a "currently not available" toast. The logcat shows that it's looking for /dev/radio0 (which doesn't exist). Also the makefiles for the h850 (& g5-common) do not include any references to FM, while the falcon does have this: https://github.com/LineageOS/android_device_motorola_msm8226-common
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PhrostB:
best news i've heard all day. thanks again for your work and keep it up. we <3 you!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] orclex:
If you can live with slow charging then it's the current one. Video recording is fixed in that nightly.

If you can live with broken video recording but need fast charging then take the one from last month.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] brainsaw:
This is indeed wonderful news and VERY much appreciated! I am still convinced the g5 is a very good phone. It just needs a smooth running uptodate image with working drivers.

GJ king
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] biscegliad:
To fix the battery charge install speedykernel2.1 and the problem go on for the moment ;)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] biscegliad:
P.s. speedyKernel has broken Bluetooth :(
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
9 hours to charge. It's not slow charging. It's no charging. I can't imagine anybody could live with that
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ken1337:
Latest nightly, seems fast i think :D
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
Damn, it seems I have bricked my device. No matter what I flash or wipe, it always takes me to twrp.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ken1337:
Are you on the latest twrp?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Flashdown:
Maybe you've tried to install via lineagos updater and you now just have the boot loop? then your recovery is not fully compatible for this function to no cause boot loop into twrp ;)

Connect your phone to a computer all necessary drivers installed or you can try using the terminal in twrp as I did once.

Via PC: adb shell dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/misc count=1 bs=32

Via TWRP Terminal: dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/misc count=1 bs=32

Hf, my lines should match yours (this folder must exist /dev/block/platform/soc/624000.ufshc/by-name/), if not just change the folder names with the ones matching your device. I have an H850

Gesendet von meinem LG-H850 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
Actually I used Lineage built in updater. It rebooted me to twrp, but installation did not start. Until then, no matter what I do (wipe, flash again) it always boots to twrp

[edit] Wipe misc partition as you described solved my issue. You saved my day ? I was considering to flash full stock image. Thanks for tip.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Flashdown:
Was the same for me, just run the command and you are fine

Gesendet von meinem LG-H850 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
Well, I'm lost anyway. Every nightly build I try gives me only Lineage boot animation and blinking led. Last thing left to try is to flash factory image with LG bridge. Damn it... Something is completly messed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ken1337:
It takes a while for the first boot :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SirDigitalKnight:
yes, I used to think the same thing... it takes a very very very very long time to first boot after each and every upgrade! Be patient. I have not timed it but at least 10 or 15 minutes... perhaps longer....
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
Yes I know. But not 30 minutes.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ken1337:
Strange, there must be something your missing out. What is your flash order?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Flashdown:
I also dislike it a lot to not have any status information on the boot screen, especially after flashing a rom. There should be an Updating Apps ... XX% text be below the lineageos animation, otherwise you can get quick into thinking it's stuck. After that it can disappear and the lineageos animation can finish up then. This would be more user friendly and is a must have in my point of view.

If you still can't boot, may attempt to flash a newer modem zip or bootloader. Or install stock rom, update to the latest version afterwards via OTA and then try again lineageos, I guess then it should work. I will go back to official since it seems Oreo will be delivered for it, too. So a lot time for Dev's to get major issues sorted out until we need lineageos in order to keep using our devices until we are unsatisfied with its hardware power. And for now I need a fully working device because of vacation :) I guess I will come back when official firmware gets too old or when somebody invested many work in reverse engineering the radio chip in order to provide Open Source drivers, if there is no legal issue when doing so. I can't life without a real radio and I could kick my own ass for finding the information about closed source radio driver after buying this nice phone.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
Well, everythig tried already. Last chance solution is to flash full stock rom with LG Bridge. First, need to create some virtual machine with Windows. I'm really angry.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Flashdown:
Are you sure that you've unlocked your bootloader correctly?

Gesendet von meinem LG-H850 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
Of course. There was installed Lineage on my phone and it worked without any problems. Then I tried to update with built in lineage updater and it caused that mess.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Flashdown:
So your current issue must be related to all the things you've tried to fix it. Since I had the same situation and just wiped that partition and all worked again after the first long boot after flashing. So I believe youre tries made it that worse. Can you try to undo your changes for fixing the boot into twrp only? The cause must be there when it worked nicely before.

Gesendet von meinem LG-H850 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
The only thing I also tried is to flash stock firmware with TWRP (I found zips on xda). Then I wiped partition misc, reflashed modem and bootloader (the same as I used before). That's all.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Flashdown:
Hm, so sounds like you must go back to stock before, since I am out of ideas. Stock ROM is available at lgmobile.com using LGUP tool for flashing. Turn off the device, hold volume up while plugging in the usb cabe to reach the download mode, or ask twrp to get you there.

Stockrom will unroot your phone and fix bootloop issues.

Gesendet von meinem LG-H850 mit Tapatalk