The process of restoring a smartphone or installing a new version of the operating system often causes panic among ordinary users. However, mode Recovery is a powerful tool built into every Android device that allows you to solve complex software glitches without the need to connect to a computer. Understanding the principles of operation of this section of the menu provides access to a โ€œlifelineโ€ in situations where the phone is stuck on the logo or begins to work incorrectly after an unsuccessful update. In this article, we will look in detail at how to safely use recovery capabilities to flash a device without turning it into a โ€œbrick.โ€

There are two main types of recovery modes: stock (from the manufacturer) and custom (for example, TWRP). The stock version has limited functionality, but guarantees stability when installing official updates. Custom solutions provide advanced capabilities, such as creating full system backups and installing modified firmware. The choice of method depends on what goals you are pursuing: returning the phone to its factory state or installing a custom build LineageOS.

Before starting any manipulations, it is critical to make sure the battery charge level. The process of writing data to a device's memory is energy-intensive, and a sudden power outage in the middle of an operation can cause permanent damage to the bootloader. In addition, you will need to download the necessary firmware file with the extension .zip in advance and move it to the internal memory or card microSD. Ignoring this step will make entering the recovery menu useless, since the system will simply have nothing to install.

Preparation of the device and firmware files

The success of the operation depends 90% on the quality of preparation. Chaotic downloading of files from dubious forums often leads to the fact that the phone stops turning on. You need to find firmware that strictly matches your device model. There are no universal solutions: firmware from Samsung Galaxy S21 is not suitable for Xiaomi Redmi Note 10, even if their processors are similar. An error in selecting a file can lead to a cyclic reboot (bootloop).

The downloaded archive must be placed in the root directory of the internal memory or on an external drive. Do not place the file deep in folders, so as not to complicate navigation in recovery mode, where control is carried out only by the volume and power buttons. It is also worth checking the integrity of the file: if the download is interrupted, the checksum will be different and the installation will fail with an error.

โš ๏ธ Attention: All data on the internal drive will be deleted during the firmware process. Be sure to back up your contacts, photos and important documents in cloud storage or on your computer before starting work.

Another important aspect is unlocking the bootloader. On many modern smartphones from Huawei, Honor or new models Xiaomi the procedure for installing third-party software is blocked at the hardware level. If the bootloader is locked, the system simply will not allow you to sign and install the custom image, even if you get to the recovery menu. Check the status of the bootloader through the engineering menu or command fastboot oem device-infoif you have access to the PC.

โ˜‘๏ธ Ready for flashing

Done: 0 / 4

Entering Recovery mode on different devices

The key combinations for entering the service menu vary from manufacturer to manufacturer, which often confuses beginners. The standard algorithm usually involves holding down the power button and one of the volume keys. However, press timings can be critical: on some models Google Pixel or OnePlus you first need to turn off the phone and then hold down the buttons, while on older ones Sony you need to connect a USB cable to the computer at the moment of switching on.

Let's consider the most common combinations for popular brands:

  • ๐Ÿ”˜ Samsung: Press Volume Up + Home (if any) + Power. On new models without a Home button, you may need to connect a cable to the PC.
  • ๐Ÿ”˜ Xiaomi / Redmi / POCO: Hold Volume Up + Power until the logo appears.
  • ๐Ÿ”˜ Huawei / Honor: The combination Volume Up + Poweris often used, but sometimes you need to hold both volume keys at the same time.
  • ๐Ÿ”˜ Pixel / Nexus: Hold Volume Down + Power to enter Fastboot, then select Recovery mode using the volume arrows.

If the phone does not respond to presses, try holding the buttons longer - up to 15-20 seconds. In rare cases when the touchscreen does not work in recovery mode, navigation is carried out exclusively by physical buttons: the volume moves the cursor, and the power button confirms the selection. On devices with custom recovery, such as TWRP, control can be completely touch-sensitive, which greatly simplifies the process.

๐Ÿ’ก

If the phone constantly reboots and does not allow you to press the buttons, try disconnecting the battery for 10 seconds (if the design allows), then immediately press the Recovery input combination when connecting the power.

The interface of the stock recovery menu is usually ascetic and is a list of text commands on a black or blue background. Understanding the purpose of each item will help you avoid fatal mistakes. The most important section is Wipe data/factory resetwhich clears the user section. Use it only if you are confident in your actions, since restoring deleted files without a backup is impossible.

For direct firmware, we are interested in the item Apply update from ADB or Apply update from SD card (internal memory). In custom recovery, the interface is more friendly: there are clear buttons Install, Wipe, Backup. When selecting a firmware file, the system may request confirmation by swiping or pressing a button to prevent accidental installation.

Menu item Purpose Risk of data loss
Reboot system now Regular phone reboot No
Wipe data/factory reset Full reset to factory settings High (deletes everything)
Wipe cache partition Clearing temporary system files No (data is saved)
Apply update Installing firmware from ZIP archive Depends on the type of firmware

It is worth noting that in some versions of Android the menu may be hidden behind an additional submenu. For example, on devices Motorola sometimes you need to select Apply update from internal storageto see the file manager. If you see a message No command with an image of a lying android, simply hold down the power button and, without releasing it, press the volume up button once.

The process of installing firmware via a ZIP archive

The most common scenario is to install the update manually via a ZIP file. After you have selected the installation item and found your file in the list, the system will begin checking the digital signature. This is a protective mechanism that does not allow you to install damaged or unsigned software in stock recovery. If the check is successful, the process of unpacking and writing files to the system partition will begin.

In custom recovery TWRP the process looks different. You select the file and the โ€œSwipe to Confirm Flashโ€ slider appears. Swipe your finger over it to start the installation. You can track progress in the logs that run at the bottom of the screen. Typically, the entire process takes from 2 to 10 minutes, depending on the size of the firmware and the memory speed of the device.

What to do if the installation is interrupted?

If the process stops in the middle with an error, do not panic and do not turn off the phone immediately. Read the error log (usually red). Often the problem is solved by reformatting the Data partition or clearing the Dalvik cache. If the phone is frozen, hold down the Power button for 15 seconds to force a reboot and try to enter Download/Odin mode to recover via PC.

After the installation is complete, it is extremely important to clear the cache and data (Dalvik / ART Cache), especially if you are changing the Android version or firmware type. Ignoring this step often results in the phone turning on, but working unstable, with applications crashing. In the menu Wipe select Dalvik / ART Cache and confirm the action by swiping.

๐Ÿ“Š What type of firmware do you plan to install?
Official stock
Custom (LineageOS, etc.)
Port from another device
I donโ€™t know, I just want to reset the settings

Solving common firmware errors

Even if you strictly follow the instructions, unforeseen situations may arise. One of the most common mistakes is Status 7 or Assertion failed. This means that the installation script checks the device model and finds no matches. This happens if you try to install global firmware on a Chinese version of a smartphone or vice versa. There is only one solution: find a file that corresponds to the region and specific board revision of your device.

Another common problem is an error in mounting partitions. If recovery writes Failed to mount /data, this may indicate file system corruption or data encryption. In such cases, formatting the partition helps (not just a wipe, but formatting in Data (not just a wipe, but formatting in Format Data in TWRP with the word input yes). This will delete all data, including internal memory, but will allow the system to write correctly.

โš ๏ธ Attention: Error E: signature verification failed in stock recovery means that the firmware file does not have an official digital signature. The only way to get around this is by installing a custom recovery or re-signing the firmware, which requires advanced skills.

Sometimes after flashing the firmware, the phone goes into an endless reboot (bootloop). This does not always mean that the firmware is โ€œcrookedโ€. Often the problem is a conflict between old user data and the new system. Try going into Recovery again and doing a full Factory Reset. If this does not help, the firmware image may have been downloaded with errors and needs to be downloaded again.

Completing the procedure and first launch

When all steps are completed, select item Reboot system now. The first startup after flashing always lasts much longer than usual - from 5 to 15 minutes. At this time, the system optimizes applications and creates new configuration files. The screen may fade in and out and the boot animation logo may appear. Do not try to turn off the phone at this point, even if it seems to be frozen.

If the download was successful, you will see a welcome screen. Now you need to configure the device again. It is recommended to immediately check the Android version in the settings (Settings โ†’ About phone) to ensure that the installation was completed correctly. It is also worth testing the main functions: camera, sound, sensor and communication modules.

๐Ÿ’ก

The first launch after the firmware requires patience: the system carries out deep optimization, and a long delay on the logo is normal and not a sign of a failure.

If the device does not boots and goes back to the Recovery menu, this is a signal of failure. Return to the firmware selection step and double-check compatibility. You may need to use mode Fastboot or specialized software on a PC (for example, Odin for Samsung or SP Flash Tool for MediaTek) to restore functionality at a lower level.

Is it possible to flash a phone via Recovery without a computer?

Yes, this is the main advantage of this method. You only need the phone itself and the firmware file, which can be downloaded via a mobile browser or transferred from another device via Bluetooth/Wi-Fi. A computer is required only in difficult cases of bootloader recovery.

What is custom Recovery and how is it better than stock?

Custom recovery (for example, TWRP) has a graphical interface, support for touch controls, allows you to make full backups (Nandroid) and install unsigned modified firmware that is blocked by stock menu.

Will my information be deleted when flashing the firmware via Recovery?

In most cases, yes. Installing a new system often requires clearing the Data partition. However, if you simply update over the same version without resetting (Dirty Flash), the data may be preserved, but this is risky and may lead to errors.

Why does the "Signature verification failed" error appear?

Stock recovery verifies the digital signature of the manufacturer. If you are trying to install custom firmware or a modified file, the verification will fail. To install such files, you need a custom recovery.

How to exit Recovery if I accidentally got there?

Select an item Reboot system now Use the Volume buttons and confirm with the Power button. If the phone enters Recovery again, the volume buttons may be stuck or the system is damaged.