Thursday 30 August 2012

Complete Guide of ClockworkMod Recovery


Today I am going write about ClockworkMod Recovery.Many of new users ask me how to do this in ClockworkMod recovery,how to do that in ClockworkMod recovery etc. So,in this post i am going to jot down every fetures of ClockworkMod recovery.Which help them like a guide.

1) We (Samsung Galaxy Y phone series) peoples dont have a permanent ClockworkMOD Recovery yet. So you need to Select the zip file verytime, if you want to use CWM.
2) you have to enable USB debugging mode on your device from Settings > Applications > Development.

How to install ClockworkMOD Recovery

  1. Download the CWM Recovery zip file and put it on the root directory of your SD card (Do no put it in any folder)
  2. Switch off your phone.
  3. Boot into Recoverymode (By pressing and hold Volume up button+Home button+Power button)
  4. Select "apply update from sdcard".
  5. Find the CWM zip file which you put into the root directory and select it by pressing the home button.
  6. Once done, it will give you the option to reboot your phone, reboot and you are done!
  7. Now you have CWM installed.

Let’s take a look at all the options it offers you to manage your Android device. I am using a Galaxy y Duos running ClockworkMod recovery 3.0.0.5 but the details should apply to other devices and other 3+ versions of the recovery as well, while versions prior to 3 will have some very minor changes that shouldn’t be an issue.

This is what you see when you reboot your device into ClockworkMod recovery:


You can navigate these options by using the Volume-Up and Volume-Down keys to highlight an option and the ‘Power’ key to enter/launch the highlighted option. Let’s review each of these options and their sub-menu options in detail.

1. Reboot system now - This one is self-explanatory.

2. Apply update from sdcard - This can be used for installation of any official or unofficial update, ROM, kernel, theme etc. that is in a zip format installable from recovery, as long as the file is named update.zip and it has been placed on the root of your SD card (i.e. not in any sub-folder). Selecting this option (and most of the options featured below) will bring up a rather annoying confirmation prompt but this has saved us on multiple occasions from a lot of trouble we would have been into due to accidental key presses. This is what we are talking about:


3. Wipe data/factory reset - This option wipes all user data on the device as well as cache. Doing this will leave your phone in the state it was in when you bought it or when any custom ROM was first installed. It will also wipe any sd-ext partition that you might have setup (more on this later).

4. Wipe cache partition - Wipes the cache partition of the device to clear all the data accumulated there over use. This is often used before installing a new ROM, app, kernel or any similar mod via recovery.

5. Install zip from sdcard - This option brings up the following sub-menu:

A. Apply /sdcard/update.zip - This one is essentially the same as the ‘apply update from sdcard’ option of the main menu.

B. Choose zip from sdcard - Lets you install any zip file (with any name) from any location on your SD card. The file can be for a ROM, a kernel, an application, a theme or any mod as long as it is in recovery-flashable zip format. This is the most widely used option for installing a ROM that you have downloaded and copied to your SD card. Entering this option will bring up a screen that will allow you to browse your SD card for the zip file and select it for installation as in this screenshot:


C. Toggle signature verification - Turns the signature verification on and off. When signature verification is on, you will not be able to install any custom ROMs that haven’t been signed by the developers (most custom ROMs aren’t signed). Switching it off skips the signature verification check and proceeds with the installation.

D. Toggle script asserts - Seldom-used option for a vast majority of users. It simply turns script asserts on or off. If you don’t know about these (we don’t), it’s best not to change this option.

E. +++++Go Back+++++ - Takes you back to the main recovery menu, obviously!

6. Backup and restore - Undoubtedly one of the most important features provided by a custom recovery, the backup and restore feature – also known as Nandroid backup – allows you to take a snapshot of your phone’s entire internal memory including all partitions, and save it on the SD card. Here is how it looks:

A. Backup - Takes a Nandroid backup, as explained above.

B. Restore - Lets you restore a previously taken backup. Entering this option presents you with a list of existing backups from the SD card that you can choose from for restoration.

C. Advanced Restore - This option is similar to the Restore option but once a backup has been selected to be restored, this option allows you to choose what parts of it to restore. You can choose to restore the boot, system, data, cache and sd-ext partitions, as shown here:

7. Mounts and storage - Allows you to perform maintenance tasks on all the internal and external partitions of your android device

A. Mount/unmount /system, /data, /cache, /sdcard or /sd-ext - These options let you toggle between mounting or unmounting these respective partitions. Most users don’t need to change these options.

B. Format boot, system, data, cache, sdcard or sd-ext - These let you directly format any of these partitions. Take extreme care with this option as formatting any of these partitions will result in losing all data on them, especially the boot and system partitions. Formatting the system partition will remove your ROM and leave your phone without an operating system while wiping the boot partition may brick your phone unless you restore or flash another one before rebooting your device. To learn more about the contents of all these partitions, see our guide to Android partitions.

C. Mount USB storage - Lets you enable USB mass storage mode for your SD card right from recovery so that you can connect it to your computer via USB and transfer any files to/from it without having to leave recovery.
8. Advanced - This section contains a few options most users will not require, though these can come handy quite often, especially wiping Dalvik cache, which is required before most ROM installations. Here are the options from this section:

A. Reboot Recovery - Lets you directly and very conveniently reboot from recovery right back into recovery. This is useful option for certain back-to-back installations that require the device to at least boot once between them.

B. Wipe Dalvik Cache - Allows you to wipe the cache for the Dalvik virtual machine (the custom-built Java virtual machine for Android).This is required before most ROM installations and at other occasions too, for fixing some problems.

C. Wipe Battery Stats - Wipes the saved battery usage statistics and effectively recalibrates the battery. Useful in various scenarios when Android isn’t showing correct battery levels.

D. Report Error - In case of errors, this feature can be used to save a log of recent ClockworkMod recovery operations on the SD card that you can later report from Android using ROM Manager.

E. Key Test - Lets you press any of the hardware keys to see if they are properly functioning, and to see their key codes.

F. Partition SD Card - This option gives you a no-frills way to partition your SD card properly for use with ROMs that support data2ext (a very handy hack for low internal memory devices that enables an /sd-ext partition on the SD card to be used as the internal user data storage i.e. as the /data partition). Once this option is selected, you will be given options to choose the sizes for the /sd-ext partition as well as an optional /swap partition on the SD card, and will then automatically format it for you, leaving the remaining space for normal SD card usage. This option will wipe all data from your SD card so use it with caution!

G. Fix Permissions - Fixes the file permissions for the internal memory partitions back to default. This is very useful as a fix for several errors and Force-Closes that start appearing after you or an application you installed and provided root access end up messing up the permissions of important files.