How to exit TWRP Recovery on Xiaomi: a step-by-step guide

When the screen of Xiaomi smartphone freezes on the logo TWRP Recovery, often causes panic users.This is a modified recovery menu that replaces the standard mode Recovery from the manufacturer. Getting into it can be both a planned action after installing custom firmware, and unpleasant surprise due to a system failure or an error during the update.

The main thing to understand at this point is that your device is not physically broken. The smartphone is just waiting for commands from the user to perform system operations. However, if you did not plan to interfere with Android, the constant login to this menu blocks the phone.

In this guide, we will look at all possible scenarios, from a simple restart to a complete flash.We will look at the methods for the Redmi Note, Poco and Mi flagships. It is important to act consistently so as not to aggravate the situation and not lose personal data.

Why the phone is stuck in TWRP recovery mode

There are several reasons for cycling to TWRP, and understanding the source of the problem is half the success, most often after a failed attempt to install custom ROM or update the system kernel. If files were corrupted during boot or the process interrupted, the bootloader can not find a valid operating system and redirects you to the recovery menu.

Another common reason is the conflict between the Android versions and the installed backup: After updating the official MIUI or HyperOS firmware, the old version of TWRP may stop correctly defining memory partitions, as a result, the system sees an error and automatically starts Recovery mode instead of a normal boot.

โš ๏ธ Note: If you happen to be on this menu without first unlocking the bootloader, you probably had a key combination pressed when you turned it on. However, if the phone itself comes back here after the reboot, the problem lies deeper in the software.

Also worth mentioning is the damage to system files by viruses or the incorrect operation of backbone updates. In such cases, Bootloader tries to start the system, gets an integrity error and rolls back to the last available diagnostic tool, TWRP. Sometimes the cause is a failure in the partition table after formatting a memory card or internal memory through third-party utilities.

Basic methods of exiting through the TWRP menu

The easiest and safest way to try is to use the built-in menu features. TWRP is designed to minimize the risks of misuse. On the home screen, find the Reboot button, which is usually located at the bottom of the display.

Once you click, you'll see submenu with options, and you're interested in System, and you'll click on it, and you'll send a command to the bootloader to try and start the main operating system, and if the system files are OK, the phone will go out of recovery mode and start as normal.

  • ๐Ÿ”„ Click Reboot on the main screen.
  • ๐Ÿ“ฑ Select the System option for normal boot.
  • โšก If the phone is back on the phone again TWRP, Select Recovery to re-enter.
  • ๐Ÿ›‘ Avoid Power Off if the battery is drained, as the device may not turn on without a charging connection.

In some cases, especially after installing updates, the system may request confirmation of changes. The screen may show a message that the system partition has not been modified, and will be prompted to install Magisk or leave as is. If you do not plan to receive Root rights, choose the Do Not Install option or simply agree with the current state so that the menu will let you go further.

๐Ÿ’ก

If the Reboot button is inactive or the menu does not respond to touch, try connecting the device to your computer via a computer. USB-cable - this sometimes activates the touchscreen in the Recovery.

Using the Reboot System command via ADB

If the touch screen is not working or the menu is frozen, a computer comes to the rescue. the ADB command line interface allows you to control the device at a low level. This method requires that the Xiaomi drivers and the Platform-tools package are installed on the computer.

Connect your smartphone to your PC with a cable. Open the command line in the ADB folder and enter a command to check the connection. If the device appears in the list, you can send reboot commands directly, bypassing the graphical interface of the recovery.

adb devices


adb reboot

Adb reboot is analogous to pressing the reboot button on the menu. It forces the bootloader to send a signal. If there was a temporary software failure, this method will help to get out of the loop. In more complex cases, when the standard reboot does not help, you can try the adb reboot bootloader command to go to Fastboot mode, where you can already try to start the system or reflash the device.

โ˜‘๏ธ Pre-use checks ADB

Done: 0 / 4

Resetting and cleaning the cache (Wipe Data)

When software conflicts keep the system from booting, cleaning user data often helps, a method that is radical because it removes all files, photos and applications altogether, but if the goal is simply to bring the phone back to life, that's often the only solution.

In the TWRP menu, go to the Wipe section. Here you'll see a slider or buttons to select partitions. To begin, try clearing only the Dalvik/ART Cache and Cache cache. This is data-safe and can fix update errors.

If the cache cleanup didn't work, you'll have to do a full reset. In the Wipe section, select Format Data. You'll need to type in the word yes to confirm. After that, the phone will be cleared and you can start the system again through Reboot โ†’ System.

Action.Data retentionWhen to apply
Dalvik / ART CacheYes.After installing updates
CacheYes.When downloading applications errors
Wipe Data (Factory Reset)No.In a cyclical reset
Format DataNo.When changing firmware or encryption
What is Format Data in TWRP?
This option completely clears internal memory, including media files, and removes encryption, which is necessary when switching between different versions of Android or when returning to the stock.

Return to stock firmware via Fastboot

If nothing works, then the current operating system is so damaged that recovery is impossible, in which case the only way out is a complete flashing. For Xiaomi devices, this is done via Fastboot mode using the Mi Flash Tool utility.

You will need to download the official firmware for your model (file with the extension.tgz, not.zip). Unpack the archive and start the program. Put the phone in Fastboot mode by pressing the volume button when you connect the cable to the PC.

In the utility, choose the path to the firmware folder and press Flash. It is important to select Clean All mode to avoid file conflicts. The process will take a few minutes, after which the phone will automatically restart to the clean system.

  • ๐Ÿ’ป Download the Mi Flash Tool and drivers.
  • ๐Ÿ“ฅ Download Fastboot firmware for your model.
  • ๐Ÿ”Œ Translate the smartphone to Fastboot mode (Volume Down) + Nutrition).
  • โš™๏ธ Start the firmware and wait for the process to end.

โš ๏ธ Warning: Make sure the battery is at least 50% charged, interrupting the firmware process may cause the device (brick) to fail completely, and recovery is possible only at the service center.

Preventing problems with recovery in the future

To avoid a repeat of this, care should be taken when modifying the system. Always make a full backup before installing any updates or custom cores. TWRP allows you to save images of Boot, System and Data partitions to a memory card or to the cloud.

Only use the versions of the recovery that are officially supported for your specific model and Android version. Installing general-purpose or legacy builds is a direct route to partition mounting errors. Keep an eye out for updates on the 4PDA or XDA developer forums.

๐Ÿ“Š Have you had any problems after installing a custom recavator?
Yeah, the phone stopped loading.
There were small bugs, but everything works.
No, I only use the stack.
I plan to try it in the future.

It is also recommended to disable automatic system updates if you are using modified firmware.The MIUI update can overwrite the modified bootloader, which will lead to the problems described above.Control the Android version and security patches by installing them manually through verified sources.

๐Ÿ’ก

Regularly creating backups through TWRP before any changes is the only way to ensure your phone is back in working order in 5 minutes.

Frequently Asked Questions (FAQ)

Is it safe to exit TWRP by simply turning off your phone?
Physical shutdown (pressing the power button) is safe for hardware, but does not solve the software problem. If the system files are damaged, the phone will turn on again in TWRP. It is better to use software reboot.
Will my photos and contacts disappear after I leave Recovery?
If you use the Reboot System or Wipe Cache command, the data will remain in place. Information loss will occur only when you choose the option Wipe Data or Format Data.
Can I remove TWRP and return the original menu?
Yes, you need to reflash the original recovery image (boot.img) via Fastboot, which will return the factory recovery menu and remove the ability to install custom firmware without re-unblocking.
Why does TWRP write "Failed to mount /data"?
This means that the recovery can't read the data section, often because of encryption or incompatibility of Android versions, and the Format Data command inside the TWRP will help, but it will delete all the files.