Those who use an Android tablet or smartphone on a daily basis often want to get more functionality than what is provided with the purchase. To do this, you need to get root rights (access to administrator rights), install custom firmware, install a different boot animation, and much more.
When a user studies information on changing their device, they often come across a mention of a modified recovery, which is usually referred to as ClockworkMod Recovery or TWRP Recovery. You can also find the general concept of modrecovery in other articles, but here we will take a closer look at another well-known type of modified factory menu, namely TWRP Recovery, which was developed by the Teamwin team.
Before we touch on the study of the functions of TWRP Recovery in more detail, it should be noted that in comparison with ClockworkMod there are a number of features due to which many users prefer to use TWRP:
- The ability to fully use the touch to control the functions of moderecovery;
- more flexible configuration of a number of options;
- support for installing several zip files at once;
- detailed menu choosing what to keep in backups;
- the ability to use S-Pen on Galaxy Note tablets;
- screen lock and sleep mode using the power button.
User manual for working with modrecovery TWRP Recovery
1. general information about TWRP
2. Installing TWRP Recovery
3. How to get into the TWRP Recovery menu
4. Detailed review of the main functions in the TWRP Recovery menu
5. Flashing, replacing system files, installing updates, modifications on Android devices using TWRP
Here is a short list of the main features of TWRP Recovery:
- Installation of alternative (custom) firmware, or kernels;
- Installing system updates, fixes, making adjustments to the gadget's functions;
- Creating a full backup of the system or its individual parts (application data, system partition, cache, settings);
- Connecting via USB cable to a computer as a removable drive;
- Restoring the previous state of the system from a previously saved backup (backup);
- Editing partitions on the memory card (create, format, delete);
- Ability to reset to factory settings (Wipe - data / factory reset). You can delete only part of the data instead of completely resetting it to its original state: deleting battery statistics (wipe battery stats), clearing the cache (wipe cache), erasing dalvik-cache (wipe Dalvik-cache);
- Use as a terminal to execute commands;
- Ability to work with system files on a tablet or phone.
Many Android gadgets, such as Nexus smartphones and tablets, have specially designed programs, like the Google Nexus 7 Toolkit, where there is a function to install a modified recovery. In addition, using the adb program, you can also install TWRP Recovery.
adb reboot recovery
This manual covers the features and capabilities of TWRP Recovery version 2.3.2, which is the most up-to-date at the time of this writing. Other versions of TWRP may have a slightly different interface, but the main functionality will remain the same as in the version we are considering.
The appearance of TWRP recovery may also differ slightly, depending on the specific device and the chosen theme.
Since TWRP recovery supports touch control, it is very easy to select the desired menu items and navigate through them - it is enough, just as in normal use of the gadget, to press the element we need with your finger.
If you want to return to the previous menu, then in each submenu there is a back button in the lower (phone) or upper right (tablet) part of the display. Also shown at the top is the battery percentage and the current time.
Functions of the main menu items:
1.Install
Used to install firmware, patches and modifications.
This is one of the most used features of TWRP Recovery.
Using this option, you can install custom (unofficial), official firmware, programs to the system partition, replace kernels, change bootanimation, themes, and more. Updates are installed from files located anywhere on the device's memory card, in zip format.
After selecting the desired file, a menu opens where you can add the next update. Thus, you can create a queue for installing patches (Add More Zips item). After the desired files are selected, you need to start the firmware by stretching the slider from the left side to the right, which is located at the bottom of the display.
The Zip Signature verifications feature can activate digital signature verification of zip files.
Using the Force MD5 check on all Zips item, the check of installed updates for compliance with MD5 checksums is activated.
2. Wipe Menu for clearing and deleting data
In this section, it is possible to clear the phone's memory, either by completely returning to the factory settings (Factory Reset), or by choosing to clear only a certain part of it, such as the System partition, cache (Cache), or Dalvik Cache. After applying the Factory Reset, the device will return to the state in which it came from the factory.
In addition, it is possible to clear the internal memory (Internal Storage) or external SD card (External Storage), clear the folder where the programs installed on the external media are stored (android_secure) or reset the battery statistics counter (Wipe Battery Stats).
Similar to other executable functions, you can confirm your choice using the slider that appears at the bottom of the display. You can cancel the execution of tasks by tapping on the "Back" button.
3. Backup Data or System Backup Partition
This is one of the most important points in the modified recovery. Here you can backup the entire system of your phone or tablet, including application data and device settings - Nandroid Backup.
In this section, you can:
- Select parts of the memory that you want to reserve: Data, System, Recovery, Boot, Uboot, Cache, NVram;
- Look at the available amount of memory space (Free Space);
- Disable creation of checksums in backup files (Skip MD5 generation during backup);
- Activate backup file compression (Enable Compression);
- Select the internal memory of the device to save backup data (Use internal storage);
- Select an external memory card to save backup files (Use external SD);
- Refresh information on free memory in sections (Refresh Sizes);
- Set a name for the backup (Set Backup name).
As before, you can activate the launch of the functions you have chosen using the slider, after which the progress of the operation will be shown.
When the process is completed, you can reboot the gadget using the Reboot System option, or return to the TWRP main menu using the arrow.
4.Restore Menu for restoring parts or the entire system from a previously created backup
This section provides the following options:
- selection of the internal memory of the device as a place where backup copies will be searched (Use internal storage);
- set an external memory card as a partition where the recovery will look for backup (Use external SD).
If you did not change the settings when creating a backup, then by default the names of the backups are made up of the number and time of creation. Files can be sorted in the following ways:
- ascending (Sort Ascending) or descending (Sort Descending) date of creation;
- increase or decrease the size of backups.
When the desired backup is found, the following selection of functions is provided:
- mark the partitions that need to be restored (Data, System, Recovery, Boot, Uboot, Cache, NVram);
- delete this backup (Delete Backup);
- give a different name to the selected backup (Rename Backup);
- enable checking MD5 checksums in backup files.
Start the selected operation by confirming the selection using the slider at the bottom of the screen.
5 Mount
Here you can mount and unmount partitions and perform operations on them. When mounted, the data contained on the partition becomes available.
This section contains features:
- Mounting, unmounting the system partition (Mount / Unmount System);
- Mounting, unmounting the cache partition (Mount / Unmount Cache);
- Mounting, unmounting the data partition (Mount / Unmount Data);
- Mounting, unmounting internal memory (Mount / Unmount Internal);
- Mounting, unmounting an external memory card (Mount / Unmount Sdcard);
- Connecting the device to a PC as a drive (Mount USB storage). Here you can connect an SD card (Use external SD) or the built-in memory of the gadget (Use internal storage) to the PC.
6.Settings Modified recovery settings
Here are the settings that TWRP Recovery will use by default when performing functions:
- Enable/disable digital signature verification of installed files (Zip file signature verification);
- Enable/disable checksum check for any zip files (Force MD5 check for all zips);
- Erasing files instead of formatting while clearing memory (Use rm -rf instead of formatting);
- Ignore image size errors during backup;
- Do not create checksums during backup creation (Skip MD5 generation during backup);
- Choose your time zone (Time Zone);
- Return to the default TWRP Recovery settings (Restore Defaults).
7.Advanced Additional TWRP Options
Here you can:
- Activate the saving of the operation log file to the memory card (Copy Log to SD);
- Restore access rights to system folders and files to their original state, which may be violated by some applications with root privileges. Sometimes a violation of access rights can lead to crashes and freezes of the tablet or phone (Fix Permissions);
- Change partitions on the memory card (create, delete, create swap cache files). Swap is usually used to speed up Android devices. (Partition SD Card).
Here you can execute the following commands: Copy (copy a file), Move (move a file), Chmod 755 (set permissions 755, which are used by default for all system files), Chmod (set other permissions), Delete (delete a file), Rename File (rename file);
- Execute a command entered manually in terminal mode (as well as from a PC using the adb Sshell interface) (Terminal Command).
8.Reboot
With this item, you can reboot the device. Available Options:
- reboot into the operating mode of the device (System);
- reboot into recovery (Recovery);
- turn off the tablet or phone (Power Off).
Next, we do the following:
1. Boot into TWRP recovery;
2. Select the "Install" function;
3. Select internal (Use internal storage) or external memory (Use external SD), depending on where we copied the files we need.
4. Find and select the file you want to install.
5. If you have an md5 file along with Zip, then you can activate the check on sums (Force MD5 check on all Zips), otherwise do not do this;
6. Start the installation by dragging the slider from left to right.
You can select 10 zip files at once, which will be sequentially installed. At the end of the process, the installation is complete.
When the process is completed, it is recommended to clear the cache and dalvik cache.
The widespread distribution of modified Android firmware, as well as various additional components that expand the capabilities of devices, has become possible largely due to the emergence of custom recovery. One of the most convenient, popular and functional solutions among such software today is TeamWin Recovery (TWRP). Below we will deal in detail with how to flash a device through TWRP.
Recall that any change in the software part of Android devices in ways and methods not provided by the device manufacturer is a kind of hacking of the system, which means it carries certain risks.
Important! Every action of the user with his own device, including following the instructions below, is carried out by him at his own risk. The user is solely responsible for possible negative consequences!
Before proceeding with the steps of the flashing procedure, it is highly recommended to make a backup of the system and / or backup of user data. You can learn how to properly carry out these procedures from the article:
Before proceeding directly to the firmware through the modified recovery environment, the latter must be installed on the device. There are a fairly large number of installation methods, the main and most effective of them are discussed below.
In the event that installing TWRP through the official TeamWin application is not feasible, you will have to use the Windows application to work with the device's memory partitions. Owners of devices built on the basis of the Mediatek processor can use the SP FlashTool program. How to install recovery using this solution is described in the article:
Owners of devices manufactured by Samsung can also take advantage of the modified recovery environment from the TeamWin team. To do this, you need to install TWRP-recovery, as described in the article:
Another almost universal way to install TWRP is to flash the recovery image via Fastboot. The steps to install the recovery in this way are described in detail at the link:
Despite the seeming simplicity of the actions described below, you need to remember that the modified recovery is a powerful tool, the main purpose of which is to work with the device’s memory sections, so you need to act carefully and thoughtfully.
In the examples described below, the microSD card of the Android device is used to store the files used, but TWRP allows you to use the internal memory of the device and OTG for such purposes. Operations when using any of the solutions are similar.
To transfer information to a memory card, it is advisable to use a PC or laptop card reader, and not the device itself connected to the USB port. Thus, the process will occur in many cases much faster.
To perform the operation, press the button Wipe("Cleaning"). In the menu that opens, shift the special unlocker of procedures "Swipe to Factory Reset"("Swipe to confirm") to the right.
Upon completion of the cleaning procedure, the message will be displayed "Successful"("Ready"). We press the button Back("Back"), and then the button at the bottom right of the screen to return to the main TWRP menu.
Having decided, set the switch to the desired position and press the button "OK".
After all the parameters are defined, you can proceed to the firmware. To start it, we shift a special unlocker of procedures Swipe to Confirm Flash("Swipe for firmware") to the right.
Thus, using TWRP to flash Android devices is generally a simple procedure that does not require many actions. Success largely determines the correctness of the user's choice of files for firmware, as well as the level of understanding of the goals of the manipulations and their consequences.
In previous articles, we talked about CWM Recovery. In this article, you will learn in detail what items are available and what the menus in TWRP recovery are responsible for.
You can download TWRP custom recovery to your Android device from the official TeamWIN page - https://twrp.me/Devices/
You can install TWRP according to this instruction - Installing custom Recovery
Management in the TWRP menu is carried out from the touch screen. Confirm actions with a swipe at the bottom of the screen.
The main TWRP interface looks something like this:
Now let's take a closer look at the capabilities of each submenu.
As mentioned above, the Install menu allows you to install patches or firmware. Clicking on the button Install you get into the file manager on a memory card or internal memory with your folders and files:
In order to install a ZIP update, you must 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 some additional archive ZIP update
Clear Zip Queue- cancel previously selected ZIP updates
This menu can perform various resets, various sections of Android. By default, wipe resets the partition /data and /cache
To activate additional features, press the button advanced wipe
Read about how to do wipe correctly in the article - wipe Android.
In this menu, you can make backups (slices) of the current state of Android. You can configure which partitions to back up, as well as activate the ability to compress backups - enable compression and also add validation - skip MD5 generation during backup , which will allow, if the backup is created "broken" in the future, not to restore 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, reanimate Android again from the Restore menu.
Allows you to recover from previously created backups (created in the Backup TWRP Recovery menu):
Allows you to mount or detach Android partitions - this is necessary for applying various patches (which indicate or not indicate whether the partition should be mounted). Also in this section, you can connect the ability to connect the device as a flash drive - Mount USB Storage
This menu combines all the settings in the various menus.
Decided to install custom firmware on your Android smartphone or tablet, entered custom TWRP Recovery, but received error 7 during installation? Do not despair, fixing this problem is quite simple.
Many beginners may be discouraged by any steps in installing custom firmware, especially if this procedure is performed for the first time. One of the major obstacles during the installation of the firmware can be error 7 in TWRP Recovery.
The seriousness of this error is that it does not allow you to install custom firmware on the device at all and all your preparation will go down the drain. But it turns out that this error 7 in recovery is quite easy to fix without resorting to long-term action! Today's article is about how to get rid of this problem!
This error can occur in two cases:
Option 1 (action 1)
If you have already read how error 7 could have occurred, then your very first action will be to check that you really downloaded the firmware for your smartphone or tablet model (check the name and version).
If you notice that you downloaded the wrong firmware, then download for your device. Problem solved! If this is not the case and the firmware is correct, then proceed to the second step.
Option 2 (action 2)
Try searching the internet for more new version of custom Recovery and then install it on your device, then try to install the firmware, which previously gave error 7.
Option 3 (action 3)