While there may be several custom recoveries available for most Android devices, the most popular ones available today are ClockworkMod Recovery (also called CWM) and TWRP (TeamWin Recovery Project). Apart from the ROM Manager and GooManager methods that are specific to these two recoveries respectively, both the other methods are universal and should work for any recovery as long as it’s compatible with your device.
There are primarily three standard methods of installing a custom recovery to your phone.
- Using ROM Manager or GooManager
- Using Fastboot
- Using flash_image
The ROM Manager or GooManager methods are the easiest for installing ClockworkMod or TWRP respectively. However, both these methods require root access so if that’s the path you’re choosing,
check out our guide on how to root your Android phone, if you haven’t done so already.
If you are looking to install any custom recovery directly from command line, the fastboot method is the one for you. A major benefit of this method is that it does not even require you to root your device first. Do note however that for this method to work, you must have an unlocked bootloader.
The flash_image method also allows you to install any custom recovery, and that too from your device itself. It will require root access, a terminal emulator app, and the flash_image binary, but it frees you from the hassle of using your PC to manually install the recovery with the fastboot method.
For both the fastboot and the flash_image methods, you will require the custom recovery image. You can get the latest version of ClockworkMod recovery image and TWRP recovery image for your device from the ClockworkMod download page and the TWRP download page respectively.
The following scenarios will require alternative installation methods:
- Your device does not have a separate recovery partition and its recovery comes built into the kernel (boot partition) itself. Samsung Galaxy devices and many Sony devices come under this category, and require flashing a kernel that includes the recovery using ODIN or FlashTool.
- Your device isn’t a native Android device but Android has been ported to run on it and it therefore requires a specialized method for installing ClockworkMod recovery. The HTC HD2 and the HP TouchPad are good examples of this.
Disclaimer: Please follow this guide at your own risk.
Install ClockworkMod Recovery with ROM Manager:
This is the easiest method available and lets you begin the installation using a graphical interface while you are booted into Android, thus you do not have to download the recovery image and enter any commands. This is the recommended method for most users and you should try other methods only if this one doesn’t work for you at all for some reason.
Step-1 Install ROM Manager on your device. It is an app that basically lets you schedule recovery operations while booted into Android, and has an option for installing the latest version of ClockworkMod Recovery.
Step-2 Launch the just installed ‘Rom Manager’ on your phone. The first option it gives you should say ‘Flash ClockworkMod Recovery’. Just tap on it and follow the instructions.
Step-3Wait patiently while the system reboots and the latest version of ClockworkMod Recovery is installed. Select to reboot the device if it prompts you to.
Step-4 Once the device reboots into Android, verify that you have the latest version of ClockworkMod Recovery installed by launching Rom Manager. It should now mention in the first option that you have ClockworkMod installed along with its version you’re running, and any updates that might be available. If a newer version is available, tap on that option and follow the instructions to update.
Install TWRP Recovery with GooManager:
Step-1 Install GooManager on your device. It is an app that lets you download and install several Android ROMs and mods hosted on the Goo.im website, along with flashing the latest TWRP Touch recovery.
Step-2 Launch GooManager once it has been installed.
Step-3 Press Menu and select the ‘Install OpenRecoveryScript’ option. Confirm any prompts that you get after that, and provide the app with root access if it requests for it.
Step-4 Wait patiently till the app downloads the latest TWRP recovery for your device, and installs it.
Step-5 Once the recovery has been installed, confirm that it installed successfully by booting into it. You can do that right from GooManager itself by pressing Menu and selecting the ‘Reboot Recovery’ option.
Install any Custom Recovery with Fastboot:
For this method to work, you must have ADB and fastboot installed on your computer.Once everything is all set, you can proceed as follows to install a custom recovery:
Step-1 Copy the recovery image to a convenient location on your computer, preferably with a short path. We will be placing it on the C Drive directly (not in any folder) and using that in the next steps.
Note: The recovery image should have .img extension. If it is in a zip file, extract the .img file from it before proceeding.
Step-2 While your device is powered on and booted in Android normally, connect it to your computer via USB and
Step-3 Connect your device to your computer via USB and wait till you see ‘fastboot USB’ on the screen.
Step-4 Launch Command Prompt and type the following command:
Note that we have used c:recovery.img as we the image extracted at the root of our C drive and renamed it to recovery.img. If you extracted the file elsewhere, use the appropriate path and if your recovery image has a different name, use the appropriate name or rename it to recovery.img first.
Step-5 Wait for the process to finish and reboot your device once it’s done.
Install any Custom Recovery with flash_image:
Just like the previous method, this method also requires following advanced steps and is not recommended if the first method is working for you. flash_image is a tool for Android devices that lets you rewrite your phone’s system partitions with partition image files and installing it to your device requires ADB.
Step-1 Download flash_image and extract it from the zip file to a location on your computer. We extracted it to the main C drive (not in any folder) and will use that in the next steps.
Step-2 Copy the recovery image for your phone to a convenient location on your computer, preferably with a short path. We will be placing it on the C Drive directly (not in any folder) and using that in the next steps.
Note: The recovery image should have .img extension. If it is in a zip file, extract the .img file from it.
Step-3 Enable USB debugging mode on your device from Menu > Settings > Applications > Development.
Step-4 Connect your device to your computer via USB.
Step-5 Open a Command Prompt window on your computer and enter the following commands:
adb push c:flash_image /sdcard/ adb push c:/sdcard/ adb shell su mount -o remount, rw /system cp /sdcard/flash_image /system/bin cd /system/bin chmod 777 flash_image flash_image recovery /sdcard/
This will first transfer flash_image and recovery.img to your phone. Then it will copy flash_image to the /system/bin folder of your Android device and make it executable. Finally, it will flash the custom recovery image to your device using flash_image.
Note that we used c:flash_image and c:recovery.img in the first two lines as we had these files extracted at the root of our C drive. If you extracted the files elsewhere, use the appropriate paths and if your recovery image has a different name, use the appropriate name.
Step-6 Reboot your device once the process is finished and you’re done. You may exit adb and the Command Prompt window on your computer by entering ‘exit’ thrice.
Boot Into Recovery
Now that you have the custom recovery installed, you should verify that it has been installed successfully by booting your device into recovery. You will also need to boot into recovery if you want to manually perform any of the recovery operations later.
If you installed the recovery using ROM Manager and are currently booted into Android, just launch ROM Manager on your device and tap ‘Reboot into Recovery’. With ROM Manager, it is also easier to just schedule the recovery operations from the GUI to be performed automatically, rather than rebooting manually into recovery and performing them from there.