TTB Tech Help

Practical tech help, security alerts and big tech news in plain English

How to Root LG G6 and Install TWRP Recovery

How to Root LG G6 and Install TWRP Recovery In 2021

As of November 2026, you can only root an LG G6 and install TWRP if its bootloader is already unlocked. LG shut down its official unlock service on December 31, 2021. That means an H870 or US997 that wasn’t unlocked before that date can no longer get the unlock.bin file. If your phone is unlocked, flash the official TWRP image for the H870 with fastboot, then root it with Magisk, because SuperSU has been abandoned.

The LG G6 (codenames h870, h872 and us997, depending on the model) launched in February 2017 with Android 7.0 Nougat. It later got Android 8.0 Oreo, and then Android 9 Pie, which reached carriers and regions between late September 2019 and early 2020. Official TWRP support followed in July 2017 for the international H870. This page shows you how to install TWRP Recovery on the LG G6 and root it.

Rooting the LG G6 in 2026: start with the bootloader

You need an unlocked bootloader before you can flash TWRP or root the phone. Without one, none of the steps below will work.

The steps are written for a Windows PC. They work on a Mac or Linux computer too, with the same commands.

Phone makers like LG ship their devices with a locked bootloader for security reasons. To install anything from a third party, you first have to unlock it. Then you can install TWRP Recovery on your LG G6 and root it. TWRP can also make Nandroid backups, restore them and wipe the system, data and cache partitions.

How you unlock depends on your exact model and on when you tried:

Model Carrier or region Official unlock route Status in November 2026
H870 International / Europe unlock.bin from LG’s developer website Closed since December 31, 2021. Only phones unlocked before then can continue
US997 US carrier-free unlock.bin from LG’s developer website Closed since December 31, 2021
H872 T-Mobile US fastboot oem unlock after turning on OEM unlocking Community reports are mixed. Some units unlock, others refuse

For the H870 and US997, the old process had four steps. You ran fastboot oem device-id, sent that ID and your IMEI to LG, received an unlock.bin file by email, and flashed it with fastboot flash unlock unlock.bin. LG removed the developer website and the key-issuing service when it left the phone business, so that route no longer exists. Unlocking also wipes everything on the phone. Back up your photos, messages and files before you start.

To make that backup, copy everything to a PC or a USB drive. If files go missing from a drive or memory card later, USB data recovery software can sometimes get them back. Phone-focused tools such as UltData for android data recovery try to do the same for files deleted from the phone. Neither is guaranteed, so a backup made beforehand is always the safer option.

TWRP Recovery and its advantages

Team Win Recovery Project (TWRP) is an open-source custom recovery for Android devices. It has a touchscreen interface that lets you install third-party firmware and back up the whole system, two jobs the stock recovery can’t do.

On the LG G6, the official TWRP build is for the H870 only. Android Police warned when the build launched that it is a different variant from the US carrier and unlocked models (H871, H872, US997 and others). Flashing the wrong image can brick the phone.

Benefits of TWRP Recovery

  • You can flash a custom ROM on the LG G6, such as LineageOS.
  • You can flash mod zip files to customise your phone.
  • You can root the phone, or remove root, by flashing Magisk.
  • You can create Nandroid backups and restore them easily.
  • You can flash image files such as boot or recovery images.
  • You can remove bloatware.
  • You can underclock or overclock the processor, provided you install a custom kernel that supports it.
  • You can wipe the cache, data and other partitions.

Older guides recommended the SuperSU zip and the Xposed Framework. SuperSU has been abandoned for years, and the original Xposed was replaced long ago by module systems that run on top of Magisk.

How to root LG G6 and install TWRP Recovery

Make sure you meet every requirement below before you start the TWRP install. If you skip one, the most likely result is a phone that won’t boot.

Pre-requirements

  • The file and also guide are supported for the LG G6 (All Variant) model only. Just don’t try it on other devices.
  • LG G6 bootloader should also be unlocked.
  • A PC or Laptop & a USB cable are required for this process.
  • Also, create sure to get a Full Reserve of Device Data (No Root).
  • Charge your device battery to full as well.
  • You have to download All Required Files:
    • No Verity opt Encrypt
    • Download SuperSU Zip – For root thruogh SuperSU
    • Download Magisk Zip – For root via Magisk
    • USB Drivers: LG USB Drivers
    • Download ADB and Fastboot and also install them on your PC

In short, you need:

  • An LG G6 with an already unlocked bootloader. Check that your model number (Settings > System > About phone) matches the image you download.
  • A battery charged to at least 60 percent.
  • A Windows, Mac or Linux computer with Google’s SDK Platform-Tools (ADB and fastboot) and the LG USB driver installed.
  • A good USB-C data cable.
  • A full backup of your data.

TWRP Recovery details

  • File name: TWRP Recovery for LG G6 International (h870)
  • Version: the newest build listed on twrp.me for the h870
  • Support: Official (H870 only)
  • Developer: TWRP Team, device maintainer J0SH1X

ADB and Fastboot tool

Once you have downloaded the files, drivers and tools, follow these installation steps.

  1. Turn on Developer options and USB debugging on your phone.
  2. Go to Settings > System > About phone > Software info, then tap Build number seven times to turn on Developer options.
  3. Open Settings > System > Developer options and turn on USB debugging.
  4. On your computer, open the Platform-Tools folder. On Windows 10, hold Shift, right-click an empty part of the folder and choose to open a PowerShell or command window. On Windows 11, right-click and choose Open in Terminal.
  5. Connect the phone to the computer with the USB cable. Allow the USB debugging prompt that appears on the phone.
  6. The LG G6 has no button combination that opens fastboot mode, so use ADB. Type this command and press Enter:
    – adb reboot bootloader

In PowerShell, type .\adb and .\fastboot in place of adb and fastboot.

Flash TWRP with fastboot

  1. The phone is now in fastboot mode. Type this command and press Enter to confirm the computer can see it:
    – fastboot devices
  2. If you see a serial number, rename the TWRP file you downloaded to twrp.img and put it in the Platform-Tools folder. Then flash it:
    – fastboot flash recovery twrp.img
  3. Go straight into TWRP with fastboot boot twrp.img. Don’t boot into Android first, because the stock system can overwrite the custom recovery.
  4. To try TWRP without installing it, skip step 2 and run fastboot boot twrp.img on its own.

That’s it. TWRP Recovery is now installed on your LG G6, and you can move on to rooting.

To root, copy the latest Magisk APK from the official topjohnwu/Magisk GitHub page to the phone. The newest release listed there is Magisk 31.1, published on October 25, 2026. Rename the file from.apk to.zip, then flash it from the Install screen in TWRP. Magisk’s own installation guide now prefers patching the boot image, and calls the recovery-flash method a legacy route. Both methods give the same result on a phone this old. After rebooting, open the Magisk app to confirm root is working.

What is root?

Rooting is an unofficial way to get administrator (superuser) access to your phone’s system. With it, you can change, edit or delete system files and apps that are normally locked.

Root lets you remove bloatware, run apps that need system access, and add custom kernels for performance or battery tweaks. The downsides are just as real. Unlocking and rooting usually void the warranty. Some banking, payment and streaming apps refuse to run on rooted phones. A bad flash can brick the phone. Follow every step exactly.

On an LG G6, the warranty and update concerns mostly no longer apply. The phone stopped getting system updates after Android 9, and LG stopped making phones in 2021. The bigger risk now is security. Pie has had no security patches for years, so a maintained custom ROM is often a better reason to unlock than root alone.

The benefits of rooting

  • You can access every file on your LG G6, including the data in the phone’s root directory.
  • You can speed up your LG G6 by overclocking with a supported custom kernel.
  • You can extend battery life by underclocking.
  • You can uninstall bloatware.
  • You can block ads across the whole system with a hosts-based Magisk module.
  • You can view, edit or delete any system file in the root directory.
  • You can install Magisk modules, including newer module systems that replaced the original Xposed Framework.

Final takeaway

Before you download anything, check your bootloader status and your exact model number. If the bootloader is unlocked and the phone is an H870, the official TWRP build plus Magisk takes about 15 minutes. If the bootloader is still locked, rooting isn’t possible on that phone any more. Treat it as a stock Android 9 device and keep sensitive accounts off it, because it no longer gets security patches.

FAQ

Can I still unlock the LG G6 bootloader in 2026?

Not through LG. The LG Developer website stopped issuing unlock.bin keys on December 31, 2021, after LG left the phone business. That was the only official route for the H870 and US997. The T-Mobile H872 used fastboot oem unlock instead, and owners report mixed results with it.

Is there official TWRP for the US997 or H872?

No. The only official TWRP build on twrp.me for the LG G6 is for the H870 (international). Other models have community builds of varying quality, and flashing an image meant for another model can brick the phone.

Should I use SuperSU or Magisk to root the LG G6?

Use Magisk. SuperSU has been abandoned for years. Magisk is still updated, with version 31.1 now listed on its GitHub releases page, and it supports modules and lets you remove root cleanly.

Why does my phone boot to stock recovery after flashing TWRP?

The stock system can overwrite a custom recovery if you boot into Android before opening TWRP. Flash it again, then run fastboot boot twrp.img straight away so TWRP loads first.

Can I put a newer Android version on the LG G6?

Yes, if the bootloader was officially unlocked. The LineageOS wiki lists the G6 with versions up to Android 14 (LineageOS 21), and some G6 models have Android 15 builds. Its h870 builds are only for phones that were unlocked through LG’s web portal.

Does rooting erase my data?

Rooting with Magisk usually doesn’t wipe your data, but unlocking the bootloader does a full factory reset. Always back up first.

Sources

  • TWRP for LG G6 International (h870)
  • Magisk releases on GitHub
  • LineageOS wiki: LG G6 (h870)
  • XDA: LG will shut down its bootloader unlocking service on December 31