Guides

[Guide] Install ClockworkMod (CWM) Recovery on Samsung Galaxy S4 (GT-I9505)

Written by AndroidTeleGraph

ClockworkMod is a term you’ll surely encounter in the Android world if you’re even remotely interesting in things like root or custom ROMs, and maybe even otherwise. Developed by koush (Koushik Dutta), ClockworkMod (CWM) is a custom Android recovery that makes the installation of custom ROMs and modifications possible, along with other advanced features (wiping data, backing up your phone’s ROM, and more) the stock Android recovery doesn’t provide.

If you’re looking to flash CWM recovery on your Galaxy S4 so you can enjoy all the custom ROMs and other hacks available for it (or just so you can obtain root access), then we have a step-by-step guide to help you through the entire procedure. Just set aside 15 minutes of your time, grab your phone, and you’ll have CWM recovery installed on it in no time.

So, let’s begin with the flashing procedure.

Caution: This guide is applicable only to the LTE-enabled Galaxy S4 that has model number GT-I9505, do not try it on any other device. Also, while the steps have been checked to make sure they’re correct, we won’t be held liable if your phone stops working, blows up, or decides to start some other abnormal behavior (though none of that will actually happen).

Requirements

  • First, note down the model number of your Galaxy S4, it has to be the quad-core variant with model number GT-I9505. The model number can be checked in the Settings » About phone menu. Do not try this on the octa-core variant with model number GT-I9500.
  • Download and install the drivers for the phone. Best way to get the drivers is to install Kies, though you can also download the separate driver package from hre.
  • Take a backup of your installed apps and other data, such as SMS or Contacts, just to ensure you don’t lose important data even though the procedure is safe. Use apps like Helium or Super Backup.

Downloads

  • Download the latest version of CWM recovery from its development page. The file you download might show up as a compressed file, but don’t extract it as we need to use it as it is. Make sure the file has the .tar file type instead of .zip by checking its properties after downloading, if it has downloaded as a .zip file, rename the file to .tar at the end of the file name (if you can’t see the extension, go into Control Panel » Folder Options » View and uncheck “Hide extensions for known file types,” then try renaming the file).
    Download CWM
  • Download Odin, which is the flashing tool that we’re going to use to flash CWM recovery. Extract the file you download once to get around 4 files inside a folder named “Odin_v3.07.”
    Download Odin (Odin_v3.07.zip)

Install CWM Recovery

  1. Once you’ve gone through the above steps and downloaded the necessary files, turn off your phone and disconnect it from your PC.
  2. Press and hold down the Volume Down + Home + Power buttons until the screen shows you a “Warning!” screen. Here, press the Volume Up button to continue to enter download mode, also called Odin mode.
  3. Open Odin by double-clicking the Odin3_v3.07 file.
  4. Connect your phone to the computer (while it is in download mode.) Wait for the necessary drivers to finish installing. Once Odin detects the phone, the ID:COM box will turn yellow (or blue) and the words “Added!!” will show up in the white box at the bottom left of Odin. If you’re using a desktop computer, try to use the USB ports on the back as they’re more stable than the ones at the front.
  5. Now, hit the PDA button in Odin and select the recovery file that you downloaded before.
    NOTE: If Odin doesn’t show the file for selecting, check the file properties and make sure it has been downloaded as a .tar file. If it says it’s a zip file, rename the .zip part of the file name to .tar (if you can’t see either .zip or .tar at the end of the file name, uncheck the “Hide File Extensions for known file types option in Control Panel » Folder Options » View tab, then try renaming the file).
  6. Make sure you don’t touch or change any other option in Odin, and that the Re-partition option is NOT checked.
  7. Go through the above steps once again and make sure you’ve followed them to the letter, then click the Start button to start the flashing procedure. Make sure you don’t interrupt the phone’s connection to the PC.
    NOTE: If Odin shows a FAIL message or doesn’t seem to be progressing for more than 4-5 minutes, simply disconnect the phone, remove and re-insert its battery, close Odin, then repeat the procedure from the beginning. Also try using a different USB port if possible.
  8. Once Odin finishes flashing, the phone will automatically reboot. You can now disconnect your phone.

How to Boot into CWM Recovery

  1. Turn off your phone. Turn off the phone. Then, press and hold the Volume Up + Home + Power buttons. Once the phone vibrates, let go of the power button but keep holding down the other two buttons. Once some blue text appears on the top left of screen, let go of all the buttons. NOTE: If it boots into Android Recovery instead of ClockworkMod recovery, see the steps below to find out how to fix that.
  2. After a few seconds, the phone will boot into ClockworkMod recovery. In recovery, you can tap on options to activate them, and reboot using the reboot system now option.

What to do if Phone Boots into Stock Recovery (Android Recovery) instead of CWM

If your phone is running a stock ROM, it is possible CWM recovery may get replaced by the stock Android recovery, as a auto recovery restore system on stock ROMs that restores stock recovery. If that happens, follow the steps below to delete the files that restore stock recovery, after which you can flash CWM recovery again to make it permanent.

  1. Your phone will need to be rooted. Use our guide to root your phone.
  2. Download the app called Root Browser (install the one by JRummy Apps Inc if you see many apps called Root Browser) from the Play Store. Run it after downloading, then press the OK/Yes button when it asks if it can download the necessary utilities.
  3. Now, go into the system folder and delete the file called “recovery-from-boot.p.” Then, open the /system/etc folder and delete the “install-recovery.sh” file. It is possible you might not see one of these files, which is normal, just delete the one you do find.
  4. Then, repeat the procedure to flash ClockworkMod recovery on the phone. This time, it will not get replaced by stock recovery after a reboot.

That’s it, ClockworkMod (CWM) recovery is now installed on your Galaxy S4, and you’ll be able to use it to flash custom ROMs, kernels, and make other changes such as making factory resets, and more. Do let us know if you encounter any issues during the procedure, by leaving a comment below.

About the author

AndroidTeleGraph

Leave a Comment