yashsingh1/xdaforums huggingface dataset:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] CelicaCharles:
I got the rom to boot by upgrading the firmware to 20r on my H932 but the ROM has no sound. As noted by the post on Joan stock rom it looks like sound will just be an issue with this firmware. Is there a firmware I can flash to still get it to boot on Lineage 16 AND have sound working on my H932?

Edit: Got solution by flashing 20p stock rom instead of 20r and now went back to Lineage and everything is working
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Jkaspar:
Try flashing the US998E as a base rather then the US998G the later ones are known to cause issues.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Just wanted to say thanks for maintaining the V30 with the mainline LineageOS ROM. I've had mine for a few weeks now, running your ROM since the first couple hours of having it in my hands, and I've not yet run into a single issue that's had me unable to fix myself.

The only tiny quirk I've noticed is that sometimes when trying to wake the phone by using the fingerprint reader, it won't respond until I turn the screen on manually.

I'm not sure if maybe the reader is brushing my leg in my pocket (my work pants are pretty thin) and timing out the reader or if it's actually something wrong.

But so far, this ROM is the most stable I've run on a device for as long as I can remember :)

It's not much, but hopefully you can get yourself something for the trouble.

Paypal donation transaction ID 5GW62487DB711111Y
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cmrntnnr:
Make sure that you followed all of the WTF instructions so that you are certain to have disabled encryption. Just follow them step-by-step. Print them if you have to. Once done, reboot. Then flash the US998E stock rom. If you flash F or G versions you will have long boot times and more importantly no sound. It may be more fooproof to flash a zip of the rom rather than a kdz. Flashing a kdz may re-enable ecryption and you don't want that. You can get the zip here:

https://xdaforums.com/lg-v30/development/us998-lg-v30-us998-us99820a040330-kdz-t3786337

You must boot the phone after installing the US998E zip.

Once all of that is out of the way, you are ready to flash LOS, RR, LR or other AOSP roms. Boot into twrp. Wipe the System, Data, cache, and Dalvik partitions and only those. Now flash LOS and then a pie, arm64 gapps package. Reboot the system being patient for it to come up. Good luck, it will work!

This!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
How fast things change! As you probably know, the new H930 OPEN EU 21W now has DTS. ;)

https://xdaforums.com/showpost.php?p=79099052&postcount=108
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Thanks :)

That issue is basically the pocketmode, it disables the sensor while proximity is covered, to prevent accidental reads (that happened all the time to me, thats why i put the pocketmode in the rom). Sometimes its just a bit slow to turn it on again though :/

And there im not sure if its the service which is slow, or if its the kernel driver which is slow.

Im continuing to think of solutions for this.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BlueFlame4:
So you want to have pocketmode enabled to avoid accidental dt2w wakes I guess? If that is the case I am pretty sure there is a setting to exclude the fingerprint from pocket mode somewhere in the framework ;]
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
No, i want pocketmode to avoid accidental fingerprint reads (up to the point it disables the fingerprint sensor and you have to manually unlock the phone again). They happen when my phone is in my pocket, and i kneel down or so.... Tries to read my pants, isnt a recognized "fingerprint", it errors, does that a few times, android says too many failed attempts.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tecknomarc:
Hmm, so i found i was using a non E KDZ file, found the correct one, and LGUP'd that one, and i used the TWRP image included in the WTF walkthrough, still no dice.

Here are my exact steps, let me know if i dun goofed' somewhere

I also changed the order of flashing, including wiping data/system/caches to no avail.

Flash KDZ file US99820e_02_0910.kdz

Boot phone, turn on USB debugging

Reboot bootloader VIA fastboot (ADB reboot bootloader)

Once in bootloader

Fastboot flash recovery TWRP.img > I flashed TWRP-3.2.3-7-default.img

fastboot boot TWRP.img

check to allow mods, swipe

wipe data factory reset

format data

reboot to recovery

flash no-verity-opt-encrypt-6.0.zip ( if I run this on the stock rom, it finds something to stab, if I run it on ASOP rom it says cannot find something to stab, or something like that.)

install LOS/RR

flash GAAPS, Magisk18

wipe a couple times, factory reset, reboot.

And it still hangs ☹

edit - forgot to mention, i flashed a ROM from a Korean - dual SIM version way earlier, however after that i flashed a proper KMZ file and was able to make calls on stock, so i don't assume this has anything to do with that. Just thought i would bring it up.

edit2 - should i format my microSD card to NFTS? its fat as of now, and not sure if that will break anything.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] liushangrong:
I tested it on my US998 without any problems. a good job. Thank you
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] foamerman:
Were you able to make calls and receive calls? and to text and receive text? and one more thing did you have a good signal all the time?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Whiskeyomega:
Ill test to see if it works. I can tell the difference here
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] liushangrong:
Yes, the text messages are very good, the signal is a little better than the stock

I use LTE b3 in China
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] atom_jack:
Booted fine at first, but when I was just about at the part to set my fingerprint it rebooted. It actually rebooted again in the middle of the Lineage animation, but then booted back up and restarted setup, but after awhile it rebooted again.

However, I then remembered what you had posted about exfat, so I removed my microsd card and tried flashing it again, and had no problems, in fact the setup process proceeded much faster, and no reboots!

Also, I copied /vendor/lib64/hw/fingerprint.msm8998.so from the stock de-bloated Oreo rom that I had been running, and replaced the one this rom installed, and now the fingerprint reader works.

One question - is there any way to enable Always on display, like Stock has?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Whiskeyomega:
DAC can work. It doesnt by default but it just needs something to switch it on. There is a app for "DAC Fix for LG V10" which does switch it on but then my audio player (UAPP) doesnt seem to be able to use it on DSD files when the app switches it on but other music apps should use it fine.. I couldnt go back to find out more since I was just getting bootloops on restart. My Mixer sound mods will work with it though if you want more volume.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Who-Lep:
How long did it take to boot up? Mine seems stay on bootanimation waited for 10 minutes. I did clean install, pico gapps, magisk 16.4. I dont see any errors when flashing any files. Went from H931 to us998 model.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] zer0ality:
The DAC Fix for LG V10 works? That's great news if it does. Why does UAPP not use it (to its full potential) though? I'm on the current build of UAPP and I'm pretty sure it's the only 3rd party app to take full advantage of the DAC , can output bit perfect and even supports mqa now which only the stock player was capable of for many months.

I have checked your mods out ( who hasn't at this point) and more volume is always nice as I'm using the Poweramp 790 for a "poppy" "louder" sound(Open SL has too many limitations and UAPP overrides it) so would be fun to see how much higher they crank it up but UAPP complements my reference IEMS and I don't think we can sign the stock V30 Music app (****ty UI ,but it works) to make it run on ROMs.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Whiskeyomega:
Uapp's MQA has to be see a specific device route in order to work. You can disable the MQA flag and it will work with DSD other then that it should work fine with other files.

Annoyingly the hifi dac headphone jack info app doesn't work on LOS so the only way to know you're running in high impedance mode is to use my mods. Im also not a fan of the volume slider as it's way too jumpy in its default state and needs more precise steps.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] vuoshino:
I aleady tried to do it and the phone made a wipe without restart to twrp
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Yeah... sometimes (for some reason not always lol) exfat can cause these problems O.o

Didnt figure out why though... for me a (freshly formatted) usb stick via OTG worked fine when formatted in Exfat. As soon as I then plugged in my sdcard, it started to go down xD

Weird thing though: on that day it worked fine already before, on the same build.....

and btw, the fingerprint file in LOS is already the one from Oreo, so basically you replaced it with the same... Or did you mean you replaced it with the one from an oreo rom for nougat firmware?

Usually takes around 12 "cycles" of the bootanimation on first boot? and every other boot 3 or 4 "cycles". If i make an engineering build (adb insecure, on during boot and so), can you provide me some logs?

Ohh, and just to make sure... you did a clean flash right? Saw someone already being on a bootloop after he just flashed LOS other a stock rom without wiping data.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] zer0ality:
The mods are a good workaround tbh . Least you get cleaner OS and soon at that and I doubt people use the cine mode or other video features.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Who-Lep:
Okay, thanks. Yes, clean flash. Wiped data and everything excluding in/ex storage. Do i need to format data/partitions as well?

I am not sure to to pull logs during the bootanimation. Ill have to investigate that.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Wiping data is enough.

Pulling logs during bootanimation requires a special build (engineering build, i can make one) though, but basically works the same way as a normal log

Plug your phone to you PC, and from terminal/command line (in the right folder) write:

adb logcat -b all -b kernel > h931_boot.log

(i adjusted the name so i know of what the log is ^^)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] kavabunga6:
This rom not working on H930DS?

I flashed it, but the modem does not work absolutely :(

The system does not show any information on it

Thx!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Who-Lep:
Cool, thanks. I will be able to do this after work later tonight.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Known problem :/

Got a log of it already though, will try to fix that in future, but have to fix a few other things first that are left here.

Then i suppose i can work on adding more models.

Btw, if you use the stock (european) h930 kdz/rom, do you have both sims available then? or just 1?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] kavabunga6:
Yes, both.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Who-Lep:
Okay, I am trying to pull the log now, but it saying " -waiting for device - " and the log is an empty txt file. I have tried rebooting and still the same results. I am on twrp 3.2.1-0.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
As i said, needs a special build, that from earlier is a normal userdebug build ?

Gonna make one later today when youre still ok with testing
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cmrntnnr:
It looks like encryption is disabled. Did you also flash root check disabler?

I am not familiar with LGUP but do know that it has several options. Perhaps there are some leftovers from the korean ds firmware getting in the way. Any reason that you didn't flash the US998-20E zip?

Another possibility is that an sdcard, if you have one installed, is causing problems. That has been reported in the past. Remove it and try booting.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tecknomarc:
Ugh, i really hope not. I thought re-KDZ'ing would fix that issue because IIRC that is supposed to blow out every part of the phone

currently booting now with fresh reflash minus SD card.

I do not flash the root check disabler, as it is stated it can slow things down.

I thought US99820e_02_0910.kdz is US998-20E? will double check that now.

Edit - Flashed US998_20E.zip as well, and ran into the same problems

Removed SD card, still did not work as well, going to convert SD card to NTFS as next step and try again.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cmrntnnr:
I am baffled and out of ideas. It should work.

Hopefully, someone else is reading and steps in with a fresh view.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tecknomarc:
Same, I have pretty much given up at this point. Thanks for your ideas though, i think its safe to say i have tried everything.

if anyone wants to take a crack at fixing this i will pay for back and forth shipping.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] beddy:
I'm not getting any audio being recorded when I use GCam to shoot video.

Is this a problem with this ROM or is it GCam related?

I've tried a couple of different GCams, but none of them recorded the audio, but it works fine when I use the Lineage camera.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Send log, there was such an issue before, but that was resolved... maybe a new issue appeared.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Stuckurface:
Does anybody get random reboots? I flashed the latest update a couple weeks ago and my phone seems to randomly restart 3-4 times a day (24 hours). I've only actually seen it do it once. The screen rapidly closes/fades to a red line in the center, then shuts off completely. Could this be a hardware/kernel issue? I bought the phone lightly used last fall and haven't updated the kernel since flashing lineage 15 the week I got it.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
It could be a hardware issue, can't say I've had that happen to me.

If all you're using is the kernel built-in to the ROM, you'll be using the latest one as of the version you're running.

Since there's been no reports of anyone else having that issue on the latest version, that does seem to point to a hardware issue.

You could try doing a full TWRP backup and then clean-flashing and see if it still happens. If it doesn't, then you can restore your backup and you know it's something you've got installed causing it.

If it does keep happening, then it's probably a hardware fault.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Stuckurface:
I was going to try that, but TWRP backup fails every time (this happened before the update). I couldn't attach the file to this post, I'll reply with it. Here is an excerpt of the error :

* Digest created.

I:Partition Backup time: 152

Backing up System Image...

I:Reading '/dev/block/sda22', writing '/external_sd/TWRP/BACKUPS/LGUS9985d2c191b/2019-03-15--06-11-34_lineage_h930-userdebug_9_PQ2A190205001_engm/system_image.emmc.win'

I:TWFunc::Set_Brightness: Setting brightness control to 67

Truncating string cache entries.

Truncating string cache entries.

Truncating string cache entries.

Truncating string cache entries.

I:TWFunc::Set_Brightness: Setting brightness control to 5

I:TWFunc::Set_Brightness: Setting brightness control to 0

I:Error writing destination fd (No such file or directory)

Backup Failed. Cleaning Backup Folder.

I:Copying file /tmp/recovery.log to /external_sd/TWRP/BACKUPS/LGUS9985d2c191b/2019-03-15--06-11-34_lineage_h930-userdebug_9_PQ2A190205001_engm/recovery.log
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Stuckurface:
I've attached the log here
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] beddy:
Sorry for the stupid question, but how do I attach the log file?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] V30-H932S:
I'm using an LG V30-H932S, GSM unlocked.

I unlocked the bootloader and flashed twrp using lafsploit 1.5:

https://xdaforums.com/lg-v30/how-to/root-h932-lafploit-1-5-to-v20a-t3842550

I then flashed in this order:

1. lineage-16.0-20190213-UNOFFICIAL-h932.zip

2. Magisk v18.1

3. open_gapps pico

Then I wipe the cache/dalvik, and reboot the system.

After the reboot I experience a bootloop that I left upto 3 hours, with no sign of booting. Just the lineageos boot animation repeating.

Then I factory reset the phone, booted into TWRP. Then formatted the storage, and tried the process again--this time dirty flashing over:

H932 LINEAGE OS 15.1-20180927

15.1 boots, but after flashing 16 over--the same bootloop issue occurs.

I then flashed older versions of LOS 16 and only these 2 versions boot:

lineage-16.0-20181206-UNOFFICIAL-h932.zip

lineage-16.0-20181208-UNOFFICIAL-h932.zip

Flashing any version after, results in the bootlooping issue.

Also for LOS 15.1:

lineage-15.1-20180927-UNOFFICIAL-h932.zip - Boots

trebleized-lineage-15.1-20180928-UNOFFICIAL-h932.zip - Bootloops

Even for the versions of LOS 15.1 & 16; that do boot, there are issues:

FINGERPRINT NOT DETECTED

AFTER ENCRYPTION, TWRP CANNOT BE DECRYPTED WITH PASSWORD

NETFLIX ERROR 1101

SPEAKER IS VERY QUIET

VIBRATION IS WEAK / NOTIFICATIONS ARE NOT PUSHED

I have tried various ROMS, here are the ones with a bootloop issue:

LiquidRemix 10.0

Havoc-OS 9.0

DOT OS 9.0

Ones without, but with the same issues with working LOS versions:

Ressurection Remix 8.1

The issue with TWRP not accepting the OS password for decrypting, was also present with LOS 15.1 on an LG V20 unlocked with LAFSPLOIT.

Any help will be much appreciated.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BlueFlame4:
Write it to internal SDCard and upload it here.

If you don't know how to write a file to a location in a Linux environment, just use Catlog app. It should offer that feature too.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] beddy:
I've got the log file, but I can't see the option to upload it to here.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BlueFlame4:
Reply, upload as attachment, post answer, done ;)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] arghargh:
I have the same problem here like in another Pie rom: I can't use voice control in Google Assistant (microphone can't be opened) and when I'm trying to make a call, system ui crashes. I did a clean flash and tried different gapps.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tecknomarc:
[MENTION=9799463]V30-H932S[/MENTION] I have had the exact same issues as you coming from a VS996 trying to get this rom to work.

Tried firmware

US99820a_04_0330.kdz

US99820e_02_0910.kdz

Bootloader unlock went fine, however having the same issues you are with bootlooping.

I tried getting 15.1 working as you did, and experienced the ‘Updater process ended with ERROR: 7’

Opened the 15.1 rom >META-INF\com\google\android\updater-script

And ripped out the following as a potential fix to the Error:7 issue to no avail

assert(getprop("ro.product.device") == "v30" || getprop("ro.build.product") == "v30" ||

getprop("ro.product.device") == "joan" || getprop("ro.build.product") == "joan" ||

getprop("ro.product.device") == "h930" || getprop("ro.build.product") == "h930" || abort("E3004: This package is for device: v30,joan,h930; this device is " + getprop("ro.product.device") + "."););

Sucks you cant get it working, but I’m glad I am not the only one with this error, as most likely it was not something I did!

Going to mess around with this a bit more today.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Mejilan:
Hey folks. My phone is a legit, unlocked LG V30 US998 purchased new from B&H running stock US99820d (July 1, 2018 security update), rooted with the newest stable Magisk (18.1, I believe) and what I'm fairly sure is the newest TWRP for this phone (as I just updated TWRP last week). Do I need to upgrade or downgrade stock before switching to LOS, or am I good to go? I understand that there are some audio issues if we upgrade to a stock fw that's too new, or some such. I have yet to flash any custom ROMs on this phone (honestly a first for me, as I usually root and switch to a custom ROM ASAP on any new phone I get). But I'm feeling a bit bored by stock and I've never tried Lineage before, and am curious. It's in no way a Frankenphone, though I'm pretty sure I used some form of the WTF exploit to unlock the bootloader and install TWRP. This was long ago, though. (Probably around July of 2018).

Basically, I just want to know if I can factory reset the phone as-is and clean flash the newest LOS build without taking any further preliminary steps? (I'd do a backup of the current set-up in TWRP first, of course).

Also, what's the recommended GAPPs for LOS?

Thanks in advance!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] NadavCE:
Lineage have a strict set of requirements for official build that basically boils down to (as I understand it):

All hardware features supported by stock OS must be fully functional*

SELinux must be enforcing

Builds must be reproducible from source.

* With an exception for features that require access to proprietary code; for example, Samsung devices don't support hardware encryption because of Knox.

According to the first post at least, everything seems to be fully functional - major props to [MENTION=3475147]SGCMarkus[/MENTION] and all other contributorsfor this, by the way. Last time I visited this thread, there were some bugs (like the vibration motor not working properly) - not to mention it was running Oreo instead of Nougat! Now, even SELinux is working properly, so it's pretty much up to fixing the pocketmode issue now (although I think it's relatively minor, and should not impact official status):

Although I'm sure any of the devs can give a better answer than mine :)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Good points, but it's also worth noting that VoLTE doesn't work (at least on my H930DS on this ROM), not that it's an issue to me personally but to LineageOS, I believe it is.

I agree that minor "issue" shouldn't be something that stops a build going to official status, but that's also something that's up to SGCMarkus, and when he feels his ROM is ready.

It'd be nice to have a member of the LG family newer than the G3 with official status on LineageOS, though.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] NadavCE:
About VoLTE - it's not a hard requirement, as some devices have implementations that are difficult to implement in LineageOS; again, the S9 comes up - all of Samsung's IMS services such as VoLTE, VoWifi etc. are proprietary. It all depends on LG's implementation, and how easy it is to port over.

Agreed on both other points, though :)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
You could say... LGs IMS services are also proprietary... theoretically, with loooots of work, could be reverse engineered... but nobody did that for any LG device yet ?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] NadavCE:
Ah well. In that case, seems like the ROM is feature complete :) Unless you want to properly implement pocket mode before getting it official?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
rashed once told me, i should him on discord, to talk about going official... well, didnt get an answer, afterwards exam time came, and then i forgot about it xD
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] NadavCE:
Haha, yeah exam time tends to do that ;). In any case, it seems going official is a simple process - contact devrel@lineageos.org with links to your source, and (I assume) say who the maintainers are.