Installing applications via cwm. How to install recovery img file. How to install custom recovery on Android
Anyone who takes the first steps in learning the procedure for flashing Android devices initially pays attention to the most common way of carrying out the process - flashing firmware through recovery. Android Recovery is a recovery environment that almost all users of Android devices have access to, regardless of the type and model of the latter. Therefore, the method of flashing firmware through recovery can be considered as the easiest way to update, change, restore or completely replace software device
How to flash an Android device using factory recovery
Almost every device running Android OS is equipped by the manufacturer with a special recovery environment that provides, to some extent, ordinary users, the ability to manipulate the internal memory of the device, or more precisely, its sections.
It should be noted that the list of operations that are available through the “native” recovery installed in devices by the manufacturer is very limited. As for the firmware, only official firmware and/or updates are available for installation.
In some cases, through factory recovery, you can install a modified recovery environment (custom recovery), which in turn will expand the capabilities of working with firmware.
At the same time, it is quite possible to carry out the main actions for restoring functionality and updating the software through factory recovery. To install official firmware or updates distributed in the format *.zip, perform the following steps.
1. To install the firmware, you will need an installation zip package. Loading required file and copy it to the device’s memory card, preferably to the root. You may also need to rename the file before manipulation. In almost all cases, the appropriate name isupdate.zip
2. Boot into the factory recovery environment. Methods to access recovery vary for different models devices, but they all require the use of hardware key combinations on the device. In most cases desired combination - « Volume-» + « Nutrition» .
Press the "" button on the device that is turned off. Volume-" and, holding it, press the " Nutrition" After the device screen turns on, the “ Nutrition"you need to let go, and " Volume-» Continue holding until the recovery environment screen appears.
3. To install the software or its individual components into memory sections, you will need the recovery main menu item –« apply update from external SD card» , select it.
4. In the list of files and folders that opens, we find the package previously copied to the memory cardupdate.zipand press the selection confirmation key. The installation will begin automatically.
5. Upon completion of copying the files, reboot into Android by selecting the item in recovery« reboot system now» .
How to flash a device through a modified recovery
Modified (custom) recovery environments have a much wider range of capabilities for working with Android devices. One of the first to appear, and today a very common solution, is the recovery from the ClockworkMod team.
Installing CWM Recovery
Because recovery CWM, is an unofficial solution; before use, you will need to install a custom recovery environment on your device.
1. Official way recovery installations from the developers of ClockworkMod is an Android ROM Manager application. Using the program requires root rights on the device.
Load ROM Manager into Play Store or from our website
- Download, install, launch.
- On the main screen, tap " Recovery Setup» , then under the inscription« Install or update recovery» - paragraph « ClockworkMod Recovery » . Scroll through the list of device models that opens and find your device.
- The next screen after selecting a model is the screen with the button « Install ClockworkMod»
- Through short time the required file will be downloaded completely and the installation process will begin CWM Recovery. Before you start copying data to the device’s memory section, the program will ask you to grant it root rights. After receiving permission, the process of recording the recovery will continue, and upon completion a message will appear confirming the success of the procedure « Successfully flashed ClockworkMod recovery» .
- The installation process of the modified recovery is completed, press the button " OK» and exit the program.
2. If the device is not supported by the ROM Manager application or the installation does not proceed correctly, you must use other methods CWM installations Recovery. Methods applicable to various devices are described in the articles listed below.
- For Samsung devices, in most cases the application is used Odin. More details here - ( Flashing Samsung Android devices using the Odin program)
- For devices built on the MTK hardware platform, the application is used Firmware for Android devices based on MTK via SP FlashTool)
- Most universal method, but at the same time the most dangerous and difficult is flashing recovery via Fastboot . The steps taken to install recovery using this method are described in detail at the link:
Firmware via CWM
Using a modified recovery environment, you can flash not only official updates, but also custom firmware, as well as various components of the system, represented by cracks, add-ons, improvements, kernels, radio, etc.
It is worth noting that there are a large number of versions of CWM Recovery, so after logging into various devices you can see a slightly different interface - background, design, may be present touch control etc. In addition, some menu items may or may not be present.
The examples below use the most standard version of the modified CWM recovery.
At the same time, in other modifications of the environment, when flashing the firmware, items are selected that have the same names as in the instructions below, i.e. A slightly different design should not cause concern to the user.
In addition to design, the management of CWM actions differs in different devices. Most devices use the following scheme:
- Hardware key " Volume+» - move one point up;
- Hardware key " Volume-» - move one point down;
- Hardware key " Nutrition" and/or " Home"- confirmation of choice.
So, the firmware.
1. Prepare the zip packages necessary for installation into the device. We download them from Global Network and copy it to the memory card. Some versions of CWM can also use the device's internal memory. Ideally, the files are placed in the root of the memory card and renamed using short, clear names.
2. Enter CWM Recovery. In most cases, the same scheme is used as for entering the factory recovery - pressing a combination of hardware buttons on the switched off device. You can also reboot into the recovery environment from ROM Manager.
3. Before us home screen recovery. Before you start installing packages, in most cases, you need to do " wipe» sections « Cache" And " Data“, - this allows you to avoid many mistakes and problems in the future.
- If you plan to clean only the “ Cache", select the item " wipe cache partition", confirm the deletion of data - item " Yes – Wipe Cache" We wait for the process to complete – the following message will appear at the bottom of the screen: “ Сache wipe complete».
- The section “ Data" Select the item “ wipe data/factory reset", then confirmation " Yes – Wipe all user data" Next, the process of cleaning the partitions will follow and a confirmation message will appear at the bottom of the screen: “ Data wipe complete».
4. Let's move on to the firmware. To install the zip package, select “install zip from sdcard» and confirm your choice by pressing the corresponding hardware key. Then select the item “choose zip from sdcard».
5. A list of folders and files available on the memory card opens. We find the package we need and select it. If the installation files were copied to the root of the memory card, you will have to scroll to the bottom of the list to display them.
6. Before starting the firmware procedure, recovery again requires confirmation of awareness of your own actions and understanding of the irreversibility of the procedure. Select the item “ Yes – Install *** .zip", where *** is the name of the package being flashed.
7. The firmware procedure will begin, accompanied by the appearance of log lines at the bottom of the screen and the filling of the progress bar.
8. After the inscription “ Install from sdcard complete"The firmware can be considered complete. Reboot into Android by selecting “ reboot system now" on the main screen.
Firmware via TWRP Recovery
In addition to the solution from the ClockworkMod developers, there are other modified recovery environments. One of the most functional solutions of this kind is TeamWin Recovery (TWRP). How to flash devices using TWRP is described in the article:
This is how Android devices are flashed through recovery environments. It is necessary to take a balanced approach to the choice of recovery and the method of installing them, and also flash only the appropriate packages obtained from reliable sources into the device. In this case, the process proceeds very quickly and does not cause any problems later.
Hello dear readers. Many people know what CWM is, but not everyone knows how to install it. In this article I will try to help you and also explain what CWM is. Please under cat.
CWM (ClockWorkMod) is a modified recovery. It can be installed on most devices running on the Android platform. This recovery differs from stock in that thanks to it, you can install customizations, decorations, make backups, in a word, it has great features than stock. You can find out more about it in the topic.
I AM NOT RESPONSIBLE FOR A DAMAGED SMARTPHONE!
CWM 6.0.2.7
Management is carried out according to the following scheme:
- up/down (scroll through CWM) - volume up/down key
- selecting a specific item - display unlock/lock key (turn off/on)
CWM 5.0.0.0
Installing CWM on each device occurs differently.
There are several ways to install mods. recovery. I will list a few of them. The first method is through Fastboot, the second is through Rom Manager, the third using computer Odin to flash CWM firmware on Samsung devices.
CWM 5.5.0.4
Installation of .zip archives occurs through the “Install ZIP” item. The file is either custom or deoxidizers, crackers or embellishers, kernels or modems. I would like to remind you that before any manipulation, do not be lazy to make a BACKUP! You will need it, and I guarantee it. You can find out more about backup at the end of this topic. So, you downloaded, for example, custom firmware CyanogenMod 11, and you don’t know how to install it. I will help you, follow the points described below:
- First, we need to have, in fact, CWM Recovery itself and a backup copy made, in case of an unfortunate event
- Before starting the installation, I would recommend that you have at least 50% battery charge! Because when the battery charge is 20% or less, a failure may occur! It's better to insure yourself!
- If your smartphone is connected to a computer or charger, it is better to disconnect it from there
- In my case, we install custom firmware CyanogenMod 11, first we need to download it and copy it to the root of the memory card without unzipping his!
- That's it, we downloaded it necessary files and copied them to required address, now we need to go to CWM
- After that, select the item “Install ZIP from Sdcard”, and after that “choose ZIP from Sdcard”
- It will open before us, of sorts, file manager, in it we need to select the downloaded archive
- After selecting the archive, you need to confirm the choice by pressing “YES”
- After successful installation we need to reboot our smartphone
- Everything went well, the instructions are complete!
Backup system:
- Launch CWM
- After that, select the next sub-item “Backup” and select “Yes”
- We reboot the device “Reboot System Now”
Recovery backup:
- Launch CWM
- Select the item “ Backup and Restore" (creating a backup and restoring from a backup)
- After this, select the next sub-item “Restore”
- We select the backup copy we previously saved, it is located at /clockworkmod/backup and click “Yes”.
- We reboot the device “Reboot System Now”.
Hello, gentlemen. Most people do not know their new devices well, they ask “How to get ROOT?”, “How to change OS” and so on. And so that there wouldn’t be such frequently asked questions, I will talk about various secrets about this popular mobile operating system- Android.
This time we will start with the most important thing - ClockWork MOD Recovery. Why is he and what is he hiding? We will learn about this further...
In general, CWM is like a kind of BIOS (more understandable for PC users), which helps us fine-tune an Android device. Thanks to it, we can install different patches, firmware and mods. CWM itself is located in system memory smartphone, but first you need to install it. You can find details about installation for your device on this website, or download Rom Manager from Google Play(Requires Root) Basically every device has a native Recovery. They different types- 1e, 2e, 3e. These native Recovery are limited in many functions than CWM.
Now let's move on to CWM itself. It comes in different versions for each device. For example, I now have version 6 of CWM. The menu may differ for some, but in general it is the same.
In the photo we see several points:
- Reboot system now - Immediately reboot the system
- Install zip from sdcard - Installation.zip from sd cards
- Install zip from sideload - Installation.zip from using ADB
- Wipe data/Factory reset - Wipe data/factory reset
- Wipe cache partilion - Cleaning the cache partition
- Backup and restore - Backups and restoration
- Mounts and storage - Mounting and Drives
- Advanced - Advanced settings
1.Reboot system now- simply reboots the device
2. Install zip from sdcard has several sub-items:
- Choose zip from sdcard - select zip from sd card
- Apply /sdcard/update.zip - apply automatically /sdcard/update.zip
- Toggle signature verification - Toggle signature verification
Apply /sdcard/update.zip- sets special update from the root of the memory card, only if it is named update.zip
Toggle signature verification- turns on/off verification of signatures in .zip, in order to install only factory .zip
3. Install zip from sideload- a special function that installs .zip from a computer via a USB cable. For this we need ADB drivers and a special program that manages it all. The program contains detailed information on what and how to do.
4.Wipe data/Factory reset- allows us to return the device to original condition and deletes all data on the phone, but the memory card will not be touched
5. Wipe cache partition- clears application caches. Needed only when flashing or when the device often freezes
6. Backup and Restore- the savior of your Android device. This section helps you do backups Software, and restore the software from the “backup” if it is “bricked/bootlapped”. Let's take a closer look at this section:
Backup- makes a backup copy of the software to save applications, application data and the entire firmware itself. You just need to click on the partition and a “backup” will be created (The speed of creation depends on the class and cache of the memory card)
Restore- restores software thanks to “backup”. When we click on a section, we will see a folder with some numbers. This is the year.month.day.time the backup was created. Choose the desired folder and the software will be restored.
Delete- deletes the backup copy if it is no longer needed. Selects what you need and the “backup” goes to waste.
Advanced Restore- restores from a backup only what is needed from the firmware. For example, user data or the system.
Free unused backup data- freeing up memory in the backup
Choose deafult backup format- choice of backup format .tar or .dub
7. Mounts and Storage-mounting and storage. I see no point in describing it.
- Unmount /cache - unmounts the cache directory
- Mount /data - mounts the data directory
- Mount /system - mounts the system directory
- Unmount sdcard - unmounting external sd card
- Mount /sd-ext - mount the sd-ext directory
- Format /cache - formatting the cache directory
- Format /data - formatting the data directory
- Format /system - formatting the system directory
- Format /sdcard - formatting an external SD card
- Foamat /sd-ext - formatting the sd-ext directory
- Mount USB Storage - mounting an external USB
Report error- saves all errors in special file error.log
Key test- test hard keys. When you press a key, its code is displayed on the screen
Show log- saves all your actions in a special recovery.log file
Fix permission- fixes all permissions in rw-r-r in the /system directory
Partition sdcard - mounts partitions such as ext3, ext4 and creates a SWAP swap file
How to get into Recovery? Each model has different methods, but I’ll tell you one universal one. When you turn on the device and see the manufacturer’s logo, quickly press the “Volume -” key
Be careful when playing with CWM, and make backups in every possible way. Good luck on your adventures!
Any device with Android OS starts in Recovery mode. This is a standard feature. However, with the factory version you can perform too narrow a range of tasks. So, this is resetting the phone to initial settings, clearing the cache, as well as updating the system from the update.zip file. Obviously, users who are expanding their knowledge in the IT field are very dissatisfied with such a meager list. This is where specially developed Recovery Modes come to the rescue. CWM Recovery is a popular tool among Android users and a worthy replacement for the factory one.
Why do you need CWM Recovery mode?
Clockworkmod Recovery (CWM) is a famous alternative to factory recovery mode developed by Koushik Dutta. You can install it on most Android devices. CWM Recovery helps even in situations that sometimes seem hopeless to the average owner. That is why it is necessary to know about its existence, and also be able to use it.
CWM mode has many options
What exactly does the utility do:
CWM: installation instructions
ClockworkMod is sewn into the internal memory of the device in place of the factory mode. In some cases, work is carried out on the gadget itself with access to Root rights, and in others - on a PC.
The article covers such basic methods as Rom Manager, FastBoot, Rashr and Odin. For many devices, companies themselves produce separate utilities, for example, Acer Recovery Installer for Acer devices. CWM is implemented into the device memory on these devices also through ADB software, which is suitable for devices manufactured by HTC.
Rom Manager: Rooting and embedding
Rom Manager is a utility created by the CWM developers. It is available for download on Google Play Market. Allows you to install CWM Recovery on the device itself without using a computer and a USB cable. Before using it, you must root the device, that is, obtain administrator rights.
Obtaining Root rights
The procedure is simple and can be easily carried out using special software. As an example, we can take the Framaroot program. Anyone can navigate its simple and intuitive interface, even without instructions.
Select a method for obtaining Root rights. Follow the advice - restart the device for the changes to take effect.
For the changes to take effect, restart the device
Launching Rom Manager
Now is the time to use the program:
Video: how to flash Recovery with Rom Manager
Although the method is easy, it has a drawback: it is not suitable for all devices, as mentioned earlier. Before you start using this method, it would be logical to first determine that this program is compatible with the gadget. The list is available on the official Rom Manager website.
FastBoot Mode: Complex Method
The CWM installation method using FastBoot will require skill from the user, since it is much more complicated than the previous one. It runs not on the device, but on the computer. It is recommended to use it only if you already have skills in such operations. Before installation, you need to download certain files to your computer or laptop. This list also includes the Android SDK platform, available for Windows, Mac and Linux.
Preparatory stage
What you need to have before installing CWM using FastBoot mode:
The Android SDK utility will help you install the necessary Android packages SDK Tools and Android SDK Platform tools:
Download the Anroid SDK zip archive for Windows from the official website
Find the android file in the unzipped folder and open
Check the box to the left of Android SDK Platform-tools and click Install 1 package.
Select Android SDK Platform-tools and click Install package
Accept the license agreement
The fastboot and adb files are located in the tools_version-windows folder after installing the Android SDK Platform-tools package
What else needs to be done before starting the firmware itself? Judging by the list above, you need the recovery-clockwork.img file. This is one of the key tools for further work. Downloading it won't be difficult, but it doesn't end there. It is important to place this file in the platform-tools folder. For further convenience in the firmware, you need to rename it to recovery.img.
Place the file in the platform-tools folder
Get straight to the point!
Now everything is ready for the CWM firmware itself, so you can safely get to work. Given below detailed description action in which it is quite difficult to get lost.
Start your device in FastBoot mode
To open command line, go to Start and enter cmd
Type cd / and press Enter
Enter the command with the path to the folder
adb command devices will help determine whether the PC sees the device
The level of complexity, as you can see, is high, so before the procedure it is strongly recommended to check that this method is suitable for the device, since it may not work in all gadgets. In practice, this method is good if the manufacturer of the device is HTC.
Rashr app
The installation method using Rashr is convenient and easy to perform; it is recommended for beginners. However, ironically, it also requires administrator rights. You can get them in a few steps. Detailed instructions were given earlier in the section on Rom Manager.
How to work with Rashr
First you need to download the application itself. It is located in free access in Play Market (Rashr - Flash Tool). You can also view the program on a third-party site, but you must beware of suspicious web pages so as not to catch a virus.
When the program is already on the phone, you need to open it and provide it with previously acquired Root rights upon request. Then everything is simple:
Select Recovery from the list of options available for your device
Click Yes to confirm download
To go to Recovery, click Yes
Video: CWM and Rashr
Odin: solution for Samsung
The previous three methods are suitable for different device models. The same method is effective for Samsung devices. This proprietary utility, so it cannot be used for devices from other manufacturers. There are many versions of this application. The latest one is Odin 3.09.
Here is the standard factory one Recovery option changes to a modified one using a PC, as with FastBoot:
Download Odin program on PC
- power/lock button and volume down (on older devices released before mid-2011);
- power/lock button, Home and volume down (all other devices).
Click the Start button and wait for the firmware to finish
How to enable CWM Recovery mode after flashing
After CWM mode was installed using one of the above methods, you need to check if it works. You can launch ClockworkMod Recovery:
Possible difficulties
During installation 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. The fact is that it diverges from card formatting standards. To format formatting in accordance with the specification of SD/SDHC/SDXC flash cards, and not just in 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 on internal memory, and therefore can only be restored from there, a problem may arise. When connected USB cable to the PC and enable “USB Debugging”, the program reports that Android device not detected and you need to enable “USB Debugging”.
To solve this problem:
Recovery menu doesn't work
If when you launch the alternative recovery mode (volume + Home button or power) a picture appears with a lying robot, then the recovery was flashed, but when you restarted the device it was overwritten by the stock Recovery.
The problem is solved as follows.
Flash new mode Recovery means getting new ones 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.
In the last article I talked about. Today we will continue this topic and talk in detail about custom modes recovery, their advantages over stock ones and how to install them.
What is custom Recovery
Custom recovery is essentially an extended version of the recovery mode in smartphones and tablets. Its main advantage over the stock one is the presence of features that manufacturers usually hide from users in order to protect their devices from “those who like to experiment.”
With custom recovery you can:
- Make backup copies of various sections of the device’s memory or the entire firmware and restore them accordingly (Backup and Restore items)
- Install unofficial firmware(Custom Rom)
- Install unofficial add-ons and patches via the “install zip from sdcard” item
- Format various memory partitions (Among them are partitions such as: boot – boot partition, system – system partition, data – user data, cache – application cache, sdcard – memory card)
- Create new partitions on the memory card
The most common versions of custom recoveries are CWM (developed by ClockworkMod) and TWRP (developed by TeamWin). Both of these consoles have almost equal functionality and the choice of one or another recovery is usually determined by which one is easier to install or by the banal absence or presence of device support.
How to install CWM Recovery
Installation via RomManager
The easiest way to install CWM is to use the RomManager application. This application can be installed for free from Google Play, and from there you can flash CWM by selecting “Flash ClockworkMod Recovery” in the main window. From there you can reboot the device into recovery mode by selecting “Reboot into Recovery”. Please note that RomManager requires Root to operate. You can read how to get it.
Attention! Before installing recovery via RomMnager, be sure to check if your device model is in the list of supported ones here https://clockworkmod.com/rommanager. With rash actions you can turn your device into a “brick”!
Installation via Fastboot mode
The “classic” way to install recovery is to flash the recovery.img file directly into the Recovery section of your device via FastBoot mode. This method, unfortunately, cannot claim universality, because It requires an unlocked bootloader. But, firstly, it is not possible to unlock it on all devices, and secondly, not all devices have a Recovery section.
However, if your device meets all necessary requirements, you can safely use further instructions.
How to install TWRP Recovery
Installation via TWRP Manager
The easiest way is TWRP, similar to CWM, you can install it using special application TWRP Manager. Here you will also need Root rights.
Installation via ADB
Similar to FastBoot, TWRP can be installed via ADB
- Download and install the Android SDK, including the Android SDK Tools, Android SDK Platform tools, and Google USB Driver
- Download the Recovery.img file from the TeamWin website (http://teamw.in/twrp_view_all_devices) by selecting your device from the list.
- Rename it twrp.img and copy it to the root of your device's SD card
- Connect your device to your computer via USB
- Run command Windows string by typing “cmd” in the “Run” field in the “Start” menu
- In the window that opens, enter “cd C:\android-sdk-windows\platform-tools\adb”
- Enter the following lines:
su
dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p34 - Reboot your device
Also, TWRP can be installed via FasBoot, in exactly the same way as I described for CWM.
What to do if your device is not on the supported list
Most often, in the absence of official developer support, volunteers assemble their own versions of CWM. The methods for installing them can vary greatly; it can be installation from an SD card, firmware via Flashtool or Odin (in the case of Samsung devices). On devices with a locked bootloader, installation can also be performed through third-party applications.
You can find out whether it is possible to install a custom recovery on your device and how to do it in special branches on the Russian-language portal 4pda, or the global English-language portal