yashsingh1/xdaforums huggingface dataset:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Depends on HOW you jump to Oreo 20h.

__________

METHOD #1 - LEAST POPULAR, BUT LEAST DOWNLOADS

IF you bootloader unlock on 20b (Section 5 of WTF Instructions), and IMMEDIATELY then flash KDZ to 20h (Refurbish mode) via Dev Patched LGUP, your bootloader will remain unlocked and you can then go back into ADB/fastboot and do the WTF Section 6 steps to install TWRP, the three necessary root files, root, etc. However, you will not have the excellent DTS 3D Surround Sound Stereo feature by just flashing the 20h KDZ -- so you will either have to manually install that yourself or then flash the US98 20h TWRP-flashable zip OVER the 20h KDZ after you install TWRP, etc.

1) unlock bootloader on 20b, using Section 5 of WTF Instructions

2) use Dev Patched LGUP to flash full image 20h KDZ

3) Go back into ADB/fastboot and complete WTF Section 6 (TWRP, 3 root files, blah, blah, blah). You have TWRP and are now rooted on US998 20h full image KDZ.

4) To enable DTS 3D Surround Sound Stereo feature, then flash the 20h TWRP-flashable zip + Magisk over your 20h KDZ or do build prop edits to enable DTS 3D stero. The dev automatically enables DTS 3D stereo in all his TWRP-flashable zips built on KDZ after DTS 3D libs became available (US998 20f and newer).

___________

METHOD #2 - MOST POPULAR, BUT MOST DOWNLOADS

The OTHER way, most people do is:

1) Unlock bootloader on 20a/20b using Section 5 of WTF Instructions, in ADB/fastboot.

2) Then -- while still in ADB/fastboot -- go on to next Section 6 WTF Instructions, install TWRP, three root files, blah, blah, blah

3) Flash TWRP flashable zips 20e, 20f, 20g, 20h successively, stacked all back-to-back + Magisk. Reboot.

You have to do this because there's too many changes (especially 20f audio configurations and other fixes, camera features) to jump straight from early Oreo 20a/20b to last Oreo 20h just with one TWRP-flashable zip. Later, with Pie TWRP-flashable zips this isn't a factor. But back then these zips were being built differently. They were built with the expectation you would be regularly updating as each release came along. Like reading a book. With Oreo TWRP-flashable zips, you can't jump from chapter 1 KDZ to chapter 13 TWRP-flashable zip. 20e gives a good baseline, then 20f, 20g, 20f TWRP-flashable zips give you are fixes and features. Skipping those will cause problems.

___________

The main issue with Method #1 is jumping in and out of ADB/fastboot TWICE. IF people have problems, it's in that area. So, once people are IN ADB/fastboot, normally it's better to COMPLETE EVERYTHING (bootloader unlock, install TWRP) so you never need to go there again. :)

If you do that, you can just install the Pie TWRP flashable zip + Magisk + AnyKernel 3 RCTD Remover. Be sure to read the Pie installation instructions.

https://xdaforums.com/showpost.php?p=79971591&postcount=2
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SoftSynth:
ATT H931 migration to US998 OREO

I'm planning on flashing from H93120H OREO to US99820H OREO, and just wanted to see what the proper method is. Searches didn't pull up this change. I used the Frankenstein and WTF methods to unlock and root (H93120A-H) the phone, but random freezes and reboots got worse, and then ATT tried to update it, so now every reboot will start the update process and reboot to install it which gets stopped when TWRP comes up. I avoid that by racing to kill the 2 Software Update apps after reboot, but I can't take any of that anymore. I'm hoping US998 will be more stable.

Can I just use TWRP to flash US99820H OREO, or do I need to use Frankenstein or something else to get there? And am I correct the US998 OREO might be more stable, or is there another alternative. Thanks.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
You can freeze the AT&T OTA updater file, I believe.

But yes, you can also flash back to US998 firmware. If you do it via TWRP flashable zip, flash all four US998 20e, 20f, 20g, 20h all back-to-back in TWRP, then Magisk 18.x and reboot. (See post #1 for instructions on flashing the TWRP flashable zips.)

You should probably do a clean install.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SamOntario:
I bought LG V30 US998 on eBay. I am on nougat 7.1.2, have installed LG USB drivers, downloaded Oreo 20h and installed LGUP Dual from this thread. After I put my US998 into download mode and run the LGUPD, it show LS998 firmware 10a to flash my US99810d. Then I hesitated to go further as it will probally become LS998 instead of US99820H.

Question: Do I flash to LS998 10 a in order for next step to flash US998 20h?

I would like to stay on stock firmwares at the moment.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
It doesn't show what you think it shows. There's no LS998 KDZ you can flash. It's probably showing what it THINKS the phone is right now.

Check your "About Phone" in Settings and confirm it is indeed on US998 Nougat. I don't care the "7.x" stuff -- tell us is it US998 10c, 10d, what?

If it's on any US998 10- something, you can go ahead and flash US998 20h in Refurbish mode with Dev Patched LGUP.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SamOntario:
Thanks for the reply. The phone Hardware info shows LG-US998, Software info Version US99810d. Build no N2G47H.

Pls advise. Thanks again.

---------- Post added at 11:59 AM ---------- Previous post was at 11:47 AM ----------

I go ahead and tried to flash Oreo20h, but it said LS99810a is invalid. Is the the dll file in LGUPD only has LS99810a instead of US99810a?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Make sure you have installed Dev Patched LGUP correctly.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SamOntario:
I downloaded US998 dll files from the 1st page of this forum and run with different versions of LGUP (1.16), it always ended up reading my US99810d as LS99810a. Is it possible that my US998, really an LS998 or I have not found a genuine US998 dll file? What should I do?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
You have an ls998 converted to us998 but that's not relevant. It's now US998.

Stop using your own LGUP.

UNINSTALL any prior versions of LGUP you have and install the Dev Patched LGUP from either this thread or the USS98 Pie thread.

See post #3 of that Pie US998 thread. Maybe those instructions for that Dev Patched LGUP are easier?

https://xdaforums.com/lg-v30/development/us998-lg-v30-us998-us99830a000704-kdz-t3952256

The dlls we provide work with all variants, but with our 1.14 LGUP. The one in Pie thread is necessary for Pie -- but also work with Oreo and Nougat.

You don't need 1.16. You need compatible dlls we already have.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SamOntario:
I uninstalled all versions of LGUP on my Windows 10 which was upgraded to the latest 1909 recently. Downloaded 4 times LGUPDual on this PC and installed 4 times and removed 4 times. Reinstalled 2 times LG USB driver ver 4.4.2. Followed the Pie thread. The LGUPD always found my V30+ as LS99810a. I repeat everything on another PC almost identical to this PC, including all new downloads (LGUPDual, LG USB Driver, LG US99820h) and new installations, no joy. When I run it, it errored out saying xflashing from LS998 to us998 not supported.

Is there anything else I can try?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
In no particular order:

It shouldn't matter that it shows LS998 if your About Phone shows US998.

But if you wanted to do something, re- flash US998 Nougat again.

Reboot computer after installing LGUP. When you uninstall prior LGUP, go to the LG Electronics folder and delete the LGUP folder if it's still there.

How are you going into Download mode? Manually BEFORE opening LGUP?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SamOntario:
I go into download mode by pressing upvolume and then insert USB cable to my US998. Then run as admin on desktop. The LGUP found my US998 as LS99810a. using refurbish mode, Then I click BIN to find the path of US99820h in my download folder. Click start and immediately error out : 0x4 Not support cross model download LS998 to us998.

Will try to flash US998 after dowdload firmware.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
That error means Dev Patched LGUP was not installed properly.

Are you using the setdev.bat in the dual version?

I don't know what you're doing wrong. I'm just telling you what the error message means.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SamOntario:
Yes I followed the Pie thread, downloaded LGUPDual. Unzipped and then run setdev.bat as admin. Installed LGUP from the unzipped folder to the desktop. Put US998 in download mode. run as admin selected refurbish mode US99820h for flash. error out 0x4.

Same result with US99810d as the flash file.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
When I get home, I may have another LGUP for you to try. One that runs from the folder where you download it.

I don't know why these other two work just fold for other people and not you. ;)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SamOntario:
In your Pie thread said try another com port. It does not seem to be able to change port in the LGUP. Pls advise.

Tried different USB cables (type C to Type C and type A to type C) too, no joy.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Ballroomblitz:
Yes, it's very clearly stated early in the post.

Thanks man.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Ballroomblitz:
I followed the instructions and was able to reflash the oreo kdz.

I am having a terrible time trying to get adb to recognize my device again. I have uninstalled and reinstalled device drivers with no luck. Something that has me confused is when I reconnect the phone to the windows computer the driver installs very quickly and only shows v30 nothing else. I don't think the driver is being completely uninstalled.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Ballroomblitz:
So I've tried everything that I can think of to get my computer to recognize the device. Tried to force uninstallation of the drivers through command prompt (not sure if I did it correctly). At this point I'm going to try a different computer that this phone hasn't been connected to.

---------- Post added at 01:32 PM ---------- Previous post was at 12:37 PM ----------

I'm an idiot! I failed to reauthorize USB debugging in developer options! Step one is my Achilles heel!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Ballroomblitz:
I want to thank [MENTION=3250376]ChazzMatt[/MENTION] for helping me out even when I was just getting in my own way. On rooted 8.0 with custom recovery.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Wotta:
Boot loops and Encrypted Partitions?

I'm having all sorts of trouble with this.

After installing TWRP for Oreo and then uppercut-installing the image, I had trouble getting back into recovery. (That's been a persistent problem for me; I only appear to be able to get into recovery by allowed the system to erase all the data, not a great solution.)

Install TWRP, boot into it, and it says the partition is encrypted. Wipe/format, and now am in a long boot loop, about 2.5 minutes and then 15 seconds, repeat, never past the ROM screen. The first try along, it eventually landed in the system, but it's been going a long time now and hasn't.

Can get back into TWRP, but since the ROM is a KDZ, can't reflash it.

Is there an img form of the ROM? What else can I try?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] MARKREIF:
Got myself into a bit of a predicament: after successfully installing this kdz I started experimenting with various ROMs that claimed US998 compatibility but I was plagued with consistent lack of LTE support on T-Mobile. The last ROM I tried has changed my US998's Model Number under Settings to the LGM-H930. Trying the LGUP routine to return to the stock version of this kdz fails due to the identifier now being the H930. If anyone has an idea on how to extract myself from this situation it will be greatly appreciated.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
1) What happens when you restore from the TWRP backup you made? You did make a TWRP backup, right? ;) That's one of the main reasons for having TWRP custom recovery. It's like a time machine that lets you erase mistakes.

2) You can try using dev (patched) version of LGUP (attached in post #1) and flash DL Partition like we are doing with the Frankenstein phones. I flashed US998 over LS998 to convert it to US998 -- so I know patched LGUP doesn't care about V30 variant identity. But to convert LS998 to US998, I had to first flash Nougat US998, THEN Oreo US998 with a Master Reset in between. Not sure if just flashing Oreo US998 will work or if you need to do it in two steps like that.

See

here.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] MARKREIF:
Thanks I'm gonna try the Nougat with patched routine - where do I find the Nougat 998 file?

---------- Post added at 05:49 PM ---------- Previous post was at 05:37 PM ----------

forget that i found it....

---------- Post added at 06:32 PM ---------- Previous post was at 05:49 PM ----------

Getting '"DLL for V300L21b is invalid" Please install valid DLL package (*.msi) for the model' when starting up up LGUP patched - suggestion?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] MARKREIF:
Mission accomplished - thanks again
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] magiconthetire:
Can you kindly tell me the steps you took to get everything corrected?

I am trying to return US998 to stock oreo and I am trying to use patched LG UP to flash this KDZ and I keep getting "lg up can't load this model". When I try uppercut, it reads my phone as H830 and will not let me flash the US998 KDZ.

Any help is greatly appreciated
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] maidenboston:
did you have to flash

verity-opt-encrypt-6.0.zip

and

LG-rctd-disabler-1.0.zip

?

was your storage accessible by twrp to make backups (not encrypted, and dont have to wipe data)?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] maidenboston:
i think i found out the answer to my question.

it seems i would have to wipe data to remove that encryption if i upgrade kdz & then flash twrp & magisk

at the moment, there doesnt seem to be a way to avoid not wiping everything to have twrp have access to the internal storage to do backups
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] rhplusa10:
Just FYI, for people who cannot get OTA with USC US998 like me,

My phone is from LG promotion back in September 2017, and never been US Cellular network so cannot get OTA. It says "Your phone is not registered."

After flash this Oreo, I think OTA is "unlocked".

When I check OTA, the message changed to "You are using the latest software version for current OS."

I guess I can get OTA now :)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] JuiLee:
I have v300l and when i use it flash to us998 , i pulled the usb , and it got black screen . The computer displayed HS-USB QDLOADER 9008 ,

:crying
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
The Korean guys made a video on what to do. This is probably what you should have flashed:

https://xdaforums.com/lg-v30/development/v300s-stock-flashable-zip-us998-t3795995

I never said for you to flash this KDZ...

My bootloader unlock instructions say for the Korean carrier variants to flash H930. But the Korean guys made a video to improve on that.

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] JuiLee:
thank you :o
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] donis:
The problem, I need help! US998 (10c), I downloaded the KDZ (20a), launched the update with the Uppercut, the update reached 70% and an error occurred. The phone is reloaded, now it's a boot loop on the logo. I pulled out the battery to turn off it, tried to enter download mode/recovery - does not work. How to fix it?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tr4nqui1i7y:
I just found this version, uploaded today. Has anyone tried it out yet?

https://lg-firmwares.com/downloads-...e=lg_us998_north_america_us99820b_03_0524_kdz
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] foamerman:
Have you tried it yet? Not sure if I want to be the guinea pig. But I guess if it does screw up I can always go back to 20a
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tr4nqui1i7y:
I haven't, that's why I asked. I've been stuck away from the PC to get the chance. Wondering if it's just a security update or something.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
No, I said try another PC USB port. Trying a different port sometimes gives different results.

Different USB-C cable also changes things.

Plus I've had to re-install LG Mobile drivers many, many times!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
OK, try this one attached. It doesn't need "installation". Just unzip the file and, right click and run LGUP as administrator from the LGUP.exe file in the folder itself. Plug your phone in first.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SamOntario:
Thanks for the new LGUP but it still did not work.

I happened to open the log:

[17:14:35] Start Find Available USB Port

[17:14:35] Find 0 LGE AndroidNet USB Serial Port (COM3)

[17:14:35] CBasicComControl::eek:pen, the port(COM 3) is constructed successfully =>

HANDLE : 0x474

[17:14:35] CPort::eek:penPort() Success. Port number is 3

[17:14:35] [T000003] 41 54 0D

AT.

[17:14:37] CBasicCom::SendRecvPacket, PACKET_ERROR code = 1460 Msg =>

This operation returned because the timeout period expired.

[17:14:37] [T000005] EF 00 16 65 7E

...e.

[17:14:37] [R000007] EF 00 00 05 00 AD 7E

.......

[17:14:37] [T000005] EF A0 1C C0 7E

.....

[17:14:37] [R000336] EF A0 00 00 00 00 00 4C 47 2D 4C 53 39 39 38 00

00 4C 53 39 39 38 31 30 61 00 00 00 00 00 00 00 .......LG-LS998..LS99810a.......

[17:14:37] CBasicCom::SendRecvPacket, the receive buffer is too small.

You need 333 bytes. but you assigned the memory 147 bytes.

[17:14:37] CComPort::ClosePort, Closed Port Successfully for COM 3

[17:14:37] CBasicComControl::Close, the port(COM3) is closed successfully

[17:14:37] ==> COM3 is detected

[17:14:37] ModelListManager is initialized

[17:14:56] [Port : 3, SWVersion : LS99810a] thread will be started

[17:15: 6] Start Find Available USB Port

[17:15: 6] CBasicCom::AvailablePorts, there is no port detected

[17:15:17] CBasicComControl::IsConnected, the port(COM3) connection is not detected

It appeared com3 has buffer problem. What can I do to increase the com3 buffer to 333 bytes or more?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
All I can suggest is try other USB-C cables, try other USB ports on the computer (which often changes the COM port), try other computers.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] schwinn8:
Not that this is the answer, but are you saying you ran setdev.bat and THEN installed LGUP? If so, that could be the issue - you need to install LGUP first, THEN run setdev.bat (as admin)...
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SamOntario:
Tried n didn't work.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SamOntario:
Tried 2 Asus laptops each has 2 USB3 ports and 1 USB type C port, numerous USB cables, no joy. Tried 1 lenovo laptop with 2 USB3 ports, all failed at 0x4 error.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
[MENTION=3250376]ChazzMatt[/MENTION] would you tell me if this sounds about right? I plan on following these steps to switch my ls998 over to us998 oreo (instead of US998 Pie so I can continue to use AOSP PIE)

my service plan is set up but I didn't port my number over to t-mobile yet so I'm still with sprint sim and sprint service. I have t-mobile sim available and of course acct already.

in twrp wipe caches, system and data then flash US998e, f,g, h and magisk 18.x

reboot to system

going back to t-mobile or calling them to activate; assuming they will switch my sim to t-mobile and port my number over to their service. Going to do this on Wednesday afternoon.

Is that it?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Yes, I recommend stable Oreo right now anyway.

If you are on newer Magisk right now, first thing to do in TWRP (my opinion) is flash Magisk 18.x first -- then the TWRP flashable zips ("stacked" in TWRP), then Magisk 18.x again. Some people have had issues flashing the Oreo TWRP flashable zips with newer Magisk already present.

Some with newer Magisk had to flash the Magisk Uninstaller in TWRP, flash Magisk 18.X, then the TWRP flashable zips all back to back. Then flash Magisk 18.X again before reboot. You can set these up to flash all in a row, automatically.

After successful reboot and everything settles down, you can then update to newest Magisk if you wish. The 18.X is only for flashing the Oreo TWRP flashable zips, and US998 20h is the last that will exist.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
Thanks and just to clarify, I'm doing all that BEFORE I change Sims and port my number over to t-mobile?

The t mobile rep at the store wanted to try the Sim yesterday but I stopped him because I was worried it would lock up.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Yes, because to my knowledge as long as you are on Sprint firmware you are probably locked to Sprint SIM card.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
Perfect. Thanks for patience while I'm being cautious. I'll report later for others that might want to follow down this path. I'm doing it this way (OREO) to keep my options open for a little while.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Later tonight I'll post something to potentially give you more native T-Mobile feature -- but for now just get USS98 with T-Mobile SIM card.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
That sounds great. Very nice of you! I got everything working now. I am activated on T-Mobile with US998h. The only difficulty I had was getting Super User rights for root apps. Even though it looked very much like Magisk 18.0 was installed, and even safetynet working fine, no root apps could gain permission. No magisk uninstaller would work. Started over again. I made a couple of minor changes like flashing one zip at a time without rebooting and still the same issue. Then I used magisk 18.1 and rebooted. No magisk manager was in the app drawer. Installed 7.3.4 manager and that did it. So, I dropped magisk 18.1 into the same folder that is linked to the OP for the US998E,F,G&H. If you want me to remove it, just let me know and I'll delete it.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
OK, if you want more T-Mobile features, see this [MENTION=2522637]MicroMod777[/MENTION] H932 Oreo 20s software port for US998 Oreo 20h.

It's NOT T-Mobile H932 firmware -- that would brick your phone.

It's just a port of the software. For T-Mobile customers who use the US998. To install, you need to need US998 20h, which you have:

[ROM] [STOCK] LG V30 T-Mobile Stock ROM 20s ported for LG V30 US998

https://xdaforums.com/lg-v30/development/rom-lg-v30-t-mobile-stock-rom-20s-t3925486

Read point #6 about rebooting after installing.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cityneversleepz:
Finally got around to testing this. Wow, it made my v30 really snappy. I'll probably use it as a daily until further development allows for safer transition back and forth to AOSP Q. THANKS.