[STOCK] Flashable Oreo ROM H872 20A (20g Update!)

immns

Senior Member
Nov 12, 2016
171
51
28
Yogyakarta
H87220a Flashable ROM for the T-Mobile LG G6
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: TWRP v3.2.1-0, 11g ROM
Based On: LG Stock ROM
This ROM based on H87220xxxx.kdz then extracted and repacked with autoprime's zip based on this thread.
Also, thanks for runningnak3d for TWRP install method. This ROM is ARB01 which is safe if you want revert to 11g.

Installation :
Modullar Installation
You should install at least bootloader, modem, and system in order to boot properly.
  • Install xxxOreo.zip using TWRP don't reboot
  • Press back button and Install Magisk (It's mandatory if you want root and twrp retained)
  • DONE and Reboot
    [*]In most case, you'll lost your /data due to data encryption. so backup first
    [*]This build's ONLY for T-Mobile US LG G6
    [*]If you decided to downgrade, make it sure that firmware is ARB01 (11g or later)

Download :
As requested by many people I've uploaded new update within 4 modules (Bootloader, Laf, Modem, and System).
You can download here: H87220g (latest)
LGH87220F
LGH87220D
LGH87220A

Recommended TWRP/Orangefox Recovery

my G6 seems broken, it has no display but it still ringing when I call it. probably LCD issue. Basically, I can't test any future update with this phone. I've planned to buy v30 soon and try to repair my g6 by myself. Any info or some suggestions will be appreciated
Have a nice day,
 
Last edited:

MetroWestMA

Senior Member
Apr 7, 2018
74
36
18
OK -- So I am going to install that later today...but just to be clear (and hopefully this helps others)...if you have been flashing other ROM, you should have...

1) H870 TWRP in laf, accessible for emergencies via holding up button and plugging phone into computer.
2) H872 Unofficial TWRP in recovery...

So, to flash this, using H872 recovery/TWRP:
1) TWRP backup whatever you want to keep.
2) Wipe all normal stuff
3) Flash this and magisk, assuming you want to root anyway.
4) Using TWRP File manager, delete /system/recovery_rom_boot.p so that if something goes wrong, you don't have to reflash H872 TWRP into recovery using laf.

Boot, and you should have the stock 8.x rooted?

In my case, I also a going to try and install stock GApps to replace LG/TMobile stuff...I'll post about my success on that later...

MW
 
Last edited:
  • Like
Reactions: ZAKTECH90

immns

Senior Member
Nov 12, 2016
171
51
28
Yogyakarta
OK -- So I am going to install that later today...but just to be clear (and hopefully this helps others)...if you have been flashing other ROM, you should have...

1) H870 TWRP in laf, accessible for emergencies via holding up button and plugging phone into computer.
2) H872 Unofficial TWRP in recovery...
You'll get download mode back after flashing this zip anyway (stock laf). in case something bad happens, you should not worry much. though, i've never use custom rom in this phone before. so, extra precaution will be good for you.:good:
 

NighthawkXL

Senior Member
Mar 4, 2013
394
312
93
Florida
You'll get download mode back after flashing this zip anyway (stock laf). in case something bad happens, you should not worry much. though, i've never use custom rom in this phone before. so, extra precaution will be good for you.:good:
Which is the correct way to do it in my opinion. Once you TWRP installed in Recovery, having it stay on LAF is dangerous as far I'm concerned. In theory TWRP should be able to keep you from needing to ever restore back to stock, but it has been known to fail sometimes. Leaving with no way of using LG UP or any other flasher outside of sending it into LG (unless firehose files get leaked).
 

immns

Senior Member
Nov 12, 2016
171
51
28
Yogyakarta
Which is the correct way to do it in my opinion. Once you TWRP installed in Recovery, having it stay on LAF is dangerous as far I'm concerned. In theory TWRP should be able to keep you from needing to ever restore back to stock, but it has been known to fail sometimes. Leaving with no way of using LG UP or any other flasher outside of sending it into LG (unless firehose files get leaked).
yep, flashing back original laf will save you in the future mistakes.
 

jasongw

Senior Member
By "Stock" do you mean LG's bloatware stuffed "stock" or do you mean "Vanilla Android" stock?

OK -- So I am going to install that later today...but just to be clear (and hopefully this helps others)...if you have been flashing other ROM, you should have...

1) H870 TWRP in laf, accessible for emergencies via holding up button and plugging phone into computer.
2) H872 Unofficial TWRP in recovery...

So, to flash this, using H872 recovery/TWRP:
1) TWRP backup whatever you want to keep.
2) Wipe all normal stuff
3) Flash this and magisk, assuming you want to root anyway.
4) Using TWRP File manager, delete /system/recovery_rom_boot.p so that if something goes wrong, you don't have to reflash H872 TWRP into recovery using laf.

Boot, and you should have the stock 8.x rooted?

In my case, I also a going to try and install stock GApps to replace LG/TMobile stuff...I'll post about my success on that later...

MW
 

MetroWestMA

Senior Member
Apr 7, 2018
74
36
18
BTW -- I did this method, got laf back to what it should be, rooted the H872 Oreo, installed GApps, and have a pretty good setup with Volte/WiFI calling, Goodle Dialer and Messages (with web message support), stock camera, etc -- kinda best of all worlds.

The only issue, as noted in another thread, is that TWRP can no longer mount data -- meaning you gotta jump through some hoops to back it up...so hopefully this get fixed.

For those that are not aware, with TWRP still in recovery, you can boot to this following the factory reset options for the phone, but after answer to confirm "Yes" twice, you will boot into recover TWRP, so you can always get back there without a laptop and / or fastboot. If I recall, the key sequence is hold down button, hold power until logo appears, then turn power on and off until factory reset appears...

But TWRP needs to be fixed to access that data partition -- no idea what that is all about.
 

immns

Senior Member
Nov 12, 2016
171
51
28
Yogyakarta
So twrp rebooted even though I clicked cancel on reboot, magisk not installed. Is there anyway back? I'm totally fine on stock btw if that's the case.
Try to combination buttons for reset, it'll brings you to TWRP again, and install magisk after that. Hope twrp still remains in recovery partition as sometimes they'll be replaced by bootloader. If it doesn't work, you should be able to use LGUP to flash 11g kdz, and try flashing twrp again.
 

immns

Senior Member
Nov 12, 2016
171
51
28
Yogyakarta
The only issue, as noted in another thread, is that TWRP can no longer mount data -- meaning you gotta jump through some hoops to back it up...so hopefully this get fixed.
I believe that's possible, all you need's the right dm-verity disabler that works with this phone. In theory, just format (not wipe) your data partition, flash rom, flash dm-verity disabler, and then reboot. Data partition is encrypted by bootloader, I've checked twrp's fstab and all point to the right direction. But still, we've to try this before knowing what's actually possible or not. For now, I utilize LG Mobile Switch to backup my data and it's totally fine.

UPDATE: It doesn't work, dm-verity patches actually only patch boot.img while this phone has aboot, tz, and a lot elf programer
 
Last edited:

GoofyPanda

New member
Jul 5, 2010
2
0
0
Los Angeles
Try to combination buttons for reset, it'll brings you to TWRP again, and install magisk after that. Hope twrp still remains in recovery partition as sometimes they'll be replaced by bootloader. If it doesn't work, you should be able to use LGUP to flash 11g kdz, and try flashing twrp again.
Seems that it is back to stock recovery also, I am going to try flashing the 11g kids later
 

MetroWestMA

Senior Member
Apr 7, 2018
74
36
18
Seems that it is back to stock recovery also, I am going to try flashing the 11g kids later
I doubt it is...because mine didn't and there was no /system/recovery_rom_boot.p to delete.

you can try installing a program like Titanium Backup that has the option to reboot into recovery.

Did you get it to the menu asking to factory reset -- if you got that and answered yes both times and did not get into recovery, then it is gone...
 

immns

Senior Member
Nov 12, 2016
171
51
28
Yogyakarta
mine is h872, but lg firmware only has the h872bk and h872tn, i do not know which down.
if your phone is from T-Mobile, it's b872bk. please check ota update. if you got oreo update then you're in the right path. but if not, then it's more likely that your phone is the 872tn one.
 

televate

Senior Member
May 22, 2009
106
7
38
I'm assuming the 2 letters at the end signify the color of the devices (BK = Black and TN = Titanium/Silver). Even though the devices are the same, perhaps there are minute differences in each build? I flashed the 20a zip that was provided by OP, but it changed my splash screen to say G6 ThinQ? The G6 I have is T-Mobile branded Titanium color, but I definitely had the devices before the ThinQ moniker became a thing. I'm going to download the KDZ branded for my 872TN and see what happens when I flash with LGUP.
 

Ken C

Senior Member
Mar 5, 2011
848
184
0
So I should be able to flash this through twrp like any other zip?

Y'all were talking about deleting deleting things so I wanted to make sure before I did anything.

I'm in agreement with fixing the laf after getting root, and this way looks like it would simplify matters if you got stuck with an issue and didn't want to or didn't have access to a pc.

Thanks