Instructions for installing TWRP and obtaining root rights through the SP Flash Tool. How to install custom Recovery Sp flash tool flashed recovery

First, prepare your phone for flashing:

Need to download: Firmware, Recovery, Patched boot.img, SuperSU, MtkDroidTools_v244.exe, SP_Flash_Tool_v3.1304.0.119.rar, Drivers, GAPPS (download according to firmware)

The battery must be charged at least 50%, and preferably 100%. Connect your phone in flash drive mode. Install all the necessary drivers (see below) and copy them to the root of the flash card without changes, archived files: SuperSU, gapps and firmware (if you only need root (super user rights), then copy only SuperSU.) Disconnect the phone from the PC.

How to install drivers on your PC:

When connecting a switched off smartphone, drivers will be installed on the MT65xx Preloader device in automatic mode. (it is important to disable driver signature verification in Windows 8 (find how to do this on the Internet).

For those for whom nothing happens, let them manually install the driver for MT65xx Preloader. Why open the device manager on your PC and reconnect your smartphone when the MT65xx Preloader device appears immediately but click on it right click mouse and in the menu that appears, select update drivers. The “driver update” window will appear. For those who didn’t have time, in the device manager, in the top menu, put a tick on - Display hidden devices, and when you find an uninstalled device, install the driver.

Setting up the smartphone itself:

In the menu: (settings) settings → (accessibility) special features: (uncheck the item - Quick boot). Then: settings → developer options (turn them on if they are disabled at the top by selecting on and: (put a check mark next to usb debugging(usb debugging))

Create a backup copy (Full dump) of the firmware:

Before you start demoting the original firmware, it is better to save the current one: for warranty or emergency purposes. If you don't need this, then skip to the next section.

The main window of the utility should display all the information, and the status indicator in the utility should be green. If everything is so, then you can already start creating a full copy. To do this, go to the “root, backup, recovery” tab and check the boxes next to save userdata and cache and press the Backup button.

Wait for this rather long procedure to complete. Upon completion, the backup will be saved in the Mtk Droid Tools utility folder in the backups subfolder.

Do not close the program, but prepare the firmware from the dump. To do this, in the backup, root, recovery tab, press the “Prepare blocks for Flash Tool” button and select the files.md5 file from the folder with the dump. In this folder with the dump, another folder Files_to_FlashTool will appear. It contains ready-made firmware for SP_Flash_Tool in case of device recovery. The dump is ready for flashing. Keep it in a safe place.

Install Recovery:

If you don’t like programs like FlashTool, and it’s better for you to install recovery without connecting to a PC, then use these instructions and don’t need to read further.

Installing recovery via FlashTool:

Disconnect your phone from your PC. (Drivers are already installed).

Extract the required Recovery from the archive and make sure that there are files in one folder: MT6589_Android_scatter_emmc.txt, recovery.img and boot.img (patched) (be sure to include boot.img in accordance with the option installed firmware) and remember where this folder is. p.s. A patched boot.img is required in order for the Mtk Droid Tools utility to receive full access to the device (to take a dump, a full backup).

Install the SP_Flash_Tool utility. Launch it by first disabling the antivirus. In the window that appears:

press the scatter key

Find the folder and select MT6589_Android_scatter_emmc.txt

Make sure that the boxes next to BOOOTIMG and RECOVERY are checked (if you only need a boot (BOOOTIMG), then uncheck the recovery box (RECOVERY))

Click Download

Agree with the warning. And after that, connect the disconnected (without battery) device to the PC. The installation process will begin, which lasts a couple of seconds, and then a small window with a green circle will pop up.

Firmware

(The smartphone must be charged at least 50%.) and a modified recovery must be installed (in this case CWM)

Important! If you are quite satisfied with the current firmware in use, and you just want to upgrade to a more recent version, then you do not have to do wipe-data. You can simply wipe the cache and install. Then your current configuration and software will be saved. (although superSU and gapps need to be installed in any case). Disconnect your smartphone from your PC and install a flash card with a battery. Press and hold the volume + (up) button and the power button on your smartphone at the same time. Hold it. When the ZTE message appears, release the keys. Use the volume button (using CWM as an example) to navigate through the menu. Confirm your selection with the power key.

Actions:

Wipe date →Wipe cashe → wipe dalvik → install zip from sdcard → choose zip from sdcard → (Select firmware) → install.

Recovery menu

Select your firmware in ZIP format

Select "yes" and confirm with the power key

SuperSU and then Gapps are installed in the same way and in this sequence. You can immediately without overloading the device (by installing the firmware).

Actions:

Wipe cashe →install zip from sdcard→ choose zip from sdcard → (choose SuperSU) →install→ (choose GAPPS) →install→ Wipe cashe → Restart!

p.s. Don't forget to immediately disable fast loading in the settings.

Recovery:

(Instructions for emergency situations). If you get a brick.

When flashing, select scatter from the Files_to_FlashTool folder, click Firmware-Upgrade and connect the phone without a battery to the PC (how to use the Flash Tool was written above). But if you have a brick that doesn’t respond to anything, and the lights don’t light up or connect to a PC, then connect it with the volume “+” key held down.

MTK hardware platform as a basis for construction modern smartphones, tablet computers and other devices has become very widespread. Along with the variety of devices, the ability to choose variations of the Android OS has come into the lives of users - the number of available official and custom firmware for popular MTK devices can reach several dozen! To manipulate memory partitions of Mediatek devices, the SP Flash Tool is most often used - a powerful and functional tool.

Despite the wide variety of MTK devices, the installation process software through the SP FlashTool application is generally the same and is carried out in several steps. Let's look at them in detail.

All actions to flash devices using SP FlashTool, including following the instructions below, are carried out by the user at his own peril and risk! The site administration and the author of the article are not responsible for possible malfunction of the device!

Preparing your device and PC

In order for the procedure of writing image files to device memory sections to go smoothly, it is necessary to prepare accordingly by carrying out certain manipulations both with the Android device and with a PC or laptop.

1. Download everything you need - firmware, drivers and the application itself. We unpack all the archives into a separate folder, ideally located in the root of drive C.

2. It is advisable that the names of the folders for the location of application and firmware files do not contain Russian letters and spaces. The name can be anything, but folders should be named consciously so as not to get confused later, especially if the user likes to experiment with various types Software loaded into the device.

3. Install the driver. This point of preparation, or rather its correct implementation, largely determines the smooth flow of the entire process. How to install the driver for MTK solutions is described in detail in the article at the link below: Installing drivers for Android firmware

4. Let's do it system backup. Regardless of the outcome of the firmware procedure, the user in almost all cases will have to restore his own information, and if something goes wrong, the data that was not saved in the backup copy will be irretrievably lost. Therefore, it is highly advisable to follow the steps of one of the methods for creating a backup from the article:How to backup an Android device before flashing it

5. We ensure uninterrupted power supply for the PC. Ideally, the computer that will be used for manipulation via SP FlashTool should be fully operational and equipped with an uninterruptible power supply.

Installing firmware

Using the SP FlashTool application, you can perform almost all possible operations with device memory sections. Installing firmware is the main function and to perform it, the program provides several operating modes.

Method 1: Download Only

Let's take a closer look at the procedure for loading software into an Android device when using one of the most common and frequently used firmware modes via SP FlashTool - “ Download Only».

1. Launch SP FlashTool. The program does not require installation, so to launch it, simply double-click on the file flash_tool.exe, located in the application folder.

2. When you launch the program for the first time, a window with an error message appears. This point should not worry the user. Once the path to the location of the necessary files is specified to the program, the error will no longer appear. Press the button " OK».

3. In the main window of the program after launch, the operating mode is initially selected - “ Download Only" It should be noted right away that this solution is used in most situations and is basic for almost all firmware procedures. The differences in operation when using the other two modes will be described below. In general, we leave " Download Only" without changes.

4. We proceed to adding image files to the program for further recording into sections of the device’s memory. To automate the process somewhat, SP FlashTool uses a special file called Scatter. This file is essentially a list of all partitions of the device’s flash memory, as well as the addresses of the starting and ending memory blocks of the Android device for writing partitions. To add a scatter file to the application, click the " choose", located to the right of the "" field.

5. After clicking on the button for selecting a scatter file, an Explorer window opens in which you need to specify the path to the required data. The scatter file is located in the folder with the unpacked firmware and is named MT xxxx _Android_scatter_ yyyyy.txt, where xxxx– the model number of the device processor for which the data loaded into the device is intended, and – yyyyy, the type of memory used in the device. Select the scatter and press the button Open».

Attention! Loading an incorrect scatter file into the SP Flash Tool and further recording images using incorrect addressing of memory sections can damage the device!

6. It is important to note that the SP FlashTool application provides a check of hash sums, designed to protect the Android device from recording incorrect or damaged files. When adding a scatter file to the program, the image files are checked, the list of which is contained in the downloaded scatter. This procedure can be canceled during the verification process or disabled in the settings, but this is strictly not recommended!

7. After downloading the scatter file, the firmware components were added automatically. This is evidenced by the filled fields " Name», « Begin Address», « End Address», « Location" The lines under the headings contain, respectively, the name of each partition, the starting and ending addresses of the memory blocks for recording data, as well as the path where the image files are located on the PC disk.

8. To the left of the names of the memory sections there are checkboxes that allow you to exclude or add certain image files that will be written to the device.

In general, it is strongly recommended to uncheck the box next to the section “ PRELOADER", this allows you to avoid many problems, especially when using custom firmware or files obtained from dubious resources, as well as the absence of a full system backup created using MTK Droid Tools.

9. Check the program settings. Click menu " Options" and in the window that opens, go to the section " Download" Check the boxes “ USB Checksum" And " Storage Checksum"- this will allow you to check the checksums of files before writing to the device, and therefore avoid flashing corrupted images.

10. After completing the above steps, we proceed directly to the procedure for writing image files to the appropriate sections of the device’s memory. We check that the device is disconnected from the computer, turn off the Android device completely, remove and reinsert the battery if it is removable. To put SP FlashTool into standby mode for connecting the device for firmware, press the button “ Download", indicated by a green arrow pointing down.

11. While waiting for the device to connect, the program does not allow you to perform any actions. Only the button is available Stop", allowing you to interrupt the procedure. We connect the switched off device to the USB port.

12. After connecting the device to the PC and identifying it in the system, the process of flashing the device will begin, accompanied by the filling of the progress bar located at the bottom of the window.

During the procedure, the indicator changes its color depending on the actions performed by the program. To fully understand the processes occurring during firmware, let’s look at the decoding of the indicator colors:

13. After the program has completed all the manipulations, the window “ Download OK", confirming the successful completion of the process. Disconnect the device from the PC and start it by long pressing the “ Nutrition" Usually, the first launch of Android after flashing takes quite a long time; you should be patient.

Method 2: Firmware Upgrade

The procedure for working with MTK devices under Android control in " Firmware Upgrade"generally similar to the method described above" Download Only” and requires similar actions from the user.

The difference between the modes is the impossibility of selecting individual images for recording in the “ Firmware Upgrade" In other words, in this option, the device’s memory will be overwritten in full accordance with the list of partitions contained in the scatter file.

In most cases this mode is used for updating official firmware overall working apparatus, if the user requires a new version Software, and other update methods do not work or are not applicable. It can also be used when restoring devices after a system crash and in some other cases.

Attention! Using the " Firmware Upgrade" suggests full formatting device memory, therefore, all user data will be destroyed in the process!

The firmware process in the " Firmware Upgrade" after pressing the button " Download» in SP FlashTool and connecting the device to the PC consists of the following steps:

  • Creating a backup copy of the NVRAM partition;
  • Complete formatting of the device memory;
  • Write device memory partition table (PMT);
  • Restoring an NVRAM partition from a backup;
  • Recording all partitions whose image files are contained in the firmware.

User actions for flashing firmware in “ Firmware Upgrade", repeat the previous method, with the exception of certain points.

1. Select the scatter file (1), select the operating mode of SP FlashTool in the drop-down list (2), press the button “ Download"(3), then connect the turned off device to the USB port.

2. Upon completion of the procedure, the window “ Download OK».

Method 3: Format All + Download

Mode " Format All+Download"in SP FlashTool is intended for performing firmware when restoring devices, and is also used in situations where the other methods described above are not applicable or do not work.

Situations in which " Format All+Download", are diverse. As an example, we can consider a case where modified software was installed in the device and/or the device’s memory was re-partitioned to a solution different from the factory one, and then it was necessary to switch to the original software from the manufacturer. In this case, attempts to write original files will fail and the SP FlashTool program will suggest using emergency mode in the corresponding message window.

There are only three stages of performing firmware in this mode:

  • Complete formatting of the device memory;
  • PMT partition table entry;
  • Record all sections of the device memory.
Attention! When manipulating in the " Format All+Download"The NVRAM partition is erased, which leads to the deletion of network parameters, in particular, IMEI. This will make it impossible to make calls and connect to Wi-Fi networks after following the instructions below! Restoring an NVRAM partition in the absence of a backup is quite a labor-intensive procedure, although it is possible in most cases!

Steps required to format and record partitions in " Format All+Download" are similar to those in the methods described above for the modes " Download" And " Firmware Upgrade».

1. Select the scatter file, determine the mode, press the “ Download».

2. Connect the device to the USB port of the PC and wait for the process to complete.

Installing custom recovery via SP Flash Tool

Today, so-called custom firmware has become widespread, i.e. solutions created not by the manufacturer of a particular device, but by third-party developers or ordinary users. Without delving into the advantages and disadvantages of this method of changing and expanding the functionality of an Android device, it is worth noting that installing custom ones in most cases requires the presence of a modified recovery environment in the device - or CWM Recovery. This system component can be installed in almost all MTK devices using SP FlashTool.

1. Launch Flash Tool, add a scatter file, select “ Download Only».

2. Using the checkbox at the very top of the list of sections, uncheck all image files. Check the box next to the section " RECOVERY».

3. Next, you need to indicate to the program the path to the custom recovery image file. To do this, double-click on the path specified in the “ Location", and in the Explorer window that opens we find the required file *.img. Press the button " Open».

4. The result of the above manipulations should be something similar to the screenshot below. Only the section " RECOVERY" in field " Location"The path and the recovery image file itself are indicated. Press the button " Download».

5. Connect the switched off device to the PC and watch the process of flashing the recovery firmware into the device. Everything happens very quickly.

6. At the end of the process, we again see the window already familiar from previous manipulations “ Download OK" You can reboot into a modified recovery environment.

It is worth noting that the considered method of installing recovery via SP FlashTool does not pretend to be an absolutely universal solution. In some cases, when loading a recovery environment image into the device, additional actions may be required, in particular, editing the scatter file and other manipulations.

As you can see, the process of flashing MTK devices on Android using the SP Flash Tool application is not a complicated procedure, but it requires proper preparation and balanced actions. We do everything calmly and think about every step - success is guaranteed!



Sooner or later, the standard firmware begins to get boring or glitchy, which is why most users begin to “comb” mobile forums in search of a solution. There, an understanding already comes to mind: to change the firmware, you must first reinstall the recovery. Forum members advise installing TWRP, citing its most stable operation and the ability to work with touch controls. Therefore, it is worth telling how to install twrp recovery on Xiaomi, what problems may arise in this case and reveal options for solving them.

What is it and why do you need TWRP

In general, this is an abbreviation, and it stands for team Win Recovery Project, thereby saying what the project is: a modified recovery that allows you to do much more than factory utilities. First of all, it is installed by those who want to install custom firmware on their device, which is why the purpose of TWRP is appropriate: a complete backup of the system, installation of software, firmware, kernels, full wipes and a bunch of everything that “stock” (factory) hides from the user. menu.

With Xiaomi, the situation is standard: the basic recovery is not suitable for installing custom firmware, because the first one simply does not allow this, which is why people come to TWRP. In addition to everything previously mentioned, Team Win can completely restore the firmware from a recovery file. So, this is an excellent tool for those who like to play it safe: even if the smartphone “dies” after changing the firmware, it can be “revived” without any problems.

In addition to such killer features, TWRP can provide full-fledged work with device files, creating partitions in memory, approximately like on the HDD of your desktop, connecting to a PC in flash card mode, while starting the system will not be required. It’s very convenient, for example, the wipes have already been made, but no one has transferred the firmware to the storage device, which has happened to your humble servant more than once.

Installing TWRP Recovery

Via the official application

It’s worth starting with the fact that there are several ways. The first, simplest one is to use a proprietary application or its analogues, just remember: for correct operation you need . In Xiaomi, as a rule, advanced users already have them, all that remains is to give them to the application. Otherwise, you will have to first obtain those same rights, and then think about installing recovery.

The action itself takes place in just a few steps:

  • Find an application in the open spaces Google Play;
  • Install it and run it;
  • Agree to all permissions, grant root access if this has not been done before;
  • Select your device and download the file using the "Download TWRP" button;
  • Select the downloaded img file and install it through the "flash to recovery" button.

Here, perhaps, it is worth making a reservation: the name of the IMG file must correspond to the program: usually it is recovery.img, but proprietary applications, like TWRP, may require files to be named in a special way. In the case of Team Win, this is twrp.img, however, before installation, you should carefully read the description of the program, where, most likely, the required name will be indicated.

After such installation on Xiaomi Mi3, for example, the smartphone will automatically start in Recovery mode, from which all the manipulations necessary for the user will be carried out. It should be noted: stock firmware When installing a custom menu, it will not “fly” in any case, and this applies not only to Xiaomi.

Via fastboot

The second method is a little more complicated: it will require the most basic skills in working with the console and ADB, since the option is recovery installation via fastboot. Your device must be . So, the installation itself is carried out in several stages.

  1. The first is downloading ADB drivers and unpacking them. Here you should make sure that the path to the file contains only Latin characters, otherwise the console will throw an error.
  1. We install drivers for your device, taken from .
  2. The next step is to enable USB debugging. This is very easy to do: first, open the “about phone” item on your smartphone, after which you need to click on the MIUI version 8 times. The message “You are a developer” should appear. If this does not happen, then you either already have access to the developer settings, or the firmware simply does not allow you to do this.
  3. The next step will be to directly enable debugging, which is done in the “for developers” settings item.

  1. We run the command.bat file from the ADB folder, issue the command “adb devices” and check whether the smartphone is connected correctly, which may require authorization confirmation on the smartphone screen. If nothing happens during such manipulations, check the device connection and reinstall the drivers. It's better to be safe here.

  1. Let's launch Fastboot Mode on your smartphone using the “adb reboot bootloader” command. After the command, the smartphone should automatically reboot and enter bootloader mode. Now we are ready to install custom recovery.

  1. Now you need to download the TWRP recovery file. Find your device and go to the "Download Links" section and select "Primary (Recommended)".

  1. The whole essence of the installation comes down to entering the command “fastboot flash recovery twrp.img”. It is worth noting the following: the firmware file you downloaded should be called twrp.img or recovery.img, depending on the ADB version. You can find out where you download the corresponding programs or by reading the readme file, or just try both options.

That’s all, actually, the installation of twrp on xiaomi redmi note 3 pro (in our case) is complete. However, there is no need to rush: you need to start the smartphone in TWRP, for which we press the power and volume down keys. Hold the power button until there is a vibration response, then release it and wait for the installed utility to start.

From here you can boot into the system or start installing custom firmware. All the methods described on the Internet are variations of the first and second described here, especially since there is usually no description of how to log into TWRP, so there is no point in describing them again.

Possible problems

And there is, in fact, only one problem: after the firmware, if the custom is installed on top of MIUI 8 version or later, many users intensively googled the phrase “how to log into twrp recovery xiaomi”, because the ability to log in normally simply disappeared. This happened due to a conflict between the utility code and the firmware: the file emmc_appsboot.mbn, corresponding to MIUI, the overwriting of which simply does not make it possible to enter TvRP.

The solution is quite simple: you can simply reinstall the recovery. There is only one problem: this action will help for exactly one flashing, which is why the guys from w3bsit3-dns.com found a more reasonable and durable fix.

So, to fix the bug you need to download this file (only suitable for redmi 3, use at your own risk), turn off the phone, press the power and volume down buttons, connect USB cable to the phone and computer, run the file “1 run me.bat” from the archive, which, if executed successfully, should write “OKAY. Finished." After that, disconnect the cable and hold both volume and power buttons for 15 seconds, waiting for vibration. That's all, TWRP should work fine after such manipulations.

conclusions

You should install the Team Win project only if it is really necessary. It is extremely difficult to ruin a phone with such a thing, but it is possible. By the way, you cannot do without the standard mention that you carry out all manipulations with your devices at your own peril and risk. I hope we were able to convey to you information about Team Win Recovery Project and how to install it. The method, by the way, is relevant for any Redmi and Mi models, even for Mi5 and Mi5s.

Today every modern device on the Android platform it has its own recovery mechanism. Its purpose is in especially severe cases when standard methods do not help. You can also do this using recovery data backup or even add something additional to the system. About installing TWRP, one of the most popular types third party Recovery, and will be discussed in this article.

What is TWRP?

TWRP stands for TeamWin Recovery Project. The tool is a modified recovery. It has much more functionality than the standard version.

TWRP Features

Recovery functionality includes:

  • installation of various unofficial firmware, add-ons and updates;
  • connection to personal computer V various modes, for example, as a drive or ADB;
  • creating backup copies of the entire system or its individual components;
  • restoration of previously saved data;
  • resetting to factory settings, clearing caches of various partitions and subsystems;
  • creating and formatting partitions on the drive.

There are several ways to install TWRP on a system. For this, both the Android OS itself and a connection to a PC or standard recovery are used.

Installing TWRP via Fastboot

In short, Fastboot is a small utility that comes bundled with the Android SDK. It allows you to access the device before the system boots. By the way, not all devices support this mode. To install TWRP, you must first download SDK Tools from the official website with Android SDK. There are versions for three major operating systems.

The downloaded archive can be unpacked in any convenient place. In it we are interested in the Tools folder, and already in it - the executable Android file. This starts the SDK Manager service, which allows you to update or add new components. To install TWRP, one thing will be enough - latest version Android SDK Platform-tools. You need to check the box, agree to the license and click Install. After downloading, the Platform-tools folder will appear in the directory with the SDK. And it contains two files - ADB and Fastboot.

Now you need to visit official page TWRP project and download recovery for specific device. As a rule, the file extension is img, that is, image. It can be placed for convenience in the Platform-tools folder. Next, you need to physically connect the device to your computer using a USB cable. Then you need to put your phone or tablet into Fastboot mode. There are several ways to do this. The first is to physically press the power and volume down buttons. It is worth noting that this option does not work on all devices. For the second method, you need to check the “USB Debugging” box on your phone. Then go to your computer command line. Using console commands, get to the Platform-tools folder. For example, like this: cd Program Files (x86)\Path\to\folder.

Then, still in the console, you need to start Fastboot mode. There is a command for this: adb reboot bootloader. The device should go to desired mode. Next, you need to send him a command to install the image itself: fastboot flash recovery twrp.img. The lines will appear in the console window executable commands. And at the end, the word Finished will indicate the success of the procedure. As a result, we got TWRP installed via recovery. That is, customized software using standard software.

Installing TWRP via Flashtool

This utility is widely popular, since it is mainly used to flash many Android devices based on MTK processors. Using it, you can also upload a new recovery, namely TWRP. To perform the operation, you will need the Flashtool program itself and the TWRP image downloaded from the official website of the developers. The program starts, in the settings the DA DL ALL Check Sum checkbox is checked. Now the scatter file available in the TWRP archive is selected. The list of components to be flashed should include recovery. Clicking the Download button initiates the firmware download.

Using the official TWRP app

The developers of the TWRP project have created a special utility for more simple way installing your product on your device. It is available for download in the official Google Play store. When you first launch the application, you will be asked to check three boxes: confirmation to remove responsibility from the developers for subsequent problems, launch with root rights, and allow the program to collect statistics. As it became clear, the application requires superuser rights to work.

Installing recovery is quite simple. In the main menu, select TWRP Flash. Then the device on the basis of which image options will be proposed is indicated. If available paid subscription, that is, it is possible to download files directly through the program; if not, the user will be redirected to the official website. In the second case, you must manually specify the path to the image and click Flash to recovery. At the end of the procedure, the application will notify you that the installation has been successfully completed.

Appearance

When switching to TWRP mode, the user will be greeted with a simple interface with several buttons:

  • Install. Using this mode, you can install firmware and any other additions or updates via TWRP.
  • Wipe. A large selection with functions for resetting data to factory settings. Options are available to clear the cache, all partitions at once or separately system ones, memory and battery counter.
  • Backup. Create a backup copy. This may be necessary in cases where, for example, you are installing firmware via TWRP or any other tool.

  • Mount. Set of different partition connections.
  • Settings. The program doesn't have many settings. Checking signatures on used files, ignoring copying errors, selecting a time zone, and others are available.
  • Advanced. A mode for users who understand what they are doing. Contains log settings, access rights settings, creation of new partitions on a flash drive, a tool for viewing and managing files and a console.

In the last article I talked about. Today we will continue this topic and talk in detail about custom recovery modes, 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:

  • Do backups 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 such partitions 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 CWM installations- this is using 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 to be universal, 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 the necessary requirements, you can safely use the following 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

  1. Download and install the Android SDK, including Android SDK Tools, Android SDK Platform tools, and Google USB Driver
  2. Download the Recovery.img file from the TeamWin website (http://teamw.in/twrp_view_all_devices) by selecting your device from the list.
  3. Rename it twrp.img and copy it to the root of your device's SD card
  4. Connect your device to your computer via USB
  5. Run command Windows string by typing “cmd” in the “Run” field in the “Start” menu
  6. In the window that opens, enter “cd C:\android-sdk-windows\platform-tools\adb”
  7. Enter the following lines:
    su
    dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p34
  8. 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