What is installing via cwm. Rashr application for ClockWorkMod. Restoring firmware from backup via CWM

Every novice user Android tablet or phone, traveling through thematic sites and forums, sooner or later he comes across a mention of the mysterious, which is especially often mentioned in instructions for firmware, replacing the system kernel and other “hacker” things.

So what is it, what is it intended for, and how to handle it correctly? I will try to answer these questions in this article, which contains full instructions on working with ClockworkMod Recovery.

In a nutshell, or ClockworkMod or simply CWM is an alternative recovery for Android devices. Instructions for working with ClockworkMod Recovery contain the following sections:

What is recovery?

Every Android tablet or phone has a factory recovery that can be loaded when you turn on the device by pressing a specific key combination. Factory recovery, usually knows how to install system updates from the update.zip file and clean the system.

Introduction to alternative recovery ClockworkMod

- this is a much more powerful, compared to the factory, system recovery utility (menu), which allows you to make complete backup copies of the entire system of the device, install it on it software, firmware, kernels and much more, which usually does not allow for factory recovery. ClockworkMod, installed in a special system partition internal memory tablet or phone, in place of the factory recovery menu.

ClockworkMod Recovery can help you out with some seemingly hopeless situations. Even if your tablet or phone cannot boot, in many cases with using CWM you can restore the system with all its settings and applications.

Here is a rough list of what you can do with ClockworkMod Recovery:

Install custom firmware and unofficial kernels

Install factory system updates, add-ons and patches

Connect to a computer via USB in removable storage mode

Connect to a computer via USB to work with the ADB program

Create a complete backup copy of the current firmware and its individual parts (system, settings, applications)

Restore a device from a previously created backup

Do a factory reset (Wipe – data/factory reset), clear the cache ( wipe cache), clear Dalvik-cache (wipe Dalvik-cache), clear battery statistics (wipe battery stats)

Create partitions on a memory card and format them

Created by developer Koushik Dutta (also known as Koush) and there are CWM versions for most Android phones and tablets.


Installing ClockworkMod Recovery

For many smartphones and some tablets, installing ClockworkMod Recovery is a very simple procedure, you just need to install the program from the Market ROM Manager and the first item in her menu will be ClockworkMod installations. For other devices there may be separate utilities, similar to the app Acer Recovery Installer for Acer tablet Iconia Tab, or ClockworkMod Recovery is installed on them using the program adb .


Launching ClockworkMod Recovery

There are several ways to boot your tablet or phone into ClockworkMod Recovery.

1. Using the program ROM Manager by selecting the “Download” item in its menu Recovery mode».

2. By pressing a specific key combination when turning on the device. This combination depends on the device model. On many devices, you can get into recovery by pressing the volume down and power buttons at the same time when turning them on.

Installing firmware, updates, kernels and more on an Android device using ClockworkMod

All alternative firmware, custom kernels, cracks, add-ons, decorations, application packages that can be installed on a tablet or phone with using ClockWorkMod recovery - packaged as a zip file.

Before installing anything on your device, do not forget to make a complete backup copy of the current firmware, so that later you can painlessly return your tablet or phone to its original state.

Make sure your device's battery is fully charged and disconnect it from your computer and charger.

Copy the file you want to flash to the memory card, preferably to its root, WITHOUT UNPACKING IT. Make sure the file name consists only of Latin letters and numbers and does not contain spaces or special characters.

If you are installing new firmware, be sure to do complete cleaning using the item " wipe data/factory reset"

Let's get started with the firmware :

Insert the memory card into the device

Reboot the device into ClockWorkMod recovery

Select the item " install zip from sdcard".

Open the item " choose zip from sdcard".

In the window that opens, we find our file, it will be located at the bottom, after the list of folders (if they are on the memory card)

Confirm your choice by going to " Yes".

IN general case The buyer of any Android device receives out of the box a device designed for the “average user.” Manufacturers understand that it will still not be possible to satisfy the needs of absolutely everyone. Of course, not every consumer is ready to put up with this state of affairs. This reality has led to the emergence of modified, custom firmware and simply various improved system components. To install such firmware and add-ons, as well as manipulate them, you need special environment Android recoverymodified recovery. One of the first decisions this kind, which has become available to a wide range of users, is ClockworkMod Recovery (CWM).

CWM Recovery is a modified third party developers an Android recovery environment designed to perform many non-standard operations from the point of view of device manufacturers. The CWM recovery is being developed by the ClockworkMod team, but their brainchild is a fairly adaptable solution, so many users bring their own changes and, in turn, adapt the recovery to their devices and their own tasks.

The CWM interface is nothing special - these are ordinary menu items, the name of each of which corresponds to the title of the list of commands. Very similar to the standard factory recovery of most Android devices, only there are more items and the expandable lists of applicable commands are wider.

Control is carried out using the physical buttons of the device - "Volume+", "Volume-", "Nutrition". Depending on the device model, there may be variations; in particular, a physical button may also be used "Home" or touch buttons under the screen. In general, the volume keys are used to move through items. Pressing "Volume+" results in moving up one point, "Volume-", respectively, one point down. Confirmation of entering a menu or executing a command is a key press "Nutrition", or physical button "Home" on the device.

Installation *.zip

The main, and therefore most frequently used, function in CWM Recovery is the installation of firmware and various system patches. Most of these files are distributed in the format *.zip, so the corresponding CWM recovery item for installation is called quite logically - "install zip". When you select this item, a list opens possible ways file location *.zip. You can install files from an SD card in various variations (1), as well as download firmware from using adb sideload(2).

Important positive thing, which avoids writing to the device incorrect files, is the ability to check the firmware signature before starting the file transfer procedure - point "toogle signature verification".

Cleaning partitions

To eliminate errors when installing firmware, many romodels recommend cleaning partitions Data And Cache before the procedure. In addition, such an operation is often simply necessary - without it, in most cases, stable operation of the device is impossible when switching from one firmware to a solution of another type. Mainly CWM menu The Recovery cleaning procedure has two points – "wipe data/factory reset" And "wipe cache partition". In the drop-down list after selecting one or the second section, there are only two items: "No"- to cancel, or "Yes, wipe..." to start the procedure.

Creating a backup

In order to save user data in case of problems during the firmware process, or to be on the safe side in case of an unsuccessful procedure, it is necessary to create a backup copy of the system. The developers of CWM Recovery have provided this feature in their recovery environment. The function in question is called when selecting the item « backup and storage". This is not to say that the possibilities are varied, but they are quite sufficient for most users. You can copy information from device partitions to a memory card – "backup to storage/sdcard0". Moreover, the procedure begins immediately after selecting this item, no additional settings not provided. But you can determine the file format of the future backup in advance by selecting "choose default backup format". Other menu items "backup and storage" designed for recovery operations from backup.

Mounting and formatting partitions

The developers of CWM Recovery have combined the operations of mounting and formatting various partitions into one menu, called "mount and storage". The list of revealed capabilities is minimally sufficient for basic procedures with device memory sections. All functions are performed in accordance with the names of the list items that call them.

Additional features

The last item in the CWM Recovery main menu is "advanced". This, according to the developer, is access to functions for advanced users. It is not clear what the “advancement” of the functions available in the menu is, but nevertheless they are present in the recovery and may be needed in many situations. Via the menu "advanced" the recovery itself is rebooted, rebooted into bootloader mode, and the partition is cleared "Dalvik Cache", viewing the log file and turning off the device when all manipulations in recovery are completed.

Advantages

  • A small number of menu items that provide access to basic operations when working with device memory sections;
  • There is a function for checking firmware signatures;
  • For many outdated device models, this is the only way to easily make a backup and restore the device from a backup copy.

Flaws

  • Lack of Russian interface language;
  • Some non-obviousness of the actions proposed in the menu;
  • Lack of control over procedures;
  • No additional settings;
  • Incorrect user actions in recovery can damage the device.

Despite the fact that the recovery from ClockworkMod is one of the first solutions that ensured widespread Android customization, today its relevance is gradually decreasing, especially on new devices. This is caused by the emergence of more advanced tools with more functionality. At the same time, CWM Recovery should not be completely written off as an environment that provides firmware flashing, backup creation and restoration of Android devices. For owners of several outdated, but fully functional devices, CWM Recovery is sometimes the only way to maintain a smartphone or tablet in the appropriate modern trends Android world condition.

Because the topic Android firmware devices is very relevant, I decided to write about installing CWM Recovery on an Android smartphone or tablet. There are several ways to do this: for some, all actions are performed on the device itself, but this requires root rights, while for others, a computer is used to install custom recovery. Whatever seems easier or more convenient to you, use it.

Method 1. Installing CWM Recovery via ROM Manager

The first way Recovery firmware is to use the ROM Manager program, which we have already talked about in the article:. This application has a separate item that allows you to install ClockWorkMod Recovery in a couple of minutes.

I would like to note right away that ROM Manager requires root rights to work. You can read how to get them and.

After that go to official page https://clockworkmod.com/rommanager and see if your device is on the list of supported ones.

1. Now open the ROM Manager and select the first item “Recovery Setup”.

2. In the next window, in the “Install or update Recovery” section, select “ClockworkMod Recovery”.

4. At the bottom, click on “Install ClockworkMod”.

5. The download process will begin. At good internet connection it lasts a couple of seconds.

6. At the end of the download, you will be asked to grant root access to the application. Select Grant.

7. That's it! You will see a notification “Successfully flashed ClockworkMod recovery!” Just click "OK".

This is how easy it is to flash CWM Recovery via ROM Manager. Now you can open it and you will find new items in it that were not in the standard one.

Method 2. Install custom Recovery on Android using the FastBoot utility

All steps described below are similar installing TWRP Recovery: .

Unzip the folder to the “C:” drive – there will be “tools” inside, and the “android” file in it. Launch it.

Select " Android SDK Platform-tools" and click "Install package".

Check the “Accept License” checkbox and then click “Install”.

After installation is complete, in the “tools_” folder version-windows" "platform-tools" will appear, and it contains "fastboot" and "adb". They will be useful to us later.

UPD: The “platform-tools” folder on my computer is in a different directory than yours. The fact is that this article was written back when there was an installer for the Android SDK. Starting from version 25, installation is carried out only from a ZIP archive: because of this, part of the instructions had to be edited. Therefore, the path to ADB and Fastboot is different from mine, everything else remains unchanged.

If you have Sony device, HTC, Nexus, Huawei or LG (some models), then Bootloader is blocked. How to unlock it is described on our website:

  • For HTC: ,

Let's start flashing the Recovery firmware:

1. First of all, go to this page and download the version of the “recovery-clockwork.img” file for your device. Please note that most devices have both a touch and classic version. Download the one you like best.

2. Now place the CWM recovery file in the “platform-tools” folder. I also renamed it to “recovery.img” (later you will understand why). I recommend that you do the same.

3. Connect your tablet or smartphone to your computer using USB.

In this case, the device must be loaded into fastboot mode. Usually, to do this, with the device turned off, you need to hold down the key combination: Power + Volume Down. But this combination may differ depending on the device manufacturer.

UPD: it’s much easier to switch to fastboot mode as follows: turn on the device, go to command line(point 4 below tells you how to get into it) and enter the commands sequentially, and after each press “Enter”.

CD path to "platform-tools"

I got it like this:

Your path will look different. If you acted exactly according to the instructions, it will come out (in any case, look at the path in the corresponding line of Explorer):

cd\tools_r25.2.3-windows\platform-tools

In the screenshot you can see how I entered the same commands. As a result, the device will boot into fastboot mode.

4. Now open the command line (or skip this item and continue working with it if you just switched Android to fastboot mode through it). The easiest way to get there is to press the key combination “Win” + “R” and enter:

After that, click "OK".

5. You will be taken to the command line.

6. Now you need to specify the path to the folder with the firmware. Enter next command to go back to the folder.

Press "Enter".

7. My path to the recovery folder is: “C:\ Program Files(x86)\Android\android-sdk\platform-tools". So I enter (you enter yours):

cd Program Files (x86)\Android\android-sdk\platform-tools

And press “Enter” again.

8. All that remains is to enter:

recovery.img

“recovery.img” is the name of the file being flashed. Remember I advised you to rename the recovery file? We did this for convenience so as not to enter something like “recovery-clockwork-6.0.4.7-flo.img”.

After entering this command, press “Enter” again.

9. As a result, we receive the following message.

Congratulations! You have successfully installed custom recovery(CWM) using the Fastboot utility!

Method 3. Flash Recovery via the Rashr application

This method is also incredibly simple and convenient, but requires root rights. How to obtain them is written at the beginning of the article in “Method 1”.

1. Install the Rashr - Flash Tool application from Google Play, open it and grant Root rights.

2. In the list of options, select “CWM Recovery”.

3. Then the program will display a list of available Recovery for your device. In my case, Rashr showed 2 options: ClockworkMod with support for pressing the screen and the classic option (controlled by the volume and power buttons).

4. When you see the download prompt, click Yes.

5. Then the download of CWM Recovery for your Android smartphone or tablet will begin.

6. At the end, a notification will appear that the firmware was successful and you now have a modified recovery installed. You can reboot into it and try it out. To do this, click “Yes”.

Perhaps this installation method can be called the simplest. The only thing it needs is root rights.

Method 4. Install Recovery on Samsung in Odin

If you have samsung device, you can install ClockWorkMod Recovery on Android using proprietary utility Odin. Here I will briefly tell you what to do. I recommend reading our article: . In it detailed information about using Odin.

CWM Recovery (ClockworkMod Recovery) is a small utility that is analogous to standard recovery. The program can help you do full reset phone, install any patches for a smartphone (tablet) or toys, and also knows how to flash mobile devices.

Modrecovery CWM was created by programmer Koushik Dutta. ClockworkMod Recovery supports most Android phones and tablets. IN this post We will tell you in detail about its installation and offer instructions for use. As a rule, modrekaveri is mainly needed for flashing gadgets.

How to install modrecovery?

  • launch the SP FLASH TOOL program (first unpack the CWM Recovery archive);
  • in Flashtool, click the “Scatter Loading” button and specify the path to the scatter file (it is located in the unpacked folder along with the modrecovery);
  • in FLASH TOOL, uncheck all the boxes except Recovery; — press the “Download” button ( blue arrow) – the smartphone is not connected yet;
  • connect the switched off gadget and wait for the CWM installation to complete;
  • after the green ring appears, the phone can be turned off, CWM Recovery is installed.

How to flash a device usingCWM?

Before flashing, you need to find suitable firmware to your device and load it onto the SD card (preferably to the root). Then you need to enter mode recovery mode: to do this, first turn off the device, then when it turns off, simultaneously press the “power/lock” button and the “volume down” button (in most cases, this combination works on all devices, if not, then try with the “increase” button volume") and hold it.

At first, the phone will try to deceive you by lighting up the screen, showing us standard screensaver, but we don’t believe him and keep him until he enters recovery mode. The transition between CWM menu items is carried out using the volume keys, selecting an item using the “power” key, back – selecting the “+++++Go Back+++++” item. When you managed to log into CWM Recovery, there are a few steps left to take:

  • select the item “wipe data/factory reset” (reset to factory settings) and “wipe cache” (clear the cache);

  • then when all the wipes have been done, select “Install zip from SD card”
  • in the menu that appears, select the item “chooze zip from sdcard” and specify the path to the firmware with the *.zip extension;

  • confirm your choice by going to “Yes – Install /sdcard/update.zip”

  • Now the process of flashing the smartphone will begin (at different assemblies during the firmware process there may be additional points that do not relate to CWM and need to be followed); — after completing the firmware, reboot the device by selecting “reboot system now”;
  • That's all, we are waiting for the device to boot (the first boot is long). We are happy with the new firmware.

IMPORTANT

It is highly recommended before flashing or Android update fully charge the gadget's battery, because the update process (firmware) takes about 30 minutes. During the firmware flashing process, the phone will need a lot of energy to complete the task assigned to it, and the display will also be constantly lit, and on maximum brightness. You never know what can happen if the update (firmware) process is interrupted due to lack of power. You don’t want to get a “brick” instead of a phone, do you?

We are not responsible for any damage caused to your phone if something goes wrong. Good luck!

If you encounter any difficulties or have questions, write in the comments or in a personal message.

By default, all Android devices have a recovery mode called Recovery. With its help, you can roll back the operating system to standard settings, install official add-ons and fixes. If this is not enough for you and you want to install third party firmware, kernels and utilities on your device, then the factory recovery needs to be replaced with a custom one.

Custom recovery: what to choose

The most popular custom recoveries for Android are Clockworkmod Recovery(CMD) and TeamWin Recovery (TWRP). The main difference between one program and another is the presence touch control in the last one. As for functionality, the software offers approximately the same list of options:

  1. Installation of unofficial patches and firmware;
  2. Connecting the device to a PC in ADB mode and instead of a removable drive;
  3. Formatting, creating, merging partitions in the internal memory of the device;
  4. Clearing software cache and battery life summary;
  5. Creating backup copies of the system.

After studying the methods below, you can easily install custom recovery on Android. You need to obtain Root rights before carrying out work.

TWRP Installation Methods

  • using the ROM Manager program, selecting it home page section “Load Recovery Mode”;
  • by pressing the keys simultaneously after turning off the device. Combinations may vary depending on the model and manufacturer of the device. In most cases, these are the volume down and power buttons;
  • using the ADB program using the adb reboot recovery button.

Possible difficulties

While installing an alternative Recovery Mode, in particular, CWM, various kinds of difficulties and errors may arise. Which of them are the most common and how to solve them?

CWM Recovery does not recognize the memory card

CWM makes it possible to update your phone using an archive. When opening Recovery, the user sees a message that the flash card cannot be mounted. After installing another card, even with less memory, the problem disappears. The reason lies in the Windows system itself. The fact is that it diverges from card formatting standards. To ensure that formatting is done according to the specification of SD/SDHC/SDXC flash cards, and not just to standard form, it is recommended to use specialized software, for example, SD Formatter.

The SD Formatter program allows you to correctly format the SD card

CWM does not see the internal memory of the device: problem solution

When the files to be recovered are located on the internal memory, and therefore can only be recovered from there, a problem may arise. When connected USB cable to the PC and enable “USB Debugging”, the program reports that the Android device is not detected and you need to enable “USB Debugging”.

To solve this problem:

  1. Connect the device as a camera, not a storage device. If there are more available options, select them.
  2. Install universal drivers.
  3. Find a more suitable Recovery program for your device.

Recovery menu doesn't work

If at startup alternative mode recovery (volume + Home button or power) a picture appears with a lying robot, then the recovery was flashed, but when the device was restarted it was overwritten by the stock Recovery.

The problem is solved as follows.

  1. Before flashing the Odin3 program, you need to uncheck the Auto restart checkbox and disconnect the cable after flashing. From Download mode on the device, go to recovery mode by pressing the volume up + home screen + power keys in sequence until the recovery menu appears. So you should get into the custom recovery menu anyway.
  2. In it, select Reboot system now and then check Yes. This action will overwrite the stock recovery with a custom one and the “No command” error will be corrected.

Flash new mode Recovery means acquiring new functionality. Firmware methods vary in complexity, but ironically, the simplest of them require access to Root, that is, device administrator rights. When choosing a firmware method, you need to be guided by the phone model first. Rom Manager is not suitable for all devices. Suitable for HTC more way with FastBoot, and for Samsung it would be better to choose Odin.

Users who are dissatisfied with the operating system on their mobile device are often interested in how to flash Android through Recovery. The installation procedure for most known firmware (ROM) looks identical. The guide below will help you download any ROM or application from a ZIP archive on Android device using the recovery function.

Preparing for firmware

The firmware procedure consists of several stages, which include the following: preliminary steps like rooting a smartphone and creating backup copies. It should be borne in mind that the terms “installation”, “installation” and “firmware” are interchangeable (they can mean the same thing). Some of the steps below may not be necessary experienced users, who are well versed in the software of smartphones.

Official ROM updates from device manufacturers are released in the form of convenient installation files that you can run on your computer after connecting your Android device. But firmware from independent developers usually looks like compressed archives ZIP files, not EXE installers or APK files.

Before you start flashing the firmware, you need to make sure that the device's battery is fully charged. Under no circumstances should you proceed with the operation if the charge level is less than 50%. Failure to take this warning seriously may result in irreversible consequences.

There are known cases when a smartphone's battery ran out of charge during the firmware process, resulting in the device being locked and unusable.

The next step only applies to devices equipped with stock operating system Android. It's about about devices such as Nexus One and Nexus S. If you are using other smartphone models, you can skip this step. The owner of a stock system must unlock his bootloader before starting the firmware process. This process will be the same for all Nexus models. After activating the bootloader, you can proceed to the next step.

Now you need to access the Root of your mobile device. If your smartphone has already been rooted, you can skip this step. Before installing the firmware, you must make sure that you have access rights to Root. Rooting is a mode of access to system settings a gadget needed to perform complex tasks like installing ROM. The process of gaining Root access usually does not vary much between different models devices. After successful routing, you can proceed to the next stage.

Installing the recovery function

To flash the firmware, the phone must have a recovery function installed (for example, Android System Recovery 3e). Rooting provides the user with the necessary level of access to perform administrative tasks on their device. Recovery offers the tools needed to actually perform these tasks. Every Android smartphone comes with a built-in recovery feature, but its functionality is usually very limited, so you will need a third-party Recovery to perform additional operations.

The installation process for this feature is usually not very different on different device models. After installing the recovery, you can proceed to the next step.

Now that the recovery feature is installed, you can perform additional operations, including flashing the firmware or installing an application from a ZIP file. The procedure is not much different for most ROMs, although some firmware require a special approach. Since the process may vary for some ROMs, it is recommended to search through a search engine specifically for your firmware.

Installing new firmware

There are 2 ways to install ROM. You can use ROM Manager to determine the steps you need to perform through Recovery, or manually reboot your phone into Recovery mode to complete these steps yourself. The first method seems preferable. If you previously used the rom manager to restore ClockworkMod synchronization, then it is already installed. If you don't have this app on your device, you can download it for free from the Android Market.

You need to follow these steps:

  • Find and download from the Internet the ROM you want to install. This must be an archive with a ZIP extension.
  • Connect the gadget to the computer via USB and install a memory card on it
  • Copy the downloaded ROM to the memory card. It is recommended to place the firmware in root directory removable storage.
  • Launch ROM Manager on your phone.
  • Click “Install ROM from memory card”.
  • Scroll down the screen and tap on ZIP archive containing the ROM. The Installation Queue dialog box appears.
  • If you want to install another ZIP file immediately after ROM, you need to click “Add ZIP”. Then select the next archive that needs to be flashed. You can skip this step if you plan to install only the ROM.
  • Click "OK". The Preview dialog box appears. ROM installation» with backup options existing firmware, clearing data and cache.
  • Be sure to select the “Backup installed ROM” option if you do not want to lose all the files stored on your smartphone.
  • It is necessary to use the "Delete data and cache" option if the ROM that is being flashed is updated version software environment, currently in use. Usually the program will tell you whether it is possible to install a new version over the previous one without deleting data.
  • Answer “OK” several times to different questions. Now the device will reboot and the selected ROM will install automatically. New firmware will load after the process is completed. You may be prompted to confirm the reboot.

If everything was done correctly, the device should work in normal mode, but with new firmware.

The Android operating system is very different stable work, but in some cases problems may arise with it. They are usually associated with the operation of the current firmware. There are many ways to flash the firmware; In this article we will look at how to flash Android via Recovery.

There are several main ways to enter this mode:

How to get ROOT rights: Video

Firmware with ROOT access

Let's look at how to install firmware through it. First of all, you need to find and download it as an archive new version firmware.

The gadget will reboot and 8 items will appear in front of the user. Each of them is responsible for a specific operation. For example, if you go to “Wipe / Factory reset"- the system will be reset to factory settings (in some cases, simply by activating this item, you can avoid the need to change the firmware when the device begins to work incorrectly). “Install” makes it possible to install files when this cannot be done from the shell itself.

To install the firmware, you need to go to the “Install” section (it is located in the extreme left corner), select the place where the firmware was downloaded, and start the process.

After some time, the system will report a successful completion, then you will need to exit the “Install” mode and select the “Reboot” mode. There, click on the “System” item: if the entire operation was carried out correctly, the device will boot successfully.

Flashing Recovery mode

Now let's look at the question of how to flash Recovery on Android. To do this you will need to install the so-called CWM Recovery. The easiest way to do this is with special utility, which can be found all in the same Google store Play via this link. In this case, you will also need superuser rights. Having launched the program, you just need to follow its instructions by clicking “Next”. If CWM Recovery is already installed on the system, then the utility will simply ask you to select the appropriate item that performs an action related to flashing or resetting to factory settings.