yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] melodystyle2003:
How can someone successfully flash this rom without stucking in the boot LOS logo screen (watching this logo for 20' or so)? Twrp recovery displays that phone storage is encrypted and it can not be decrypted since i don't have the requested password, or as i have read twrp can't decrypt it yet. Prior installation of the latest LOS rom performed full system backup (data, system, efs), data-cache clean but couldn't proceed to system clean due to the above mentioned limitation. Now i am back on stock 20s rom using uppercut in download mode, with twrp installed and rooted via superSU.

TIA.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] nmyron:
The rooting instructions for the H830 here (https://xdaforums.com/tmobile-lg-g5/how-to/guide-root-twrp-lg-g5-using-t3580264) expains how to fix that in the 3rd post

TWRP cannot read the factory encryption on our internal storage. To work around this one must fully wipe the data partition. On my first flash I did a complete wipe and never had any issues.

Also the TWRP page includes some additional data regarding this (https://xdaforums.com/lg-g5/development/recovery-team-win-recovery-project-lg-g5-t3363047/page1)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tavocabe:
Anyone tried LOS with dual boot patcher? Yesterday I flashed as a secondary rom on/ system alongside fulmics 5.5 and typhoon kernel too, boots fine and can use it for around 5 minutes before it freezes completely, then I need to detach battery.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fabitux:
quick charge and bluetooth

Hello,

Could anyone summarize LOS's 'quick charge' and 'bluetooth' issues? (I understand that there are solutions with 'kernels', but it's not clear to me).

Regards,
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wp007:
The thread on the typhon kernel is closed. Does anybody know more details? This kernel seems to be a very good alternative, especially regarding the quick charge issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
He did mention he had to take a break and already re-scheduled something so that he could release the kernel first.

M5-RC1 works fine though - just try it and let him have his well deserved break :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wp007:
Yes, of course. I would like to try the kernel, but I'm not sure if I have the right firmware/modem. When I first installed LOS I came from stock 20d. I wiped everything and did a clean install. Do I now have to flash boot.img and modem.img from the stock rom 20s before flashing the typhon kernel? And how can I get back to the original LOS kernel if something goes wrong?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
I was still on 20a so I updated modem + bootloader to 20s first since he said that's what it was tested on.

Then: Make a Nandroid, just in case.

Open your rom zip with Winzip, 7zip or your unpacker of choice. You'll see a boot.img - that's your stock kernel. Extract that and put it in the same place you have Typhon kernel.

Then IF something goes wrong you have 3 options:

Restore your Nandroid

Dirty flash your rom

Flash the extracted boot.img

I hope that helps :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wp007:
Thanks for your quick answer! But sorry, I don't fully understand. I thought I have to make the following steps:

1. Extract boot.img + modem.img from 20s stock rom

2. Flash stock boot.img + modem.img in TWRP. Do I have to flash su again, because otherwise I will loose root? Then reboot? System is then working with stock kernel, isn't it? I don't know what you mean when you say "put it in the same place you have Typhon kernel" (flashing?)

3. Flash typhon kernel, then reboot

4. If something goes wrong, I reboot into TWRP and flash the LOS boot.img again, right? Do I have to flash LOS modem.img, too?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
No.

1. + 2. Grab the Modem + Bootloader zips from https://xdaforums.com/lg-g5/development/stock-h850-20s-eu-rom-flashable-zips-kdz-t3719732 and flash them to upgrade your system to 20s.

Those two have NOTHING at all to do with your stock kernel, it just updates your modem + bootloader to avoid any compatibility issues with the old ones.

3. Flash Typhon, wipe Dalvik/cache, reboot to system.

The boot.img in your rom is your (current) kernel - you flash that if you don't want to use Typhon kernel any more or if Typhon isn't working right for you. When I say "put it in the same place you have Typhon kernel" I mean keep the boot.img on your SD card or wherever you have the files you flash.

I posted my steps in the Typhon thread last week btw, see https://xdaforums.com/lg-g5/development/h850-typhon-t3740771/post75341136#post75341136 :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wp007:
Wow, many thanks for this detailed explanation. Now everything is clear for me. :) I will give it a try! :good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Natraj:
will this ROM also work on LG G5 SE H840? thread title says H830 - 850 but I'm not clear whether this will include the h840.

Thanks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] juanantofb:
Hello, I have LOS for a long time in my G5.

Can I veneficiate in something if I flaunt the Bootloader and the modem of the stock version in the thread above?

Thank you.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
No, H840 is LG G5 SE... a different device.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wp007:
[MENTION=4649623]Nimueh[/MENTION]

Thanks again, I flashed and everything seems fine. How can I measure if quick charge is working?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
Glad it all worked for you too :) :victory:

Different kernel managers or battery apps will tell you that, I used EX Kernel Manager and 3C Toolbox :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wp007:
Thanks, but I'm looking for open source apps. Don't have Google Play on my phone. Maybe BBS? (Better Battery Stats)

Phone isn't getting very warm when charging, but is charging much faster than with LOS stock kernel (57% -> 88% in half an hour). But not as fast as charging in recovery. ;) Overall performance seems to be very good with typhon kernel. And this is obvious, too: a very small amount of battery drain when the phone is not in use.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Which model of phone do you have?

Which build of los and thyphon are you using?

My phone would freeze due to low memory management issues so had to remove.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wp007:
It's the LG G5 h850 (european version), LOS 14.1 nightly build from 2018-01-30 and latest release of Typhon M5 RC1. The kernel has been installed for have a day now and since then I have no issues with low memory.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
I assume its because I have the h830 then o(.

---------- Post added at 05:49 AM ---------- Previous post was at 05:49 AM ----------

I assume its because I have the h830 then o(
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
No, BBS doesn't show charging current - you'd have to find a battery monitor app that does it. I just checked and the free 3C Battery Monitor Widget isn't on apkmirror, so I can't help you. I prefer having Google apps to keep my smartphone smart :laugh:

H830 users haven't had any issues with Typohon either, not from what I've seen. Different releases had different stages of success though, make sure to try the latest one (M5) before giving up ;)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
I use Ampere, I don't know if that tickles your pickle.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SuperQvas:
Wi-Fi Not Connecting

After installing the Rom, my wifi stopped working, I can see the networks and try to connect, enter password but that's all.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Check you wifi mac address. If it's all 00:00:00.... That's the issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] melodystyle2003:
Is FM radio working for you guys now? I am referring at least to those with h850 where stock rom offers operational FM radio module and app.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] goast:
How is Bluetooth calling working for everybody?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Randomuser666:
Nope, it never had and probably never will. Seems like some drivers are missing.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SuperQvas:
Actually I noticed the problem is bigger than that as my phone doesn't turn off, I try to turn it off but it will restart, if I try a recovery restart, it will boot into android and the Wi-Fi issue.

I flashed a brittish version firmware to the phone but I live in Italy... hope that's nothing to do with the issues.

edit: I flashed the Rom with twrp-3.0.2-0-h850.img
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] goast:
How do calls on Bluetooth work for you? I'm trying to help someone fix the issue on the unofficial linage build for rs988. When I used it they said it was very hard to hear me because of static noise
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
When mine didn't boot into recovery or turn off I flashed the latest bootloader + modem zips and that solved it. Might be worth a try ;)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
I think you quoted the wrong message, I don't use bluetooth calling and I have an H850 /:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] goast:
No, I didn't. I saw that u were a senior member and someone is unofficially building for rs988 so I was trying to see if u experienced the issue. I didn't know whether or not you used BT for that but it was a shot in the dark. The developer is wanting to know if it's a LG g5 wide thing or something he borked in porting to rs988
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
AFAIK Bluetooth calling has never worked properly with any custom rom on the G5, no matter which model. The sound was always way too distorted, making calls impossible.

I don't use BT calling myself so it's of course possible that it's been fixed, but I don't recall reading about it in any rom thread.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
One addition: h830 does have no problems with Bluetooth calling. It has always been h850 with that problem

So if they use the same Bluetooth chip they will probably have the same issue...

Cheers
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] diedmatrix:
Is this going to (finally) solve the missing quick charge support?!

https://review.lineageos.org/#/c/205531/
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
Nope, but probably this:

https://review.lineageos.org/#/c/205297/
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Sorry.. neither work to fix the charging in the g5. However... it is possible and I am working though it with [MENTION=4618911]rfrazier[/MENTION]. I am narrowing down the slow charging issue. We got a successful kernel built that solves it, but need to figure out that changes to merge into Lineage. Close... This might commit might work in conjunction with the changes we're working through.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tavocabe:
Has anyone run into the issue of the mac address going all zeros? Tried the latest two official builds and both had the same problem. I'm flashing them as secondary roms with dualboot patcher along fulmics as my primary rom though
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
A simple search would've told you: https://xdaforums.com/search/thread/3494001?query=MAC all 0

https://xdaforums.com/lg-g5/how-to/guide-fix-wifi-mac-address-changing-t3533841 has the solution (for most people at least). There is an easy and a harder fix in that thread :cool:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tavocabe:
Oh I am well aware of those solutions (I check this forum daily) and I've been waiting for someone who can really come up with a real fix as I tried the first one with no results, (not sure you can apply the "harder fix" as I installed LineageOS as a secondary rom). Sorry I didn't made my point clear. I just wanted to know if this is a specific secondary rom issue or a general G5 LineageOS problem
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
It is neither specific to LOS nor the secondary rom ... it's an issue specific to our device and happens on pretty much all roms, either with the zeros or with the MAC changing to a random new one at every boot.

I'm not even sure what exactly causes it since I never wiped my misc partition and still had the changing MAC, even back on a custom stock rom (and I'm pretty sure back on stock as well). :confused:

I don't know if the "harder fix" would work for you with dual roms, fingers crossed that someone will be able to tell/help you :fingers-crossed:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] brainsaw:
From what I read, the BT garbled problem (eg. with car connection) still isn't fixed.

Just stumbled over this: https://xdaforums.com/lineage/general/kb-article-troubleshooting-bluetooth-t3646969

msm89xx devices are mentioned as well.

I'd love to use my G5 H850 in my car again ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] moe1708:
Hallo guys, pls help me to answer my question, im using G5 H830, now on fullmic, but im planning to use this rom cus i always like the lineage os, and using it on any phone i had bsfore.

My question is:

1.what is not working in this rom, cus i can't really get a clear log of the bug on this rom. Specifically for my device (H830)

2. Is is usable for your daily driver?

Thanks in advance.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jolt151:
The major ones are quick charge doesn't work and Bluetooth calls specifically (not music) are very static-y and hard to hear. Imo as long as you have an extra battery you should be good, and if you don't use Bluetooth calling often.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] moe1708:
Thank you so much, both are not really an issue for me, guess i will try it then. again, thanks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Enjoy: https://review.lineageos.org/206534 Thanks for [MENTION=4618911]rfrazier[/MENTION] for all the test kernel builds to track this down.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jolt151:
So how can we build this and try it out?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
h830 ??? H850?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I'm now running a self-built ROM with that change. LG G5 (H850). You can either follow the build instructions given on Lineage's info page for the h850, or you can wait until next week's ROM is built.

It is a bit difficult to get a consistent measurement of charging rate, as it is dynamic, and changes as temperature and percent charged changes. On my phone it looks like from 1% to 100% in about 90 minutes. The fastest charging is at the very beginning, up to about 3000mA, but most of seems to be at >= 2000mA until about 75% or 80%, then it progressively slows down until at 99% it is charging at around 300mA. However, all the numbers jump around.

I was just a test subject, but I could see just how much work it took [MENTION=2881807]x86cpu[/MENTION] to sort this out, and thank him for it.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] souch13:
Hi all,

I've new to this world and managed to get unlocked bootloader with rooted phone running LOS.

So far everything is looking great but I have 2 bugs that are causing a few issues,

1. Trying to edit quick access toggle functions in the status bar drop down crashes the phone

2. I can't get the camera to work on any app, all I get is a black screen and can only exit by going into app view and swiping it away

3. Flashlight not working

4. When shutting down or restarting the phone, it hangs and doesn't actually shut down. Pressing power button again opens up another dialog and from there the only option is a battery pull

Using LG G5 H850 European on yesterday's nightly build. (2018_02_13)

Any assistance would be great :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I assume that you are using TWRP recovery. Boot into recovery and clear/wipe cache(s). See if that helps.

If you didn't wipe data (for a clean install) when you installed the ROM, you might have to do that as well. But, you will lose all settings, saved accounts, etc.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] souch13:
Thanks for quick reply Bob I will give that a try now.

Rick
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 4ndr0x:
Is NFC fixed in the meanwhile?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] souch13:
Cleared Dalvik & data & internal data including apps and internal memory and all problems previously listed are still present.

Is there a more stable build that is tried and tested that i can flash instead of the nightly? what would you recommend?

Rick
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
The ROM on the lineage site is supposed to be the stable one. The ROM I'm running is the same, except it also includes the most recent merges. I would try wiping data/cache, reinstalling ROM, wiping cache. This, just to make sure it is an absolutely clean install. After that, I'm not sure.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
g5... but unfortunately I missed the builds yesterday so you'll have to wait a week.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] untrue:
Thanks a lot for fixing the slow charge bug, great!

What I really find annoying is the bug/lack of FDE (full disk encryption) capability (BUGBASH 1226, sorry cannot post outside links). It would be totally awesome if someone with the technical capabilities could fix this, it really is a major issue!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Are you willing to run a UNOFFICIAL build? I don't have a g5, but there is a commit pending to see if it might help.

https://review.lineageos.org/#/c/197935
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] diedmatrix:
Many many thanks from me too!

The Encrpytion is also the second most wanted fix i would like to have and i also already wrote it here or somewhere else and what came back was "unnecessary feature beacuse nobody wants it or is missing it" -_-

I still dont get this "argument", but would still love to see this, for me, major security feature in the year 2018, when i was able to encrypt my phone (Galaxy S1 also on Cyanogen) YEARS AGO....

Oh great news too!!

But does that mean this fix will only be available in unoffical builds, or after commit (in a few weeks?) it will be in the official channel for our G5??
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
It's been pending since 12/5/17. No unofficial builds exist. I could build one, but without anyone willing to test and possibly wiping your data, it won't get merged in. If it's there and does not work and ends up wiping the data, it is safer to not allow it to begin with. So no official plans currently (g5/g6/v20 even).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
In the meantime use crazy super kernel v3.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Azul Baseem:
I'll test. I don't use it, personally, but I have an H830 with a cracked screen I could try it on for the sake of progress
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] grlskce:
Hi! Yesterday I flashed Lineage 14.1 13.02.2018. Before I was using stock rom. I have found 3 problems with this rom

1. image persistence/ghosting, burn-in. For example status bar icons, and window title bars leaving after images on my display

2. NFC doesn`t work, in status bar and in options I can`t turn it on, it stays grey

3. I`m using CFV-160 Quick cover case, magnet in this case doesn`t turn on and of display
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] untrue:
Yeah I am a little afraid of wiping my data, but I would do it if no one else would. But if you Azul can do it with a phone you dont use that would be totally great. Thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] waau:
Great job! I managed to fix the autofocus without dumping the whole camera driver and fetching it from stock. This should give you an idea how to fix it on Lineage. (Instead of removing bits of code use ifdefs/elses)

https://github.com/waau/platform_kernel_lithium/commit/8560686ab64ea08b07fad6148be24f579e903754

Offtopic: I'll unlock my kernel thread since I'm done with exams.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I see the adjustments, most do not apply to the g5 as the CONFIG_LGE_CAMERA_DRIVER=y is set, so the "ifndef" gets skipped. There are a couple that might apply, and to the v20 kernel code as well. The g6 was used as the base for all 3, so this most likely has some ifdef/ifndef missing. Fairly trivial to merge/adjust in. I have seen sometimes auto-focus issues on my v20, but not all the time.

LUCEYE is the g6 too.. but the code:

#define VIDIOC_MSM_TCS_CFG \
￼ -	_IOWR('V', BASE_VIDIOC_PRIVATE + 16, struct msm_tcs_cfg_data)
￼ +	_IOWR('V', BASE_VIDIOC_PRIVATE + 15, struct msm_tcs_cfg_data)
￼
￼ #define VIDIOC_MSM_IRIS_CFG \
￼ -	_IOWR('V', BASE_VIDIOC_PRIVATE + 17, struct msm_iris_cfg_data)
￼ +	_IOWR('V', BASE_VIDIOC_PRIVATE + 16, struct msm_iris_cfg_data)
￼ #endif
￼ #endif

Might have some effect, plus some of the include bitmasks....

If you build your own rom, check later this afternoon (EST) I might try to get something in gerrit to test with.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] waau:
Maybe these too:

in include/uapi/media/msmb_camera.h

#define MSM_CAMERA_SUBDEV_EXT 17

#define MSM_CAMERA_SUBDEV_PROXY 18

#define MSM_CAMERA_SUBDEV_TCS 19

#define MSM_CAMERA_SUBDEV_IRIS 20

A quick way to check if the laser autofocus is working would be to point the camera at a mirror. It appears like a faint light in the viewfinder.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Ive noticed image persistence too recently too, but ive been usung crazysuperkernel and others too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I have a v20, so will only be able to test with that. But yeah, I got those, and all 5 files need adjustments. (there could be more, still investigating).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Azul Baseem:
No problemo amigo
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gerax07:
lol right over my head

---------- Post added at 01:24 AM ---------- Previous post was at 01:23 AM ----------

Data is working consistently on the latest h850 build, not on the available h830 build. They haven't yet posted the latest h830 build, which is fixed. Probably a couple more hours.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PrinceLc:
Okay i have the H850

---------- Post added at 08:33 AM ---------- Previous post was at 08:29 AM ----------

Also it means i can flash and i have working mobile data and all is good ????
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] davitox87:
I'm about to flash it as soon as it finishes downloading. I'll report back soon to let you know.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] King_lilrowrow:
Look at our GitHub we have our manifest on there.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] falkenbein:
My data connection sucks on 1109 build
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
1110 build should fix that
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] falkenbein:
Sorry, my pleasure. I'm on 1110
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
It really seems like a hit and miss. Some people it works some it doesn't. I just flashed the latest build and it's fixed for me
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PrinceLc:
Will flash later too and see what happen