yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gkg2k:
Alert, nobody flashes that V20 modem on LOS17.1 : it leads to un-bootable system.

Probably this flashable file is not directly compatible with LOS17.1 and should be adapted to it.

Wiped system and re-installing.

Gianluca

P.S. : LOS.17.1 won't boot even after wiping system and re-installing. I think, flashing the V20 modem corrupted Data, as well. I have to reformat everything once again :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
You could flash los 17.1 and see what your baseband is, you'll have to wipe data too. If it's not the new version the flash complete .zip instead should leave twrp on there for you.

You didn't say if the flash completed successfully or not in the twrp progress window.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gkg2k:
Pedro, I had to format Data again after flashing V20 modem. TWRP was still there, but LOS didn't boot anymore.

H850 is an uphill struggle for me!

Gianluca
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gkg2k:
Just to let you know that I got my H850 back on track by installing Android 7 Stock and then I dived in LOS again. Everything thanks to the help of [MENTION=4579387]pedro1977[/MENTION] .

I'm currently on Unofficial LOS 16.0 that is working fine, very fine actually even with BT calls.

I'll try again with LOS 17.1 when I'll have more free-time!

Gianluca
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Photeko:
Sad to see LG Music Player is not included in this rom. Anyone body know a Android 9 or up ROM that includes it?

You get a much more wider and better sound with LG Music Player on this phone. Other music players can't access this phones sound hardware completely except for lg own player because their android audio drivers or custom drivers cant access them fully. It's audio components:

Qualcomm WSA8815 amplifier

DAC WCD9335 audio codec

The selling point for this audio hardware is Qualcomm Aqstic as they call it. It allows phone manufacturers alot of freedom to tune the sound. But only the LG Music Player works with it.

I'm a HIFI geek so you have to trust me on that as I don't remember the source where I read it. But you can hear it as well, I bought the main HIFI android music players Neutron and USB Audio Player PRO and they don't come close to LG Music Player on this phone.

Another easier way to explain it may be: You buy a graphics card, but you just use windows 10 default drivers instead of manufacturer drivers. Same situation.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gkg2k:
Hi, are you talking about G5 alone or G5 + the HiFi Plus B&O module? ( https://www.whathifi.com/lg/hi-fi-plus/review ).

I have the HiFi Plus B&O module and it sounds VERY well with USB Audio Player PRO while the G5 alone is in the mid-low range,

imho

.

Gianluca
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Aethera:
FYI this is the battery I've been trying and having problems with. It's rated at a whopping 5420 mAh. Has anyone else tried this model?

AceSoft 5420mAh 3.85V Extended Slim Battery for T-Mobile LG G5 H830 AndroidPhone

https://www.ebay.com/sch/i.html?_nk... Battery for T-Mobile LG G5 H830 AndroidPhone
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
It's more likely a faulty 2800mah that's been rewrapped as a 5420mah, steer clear of those batteries. In fact steer clear of eBay and only buy via Amazon.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Aethera:
The battery was HORRIBLE! The phone was crashing all the time. I just tested it again and it crashed at 92% charge.

I could not find the one you recommend in post #136 but I did order this one:

https://www.ebay.com/sch/i.html?_fr...m570.l1313&_nkw=TAEOZI+LG+G5+4000mAh&_sacat=0

Now that I'm back on stock 30C and everything is stable I'm thinking of upgrading again. I notice that SELinux is currently set to Enforcing mode by default and I have downloaded SELinuxModeChanger.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
4000mah??????? Sounds suspect, Taeozi don't produce a 4000mah for the G5, cancel that, don't buy from eBay.

Amazon are the best, Taeozi sell via them, they've recently upgraded it from 3200mah to 3600mah. (sounds like a tight fit).

https://www.amazon.com/dp/B07RYM9MPJ/ref=cm_sw_r_cp_awdb_btf_t1_9dbHFbM9VQSAQ

Use it for a month with Accubattery and then report back its actual capacity.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gkg2k:
I'm trying this LLXIA :

https://www.amazon.it/LLXIA-LG-G5-L...dchild=1&keywords=llxia&qid=1602496075&sr=8-4

I'm slow-charging it externally :

https://www.amazon.it/gp/product/B01GVQF96G/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1

...and I'll let you know the results. At present it's lasting longer than a new original BL-42D1F, at least +25%.

Gianluca
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Bought a Taeozi 3200mAh and a Tayuzh 3000mAh battery from amazon Canada and they both perform basically the same. I doubt the advertised 3000+ mAh but they perform about as good as a new battery.

I've been using the Tayuzh for a few weeks now and it has held up well. The Taeozi I have stored at 40-50% as a backup.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xniala:
Hello,

I have a H850 with 17.1 non official installed.

How to install 17.1 official ?

Do I have to erase everything or can I keep my data and install "above" (don't know the specific word) ?

Thanks,

Alain
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Post 136, I would recommend a clean install.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] GalaxyS3only:
Hey!

I got a problem with TWRP 3.3.0 & the newest 3.4.1 on LG G5 and LineageOS 17.1 Official, update from october 18th:

TWRP can't decrypt my encrypted /data partition, password is right, but it says always wrong...i reproduced this error on other G5s...

This happens also if i do a OTA-lineage update: update works even with encrypted /data partition, but after that my magisk installation was broke and i can't un-or reinstall it because TWRP can't decrypt and Magisk can't handle it.

1. Somebody know a workaround to decrypt /data in twrp?

2. Anyone an idea how i could repair my magisk installation? It won't work in the app and because of the bug not in twrp atm...

Could a change to lineage recovery help? If yes, how to change from twrp to Lineage recovery? Is that possible without dataloss?

THX and GreeTz
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I don't think that encryption and TWRP works well. Lineage recovery works with encryption and allows OTA without problems. I haven't tried it, but I think that you could install Magisk from lineage recovery. You can use adb to install lineage recovery. The instructions are on the Lineage site.

https://wiki.lineageos.org/devices/h850/install

Best wises,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] blackwind.:
Have we collectively thrown in the towel on ever getting TWRP working with LOS 17.1 encryption? I'm able to decrypt my S5 on 17.1; what is it about this particular phone that's different? Does no one have the know-how, including those of you rolling your own builds of LOS, to debug the issue?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Epifistu:
Yesterday, I updated to the latest official 20201025 on h850. Normally, I need to restart my phone a couple of times after an update to get the camera working, and to have the phone working stable again. This time, the camera keeps crashing, no matter how often I keep restarting. Running SD maid also didn't help. Is there anybody with the same issue? Did you find a fix? I don't want to completely set up the phone again just to get the camera working.

Is it possible to downgrade to a previous version? Would I just flash the .zip or do I need to pay attention to anything else?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] aleasto:
Grab a logcat
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] disk@tek@:
Be careful . On my rs988 1025 update broke cameras and YouTube. Also Bluetooth became very unstable with a sound dropout every other second. Reverted back to 1018.

---------- Post added at 12:11 PM ---------- Previous post was at 12:06 PM ----------

Just flash 1018 version zip file through twrp and thats it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] aleasto:
Camera fixed in next build, sorry!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Epifistu:
True, my YouTube also broke. Didn't make the connection to the update.

No need to reflash magisk or gapps? No need for clearing cache or dalvik? I just flash that version through twrp and theoretically my setup should be the same as before the update?

Sorry for all the questions, I just don't want to mess it up.

[MENTION=4742143]aleasto[/MENTION] thanks so much for maintaining!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] aleasto:
I'm gonna need a logcat for the youtube issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] disk@tek@:
Did not do any of that.

Upgrade script will reinstall Magisk by itself.

---------- Post added at 07:25 PM ---------- Previous post was at 07:22 PM ----------

Is there an EASY way to do that? Not like 100500 steps involving terminal?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] aleasto:
I see only 2 steps https://wiki.lineageos.org/logcat.html
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tristan6100:
I just installed los 17.1 official 1018 today after seeing that 1025 doesn't have a working camera. Everything works except the main 16MP camera laser focus. I can't change the focus plane even with the manual controls. Did you run into this issue too?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dotya:
I flashed 1018 version and got a working camera, but the flash and NFC didn't work
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Try powering down the phone completely without the charger cable in and then reboot it.

If it doesn't, did you go through post 136 at some point??
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] GalaxyS3only:
Friend of mine got the same problem after updating H850, Signal Messenger crashes too...but is it this easy to dirty flash the older lineage build? I thought we have to wipe and reinstall :confused:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] disk@tek@:
Flash works for me and I used NFC today.

---------- Post added at 05:01 PM ---------- Previous post was at 04:57 PM ----------

Not sure is laser focus worked ever or works now on lineage, but when I take pictures I can change focus for sure.

---------- Post added at 05:07 PM ---------- Previous post was at 05:01 PM ----------

I disagree on that. For a savvy person that might look like a single step only. Not for an average user though.

However I plan on flashing 1025 again and grab a logcat for you. Wouldn't you disregard my logcat if that would be not original YouTube app, but vanced one? Do not want to go through the hassle just for nothing.

Also does logcat might have any sensitive data from my phone? Thanks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Bluetooth is not working on latest h830 10/27 build either.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bladezephyr589:
I've been using LOS 17.1 for a while now, and everything more or less works. Camera is a bit iffy at times but I don't really use it that often, so I never really looked into it. One thing that has been consistent for me in any build over the last few months, across many fresh installs, multiple loops of #136 and a few dirty flashes too, is that the phone just freezes if I enter my PIN too fast. Having the muscle memory from using the same pin across a few different phones, I usually just go into autopilot and immediately enter my PIN and confirm it, which almost always causes the phone to freeze, requiring a battery pull. If I wait a little between entering my PIN and pressing the confirm button, it doesn't freeze. Does this happen to anyone else, and is there any sort of troubleshooting I can do to identify why this is happening? I'm on a pretty clean build of LOS 17.1 official 20200930, with the latest TWRP and Magisk with no additional modules.

Side note, I haven't been able to find a good, genuine battery to order so I'm also using a super dodgy knockoff battery that barely pulls 2h SOT, could that also have some part in this?

Any insight appreciated, cheers.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
As it freezes it's difficult to obtain a logcat, only possible option would be via connecting the phone to a computer.

Only order batteries from Amazon, not eBay etc. This one seems to have the best reviews.

https://www.amazon.co.uk/dp/B07TF4GMF3/ref=cm_sw_r_cp_apa_i_82wMFbPVK6TJ0
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dotya:
Yes, I read and used post 136, but lately I just installed Linage Recovery, did a full reset and installed Linage OS and everything worked fine

Maybe I should use post 136 again

By the way, data encryption works fine on Linage Recovery, which I need
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
That's the battery I use. I don't do any gaming, or, indeed, anything that accumulates much screen time. Mostly I just use it for calls, email, calendar, and lots of audio (sometimes 15 hours). I generally get about 36hours. It drops significantly if I do a lot of gps, or the like.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] aleasto:
All camera, youtube, signal, bluetooth or whatever issues will be fixed in the next official build.

When you get it, please let me know if bluetooth calling works on your variant, which variant you're using, and whether or not it worked before.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dotya:
Sounds good, but when is the new build planned for release?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
1. Phone: LG G5, H850

2. Build: late 28Oct - early 29Oct (local build). Last repo sync started 20:34GMT 28Oct

3. Bluetooth calling:

3a. Worked fine on previous (local) build of 08Oct.

3b. Sadly, unhappy news for (local) build of 28Oct. I can hear the other side, okay. Other side cannot hear me because of crackling. Tried two calls, one with a Shure BT1 neckband (SCO only, I believe), and one with something that looks like a Tennmak neckband. Same results on both.

3c. Unfortunately, this had to be a quick test, without logs, because I have a full day today.

4. Just in case anyone else builds their own. Dirty build failed with following error.

AssertionError: No key specified for:
dpmserviceapp.apk
TimeService.apk

Clean build (make clobber) worked fine.

5. I haven't tested anything else other than taking a simple snapshot with OpenCamera.

Best wishes,

Bob

PS I did a logcat and can provide an extract of the file.

RLF

PPS https://www.rlfrazier.org/nextcloud/index.php/s/rE87Ko5L2wDQ5HQ
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Could be a week, you can always flash the previous build manually via twrp, may want to wipe cache + delvik/ art cache partitions afterwards too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] linggm:
Thanks for this Rom!

I am having two problems in my h850 with 17.1:

- orientation Sensor not Workung

- I don't find where to hide status and control bar.

Are those known issues?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Sensors are a known issue, did you follow post 136?

Search for full screen apps in settings.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Waheed Hassan:
LG G5 H850 (Wifi Native Failure, NFC Not Working)

Thanks Dev for your amazing effort. I'm using Official LineageOS 17.1 build, nightly date 18th oct 2020. Everything works as it should but I've encountered some bugs:

>NFC settings are not present in settings.

(they appear when I reboot and goto settings but then they disappear)

>I get wifi native failure bug. (i have attached dumpstate log)

>When I upgraded to 25 oct build the pixel launcher started to FC and Camera not working. So, i reverted back to 18 oct build.

>GPU usage & frequency stays 0 (i tried different sys monitor apps like cpuz, deviceinfo)

>Does this rom has anything related to FM Radio baked into kernel?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] aleasto:
Since you self compile, are you able to pin point the commit that caused your regression? In my case, same BT chip as yours, BT calls were totally silent previously, while now I can hear fine but my voice is very crackled just like you
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I don't know. It is pretty clear that it was between 08Oct and now. Earlier today, I had the thought that I would try, and since I don't do any programming, and don't know the bluetooth stack, thought I would use the old fashioned empirical method (change only the value of the variable being tested).

So, by hand, I reverted 290817 and tried that. It wouldn't build, even from clean. I just now took a closer look and found that I hadn't paid enough attention to the Relation Chain. So, I'll revert 290817, 290816 and 290815 and try again (the variable is more complex than I thought).

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Sorry about the delay. I ran into an unrelated problem with being able to update via my local OTA server, given that I am signing my builds, and using encryption. Recovery was complaining about having duplicate keys, when there weren't any duplicate keys (that I could find). I finally got an update, but it disabled Magisk. Yadda, yadda, yadda. I still don't understand what is going on with this. And, it is a pain. Although I spent (too much) time trying to trace things, no joy and it will have to wait for another day (month? year?) .

In any case, the reverts that I mentioned I was going to try did the job for me, and BT calls work again. I don't know which of them is making the difference, since they seem to be a set. If you want me to try to test them separately, let me know.

So, in my working setup, bdroid_buildcfg.h has

#define BTM_SCO_ENHANCED_SYNC_ENABLED FALSE

but lacks

#define BLE_VND_INCLUDED TRUE

and libbt_vndcfg.txt has

BTHW_FW_EXTENDED_CONFIGURATION = TRUE

Best wishes,

Bob

PS I think that the following discussion is relevant. The workaround realized by the above changes is mentioned. But you would have to get someone who knows something about BT to see if anything useful here can be got from it.

https://xdaforums.com/google-nexus-5/devs-only/bt-calling-robotic-audio-t3798105

RLF

PPS Here's some wild speculation. Some devices need the enhanced SCO in order to work. Others don't I happen to use devices that work without it. So, to get a generally fix, the problem with enhanced SCO needs to be fixed, rather just turning it off. This, I take it, would require a pretty deep understanding of the BT stack.

RLF
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] aleasto:
Yes please
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
It looks like my speculation was incorrect. I removed the following from bdroid_buildcfg.h, and it still worked..

#define BTM_SCO_ENHANCED_SYNC_ENABLED FALSE

It looks like it should be libbt_vndcfg.txt and the following.

BTHW_FW_EXTENDED_CONFIGURATION = TRUE

However, just to check, I replaced the ...SCO_ENHANCED..., and removed the BTHW....

It is taking a while, as I don't trust a dirty build with this (build date in the info screen wasn't changing), so it is a clean build each time.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dotya:
I installed version 01.11 through Lineage Recovery and everything works except NFС ((

I hope someday there will come a time when post 136 will become a thing of the past.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
[MENTION=4742143]aleasto[/MENTION] definitely libbt_vndcfg.txt and BTHW_FW_EXTENDED_CONFIGURATION = TRUE. Without that, crackling and unusable. I don't know why.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] aleasto:
Ok, interestingly it doesn't make any difference here.

What firmware are you on?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Baseband version: 996FAAAANAZM-1.101802.1.109832.1
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Waheed Hassan:
H850 - Official Build 01/11/2020

NFC still not working.

Bluetooth calls not working properly now, it was working fine on build 18/10/2020.

Freeform Windows FC the app when I try to drag it, I even turned on resizeable activities. Still its buggy

WifiNative Failure still present but now it happens less often.

Games crash to home screen with no error pop up may be its due to adreno v490 drivers but on build 18/10/2020 same drivers didnt have any such issues.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
What a weird phone we have. My BT calling is working. And my phone can read NFC tags and a Yubikey.

Best wishes,

Bob

PS Although I build locally, my changes are unrelated to BT and NFC. They are directed at GPS and Updater. Just for information, here are my manifests, which are simple and straightfoward.

roomservice.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LineageOS/android_device_lge_h850" path="device/lge/h850" remote="github" />
<project name="LineageOS/android_device_lge_g5-common" path="device/lge/g5-common" remote="github" />
<project name="LineageOS/android_device_lge_msm8996-common" path="device/lge/msm8996-common" remote="github" />
<project name="LineageOS/android_device_lge_common" path="device/lge/common" remote="github" />
<project name="LineageOS/android_kernel_lge_msm8996" path="kernel/lge/msm8996" remote="github" />
<project name="LineageOS/android_hardware_sony_timekeep" path="hardware/sony/timekeep" remote="github" />
</manifest>

themuppets.xml

<manifest>
<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="lineage-17.1" />
</manifest>
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] aleasto:
What does "not working properly" mean?

What firmware are you on?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Waheed Hassan:
Bluetooth media works fine like listening to music and watching videos but when I try call someone on whatsapp they cant hear me properly instead they hear cracking noises.

Before Unlocking my last stock firmware was v30f_open_eu_1122 with android 8.0 and now i'm using official lineageos 17.1 nightly build date 01/11/2020. Also I had no such issues using stock firmware. Hope it helps

---------- Post added at 10:09 PM ---------- Previous post was at 10:06 PM ----------

I really don't understand same hardware same rom build yet some people have no issues while some have incl me. Can you share your build with us?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I would rather not. I sign with my keys, which would make things complicated. In any case, I am using only lineageos source, nothing else. With a few changes to accommodate my circumstances, and those changes are irrelevant to BT and NFC. It would very strange indeed if the mere fact that the ROM is being built here where I am makes a difference. I think that it must be something more general. And, perhaps, what [MENTION=4742143]aleasto[/MENTION] might be hinting at: the firmware of the phone. I thought that using the firmware from themuppets repository made it all the same, but perhaps not.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Epifistu:
Thanks again for maintaining! 0111 fixed the mentioned camera and youtube issues. NFC works for me.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
On the latest build I cannot pair with my Heylou GT1 Plus. Clean installation. Before that I was using LOS 16 and everything was working fine.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
If it crackles again, try it in safe mode. Could be an app if it's intermittent. Viper4android is one that is known to cause audio crackling, not sure if this includes Bluetooth calling.