Installing twrp. How to install TWRP Recovery in different ways


Almost every user of a modern gadget strives to make their device a little better. If we consider Android-based solutions, it will be undeniable that all owners of smartphones or tablets are missing something in their devices. For some, productivity, for others, autonomy. To provide many non-standard functions that are not provided by the device manufacturer, the user or group creates their own firmware. The first step on this path is to install a non-standard or “custom” recovery environment - recovery. Later in the article we will talk about how to install TWRP Recovery via a computer and using other means.

What is custom recovery?

Any Android device, and these are mainly smartphones or tablets, is equipped by the manufacturer with a pre-installed recovery environment, or otherwise recovery. This software component makes it possible to reset the device to factory settings, provides tools for updating the firmware, and also solves some diagnostic and configuration tasks.

To launch recovery, most often a special key combination is used on the device when it is turned off. Additionally, entering the recovery environment is often possible using the ADB commands included in the Android SDK.

Why TWRP

It must be noted that manufacturers limit the capabilities of pre-installed recovery. Many experienced users want to make the most of the capabilities of the hardware components, and therefore so-called custom recoveries have appeared, available for installation on a wide range of Android devices. This solution quite seriously expands the possibilities of adding new functions to the firmware and fine-tuning devices.

One of the most popular and functional solutions among custom recovery is TeamWin Recovery (short and commonly used abbreviation - TWRP). Below we will take a closer look at how to install TWRP Recovery on various devices using different tools and tools.

Risks

Before putting into practice the knowledge of how to install TWRP Recovery, you must clearly understand all the risks associated with the procedure of installing and using custom recovery. Theoretically, using a recovery environment other than that provided by the device manufacturer can lead to the loss of important data, as well as to the device malfunctioning and even hardware failure. It is important to remember the need to save the information contained in the device until you install TWRP Recovery on Android. In any case, each action described below is performed by the user at his own peril and risk.

Installation methods for different devices

To install TWRP, you usually use one of several methods:

  • Flashtool is a third-party software designed for updating and “clean” installation of firmware, which can also be used to flash the recovery. Only owners of devices created on the MTK platform should figure out how to install TWRP Recovery via Flashtool. For devices running processors from other manufacturers, the program is useless.
  • Installation using ADB commands - AndroidDebugBridge (from the Android SDK).
  • TWRP Manager is a special utility released by TeamWin.

Installing TWRP via Flash Tool

To carry out the procedure, we will need the Flash Tool itself, the TWRP file in .img format and renamed twrp.img, as well as a special scatter file. All of the above is individual and different for each device model. In order to find the required version of the program and files individual for each device, the easiest way is to go to specialized forums in topics on Android devices.

After all the files have been received, we proceed to follow the instructions on how to install TWRP Recovery via Flashtool:

  1. Initially, you need to unpack the archives with the Flash Tool program, as well as, if necessary, with twrp.img and the scatter file into a separate folder on drive C.
  2. Next, the Flash_Tool.exe file is launched with administrator rights. If a warning appears that the Scatter file is not loaded, it is ignored and the “OK” button is pressed.
  3. Open the main program window. First of all, you need to download the scatter file. This is done using the Scatter-loading button located in the upper corner of the window. In the explorer window that opens, you need to specify the path to the desired file and select it.
  4. Before proceeding, you need to make sure that the device is disconnected from the PC. Next, the checkboxes are removed from all fields, with the exception of the RECOVERY section, and the path to the twrp.img file is indicated in the Location field of the section.
  5. The next step is to switch the utility to standby mode for connecting the device being flashed. To do this, use the “Download” button in the Flash Tool program window.
  6. After clicking on the “Download” button, the switched off device is connected to the USB port. In some cases, it may be necessary to "jerk" the battery.
  7. The recovery firmware will start automatically and will take very little time. The end of the procedure is indicated by the appearance of a small window containing a green circle. You can disconnect the device from the PC.

Installing TWRP using ADB

Let's figure out how to install TWRP Recovery via a computer using ADB commands.

In general, the method consists of sending several special commands to the device via the command line and is probably suitable for more advanced users of PCs and Android devices.

In order for the question of how to install TWRP Recovery via ADB to be resolved successfully, you must first download and, if necessary, unpack the archives, and also install the following:

  • Android SDK;
  • Google USB Driver;
  • TWRP file in .img format and renamed to twrp.img (it must be copied to the device memory).

First, connect the device to USB in the “Debugging via ADB” mode. The command line starts and the following commands are entered into it one by one:

  • cd C:\android-sdk-windows\platform-tools\adb - pressing the Enter key;
  • su - pressing the Enter key;
  • dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p34 - and pressing the Enter key again.

After all commands are completed, the device is disconnected from the USB port and rebooted.

Conclusion

Thus, even the inexperienced owner of any Android device can figure out how to install TWRP Recovery. It is only important to first familiarize yourself with all the possible consequences and, before starting to manipulate the device, make sure that all subsequent steps are weighed, thought out and correct.

After everything is successful, everyone can install new and different firmware via TWRP Recovery, get root rights, make backup copies of any partition of the device’s memory, and much more.

In previous articles we talked about CWM Recovery. In this article you will learn in detail what items there are and what the menus in TWRP recovery are responsible for.

Download TWRP

You can download custom recovery TWRP to your Android device from the official TeamWIN page - https://twrp.me/Devices/

You can install TWRP according to these instructions - Installing custom Recovery

Management in TWRP

The TWRP menu is controlled from the touch screen. Confirm actions using a swipe at the bottom of the screen.

Briefly about all the TWRP Recovery menus

The main TWRP interface looks something like this:

Let's look at each submenu

  • Install– Installation of various patches and firmware in ZIP archive format
  • Wipe– erasing (formatting) Android partitions and memory cards (details about WIPE or data reset)
  • Backup– creating backup copies of the system and user data
  • Restore– Android recovery from system backups and user data
  • Mount– connect or disconnect Android partitions
  • Settings– setting up TWRP Recovery
  • Advanced– additional or enhanced TWRP features
  • Reboot– reboot Android into different modes

More about TWRP

Now let's take a closer look at the capabilities of each submenu.

Install menu (install update.zip)

As mentioned above, the Install menu allows you to install patches or firmware. Clicking the button Install you get into the file manager on the memory card or internal memory with your folders and files:

In order to install the ZIP update, you need to click on it and a new menu will appear to confirm your intentions to install the archived update

In order to install the update you need to swipe from left to right

You may also notice that there are buttons in this menu:

Add More Zips- install any additional archive ZIP update

Clear Zip Queue- cancel previously selected ZIP updates

WIPE menu

This menu can perform various resets of various sections of Android. By default, wipe resets the partition. /data And /cache

To activate additional features, you must click the button Advanced Wipe

Read about how to do wipe correctly in the article - wipe Android.

Backup menu

In this menu you can make backup copies (slices) of the current state of Android. You can configure which partitions to backup, and also activate the ability to compress backups - enable compression and also add validation - skip MD5 generation during backup , which will allow, if the backup copy is created “broken,” in the future not to perform a recovery from such a copy.

Backups are stored along the path SdCard/TWRP/BACKUPS, they can be copied to a computer and, if a problem occurs, you can restore Android from the Restore menu.

Restore menu

Allows you to restore from previously created backups (created in the Backup menu of TWRP Recovery):

Mount menu

Allows you to mount or detach Android partitions - this is necessary for applying various patches (which indicate or do not indicate whether the partition needs to be mounted). Also in this section you can enable the ability to connect the device as a flash drive - Mount USB Storage

Settings menu

This menu combines all the settings in the various menus.

  • Checking the signature of ZIP updates
  • Formatting Partitions
  • Skip verification
  • Checking the verification of backup copies
  • Screen brightness, time zone selection and others
  • Interface language (from TWRP version 3)

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:

  • 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 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 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 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 to install TWRP, similar to CWM, is to install it using the special TWRP Manager application. 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. Launch the Windows Command Prompt by typing “cmd” in the “Run” box of 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

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.

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 the application on 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: the stock firmware will not crash when installing a custom menu 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 to install recovery 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. We launch Fastboot Mode on the 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 completed. 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, hold down the power and volume buttons, connect the 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 has its own recovery mechanism. Its purpose is in especially severe cases when standard methods do not help. Also, using recovery, you can make a backup of your data or even add something additional to the system. Installing TWRP, one of the most popular types of third-party Recovery, 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 a personal computer in 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 is the Android executable file. This starts the SDK Manager service, which allows you to update or add new components. To install TWRP, one thing will be enough - the latest version of 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 the official TWRP project page and download recovery for a 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 the command line on your computer. 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 enter the desired mode. Next, you need to send him a command to install the image itself: fastboot flash recovery twrp.img. Lines of executable commands will appear in the console window. 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 an easier way to install their product on a 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 there is a paid subscription, then 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.






2024 gtavrl.ru.