Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install TWRP on OnePlus 6T: Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Installing TWRP (Team Win Recovery Project) on your OnePlus 6T replaces the stock recovery with a custom one, letting you flash custom ROMs, kernels, and mods, or create full system backups. This guide walks you through the entire process, from unlocking the bootloader to booting into TWRP. You'll need a Windows, Mac, or Linux PC, a USB cable, and about 30 minutes. Warning: Unlocking the bootloader wipes all data on your phone, so back up everything first.

What You'll Need

  • OnePlus 6T with at least 50% battery
  • A PC with internet access and a USB port
  • USB data cable (the one that came with the phone)
  • ADB and Fastboot tools installed on your PC (see Step 1)
  • TWRP image file for OnePlus 6T (download from the official TWRP site)
  • Optional: a custom ROM or Magisk zip to flash after TWRP

Step-by-Step

  1. Enable Developer Options and USB Debugging
    On your phone, go to Settings > About Phone and tap “Build Number” 7 times. Then go to Settings > System > Developer Options and enable both “USB Debugging” and “OEM Unlocking”.
  2. Install ADB and Fastboot on your PC
    Download the official platform-tools from the Android developer site and extract them to a folder (e.g., C:\adb). On Windows, you may need to install the Google USB driver.
  3. Back up your phone
    Unlocking the bootloader erases everything. Copy photos, videos, and documents to your PC or cloud. Use the built-in backup feature for app data if needed.
  4. Unlock the bootloader
    Connect your phone to the PC via USB. Open a command prompt (or terminal) in the platform-tools folder. Run adb devices to verify the phone is detected. Then run adb reboot bootloader. Once in fastboot mode, run fastboot devices to confirm. Finally, run fastboot flashing unlock. On the phone, use the volume keys to select “Unlock the bootloader” and press power to confirm. The phone will reboot and wipe data. Set up the phone again (skip sign-in for now).
  5. Re-enable USB Debugging
    After the reboot, go back to Developer Options and enable USB Debugging again (OEM Unlocking may already be on).
  6. Download the TWRP image
    Visit the official TWRP website (twrp.me) and download the latest TWRP image file for “OnePlus 6T” (usually named twrp-3.x.x-x-fajita.img). Place it in your platform-tools folder and rename it to twrp.img for simplicity.
  7. Boot into fastboot mode
    On your phone, run adb reboot bootloader from the command prompt. The phone will enter fastboot mode (a black screen with “Fastboot” text).
  8. Flash TWRP temporarily
    In the command prompt, run fastboot boot twrp.img. This boots TWRP without permanently installing it. The phone will reboot into TWRP recovery. This is safer for the first boot.
  9. Install TWRP permanently
    Once in TWRP, you'll see the main menu. Tap “Advanced” and then “ADB Sideload”. Swipe to enable sideload. On your PC, run adb sideload twrp.img. This will push the image to the phone and install it. After it finishes, tap “Back” and then “Reboot > Recovery” to reboot into the newly installed TWRP.
  10. Verify TWRP installation
    If TWRP boots up again, the installation was successful. You can now flash custom ROMs or root with Magisk. To boot back to the system, select “Reboot > System”.

Common Mistakes

  • Skipping the backup: Unlocking the bootloader wipes your phone completely. Always back up first.
  • Using the wrong TWRP image: The OnePlus 6T uses the “fajita” variant. Downloading the OnePlus 6 (enchilada) image will cause a bootloop.
  • Not enabling OEM Unlocking: If you skip this, fastboot flashing unlock will fail.
  • Flashing TWRP via fastboot flash recovery instead of fastboot boot: On newer OnePlus devices, the recovery is part of the boot partition, so flashing directly can cause issues. Booting first is safer.
  • Forgetting to disable “Automatic system updates” in Developer Options after TWRP is installed, as OTA updates can overwrite TWRP.

Tips

  • Keep the TWRP image on your PC in case you need to reflash it later.
  • After installing TWRP, consider flashing Magisk to root your phone—many custom ROMs require it.
  • Use a short, high-quality USB cable to avoid connection drops during flashing.
  • If you plan to install a custom ROM, download it and any required firmware before starting.
  • Set a screen lock PIN/pattern before flashing TWRP to avoid decryption issues with data.

Troubleshooting

Phone not detected by ADB

Install the correct USB drivers, try a different USB port, and ensure USB Debugging is enabled. Run adb kill-server then adb start-server.

Fastboot command hangs

Reinstall the fastboot drivers, close other programs using USB, and try a different cable/port.

Phone boots to bootloop after flashing TWRP

This often happens if you flashed the wrong image or didn't boot TWRP first. Boot back into fastboot (hold Power + Volume Up) and run fastboot boot twrp.img to get into TWRP, then reflash the correct image using the ADB sideload method.

TWRP asks for a password to decrypt data

This is normal if you have a lock screen PIN. Enter your PIN. If it fails, you may need to format data (which erases everything) by going to “Wipe > Format Data”.

OTA updates fail after TWRP

Stock OTA updates will overwrite TWRP. If you want to keep TWRP, you must install a custom ROM or use the “Flash after OTA” option in TWRP. Otherwise, you'll need to reflash TWRP after each OTA.

Frequently Asked Questions

Will installing TWRP void my warranty?

Yes, unlocking the bootloader and installing TWRP typically voids the manufacturer's warranty. Some regions have laws protecting consumer rights, but generally, OnePlus may refuse service.

Can I uninstall TWRP and go back to stock?

Yes. You can re-lock the bootloader by running fastboot flashing lock, but this will wipe your data again. You'll also need to flash the stock recovery and ROM via MSM tool or fastboot.

Do I need to root my phone to use TWRP?

No. TWRP is a custom recovery that works independently. Rooting (via Magisk) is optional and done separately.

Will TWRP allow me to install any custom ROM?

Most custom ROMs for the OnePlus 6T require TWRP or a similar custom recovery. However, some ROMs have their own installer. Always check the ROM's specific instructions.

Is it safe to install TWRP?

There is a risk of bricking your phone if you follow incorrect steps or use wrong files. As long as you use the official TWRP image and follow the steps carefully, the risk is low. Always back up your data.

Can I install TWRP without a PC?

No, you need a PC to run ADB and fastboot commands. Some apps claim to do it, but they are unsafe and not recommended.