[LG V30 Guides, News, & Discussion] bnevets27:
So I had a bit of a hiccup trying to go from US998 to H933. The plan was to go from US998 Oreo to H933 Oreo and then update to Pie with the TWRP zip. But I never made it that far. Many things happened before getting back to US998 Oreo, which was my original starting point, but they should be irrelevant.

General disclaimers apply. Do this at your own risk. I've only done this one time on my phone with help and advice from [MENTION=4160343]cloud1250000[/MENTION]. This hasn't been "tested" further then that and this guide was written after the fact.

Please read the entire guide first then go back and follow step by step.

Prerequisites:

adb installed - Follow 3:Prep, steps 1, 2 and 3. here to install.

LG drivers installed

LGUP dev patched installed - located here - Courtesy of [MENTION=2651082]tecknight[/MENTION].

See "HOW TO INSTALL DEV PATCHED LGUP" to install

Needed Files:

Stable TWRP 3.2.3.7

Original Pie recovery aka "original-recovery-pie.img" - Courtesy of [MENTION=4160343]cloud1250000[/MENTION]

Original Pie laf aka "laf-pie.img" - Courtesy of [MENTION=4160343]cloud1250000[/MENTION]

H933 Pie kdz - H93330k_00_OPEN_CA_OP_0906.KDZ

You'll also need:

AnyKernel 3 RCTD Remover - Courtesy of [MENTION=6815443]JohnFawkes[/MENTION]

Disable_Dm-Verity_ForceEncrypt_08.18.2019 (encryption disabler) - Courtesy of [MENTION=6037748]Zackptg5[/MENTION]

Magisk - latest here or v19.3 direct link

Rename TWRP-3.2.3-7-default.img to TWRP.img

Place the following on the root of your microsd card (though you could put it on your internal sd, you would just have to adjust the paths)

TWRP.img

original-recovery-pie.img

laf-pie.img

You can put these anywhere you like on your sdcard

AK3_RCTD_Remover.zip

Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip

Magisk-v19.3.zip

0) WARNING - You will be formating the internal data partition. Backup/move files from the internal storage or you will lose them!

1) Start with a H933 phone that has been converted to US998 on an Oreo rom, with bootloader unlocked. I was on this kdz specifically: US99820a_04_0330.kdz

2)Boot into download (vol + and plug in cable) mode/connect phone to the computer. Then open up the dev patched LGUP.

3) Select this kdz H93330k_00_OPEN_CA_OP_0906.KDZ.

4)Flash with partition DL, select all EXCEPT recovery.

5)It should reboot into recovery/TWRP

6.a) WARNING, Following procedure might be risky. Please read up on flashing laf and see if it's ok with you. I don't really know how risky it is, but I figured I would put in this warning.

6.b) Open a command window on your computer and run the following commands with adb. This puts TWRP into the laf partition and the stock recovery back into the recovery partition. Meaning we won't have TWRP in recovery but we will have a backup of it in laf, which we'll need. *inspired by [MENTION=3167089]runningnak3d[/MENTION] from the H932 root*

shell adb
cd external_sd
dd if=TWRP.img of=/dev/block/bootdevice/by-name/laf
dd if=original-recovery-pie.img of=/dev/block/bootdevice/by-name/recovery

7)Power off phone, turn it on. Let it do its thing for a bit, there will be a reboot and it will stay on LG logo for awhile. It should eventually boot to a setup screen. Great Pie is installed, now we need to install a few things in TWRP. Turn off the phone.

8)Boot into download mode (vol + and plug in cable) it will boot into TWRP (this is expected)

9.a) Follow from step 7 from this post. There is some of step 6 that should be followed also.

If you followed all of that you should have installed Magisk, Disable_Dm-Verity_ForceEncrypt_08.18.2019, and AnyKernel 3 RCTD Remover and performed a factory reset and did a format of data.

9.b) The final step of the above should have had you boot into android, once you've done that you can turn off your phone

10) Boot into download mode (vol + and plug in cable) it will boot into TWRP (this is expected)

11) Flash TWRP back to recovery by running the following command

shell adb
cd external_sd
dd if=TWRP.img of=/dev/block/bootdevice/by-name/recovery

11.b)If you would like to restore laf (so you can use LGUP) then also run this to restore LG's download mode. *It can be desirable to leave in the laf partition also. By leaving it there if for some reason you lose TWRP in recovery then you can boot into download mode and you'll have TWRP there. This is a personal decision.*

dd if=laf-pie.img of=/dev/block/bootdevice/by-name/laf

You're done, you now should have a H933 phone on H933 Pie with root.

If your mobile data doesn't work or you're not getting LTE, check your apn setting and play around on your phone to see if it will pick it up. Check that mobile data is on etc. Remove sim, turn off phone, insert sim then turn on phone etc. If none of that works then:

Reboot to TWRP/recovery (you can do so in Magisk, modules, 3 dots, reboot recovery) and run:

adb shell
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2

Reboot and you should have data/LTE back

Big credit to [MENTION=4160343]cloud1250000[/MENTION] who walked me through all of this, I was just a pawn. I can't thank Cloud1250000 enough!

Info and files taken from these posts:

https://xdaforums.com/showpost.php?p=80363769&postcount=21

https://xdaforums.com/showpost.php?p=80432411&postcount=135

Thanks to [MENTION=4160343]cloud1250000[/MENTION] for the original-recovery-pie.img and laf-pie.img

Thanks to [MENTION=3250376]ChazzMatt[/MENTION] for all his help on the forums and I've linked to a lot of his stuff

Thanks to [MENTION=3167089]runningnak3d[/MENTION] for the inspiration for step 6b from his work on the H932 root. Please go here and click the THANK BUTTON!

Thanks to [MENTION=2651082]tecknight[/MENTION] for the DEV PATCHED LGUP! Please go here and click the THANK BUTTON!

Thanks to [MENTION=6037748]Zackptg5[/MENTION] for the Disable_Dm-Verity_ForceEncrypt_08.18.2019 (encryption disabler)

I don't normally write guides but I had went through this and thought others would benefit from knowing the process. Please let me know if it needs some improvements.