How to Install a Custom Recovery on Your Android Device
A custom recovery lets you perform several advanced operations on your Android device and we have covered it before in some of our guides but now, we will be detailing several available methods that you can use to flash a custom recovery to your phone. These will include the automated ROM Manager method for ClockworkMod, the automaded GooManager method for TWRP, the fastboot method for devices with unlocked bootloaders, and the flash_image method for times when other methods just aren’t working.
2025 update: ClockworkMod/ROM Manager and GooManager were designed for legacy devices and are no longer maintained for modern phones. For current devices, use the official recovery recommended for your ROM/vendor (e.g., TWRP or your device’s LineageOS Recovery) and install it via fastboot/fastbootd (A/B & dynamic partitions) or Odin/Heimdall (Samsung). We keep legacy paths below for reference and add modern alternatives where appropriate.
If you want to learn more about what a custom recovery does, check out our ClockworkMod Recovery guide.
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.
Modern devices tip: Many phones launched with Android 10+ use A/B (seamless) & dynamic partitions, Android Verified Boot (AVB) and sometimes virtual A/B. That often means there is no separate recovery partition. You typically boot a recovery image temporarily with fastboot boot and then install (or just sideload ROMs) from there.
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. Check out our Android bootloader unlocking guide for more details on that.
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.
2025 note on downloads: For both the fastboot and the flash_image methods, you will require the custom recovery image. Prefer official, device-specific images from the TWRP device list or your ROM’s install page (e.g., LineageOS devices). Legacy ClockworkMod links may not host current builds.
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.
While it is not possible for us to have guides covering all the recovery installation methods for every single device out there, the standard methods provided in this guide should work for most devices. Furthermore, see these guides instead for some specific devices:
Install ClockworkMod recovery on HTC HD2 with MAGLDR | Samsung Galaxy S I9000 | Samsung Continuum.
Disclaimer: Please follow this guide at your own risk. AddictiveTips will not be liable if your device gets damaged or bricked during the process.
Automated Methods
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.
Legacy status (2025): ROM Manager/CWM are no longer maintained for modern devices and may fail on recent Android versions. If this method doesn’t detect your device or recovery, use the Fastboot or Samsung Odin methods below with official images.
- Install ROM Manager on your device.
- Launch ROM Manager > tap Flash ClockworkMod Recovery and follow the prompts.
- Wait while the device reboots and recovery installs.
- After Android boots, open ROM Manager to verify the installed recovery version and apply updates if offered.
Install TWRP Recovery with GooManager:
Legacy status (2025): GooManager/goo.im are discontinued. Use official TWRP images and install via Fastboot (A/B & most OEMs) or Odin/Heimdall (Samsung). If you still have an older device where GooManager works, the original steps follow for historical reference.
- Install GooManager on your device.
- Launch GooManager.
- Press Menu > Install OpenRecoveryScript and grant root when prompted.
- Wait while the app downloads and installs TWRP for your device.
- Verify by booting to recovery from GooManager > Menu > Reboot Recovery.
Modern alternative: Download the image for your device from the official TWRP device page, then follow Fastboot (most devices) or Odin (Samsung) steps below.
Manual Methods
For any of the following methods, make sure to grab the latest recovery image for your device from the ClockworkMod Recovery download page or the TWRP Download Page.
WARNING: It is very important that the recovery image that you use in this method is compatible with your device. Else it will not work and flashing it could possibly mess up your device.
Install any Custom Recovery with Fastboot:
For this method to work, you must have ADB and fastboot installed on your computer. If you don’t, you can refer to our Android SDK installation guide. Once everything is all set, you can proceed as follows to install a custom recovery:
- 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. - While your device is powered on and booted in Android normally, connect it to your computer via USB and
- Connect your device to your computer via USB and wait till you see ‘fastboot USB’ on the screen.
- Launch Command Prompt and type the following command:
fastboot flash recovery c:\recovery.img
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.
Modern devices (A/B & dynamic partitions): Many newer phones do not have a dedicated recovery partition. Use fastboot boot recovery.img to temporarily boot the recovery, then use the recovery’s own Install or ADB sideload function to make it persistent if supported. If prompted to switch to fastbootd, follow on-screen instructions and use the same commands there.
Samsung: Use Odin/Heimdall and a .tar TWRP build, flashing it in the AP slot. See the device-specific TWRP page for exact files and steps.
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. If you don’t already have ADB installed, check out our guide on installing ADB. Once you have ADB installed, flash the custom recovery image as follows:
WARNING: It is very important that the recovery image that you use in this method is compatible with your device. Else it will not work and flashing it could possibly brick your device.
- (https://addictivetips.com/app/uploads/2011/01/flash_image.zip) 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.
- 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. - Enable USB debugging mode on your device from Menu > Settings > Applications > Development.
- Connect your device to your computer via USB.
- Open a Command Prompt window on your computer and enter the following commands:
adb push c:\flash_image /sdcard/ adb push c:\recovery.img /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/recovery.img
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.
2025 reality check: On Android 10+ devices with system-as-root and read-only system partitions, remounting /system R/W from Android is blocked. The flash_image approach is for legacy devices only; use Fastboot/fastbootd or Odin on modern hardware.
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. You can learn more in our guide on Android ROM Manager.
If you have used any of the other methods to install the custom recovery or can’t boot Android to be able to use ROM Manager and use it to reboot into recovery, you can use the manual method for booting your device into recovery.
If any of these methods don’t work for you, check out our ClockworkMod recovery section for guides on several other devices including most tablets.
Modern devices tip: Typical key combos: Power + Volume Down to reach bootloader/fastboot; from there choose Recovery or fastbootd. On Samsung, use Download/Odin Mode and then the model-specific combo to boot recovery after flashing.
That’s about it – you should now have a custom recovery installed on your Android device. Know of another method? Let us know in the comments.
What’s New in This Update
- Added 2025 guidance: CWM/ROM Manager and GooManager are legacy; prefer official TWRP or LineageOS Recovery with fastboot/fastbootd or Odin/Heimdall.
- Explained A/B & dynamic partitions, absence of a dedicated recovery partition, and when to use
fastboot boot+ ADB sideload. - Noted Samsung-specific Odin workflow using
.tarbuilds in the AP slot. - Flagged
flash_imageas legacy due to Android 10+ read-only/system-as-root changes. - Added modern “Boot Into Recovery” tips (fastbootd, key combos).
Last updated: October 22, 2025
Pls I need cwm for my techno s9 tablet
Thank you worked great. I was getting crazy
I can not find recovery image for Infocus M530. How to install custom recovery for it?
Hello,
Thanks for the complete guide
I want to install “CWM 6.0.4.8 Advanced Edition / PhilZ Touch Recovery 6.40.1” (on xda-developers site) on my Galaxy Ace GT-S5830.
I tried to flash recovery.img via terminal emulator, but it returned errors like “flash_image: permission denied”
I tried to flash recovery.img via adb as you explained, but some of the commands were not found.
I have converted its “recovery.img” to “recovery.tar.md5”,
to flash the recovery via Odin. Is it safe to flash what I have converted from
.img to .tar.md5, via odin?
Please guide me.
Thanks in advance
When i try custom recovery with flash image it works till the last line, ‘
flash_image recovery /sdcard/recovery.img’,
then just says error scanning partitions invalid argument, any clues how to fix this?
You mention in your post that the flash_image method “frees you from the hassle of using your PC to manually install the recovery with the fastboot method.”
Then you explain the different methods, and in the flash_image section what are your instructions? They all depend on using a PC.
Really? Does not inspire confidence.
Thanks very much. I had been struggling for a week to update my ROM but I am a layman and searched thro’ and tried huge number of sites, forums and youtube, but finally using your process and some info. from Freaktab I was successfully able to do it on my Expensive & Feature packed Chinese Phone !
I’m getting “error scanning partitions: no such file or directory” after last line. Can anyone help?
Really frustrated. After jumping through so many hoops, finally get every line of this script working except, “flash_image recovery /sdcard/recovery.img” It errors to “scanning partitions: no such file or directory” what’s going wrong and how can I fix this? On Kurio7 tablet, which is an LY-F1 clone. I hope someone can help!
You are the best 😀
Thanks for this amazing Article and Guide…..
failed with error: -1
Any CWM for Samsung galaxy star pro????
Tried using the flash_image method, got this result. Help?
Did you figure out a solution to this? I’m hitting the same issue.
If anyone has a solution to my problem please do email me at anziniel@gmail.com
hi…i have a Sony Xperia Z C6602..I just have a problem which i cant seem to fix….first d range meter disappeared and the cell was not showing range though the sim was still in and it would continuously restart till the batteries drained…the imei code from the cell just vanished as i couldn’t access it from the phone no more…i tried flashing it but to no use…it got worse..before flashing i was able to use the cell functions a bit and enable dev mode on it now i cant even get it past the lock screen and it restarts…it seems as though none of the methods are working as i cant enable dev mode…could i just format the phone entirely and reinstall a fresh copy of android….ds started after i upgraded android jelly bean from 4.2.1 to 4.2.2 that is the latest version available by sony…i need help plesae
Thank you! Goo saved me and TWRP! I couldn’t get from hboot to recovery. Couldn’t get to recovery with TWRP app. Goo updated my TWRP and did it all for me. Perfect noob helper.. Goo put me in recovery wiped and flashed rom in under 5 minutes. Just by following your simple steps. 🙂
hi i have a goohpone i5 and i am trying to flash cwm revovery with this method, when i come to the cp command , im stuck with sh: cp: not found! i cant do anyting from this point forward! what can i do to continue the process?
Try using ‘mv’ instead of ‘cp’.
Using ROM Toolbox is the easiest way. It has both TWRP and CWM recovery and its free (ROM Toolbox Lite).
ROM Toolbox -> ROM Management -> Flash Recovery -> Select the recovery -> done!
my command prompt (cmd) didnt recognize commands used in ” with flash image”
Thanks a lot: my recovery mode got borked, and thanks to you I’ve been able to re-set it via adb.
Again, thanks. And kudos for a a very well-made guide.
how do you install clockwork mode on huawei 8180
if you get the “no space left on device” on the flash_image, try: ./flash_image recovery /dev/zero then try flashing the recovery.img again, worked like a charm.
Hi there, I have been trying to flash Clockwork Mod recovery image onto
my lg optimus 2x for hours and hours and it’s not working. I have tried several
methods:
1. ROM Manager: during the process of flashing the recovery image, it
stops and shows the notification “error while running privileged commands”, a
few minutes later, my phone crashes, and on reboot, it gets stuck on the boot loop.
I end up having to restore my phone every time (which I’ve done 30+ times of)
*Note: when I activate the recovery menu the phone automatically starts
to wipe everything before I gain access to the menu, so every time I go into
the recovery menu my phone gets restored.
2. I’ve tried flashing the recovery image from my computer following the
procedures of this website http://android.modaco.com/topic/335479-29-jun-4005-clockworkmod-recovery-for-the-lg-optimus-2x/.
Basically, I run the .batch windows installation file, and after it finishes I
reboot my phone like it said, and my phone is stuck in a boot loop—help factory
reset again.
3. I have tried using flash_image (https://www.addictivetips.com/mobile/how-to-install-a-custom-recovery-to-an-android-phone-device/),
and everything is working fine as I run the following commands:
adb push c:flash_image
/sdcard/
adb push
c:recovery.img /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/recovery.img
Until the last line, I get the message “error scanning partition” at the
very end, and can’t flash the recovery image.
Fastboot: I have not attempted the fastboot method yet, because upon researching
on how to fastboot my phone on google, I found no method for my specific phone,
and explanation of required software and steps on a computer was not very clear
enough for me to understand. If anyone could explain in detail how to fastboot
I would really appreciate it.
I assume flashing CWM on the optimus 2x shouldn’t be this much of a
hassle so something must be wrong, I have spent more than 10 hours trying the
flash it and restored my phone more than 30 times.
Please help, thankyou.
MY GALAXY MINI GOT BRICKED !!!! WRONG INSTRUCTIONS PLZ DO NOT FOLLOW ANYONE T B H !!!!!!!!! F UUUUUUUUUUUUUUUUUUUUUUUU
i got stuck at waiting for device on fastboot mode
Can someone help me how to fix the Illegal instruction error ? Thanks in advance
I get “cp: permission denied” ofter entering: “mount -o remount, rw /system”
im using With flash_image: option to get ClockworkMod recovery on my root-samsung-galaxy-gio-s5660
Installed stock rom is v2.3.3 Gingerbread (S5660XXKPA)
Oke fixed the problem. I did not see the mob popped up a message asking su permission!
Now i have a new problem after command: cp /sdcard/flash_image /system/bin
i get :cp: not found
#
A
Any one a idee to get this working?
works in the droid 2 global
Hi,
Can samsung device be fastbooted? I googled a lot byt found very little information about ‘fastboot on samsung galaxy ace’ or Micromax A70.
Also does the flash_image method applies on Micromax A70?
Hope to hear drom you soon.
Hey there,
My phone model is not available on the options.
Please provide the model GARMIN-ASUS A10 on the next update please.
-Thanks
hello, excuse my English but it is bad.
The Recovery ClockworkMod you can put a mini samsung galaxy, since it brickea Rom Manager, so ask before you put it, since I want to make a copy of the rom that comes with the phone factory.
Thank you
I have this FastBoot info:
SAPPHIRE PVT 32B SHIP S-ON G
HBOOT-1.33.013 (SAPP30000)
CPLD-10
RADIO-2.22.28.25
Oct 21 2009,22:33:27
But if I try ROM Manager it say’s it installed but it never boots into recovery (how much time is reasonable for this?) If I try FastBoot I get the “Remote Not Allow” Error and if I try Flash_Image I get the “Illegal Instruction” and sometimes the ‘+ Stopped (signal)” when running Flash_Image, what can I do to install this Recovery?
UnrEVOked installed it automatically for me. Works fine.
Hi after clicking on Flash ClockworkMod Recovery, it ask me my phones model no, n myGalaxy spica is not mentioned in the options…
Thanks!!
i can boot to recovery mode now
so I am trying to use Rom manager but every time I flash clockworkmod recovery and then reboot into recovery it isn’t installing correctly. I keep getting errors saying
E:failed to verify whole-file signature
E:signature verification failed
Installation aborted
ive tried multiple times and I keep getting the same thing. now i am trying to use fastboot but I cant find a recovery image for the vibrant. is there anything else I can do? BTW my phone has been rooted with Superoneclick. I have done all the work needed to flash the 2.3 Gingerbread Clone ROM On my Samsung Vibrant this is the only step I’m having trouble with.
did you find a fix for this problem (so I am trying to use Rom manager but every time I flash clockworkmod recovery and then reboot into recovery it isn’t installing correctly. I keep getting errors saying ). i have the same problem.
E:failed to verify whole-file signature
E:signature verification failed
Installation aborted
ive tried multiple times and I keep getting the same thing. now i am trying to use fastboot but I cant find a recovery image for the vibrant. is there anything else I can do? BTW my phone has been rooted with Superoneclick. I have done all the work needed to flash the 2.3 Gingerbread Clone ROM On my Samsung Vibrant this is the only step I’m having trouble with.
A
after clicking on Flash ClockworkMod Recovery, it ask me my phones model no, n my LG OPtimus P500 is nt mentioned in the various option, pls help wat shld i do????