keepcalculator

06 Numbers and Powers

Install TWRP on Moto G5 Plus: Full Guide

Card No. 06·38122 · Updated · Standard formula, shown below

Yes, you can install TWRP (Team Win Recovery Project) on the Motorola Moto G5 Plus, and this guide shows you exactly how. You’ll need an unlocked bootloader, a computer with ADB and Fastboot tools, and the correct TWRP image file for your device. The process takes about 15 minutes and replaces the stock recovery with a custom one that lets you flash ROMs, make full backups, and gain root access.

What Is TWRP and Why Install It?

TWRP is a custom recovery environment that runs independently of Android. It’s the standard tool for most Android modding because it offers a touchscreen interface and features that the stock recovery lacks:

  • Full system backups (Nandroid backups) that can be restored if something goes wrong
  • Installing custom ROMs, kernels, and mods from ZIP files
  • Wiping partitions cleanly before switching ROMs
  • Access to a file manager and terminal

On the Moto G5 Plus (codenamed potter), TWRP is widely used because the device has strong community support. It’s the gateway to installing LineageOS, Pixel Experience, or other custom firmware, and it also lets you create a complete backup before you try anything risky.

Prerequisites: What You Need Before Starting

Before you begin, gather these items and complete the steps below. Skipping any of them can result in a soft-bricked phone or a failed install.

  • Unlocked bootloader: Motorola’s official unlock process is required. Go to Motorola’s bootloader unlock website, create an account, and follow their instructions. This wipes your device, so back up everything first.
  • USB debugging enabled: On your phone, go to Settings > About Phone and tap “Build number” seven times to enable Developer Options. Then enable USB Debugging and OEM Unlocking (if available) in Developer Options.
  • ADB and Fastboot tools: Download the official Android SDK Platform Tools for your computer (Windows, macOS, or Linux). These provide the adb and fastboot commands.
  • Correct TWRP image: Download the official TWRP image for potter from the TWRP website. Make sure you get the file ending in .img, not a ZIP.
  • USB cable and drivers: Use a good quality cable and ensure your computer recognizes the phone in fastboot mode. On Windows, you may need Motorola USB drivers.

Step-by-Step Installation Instructions

Once your bootloader is unlocked and you have the tools ready, follow these steps carefully.

  1. Boot into fastboot mode: Power off your phone. Press and hold Volume Down + Power for a few seconds until you see the fastboot screen (it shows a robot with an exclamation mark).
  2. Connect to your computer: Plug in your phone via USB. Open a terminal/command prompt in the folder where you have the TWRP image and the platform-tools.
  3. Verify fastboot connection: Run fastboot devices. You should see your device serial number. If not, check drivers or try a different USB port.
  4. Flash TWRP temporarily (recommended): Instead of permanently replacing recovery first, boot TWRP directly with fastboot boot twrp-3.x.x-x-potter.img. This lets you test it without committing. The phone will boot into TWRP.
  5. Permanent install: If you want TWRP to stay, run fastboot flash recovery twrp-3.x.x-x-potter.img. Then reboot into recovery by pressing Volume Up + Power from the fastboot screen, or use fastboot reboot recovery.
  6. First boot into TWRP: When TWRP loads, it may ask if you want to keep system read-only. If you plan to root or flash custom ROMs, swipe to allow modifications. If you just want to back up, keep read-only.

Common Problems and How to Fix Them

Even with careful steps, things can go wrong. Here are the most frequent issues and their solutions.

  • “fastboot devices” shows nothing: Install the correct USB drivers, try a different cable, or run the command as administrator. On Windows, check Device Manager for unrecognized devices.
  • Bootloop after flashing: This usually happens if you flashed a TWRP build meant for a different variant. Re-download the correct potter image and reflash. If the phone won’t boot, boot into fastboot and flash the stock boot image or use fastboot erase cache.
  • TWRP asks for a password/decrypts data: If you have a lock screen PIN or password, TWRP may ask for it to decrypt your data. Enter it. If it fails, you may need to wipe data (which erases everything) or use a TWRP build that supports your encryption.
  • Touchscreen doesn’t work in TWRP: Some TWRP builds have touch issues. Try a different TWRP version or the official one from the TWRP site. Also, ensure you’re not using a faulty cable.

After Installation: What to Do Next

Once TWRP is installed, you can immediately make a full backup. In TWRP, select Backup, choose partitions (System, Data, Boot, EFS), and swipe to back up. Store the backup on an external SD card or transfer it to your computer—this is your safety net.

If you plan to root, you can flash Magisk (a ZIP file) from TWRP. If you want to install a custom ROM, download a compatible ROM and its GApps (Google Apps) package, then follow the ROM’s installation instructions—usually involving a factory reset and flashing the ROM ZIP.

Remember that unlocking the bootloader and installing TWRP voids your warranty and can make your device less secure. Only proceed if you understand the risks.

Risks and Safety Considerations

Installing TWRP involves modifying critical system partitions. The main risks are:

  • Data loss: Unlocking the bootloader wipes your phone. Back up everything before starting.
  • Bricking: If you flash a wrong or corrupted image, your phone may become unbootable. In most cases, you can recover by flashing stock firmware via fastboot, but it’s not guaranteed.
  • Security: A custom recovery can be exploited by malware if you install untrusted ZIPs. Only download from official sources (TWRP site, XDA Developers).
  • Warranty: Unlocking the bootloader and flashing custom software typically voids Motorola’s warranty.

If you ever need to return to stock, you can download the stock firmware for your model and flash it with fastboot. This will remove TWRP and restore the original recovery.

Frequently Asked Questions

Will installing TWRP wipe my data?

Unlocking the bootloader wipes your data completely. Installing TWRP itself does not wipe data, but the first boot into TWRP may ask you to keep system read-only—if you swipe to allow modifications, it doesn’t erase data, but you should always back up before any flashing.

Can I install TWRP without unlocking the bootloader?

No. Motorola devices require an unlocked bootloader to flash a custom recovery. There is no workaround for the Moto G5 Plus.

Which TWRP version should I use?

Use the latest official TWRP release for potter from the TWRP website. Older versions may not support newer Android versions or encryption.

How do I boot into TWRP after installation?

Power off your phone, then press and hold Volume Down + Power to enter fastboot. From there, use the volume keys to select “Recovery” and press power. Alternatively, if you’re in Android, you can use adb reboot recovery.

I flashed TWRP but it’s gone after reboot. Why?

Some devices automatically replace the custom recovery with the stock one on first boot. To prevent this, boot directly into TWRP after flashing (don’t let Android boot first) and then flash a ZIP like “TWRP A/B retention” or simply reflash TWRP and immediately boot into it. On the Moto G5 Plus, this is less common, but it can happen if you have a locked bootloader or if you flashed the wrong image.

Is it safe to update the phone via OTA after installing TWRP?

No. OTA updates will likely fail or cause a bootloop because the system partition has been modified. You should either revert to stock recovery and relock the bootloader, or wait for custom ROM updates.

Related

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

More cards in this drawer

The whole Numbers and Powers drawer →