TechBuzzPro

How to Install a Custom Recovery on Android

· 5 min read · Phones & Tablets

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

Installing a custom recovery like TWRP lets you create full system backups, flash ZIP files, and install custom ROMs. The catch is that the bootloader must be unlocked first, and unlocking wipes all data on the phone. This guide walks through the standard fastboot method on a Windows PC, which is the most common and reliable approach.

What You'll Need

  • A Windows PC with ADB and Fastboot installed (Google's official Platform Tools are the safest source).
  • A USB data cable that transfers data, not a charge-only cable.
  • The correct custom recovery image (.img file) for your exact device model, downloaded from the recovery project's official site.
  • The phone's stock firmware package or a full backup, in case you need to restore.
  • A charged battery (at least 70%) and a backup of all important data, because unlocking the bootloader erases the phone.
  • The phone's USB drivers installed on the PC (often included with the manufacturer's sync software).

Step-by-Step

  1. Back up everything. Copy photos, messages, and files to a PC or cloud account. Unlocking the bootloader will factory reset the phone, so nothing on internal storage survives.
  2. Enable Developer Options. Open Settings > About phone and tap Build number seven times. The exact menu name varies by manufacturer and Android version.
  3. Turn on USB debugging. Go to Settings > System > Developer options and enable USB debugging. On some phones this is under Settings > Developer options directly.
  4. Unlock the bootloader. This step differs by brand. On many phones you enable OEM unlocking in Developer options, then reboot to fastboot and run fastboot oem unlock or fastboot flashing unlock. Some manufacturers require an official unlock code from their website. Follow your manufacturer's official instructions; do not use third-party unlock tools.
  5. Confirm the unlock. The phone will wipe itself and reboot. Re-enable Developer options and USB debugging afterward.
  6. Download the recovery image. Get the .img file for your exact model from the recovery project's official download page. A file for a different model can brick the phone.
  7. Connect the phone to the PC. Use the USB data cable. On the phone, approve the Allow USB debugging prompt.
  8. Test the connection. Open a command prompt in the Platform Tools folder and run adb devices. You should see your device serial number with the word device.
  9. Reboot to fastboot. Run adb reboot bootloader. The phone screen will show the bootloader or fastboot interface.
  10. Verify fastboot sees the phone. Run fastboot devices. If nothing appears, fix the driver before continuing.
  11. Flash the recovery. Run fastboot flash recovery recovery.img, replacing recovery.img with your actual filename. On A/B devices without a separate recovery partition, the command may be fastboot flash boot recovery.img; check the recovery project's instructions for your model.
  12. Boot directly into recovery. Use the hardware key combination for your phone (often Volume Down + Power, then select Recovery). Do not let the phone boot into Android first, or the stock system may overwrite the custom recovery.
  13. Allow system modifications if prompted. TWRP may ask whether to keep the system partition read-only. Choosing to allow modifications is required for backups and flashing ZIPs.
  14. Make a first backup. In recovery, back up the boot, system, and data partitions to an SD card or USB drive before changing anything else.

Common Mistakes

  • Flashing the wrong image. Recovery files are device-specific. Always match the exact model number, not just the brand.
  • Skipping the backup. Unlocking the bootloader erases the phone, and a failed flash can leave it unbootable. Back up first.
  • Letting Android boot before recovery. The stock system can restore the original recovery. Boot straight into recovery after flashing.
  • Using a charge-only cable or a USB hub. Flashing can fail midway. Connect directly to a rear USB port on a desktop PC if possible.
  • Ignoring driver problems. If fastboot devices shows nothing, the flash will not work. Install the correct USB driver first.
  • Flashing on a locked bootloader. Fastboot will refuse the command, and forcing it is not possible. Unlock officially first.

Tips

  • Keep a copy of the stock firmware and the stock recovery image so you can return to a normal state.
  • Use a short, high-quality USB cable and avoid extension cables during flashing.
  • Read the recovery project's page for your device before starting; some models need a different partition or an extra step.
  • Do not install OTA system updates while a custom recovery is installed; they can fail or remove the recovery.
  • Store backups on an SD card or USB OTG drive, not only in internal storage.

Troubleshooting

  • Phone not detected by ADB or Fastboot. Reinstall the USB driver, try another cable and port, and revoke and re-approve USB debugging authorization on the phone.
  • Fastboot command hangs or fails. Update Platform Tools to the latest version, restart the PC, and make sure no other program is using the phone connection.
  • Recovery does not stick. Boot directly into recovery with the hardware keys immediately after flashing. If it still reverts, the device may need a different flash method; check the recovery project's instructions.
  • Phone stuck on boot logo. Boot into recovery and restore your backup, or reflash the stock firmware using the manufacturer's official tool.
  • Recovery shows encrypted or unreadable storage. This is normal on encrypted devices; use the recovery's decrypt option or format data only if you accept losing internal storage.
  • Bootloader unlock fails. Confirm OEM unlocking is enabled and that you are using the manufacturer's official unlock method. Some carriers and regions do not allow unlocking.

Frequently Asked Questions

Does installing a custom recovery void the warranty?

Unlocking the bootloader and modifying the system generally voids the manufacturer's warranty. Restoring the stock firmware may not restore warranty coverage.

Will I lose my data?

Unlocking the bootloader erases all data. Flashing the recovery itself does not, but always back up first.

Can I install a custom recovery without a PC?

Some devices support flashing through a rooted phone using apps, but the standard and safest method is fastboot from a PC. Rooting is a separate process.

Is TWRP available for every phone?

No. Official builds exist for many popular models, but some devices have no official recovery. Check the project's official device list before starting.

How do I go back to the stock recovery?

Flash the stock recovery image from your device's official firmware package using fastboot, or reinstall the full stock firmware.

Can I still receive OTA updates?

OTA updates usually fail with a custom recovery installed. You typically need to restore the stock recovery and unroot to take official updates.