yashsingh1/xdaforums huggingface dataset:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] AsItLies:
I tried this rom today but bootlooped at startup? Any guesses anyone?

It's a us998(us cellular)->frankensteined->(unlocked)->us99820g

Wiped everything (except sdcard and otg), formatted data, flashed rom and gapps... Boot looped for almost 10mins, stopped it then.

Then tried the AEX AOSP rom... same result.

Is it possible the TWRP I have won't work with these roms? it's the 3.2.3.7 default image. I see on the dnloads page for the rom a different twrp, do I have to use that one?

Thanks any input, at a loss at the mo...
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Your TWRP is fine.

Try dirty flashing back to US998 20E TWRP flashable zip, wipe caches, reboot. Then boot back to TWRP and try to flash this ROM.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] AsItLies:
Tried that Matt, same result. Bewildering.

Starting to wonder if the device is what they said it was? I checked imei of course (us cellular). I suppose that all could be spoofed. Seems most have gotten theirs to work... will have to read through all the posts, see if I spot anything.

cheers
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] elhennig:
I asked the following question some time ago and so far I did not get any answer:

When I switch to another user account and back to the master account the touch screen stops working and only a reboot is able to fix that.

Can someone verify this and give me feedback? It would be good to have a solution for this.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] kherio:
I have just tested on LR. I created a user for my son and when I switch back to my account everything works fine.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] elhennig:
Thanks for checking. I use the LR at the moment and for me the problem still exists.

Do you use finger prints to secure the accounts? What is the additional security you use on the lock screen?

EDIT: I just found out that the Double Touch to wake still works but the ui still does not take any touch screen events.

Also, the power button still works (as well as the finger print sensor) but the vol buttons do not work.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Mejilan:
Sorry for quoting myself, but I think this got missed because it was the final post of the previous page.

Again, thanks in advance.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
The answer should be yes, on your current firmware your should be able to wipe in TWRP and install the ROM.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Mejilan:
Thank you. And I won't be missing anything, like DTS audio or whatever?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
You will not have DTS 3D Stereo which is now on most current stock firmware, but is not on any custom ROMs.

You only asked about installing this Lineage ROM.

If you have questions about DTS 3D Stereo you can ask in the relevant stock firmware KDZ thread. In your case, that would be the US998 Oreo KDZ thread.

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Mejilan:
Got it. As always, your to-the-point responses are most appreciated.

I think I'd rather play around with Pie than Oreo, at this point. DTS be-damned.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
[MENTION=3475147]SGCMarkus[/MENTION] just wanted to let you know that if you need a tester for any upcoming builds or changes, feel free to hit me up!

Just like it was on day one, my setup is stable and solid, and I'm comfortable after testing it and TWRP that I can run experimental things/changes with the proper procedures.

I check your github source links in the OP a few times a week, and I haven't seen any changes yet for upcoming builds, but I've got experience with Git and building kernels from my not-so-long-ago V20 days, so if I think I'm able to fix something I'm happy to be pointed in the right direction (if the source links in the OP aren't the direction I should be going in, or if you use a Gerrit instead of Github repo) :p

I've also got a spare SSD in my system sitting there doing nothing, so I might look into cloning everything and building your ROM myself to have a play around with (again, just need to be pointed in the right direction to do things).

I'm unsure if (as was with the modem on my H990DS V20) you have anything local like flags or things that can't be done by something like Lineage's build robot automatically (if your builds were to go official), so I was unable to get a functioning build of LOS 15.1 going myself, as the maintainer had local changes he couldn't replicate easily for others.

But yeah, just putting it out there if you ever need a hand :cowboy:

Thanks again for the rock solid and blazing fast ROM :D
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Got a few local changes going on, also hoping for march security patch of vendor files (otherwise would need to change 21x (no dts) to 21w (dts) with both jan. security patch) ^^

Other than that been busy with uni, but also a bit lazy lately ?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] elhennig:
Today I found more time to analyze and test this: It seems that LMT launcher with the permission set to display above other apps caused the problem with pie )it worked with oreo, though).
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Just wanted to let you know, it looks like the March/April(?) patch is available.

US998 20h got a new update. This looks to be (from what I can see at least) the newest available version, possibly with the March patch?

Edit: Looks like it is. It has a download link for the KDZ in the linked post, but in case you just want a direct mirror

seadersn has a 20e fw zip flashable with the February 2019 security patch. Not quite March, but closer than January :P
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Thanks, but cant use US998 blobs, sadly :/

H930 or V300 are the only ones working to my knowledge ?

H930/V300 works on every model except h932, while the us998 stuff only works on the us models (excluding h932) to my knowledge.

Waiting for april security patch of LOS now, then gonna update, have a lot in the pipeline by now :)

(24bit audio, more dac controls, working audio on ho30 21w, us998 20f/g and so thanks to new blobs, switched back to hmp...)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Oh wow, damn. Will do my best to remember r.e the H930/V300, my bad.

Glad to hear you're chugging along okay! If you ever need something tested or a hand, don't hesitate to reach out to me :)

:victory:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I for one can't wait for these BT changes to be in LOS 16.x.

https://www.reddit.com/r/LineageOS/comments/b7ry41/the_next_weekly_of_151_brings_better_bluetooth/
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Hujkis:
I'm having trouble with the screen turning on while on call.

This leads to my cheek pressing random stuff like mute, end call, etc.

Tried pressing button at the start of the call, screen goes dark, but wake again soon.

Any ideas?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] yobakolobok:
Hello, guys.

Has there been any news on getting stock LG camera working on Lineage? Double tap and soundgoodizer would be nice too, but I could live without them as long as I have a stock camera. Gcam is only good for quick shots and OpenCamera is awfully slow, so stock (which is surprisingly agile for a stock app) was only option for me on official firmware.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Nope. Thank proprietary code.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] yobakolobok:
Allright, guess I'll wait for 9.0 stock then.

But how much of it is actually LG-dependent? OpenCamera has all of its features, most of its slowness comes from device-universal defaults anyway, like compiling HDR pictures from processed JPEGs instead of doing it with RAWs and so on. HAL is there for gcam, all camera devices are detecting correctly on AOSP, what else does lg camera needs, aside from "smart" "ai" bloatware dependencies?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
All of it is proprietary code as far as I'm aware.

Any of the LG apps that ship with your phone stock, that I'm aware of, need a stock OS to work. The notable V20 dev x86cpu has said that it's very hard to interface with LGs code because of how it's written, and is therefore hard to rewrite.

Your best bet honestly is cstark27's GCam mod. I use 4.2t3 and it's rock solid, the only thing it misses is Night Sight, which is available in an experimental form in newer versions.

HDR+ processing on it is fast, and I use processed JPEGs.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] yobakolobok:
Just as gcam, if I'm not wrong, but it's ported everywhere. Saw a g5 and even v20 camera ports to g4 so I guessed it won't be so hardcoded.

I've searched in this thread a bit, and mentioned wide-angle-gcam seems to be just regular gcam where "main" camera is linked to wide-angle one, at least that's what I've found long ago so now I'm having both "regular" and "wide" gcam apps installed in order to be able to use both cameras. Would be much more reasonable to link wide camera to "selfie" slot, since they even both have fixed focus, pretty sure instagram users are using stock anyways, hope someone'll implement a proper device enumeration in the future.

Well, gcam has its own hdr routine, and from what I've heard it relies heavily on being trusted system app and working with RAW data straight from the matrix, even if it produces JPEGs as a result, said JPEG is created as a very last step. Current algorithm of OpenCamera has to support devices without CameraAPI 2 aka HAL (which gives you access to RAW images) and has to call a shot, wait till it's converted to JPEG by a high-level API, call another shot, wait another JPEG, repeat that 5-10 times, convert all JPEGs back to RAW in its own sandbox, do the HDR work and then compress back to JPEG... Working with RAWs is much faster since you have only one compression operation in the chain and don't need to wait the file to be written on SSD. I know a guy who works on a fork which uses RAWs, but that takes time.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I used to have this problem with some earlier versions, but using 4.2t3 works with both the wide and regular camera, as well as the selfie.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Darkchaser:
I could be wrong but I've tested this and another Pie ROM, seems to be a very common issue that hasn't been solved. It's pretty annoying but I'm living with it cos I don't wanna go back to stock LG

Would love to know if there are any real solutions..
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
[MENTION=3475147]SGCMarkus[/MENTION] just a question from a prospective builder, when a ROM builder says "updated sources" with a new build, does that generally mean things that are present on every build of LineageOS no matter the device that uses that repo?

For example, if any ROM builder 'updates their sources' does it automatically update things from repos such as android_build, etc. as long as they're on the relevant branch (e.g. lineage-16.0)?

Within a week or two, I'll be taking possession of a rack-server with quite a lot of horsepower (2x 12-thread core Xeon, 144GB of RAM) and one of the things I plan to use it for is messing around with building my own ROM, since I've done the same with various V20 kernels. I know about Git and such but that's about as far as my knowledge of ROM development goes.

Feel free to point me in the right direction specifically. I was browsing /r/LineageOS and the Gerrit trying to get an idea for how things work, and I'd be happy to even learn how to straight clone a copy of a ROM and attempt merging something like the April 2019 security update which is live on the Gerrit, as a kind of experiment.

I'm fairly sure I could straight clone everything I need to build a ROM and then build it, but I've no idea how merging works.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Yep, thats about it :)

"Just" a repo sync

gonna sync and build new lineage now, just waited the past week for them to merge april security patch.

Got a few little goodies by now, some are still slightly buggy though (DAC Control stuff) which needs more testing and telling explicitly how to reproduce errors.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] yobakolobok:
Worked nicely, thank you. Also, I've found out that this build has pretty decent stock camera app, but I can't find the menu to use the wide-angle camera, is it supported at all?

On unrelated note, do I install magisk from TWRP, or this build has the toggle switch somewhere?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Flash Magisk through TWRP (I recommend version 19), boot into the OS and install the latest Magisk Manager app. Open it and it should pick it up :)

I've not used the stock camera app built-in to the ROM, no need to since GCam has a convenient switch cameras option on the side-menu.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] yobakolobok:
Dug up v18 somewhere on sdcard, seemed to update itself without errors.

Yeah, but fixed focus is a must-have in the dark, and gcam just jumps from one light source to another (like any app with auto-focus, sadly), not to mention how much more convenient switching was on stock. I guess I'll wait for an update and use wide-angle on gcam, it's matrix is useless in the dark anyway. Thanks for the tips!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Yeah, all you can really do is try the many different updated versions, it's worth searching the cstark27 GCam thread for your model (in this case "V30) and seeing if anyone else has a good working one.

There's many versions out there, and camera isn't the most important to me, so I stick with what works.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Finally... Its here, sorry its been a while

Release 08.04.2019

- Updated sources (april security patch, los changes)

- Updated vendor files (h930 21w)

- 24 bit audio support

- Lots of DAC stuff

- Back to HMP for better battery life

- Speaker is a bit louder

- Other things i forgot

There are also no known Audio issues on H930 21w or US998F/G (or anything else with the DTS patches) :)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Thanks a ton for the new build! <3

Happy to report that just like the previous version when I first got my V30+, this one has no issues on first glance.

The flash went okay, boot went okay, everything works as it was with the previous build.

Looking forward to seeing how much the HMP change will squeeze out more battery life. Will let you know if I find anything.

Thanks again :highfive:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Jkaspar:
No audio issues after flashing 20G before installing the latest. There seems to be an issue where the phone isn't going into deep sleep.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
It sometimes does, and sometimes doesnt... which kinda makes it terrible to debug :/
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] wonarges:
Hi ! The lineage-16.0 compare with LG V30 VS996 verizon version ?

Thank you!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Maindroid:
Always On Display remains black after flashing.

Only when receiving message the display shows AOD screen
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Yeah, known issue, dont know why though :/

PS: why do i always find fixes AFTER i published a new version? I kinda found the reason why it wasnt smooth, now it is (added a few files and props)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
[MENTION=3475147]SGCMarkus[/MENTION],

Did the DAC off/on switch ever get reversed back to normal? It was an issue in several AOSP/Lineage ROMs a few months ago, and I assumed it got fixed... But recently I saw it mentioned a couple of times again in other threads. I know you have no control over other maintainers, but it's fixed in your tree?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Can confirm it deep slept last night, less than 1% battery drain on WiFi.

I mean. I'll take another build if you've got one :laugh:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Jkaspar:
A couple of restarts appears to have fixed the issue. Temporarily at least
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
Lol. Glad that you found the reason!

Better late than never :P

Thanks for the update btw.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
[MENTION=3475147]SGCMarkus[/MENTION]

I'm all of a sudden getting an issue where pressing the lock button on the home screen hard locks my phone, and after about 15 seconds it just force restarts.

Any log specifically you'd like me to grab if I'm able to reproduce it?

Edit: Does the same thing if you boot with it charging when it gets to the lockscreen.

Edit 2: Does the same thing whether it's fingerprint or putting in a PIN. Is now happening on unlocks as well.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] mattgyver:
Best bet is it to get ALL the logs. Wow, and I was just about to download the latest version.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
[MENTION=3475147]SGCMarkus[/MENTION]

Logs here:

https://drive.google.com/open?id=1MuNCN0kzaobnz_KUznpKYNhehUthH6uy

Looking at the dmesg log, scrolling up from the bottom around line 3800 or so, I can see exceptions occuring, but hopefully there's something in there to help you pin it down.

Logs were taken as early as I could export them from the app I use (SysLog) after the phone restarted into the OS.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
what you mean by "reversed back to normal"?

Thx, will look at that when i get back home

I also experienced some very very random reboots (like one every few days). pstore was always empty afterwards, so either no kernel crash or pstore in kernel is bugged... :/

PS: thx for the money whoever it is from ?

Appreciate it
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Redline:
I haven't got PStore logs turned on in SysLog, but I'll turn it on for the next set of logs I get.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
DAC volume

Some people were reporting that when they Turn on DAC the sound volume gets reduced and when you turn DAC off then the volume gets increased. They also said it's the other way around on stock lg ROM.

Cheers!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] swayjd:
Thanks for the new release, i've been refreshing the page more frequently than I'd like to admit.

I believe no one has mentioned it yet;

Auto brightness seems too bright.

I believe we've already seen this in a previous release.

Is there something I can do to change the reference value?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
Just tried turning DAC on/off on latest havoc rom. It's working as it should. As havoc is based on LOS by Markus so that probably means it's fixed on LOS as well.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Someone else disagrees about latest Havoc:

https://xdaforums.com/showpost.php?p=79297951&postcount=243

"And also, it seems that the DAC is still inverted."

I don't know. I'm just asking because it was a problem a few months ago with some ROMs, then I saw recent reports again.

It was a "known" issue on those ROMs the DAC off/on switch was reversed, inverted, whatever you want to call it. Since it affected now than one ROM, the code must be coming from some shared source.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] TPMJB:
On the latest Havoc, turning on DAC reduces volume, but then I crank the amplifier up and it's the same. I'm not really keen on determining if my sound quality has increased, though. Wouldn't know what to check
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Vice83:
Still on the Feb version, my biggest issue is Deep Sleep not working. Sometimes it burns through 15% battery overnight, but other times when deep sleep works I can get almost 6 hours of Srcreen On Time. \

However! I noticed that restarting the phone fixes it temporarily. Then when you use the phone for a while, the Deep Sleep bug returns. Very strange behaviour!

Also - any harm in using the LKT Magisk module ("Battery" saving option) with the HMP change in this latest version? Or should I just wait for an update for this locking bug first?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ijan1:
I bought an LG V30 today, secondhand it was a H931 frankensteined to US998 not by me, and so I decided to install a custom rom to improve my experience. I followed the XDA thread instructions on how to unlock the bootloader and the same thread to install TWRP. After that I used my PC to get into bootloader/TWRP to install LineageOS+gapps(9.0/stock). I made a backup of my os, wiped and then flashed the 2 roms and rebooted. However once the boot time passed the 1 hour mark I knew something was up. I tried turning it off, doing stuff, nada. After a bit of reading on the net I managed to bring up TWRP again on my phone however there's nothing on it. I'm now wondering how to get a working os/rom/whatever on it to unbrick it. Please help!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
Hmm interesting. I forgot to mention I have some magisk modules installed that were suggested on the telegram v30 group. Maybe magisk mods helped in my case.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
If you have TWRP, drag over TWRP-flashable zip for US998 20G from link below. And Magisk. Flash both. Reboot.

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

That should get you back to working phone.

_______

AFTER THAT...

For former H931/H933 there's lots more steps you need to do to prepare them for AOSP/Lineage custom ROMs. See guide here:

https://xdaforums.com/lg-v30/how-to/running-h930-aosp-rom-us998-converted-t3889320
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ijan1:
Thanks a lot, I managed to restore my phone back to stock OS. However I think I'm gonna wait a day or two to clear my head before attempting to reinstall Lineage. And right now for some reason videos stutter a lot and no audio plays, if you have any suggestions for that.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Don't ask why, but go back to the US998 thread...

* install 20E, flash Magisk, reboot,

* flash 20F, flash Magisk, reboot

* flash 20G, flash Magisk, reboot.

There was a lot of audio changes from 20B to 20G and I don't know what version US998 firmware you were on prior to flashing Lineage.

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ijan1:
Thanks a lot once again, I guess I'm going to fix the audio tomorrow since the downloads are taking a while and it's already getting quite late. Thank you for your time today!:good:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
After you flash those and get your audio straightened out -- until you get everything prepped for custom ROMs -- feel free to flash this Magisk module:

https://xdaforums.com/lg-v30/themes/anxiousv30-magisk-mod-t3865146

Gives you dual speaker mode, HIM, improved camera, a lot of other stuff. It's only for North American variants on rooted stock firmware.