ThisCalculator

Everyday

How to Root LG G3 T-Mobile: Full Guide

Updated · Standard formula, shown below

How to Root LG G3 T-Mobile: Full Guide

Rooting your LG G3 T-Mobile (model D851) gives you superuser access to the Android operating system, allowing you to remove bloatware, install custom ROMs, use root-only apps, and tweak system settings that are normally locked. This guide walks you through the entire process safely, from unlocking the bootloader to installing Magisk. Before you start, back up all important data, charge your phone to at least 80%, and ensure you have a Windows PC (or a Mac with a virtual machine) and a USB cable.

What You’ll Need

  • LG G3 T-Mobile (D851) with Android 5.0.1 or later (stock firmware)
  • Windows PC (or Mac with a VM) with internet access
  • USB data cable (the one that came with the phone works best)
  • LG USB drivers installed on your PC
  • ADB and Fastboot tools (download the platform-tools from Google)
  • LG G3 T-Mobile bootloader unlock tool (e.g., LG G3 T-Mobile Bootloader Unlock by avicohh)
  • Magisk ZIP file (latest stable version)
  • Optional: TWRP custom recovery image for D851

Step-by-Step

  1. Enable Developer Options and USB Debugging: On your phone, go to Settings > About phone > Software info. Tap “Build number� seven times until you see “You are now a developer!�. Then go to Settings > Developer options and enable “USB debugging� and “OEM unlock� (if available).
  2. Install LG USB Drivers and ADB: Download and install the LG USB drivers on your PC. Then download the platform-tools ZIP from Google, extract it to a folder like C:\adb, and add that folder to your system PATH (or just open a command prompt in that folder).
  3. Back Up Your Phone: Use LG Backup or a third-party app to back up your contacts, photos, and app data. Rooting will wipe your phone, so this step is critical.
  4. Unlock the Bootloader: Power off your phone. Boot into fastboot mode by holding Volume Up and plugging the USB cable into the PC. In the command prompt, type fastboot devices to confirm your phone is detected. Then run the bootloader unlock tool (follow its on-screen instructions). This will wipe your phone and reboot it. If the tool asks for a code, it will generate one for you.
  5. Install TWRP Recovery (Optional but Recommended): After unlocking, boot back into fastboot mode again. Download the TWRP image for D851. In the command prompt, type fastboot flash recovery twrp.img (replace with the actual filename). Then type fastboot reboot.
  6. Boot into TWRP: Power off your phone. Press and hold Volume Down and Power together until the LG logo appears, then release and immediately press and hold Volume Down + Power again. You should see the TWRP menu.
  7. Transfer Magisk ZIP: While in TWRP, connect your phone to the PC via USB. Use the “Mount� option to enable MTP, then copy the Magisk ZIP file to your phone’s internal storage. Alternatively, you can use adb push via the command prompt.
  8. Flash Magisk: In TWRP, tap “Install�, navigate to the Magisk ZIP, select it, and swipe to confirm the flash. Wait for the process to complete.
  9. Wipe Cache/Dalvik (Optional): After flashing, go to “Wipe� and swipe to wipe Dalvik/ART cache and cache. This helps prevent boot loops.
  10. Reboot System: Tap “Reboot� and then “System�. The first boot may take longer than usual. Once booted, you should see the Magisk app in your app drawer, confirming root access.

Common Mistakes

  • Using the wrong model: The T-Mobile variant is D851. Flashing files for other variants (like D855 or VS985) can brick your phone. Always double-check your model in Settings > About phone.
  • Skipping the bootloader unlock: Some guides skip this step, but on the T-Mobile G3, the bootloader is locked. Without unlocking it, you cannot flash TWRP or Magisk.
  • Incorrect fastboot mode: Holding Volume Up while plugging in might not work on all units. If you get a “fastbootâ€� command not recognized, try the key combination again or use the adb reboot bootloader command from Android.
  • Not installing LG drivers: If your PC doesn’t recognize the phone, you’ll get errors. Install the drivers and restart your PC.
  • Using an old Magisk version: Always download the latest Magisk ZIP from the official GitHub repository. Old versions might not support your Android version.

Tips

  • Keep your bootloader unlock code safe: Some tools generate a unique code. Write it down in case you need to relock or unlock again.
  • Use a stable USB port: Prefer a rear USB port on a desktop PC to avoid disconnections during flashing.
  • Check your Android version: This guide works for Android 5.0.1 and later. If you’re on an older version, update to Lollipop first via LG Bridge.
  • After rooting, install a root checker app to verify root access before installing other mods.
  • Make a nandroid backup in TWRP before flashing anything else. This lets you restore your phone if something goes wrong.

Troubleshooting

  • Phone stuck in boot loop: If the phone keeps restarting, boot back into TWRP (Volume Down + Power combo) and wipe cache/data. If that doesn’t work, restore your nandroid backup or reflash the stock firmware using LG Flash Tool.
  • Fastboot not detecting the phone: Ensure you have the correct drivers. Try a different USB port or cable. Also, try running the command prompt as administrator.
  • Bootloader unlock tool fails: Make sure your phone is on the exact firmware version required by the tool. Check the tool’s thread on XDA for updates. Some tools require you to be on a specific baseband.
  • TWRP not booting: If you see a black screen or the stock recovery, the TWRP image might be corrupt. Re-download it and flash again. Also, ensure you flashed the correct recovery for D851.
  • Magisk app shows “not installedâ€�: This usually means the boot image wasn’t patched correctly. Reflash Magisk via TWRP, ensuring you have enough storage space. If it still fails, try a different Magisk version.
  • Phone is bricked (no response): If nothing happens when pressing power, try holding Power + Volume Up for 10 seconds to force restart. If that fails, you may need to use the LG Flash Tool to restore stock firmware. This is a last resort.

Frequently Asked Questions

Will rooting void my warranty?

Yes, rooting typically voids the manufacturer’s warranty. However, you can unroot and relock the bootloader to restore warranty status, though this is not always guaranteed to be successful.

Can I still receive OTA updates after rooting?

Usually not. OTA updates often fail on rooted devices because the system partition is modified. You can manually flash updates or wait for custom ROM updates.

Is it safe to root my LG G3?

Rooting itself is safe if you follow the steps correctly. The main risks are bricking your phone if you flash wrong files or interrupt the process. Always back up your data.

What is the best custom ROM for the LG G3 T-Mobile?

Popular options include LineageOS, Resurrection Remix, and AOSPExtended. Check XDA forums for the latest builds and user reviews. Choose one that is stable for daily use.

Can I unroot later?

Yes, you can unroot by flashing the stock firmware via LG Flash Tool, or by using Magisk’s “Uninstall� feature if you used Magisk. This will remove root and restore the original system.

Do I need to unlock the bootloader if I only want to use adb commands?

No, ADB commands that don’t require root (like installing apps) work without unlocking. But to gain root access, you need an unlocked bootloader and a custom recovery.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.