Install Custom Recovery (TWRP/OrangeFox)
Learn how to flash a custom recovery using fastboot to install ZIP files and make backups.
CRITICAL WARNINGEnsure your bootloader is unlocked before attempting to flash a custom recovery. Flashing the wrong recovery image can cause a soft brick.
Prerequisites
- An unlocked bootloader.
- Proper USB Drivers installed (15 Seconds ADB Installer) so your PC recognizes fastboot.
- A PC with Minimal ADB & Fastboot installed.
- A custom recovery image file for Whyred (TWRP or OrangeFox).
Step-by-Step Instructions
- 1Download Recovery: Download the recovery `.img` file and place it inside your ADB/Fastboot folder on your PC. Rename it to
recovery.imgfor convenience. - 2Enter Fastboot Mode: Power off your phone, then hold Volume Down + Power to enter Fastboot mode. Connect to your PC.
- 3Open Terminal: Open a command prompt or PowerShell window inside the ADB/Fastboot folder.
- 4Check Connection: Run
fastboot devices. You should see your device serial number. - 5Flash Recovery: Run the command:
fastboot flash recovery recovery.img - 6Boot into Recovery: Before restarting normally, you MUST boot directly into the recovery to prevent MIUI from overwriting it. Hold Volume Up + Power until the Redmi logo appears, then release.