Custom Recovery Installation Guide
Install custom recovery to unlock advanced Android modifications including rooting, custom ROMs, and comprehensive system backups.
Quick Navigation
- Understanding Custom Recovery
- Recovery Options
- Prerequisites
- Installation Guide
- Post-Installation
- Troubleshooting
Related Guides:
- Main Rooting Guide - Complete rooting overview
- Bootloader Unlocking - Required first step
- Magisk Installation - Root with custom recovery
- FAQ - Common issues and solutions
Understanding Custom Recovery
Custom recovery replaces Android's stock recovery with enhanced software providing advanced system management capabilities.
What Recovery Enables
- ⚡ Complete device backups (NANDroid)
- ⚡ Root installation (Magisk, KernelSU, APatch)
- ⚡ Custom ROM installation
- ⚡ System-level modifications
- ⚡ Module and mod installation
- ⚡ File system access
- ⚡ ADB sideload support
- ⚡ System repair tools
Requirements
Custom recovery requires:
- Unlocked bootloader - Unlock guide
- Correct recovery image - Device-specific
- ADB/Fastboot tools - Platform Tools
Modern vs Legacy Devices
Legacy Devices (Android 9 and older):
- Dedicated recovery partition exists
- Simple fastboot flash process
- Recovery persists easily
Modern Devices (Android 10+):
- A/B partition scheme (dual slots)
- Dynamic partitions (no dedicated recovery)
- Recovery embedded in boot/vendor_boot/init_boot
- Requires temporary boot or installer ZIP method
Choosing Recovery Software
Three primary custom recovery options exist, each with distinct features.
TWRP (Team Win Recovery Project)
Most popular and widely supported
- ✅ Broadest device support
- ✅ Extensive documentation
- ✅ Large community
- ✅ Mature, stable codebase
- ❌ Basic interface design
- ❌ Decryption issues on some newer devices
Best for: Most users, maximum compatibility
Download: twrp.me/Devices
OrangeFox Recovery
Modern TWRP-based alternative
- ✅ Material Design interface
- ✅ Additional features over TWRP
- ✅ Good device support
- ✅ Active development
- ❌ Smaller device list than TWRP
- ❌ Some unofficial builds
Best for: Users wanting modern interface on supported devices
Download: orangefox.download
SKYHAWK Recovery (SHRP)
Feature-rich recovery with advanced capabilities
- ✅ Dashboard-style interface
- ✅ Built-in security features
- ✅ Theme support
- ✅ Additional tools
- ❌ Limited device support
- ❌ Smaller community
Best for: Enthusiasts on supported devices
Download: skyhawkrecovery.github.io
TIP
💡 Quick Decision Guide
- New to custom recovery? → Choose TWRP
- Want modern interface? → Choose OrangeFox
- Need advanced features? → Choose SKYHAWK
- Device not supported? → Check XDA Forums for unofficial builds
Prerequisites
Critical Warnings
⚠️ ESSENTIAL REQUIREMENTS
Unlocked Bootloader - Custom recovery requires unlocked bootloader. Complete bootloader unlocking first.
Device Match - Installing wrong recovery image can brick your device. Verify exact model and codename.
Data Safety - While recovery installation shouldn't erase data, always backup important files first.
Warranty - Installing custom recovery typically voids manufacturer warranty.
Essential Requirements
Hardware
- Android device with unlocked bootloader
- 50% or higher battery charge
- Quality USB cable (data-capable)
- Computer (Windows, macOS, or Linux)
Software
- Android Platform Tools (latest version)
- Device-specific USB drivers (Windows only)
- Custom recovery image for your exact device
- Stock firmware backup (emergency recovery)
Knowledge
- Device model and codename
- Partition scheme (A/B or A-only)
- Basic command line usage
Identify Your Device
Find device codename:
Method 1: ADB command
adb shell getprop ro.product.deviceMethod 2: Device information
- Settings > About Phone > Model
- Compare with device page on recovery website
Method 3: CPU-Z app
- Install CPU-Z from Play Store
- Check "Device" tab for codename
Determine Partition Scheme
Check if A/B device:
adb reboot bootloader
fastboot getvar current-slotIf returns "a" or "b": A/B device If returns error: A-only device
Check recovery partition:
fastboot getvar has-slot:recoveryReturns "yes": Dedicated recovery partition Returns "no": Recovery in boot/vendor_boot/init_boot
Download Correct Recovery
- Visit recovery website (TWRP, OrangeFox, or SKYHAWK)
- Search for your device codename
- Download latest version for your Android version
- Verify SHA256 checksum if provided
Verify download (optional but recommended):
Windows PowerShell:
Get-FileHash recovery.img -Algorithm SHA256Linux/macOS:
shasum -a 256 recovery.imgInstallation Guide
Installation method depends on your device's partition scheme. Follow the appropriate path.
Step 1: Preparation
Place recovery.img in platform-tools folder
Enable USB Debugging on device
- Settings > Developer Options > USB Debugging
Connect device to computer
Verify ADB connection:
adb devicesDevice should appear in list
Step 2: Boot to Fastboot
Method 1: ADB command (recommended)
adb reboot bootloaderMethod 2: Hardware keys
- Power off device
- Hold Power + Volume Down (varies by manufacturer)
Verify fastboot connection:
fastboot devicesDevice serial should appear
Step 3: Installation Methods
Choose method based on your device type:
Method A: Legacy Devices (Dedicated Recovery Partition)
For devices with separate recovery partition (typically Android 9 and older).
Flash recovery:
fastboot flash recovery recovery.imgReboot to recovery immediately:
fastboot reboot recoveryOr use hardware keys after flashing to prevent stock recovery restoration.
Method B: Modern A/B Devices (No Dedicated Recovery)
For devices with A/B partitions and no dedicated recovery (Android 10+).
Step 1: Boot recovery temporarily
fastboot boot recovery.imgDevice boots to recovery without permanent installation.
Step 2: Install permanently from recovery
Option 1: Using installer ZIP
- Transfer recovery installer ZIP to device
- In recovery: Install > Select ZIP > Swipe to confirm
- Reboot to recovery
Option 2: Install to correct partition
- In recovery: Install > Install Image
- Select recovery.img file
- Choose correct partition:
- Boot (most common)
- Vendor_Boot (some devices)
- Init_Boot (Android 13+ GKI devices)
- Swipe to confirm
Step 3: Verify installation
fastboot reboot recoveryDevice should boot to custom recovery.
Method C: Samsung Devices (Odin Method)
Samsung devices require Odin tool instead of fastboot.
Requirements:
- Odin tool (Windows only)
- Recovery in .tar format
- Samsung USB drivers
Steps:
Download Odin from XDA or Samsung Firmware websites
Boot to Download Mode:
- Power off device
- Hold Volume Down + Power (or Volume Down + Bixby + Power)
- When warning appears, press Volume Up
Connect device to computer
Open Odin
Click "AP" button and select recovery .tar file
Uncheck "Auto Reboot" option
Click "Start" button
When "PASS" appears, manually reboot to recovery:
- Hold Volume Up + Power while connected
Note: Samsung Knox will permanently trip. Cannot be reversed.
Step 4: First Boot to Recovery
Critical: Boot to custom recovery immediately after installation to prevent stock recovery restoration on some devices.
Boot methods:
Fastboot command:
fastboot reboot recoveryHardware keys (common combinations):
- Power + Volume Up
- Power + Volume Up + Bixby (Samsung)
- Power + Volume Down (some OnePlus)
Verify recovery loaded correctly with touch interface working.
Post-Installation
Verify Installation
Check recovery features:
- Touch interface responds
- Storage accessible (or shows encrypted)
- Main menu displays correctly
- Device information shows custom recovery version
Test ADB access:
In recovery, enable ADB sideload or check:
adb devicesShould show device in recovery mode.
Create Backup
CRITICAL FIRST STEP
Create complete backup before making any modifications. This allows safe recovery if something goes wrong.
Recommended backup partitions:
Essential:
- Boot (or vendor_boot/init_boot on modern devices)
- Data (contains all user files and apps)
Important:
- EFS/Modem (IMEI and carrier data)
- Persist (sensor calibration)
Optional:
- System (large, can be restored from ROM)
- Vendor (usually included with ROM)
Create backup in recovery:
- Select "Backup" in recovery main menu
- Choose partitions to backup
- Swipe to begin backup
- Wait for completion (Data backup can be large and slow)
Transfer backup off-device:
Using ADB:
adb pull /sdcard/TWRP/BACKUPS/ backup_folder/Or connect USB and copy via file manager.
Store backup safely:
- External hard drive
- Cloud storage
- Multiple locations recommended
Test Essential Features
File access:
- Check if internal storage visible
- If encrypted and not decrypting: use ADB sideload or OTG
ADB sideload:
- In recovery: Advanced > ADB Sideload
- On computer:
adb sideload test.zip
Mount options:
- Verify system, data, cache mount correctly
- Check if USB OTG works for external storage
Handle Encryption
Modern devices use File-Based Encryption (FBE) which recovery may not decrypt.
If storage appears encrypted:
Option 1: Use ADB
adb push file.zip /sdcard/Option 2: Use OTG storage
- Connect USB drive via OTG adapter
- Install from OTG in recovery
Option 3: Format data (last resort)
- Removes encryption and all data
- Wipe > Format Data
- Type "yes" to confirm
- Complete data loss
Essential Operations
Installing ZIP Files
Method 1: From internal storage
- Copy ZIP to device internal storage
- In recovery: Install
- Navigate to ZIP file
- Swipe to confirm installation
- Reboot when complete
Method 2: ADB sideload
- In recovery: Advanced > ADB Sideload
- On computer:
adb sideload file.zip- Wait for installation completion
- Reboot System
Method 3: OTG storage
- Connect USB drive via OTG
- In recovery: Install
- Select "USB OTG" storage
- Navigate to ZIP
- Swipe to confirm
Managing Backups
Create backup:
- Backup > Select partitions > Swipe to confirm
- Store in safe location off-device
Restore backup:
- Restore > Select backup > Choose partitions > Swipe to confirm
- Device returns to backed up state
Delete old backups:
- Use recovery file manager or ADB
- Free up storage space regularly
Wiping Operations
Factory reset:
- Wipe > Factory Reset
- Clears data but keeps internal storage on most devices
Advanced wipe:
- Wipe > Advanced Wipe
- Select specific partitions:
- Cache (safe, clears temporary files)
- Dalvik/ART Cache (safe, rebuilds on boot)
- Data (removes all apps and settings)
- System (removes operating system)
WIPE WARNINGS
System Wipe - Removes your operating system. Have ROM ready to install.
Data Wipe - Removes all apps, settings, and files.
Format Data - Removes encryption and all data. Requires device setup from scratch.
Modern Device Considerations
A/B Partition Scheme
Characteristics:
- Two system slots (A and B)
- Seamless updates
- No dedicated recovery partition
- Recovery in boot/vendor_boot/init_boot
Implications:
- Must use temporary boot or installer ZIP
- OTA updates may remove custom recovery
- Need to reinstall after updates
Check active slot:
fastboot getvar current-slotSwitch slots if needed:
fastboot set_active a
# or
fastboot set_active bDynamic Partitions
Characteristics:
- Flexible partition sizing
- Super partition contains system, vendor, product
- Introduced in Android 10
Implications:
- Larger backup sizes
- Different flashing procedures
- Some recoveries may not fully support
Android Verified Boot (AVB)
With unlocked bootloader:
- AVB verification disabled
- Custom recovery and modifications allowed
- No need to flash vbmeta typically
If issues occur:
- Check device-specific instructions
- Some devices may need vbmeta modifications
Fastbootd Mode
Userspace fastboot for dynamic partitions:
Enter fastbootd:
fastboot reboot fastbootUsed for:
- Flashing dynamic partitions
- Some ROM installations
- Not typically needed for recovery
GKI Devices (Generic Kernel Image)
Android 12+ devices with GKI:
- Recovery may be in init_boot partition
- Check device instructions carefully
- Use appropriate partition for flashing
Troubleshooting
Recovery Won't Boot
Symptoms: Device stuck on logo or bootloops after recovery flash
Solutions:
- Boot recovery temporarily to test:
fastboot boot recovery.imgVerify correct recovery for your device and Android version
Flash to correct partition (check device instructions):
fastboot flash boot recovery.img
# or
fastboot flash vendor_boot recovery.img
# or
fastboot flash init_boot recovery.img- Restore stock image:
fastboot flash boot stock_boot.imgRecovery Disappears After Reboot
Cause: Device restored stock recovery on first normal boot
Solution:
Boot to custom recovery immediately after flashing:
fastboot reboot recoveryOr install root solution (Magisk) which prevents restoration.
Touch Not Working
Solutions:
- Try different recovery version (newer or older)
- Use hardware buttons to navigate
- Check device page for known touch issues
- Try alternative recovery (OrangeFox if using TWRP)
Cannot See Internal Storage
Cause: Recovery cannot decrypt device encryption
Solutions:
Option 1: Use ADB sideload
adb sideload file.zipOption 2: Use OTG storage
- Connect USB drive
- Install from OTG
Option 3: Format Data (data loss)
- Wipe > Format Data
- Type "yes" to confirm
- Removes encryption and all data
Fastboot Not Detecting Device
Solutions:
- Install/reinstall USB drivers (Windows)
- Try USB 2.0 port instead of 3.0
- Use different USB cable
- Run as administrator (Windows)
- Check device appears:
fastboot devices
"No OS Installed" Warning
Cause: Recovery detects no operating system
If you didn't wipe system:
- Warning is false positive
- Reboot System should work
If you wiped system:
- Install custom ROM now
- Or restore from backup
- Device won't boot without OS
Slot Issues (A/B Devices)
Boot fails after recovery installation:
Check active slot:
fastboot getvar current-slotTry other slot:
fastboot set_active a
fastboot rebootOr:
fastboot set_active b
fastboot rebootInstallation Errors
"Remote: Flashing not allowed"
- Bootloader not fully unlocked
- Some devices need:
fastboot flashing unlock_critical
"Remote: Partition doesn't exist"
- Wrong partition name for your device
- Check device-specific instructions
"Failed to flash"
- Corrupt download - redownload recovery
- Wrong recovery variant for device
- USB connection issue - try different port/cable
Emergency Recovery
Device Won't Boot to Any Mode
Try emergency download mode (varies by manufacturer):
- Qualcomm: EDL mode (test point or special key combo)
- Samsung: Download mode (Volume Down + Power)
- Xiaomi: EDL mode (Volume Down + Power while connecting)
Use manufacturer unbrick tools:
- Google: Flash full factory image
- Samsung: Odin with stock firmware
- Xiaomi: Mi Flash Tool
- OnePlus: MSM Download Tool
Seek device-specific help on XDA Forums
Backup Bootloader Access
Always maintain ability to:
- Boot to fastboot/bootloader
- Boot to download/EDL mode
- Flash stock firmware
Keep downloaded:
- Stock firmware for your device
- Emergency flashing tools
- Device drivers
Next Steps
Custom recovery successfully installed. Choose your path forward:
For Rooting
Install root solution:
- Magisk Guide - Most popular, extensive modules
- KernelSU Guide - Kernel-based, better hiding
- APatch Guide - Alternative approach
Essential root apps:
- Root Apps Collection - Curated list of root apps
For Custom ROMs
Install custom ROM:
- Custom ROM Installation Guide - Complete process
- LineageOS, Pixel Experience, Paranoid Android, etc.
For Learning
Practice operations:
- Create and restore backups
- Install simple mods
- Learn ADB sideload
- Experiment safely with backups
For Support
Get help:
- FAQ - Common questions
- Troubleshooting Guide
- XDA Forums - Device-specific help
- GitHub Issues - Report problems
Additional Resources
Official Recovery Sites:
Community Resources:
- XDA Developers - Device-specific guides
- Reddit r/AndroidRoot - Community support
Related Guides:
- Main Rooting Guide - Complete overview
- Bootloader Unlocking - Required prerequisite
- Root Framework Comparison - Choose root method
Safety Reminders
Before making changes:
- Create complete backup
- Verify you have correct files
- Understand what you're doing
- Have recovery plan ready
When experimenting:
- Start with small changes
- Test one thing at a time
- Keep backups current
- Document what you do
If problems occur:
- 🌐 GitHub: Contribute to the project's source and development.
- 𝕏 Twitter: Stay updated with the latest news and community highlights.
- Complete FAQ
- XDA Forums — Device-specific help and threads
🎉 Congratulations!
You’ve installed custom recovery or set up a safe temporary-boot flow. Always back up before major changes, and follow device-specific instructions for best results.