How to exit the menu of factory settings on Xiaomi: a step-by-step guide

You happen to be caught in the factory settings menu on a Xiaomi, Redmi or POCO smartphone and you don't know how to get out of there? This is a situation that many users know: one wrong click in Recovery Mode or a combination of buttons when turned on can block access to the system. Unlike the standard MIUI interface, the factory menu does not have the usual "back" button, and the wrong actions here threaten to completely reset data or even "brick" the device.

In this article, we will analyze all possible ways to get out of the factory settings on Xiaomi devices โ€“ from simple (reboot) to advanced (working with Fastboot and ADB). Particular attention will be paid to the nuances for different models: why the Redmi Note 12 and POCO X5 2023-2026 algorithm may differ from the old Mi 9 or Redmi 4X.

1.What is the โ€œfactory settingsโ€ on Xiaomi and when they are needed

The factory settings menu (also known as Recovery Mode or Fastboot) is a service mode built into the firmware of all Xiaomi devices.

  • ๐Ÿ”„ Reset to factory settings (full data cleanup).
  • ๐Ÿ“ฅ Installation of official/custom firmware through MIUI recovery TWRP.
  • ๐Ÿ› ๏ธ Diagnostics and repairs (memory check, hardware component testing).
  • ๐Ÿ”“ Unlock the bootloader (for advanced users).

In normal mode, you can only get here purposefully - through a combination of buttons when you turn on or a command in ADB. However, sometimes users find themselves in this menu by accident:

  • ๐Ÿคณ After a failed update MIUI OT.
  • ๐Ÿ”‹ When the battery is discharged up to 0% and subsequent inclusion.
  • ๐ŸŽฎ Due to the โ€œglitchโ€ of physical buttons (for example, pinched Volume Up) + Power).
  • ๐Ÿ–ฅ๏ธ After connecting to a PC with the Mi Flash Tool installed.

โš ๏ธ Warning: If you see the words "No command" on Xiaomi's screen with the Android lying down, it's not factory settings, it's Stock Recovery. To activate the menu, press and hold the Power. + Volume Up 10 seconds.

Method 1: Standard output through reboot

The simplest method is a soft reboot, and it works if:

  • ๐Ÿ“ฑ The device responds to the buttons.
  • ๐Ÿ”„ The menu is displayed on the screen. MIUI Recovery (blue background with icons).
  • โšก Battery is at least 10 times charged%.

Instructions:

  1. In the Recovery menu, select "Reboot" (or "Reboot" in Russian) using Volume Up/Down buttons.
  2. Confirm the choice of the power button (Power).
  3. If there is no Reboot, select Back and press Power again.

On newer models (Xiaomi 13, Redmi Note 12 Pro+), the menu may look different, for example, instead of "Reboot" it will be "Restart system now".

๐Ÿ“Š What kind of Xiaomi model do you have?
Redmi Note 10/11/12
POCO X3/X4/X5
Mi 11/12/13
Another model

Method 2: Forced reboot (Hard Reboot)

If your smartphone doesnโ€™t respond to the sensor or buttons in the Recovery menu, try the forced rebuke, which works on 90% of Xiaomi devices, except for models with a non-removable battery and accidental shutdown protection (such as the Xiaomi Mix Fold 2).

How to do this:

  1. Press the power button for 15-20 seconds.
  2. If the screen is out but the device is not restarted, press the Power + Volume Down for 10 seconds.
  3. Some models (POCO F4, Redmi K50) may require a combination of Power + Volume Up + Volume Down.

โš ๏ธ Attention: On devices with MIUI 14+ and anti-Rollback protection (e.g. Xiaomi 13 Ultra) forced reboot in the Fastboot menu can cause the bootloader to lock. If after the reboot you see the words "This device is locked" - see the section about Fastboot.

Make sure the battery is at least 5% charged.

Turn off the USB cable (if connected to a PC)

Remember the current state of the screen (photo on another phone)

Do not use combinations with Volume Up on locked devices.-->

Method 3: Exit via Fastboot (if stuck on a flashing robot)

If after the reboot you were in Fastboot Mode (black screen with a white rabbit in a hat-eared and inscription "FASTBOOT"), So the system has detected a problem in the bootloader.

You'll need:

  • ๐Ÿ’ป Computer with Windows/macOS/Linux.
  • ๐Ÿ”Œ Cable USB (preferably original).
  • ๐Ÿ› ๏ธ Mi Flash Tool or Platform Tools (for the purpose of the ADB).

Step-by-step:

  1. Download Platform Tools and unpack the archive.
  2. Connect your smartphone to your PC (if drivers are not installed, download Mi USB Driver).
  3. Open the command line in the folder with platform-tools and type:
fastboot devices

If the device is determined (the serial number appears), enter:

fastboot reboot

If the team doesnโ€™t work, try:

fastboot continue
Team team.DescriptionWhen to use
fastboot rebootA normal reboot.If the device is visible in fastboot devices
fastboot continueContinue downloading MIUIIf you reboot again, you get into Fastboot.
fastboot reboot recoveryTransition to RecoveryIf you need to go back to the reset menu
fastboot oem edlTransfer to EDL modeOnly for firmware through Mi Flash!
What if the PC doesnโ€™t see the device in Fastboot?
1. Check the cable - try another one USB-port (preferably) USB 2.0). 2. Install drivers manually through Device Manager (select "Android Bootloader Interface"). 3. Disable the antivirus โ€“ it can block ADB. 4. Try another PC (on some laptops) Lenovo/Acer There are problems with Fastboot recognition).

5. Method 4: Exit through ADB (if Recovery doesn't respond)

If the smartphone is stuck in the Recovery menu (no buttons, but the screen is on), you can try rebooting it via ADB (Android Debug Bridge), which works even if the sensor is not responding.

Conditions:

  • ๐Ÿ”ง On the smartphone was previously included debugging on USB (Settings โ†’ The phone. โ†’ Version. MIUI โ†’ 7 times to tap โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB).
  • ๐Ÿ’ป Platform Tools are installed on PCs.

Instructions:

  1. Connect your smartphone to your PC.
  2. Open the command line in the folder with platform-tools.
  3. Enter:
adb devices

If the device is determined (a serial number will appear marked recovery), do:

adb reboot

If the team doesnโ€™t work, try:

adb shell reboot -p

โš ๏ธ Attention: On devices with MIUI 14+ and adb reboot may not work with a blocked bootloader due to security limitations, in which case only a forced reboot will help (see Method 2).

๐Ÿ’ก

If USB debugging hasnโ€™t been enabled before, but you have access to another Xiaomi smartphone, connect it to your PC and enable debugging via Settings โ†’ Additional โ†’ For developers. Then repeat the steps on the problem device โ€“ sometimes ADB recognizes devices in Recovery even without first setting up.

6. Method 5: Unlocking through Mi Account (if required by authorization)

New devices (Xiaomi 13, Redmi Note 12, POCO X5) may request authorization to Mi Account when logging into Recovery or Fastboot, which is the accidental reset protection that MIUI 13+ added.

How to get around:

  1. Connect to Wi-Fi in the Recovery menu ("Connect with Mi Assistant").
  2. Enter the username and password from your Mi Account (the same one that is linked to the device).
  3. If you do not remember the password, restore it through the official website.
  4. After authorization, you will be able to select "Reboot".

If the authorization fails:

  • ๐Ÿ“ถ Check Wi-Fi connection (in Recovery, the grid may not work stable).
  • ๐Ÿ”„ Restart the device and try again.
  • ๐Ÿ“ž Contact Xiaomi Support (purchase confirmation required).

๐Ÿ’ก

Mi Account authorization in Recovery is not a bug, itโ€™s a feature. Xiaomi added this protection after a wave of thefts and fraud with used smartphones. If you bought a device from hand and canโ€™t log in, itโ€™s a reason to doubt its legality.

7 What to do if nothing helps: extreme measures

If all methods are exhausted and the smartphone is still stuck in the factory settings, then radical methods remain.

  • ๐Ÿ“ต The device does not respond to all button combinations.
  • ๐Ÿ’ป PC does not see the smartphone or ADB, nor on Fastboot.
  • ๐Ÿ”‹ Battery discharged to 0% and not charged.

Options:

  1. EDL (9008 Mode): Requires a special cable or test point on the board, needs skills with the Mi Flash Tool and official firmware. Risk: if you make a mistake, the device will become a brick.
  2. Contact the service center: Xiaomi official centers can restore the device under warranty (if there were no root licenses). โ‚ฝ model-wise.

Replacement of fees (in extreme cases):

  • It is relevant if the problem is a hardware failure (for example, a damaged memory chip).
  • Price: 30% of the cost of a new smartphone.

โš ๏ธ Note: On devices with Snapdragon 8 Gen 2 chip (such as Xiaomi 13 Pro) firmware is via EDL Without authorization in Mi Account can lead to a complete blocking IMEI. In this case, the restoration is possible only through the official service.

FAQ: Frequent questions about exiting Xiaomi factory settings

โ“ Why is the smartphone coming back to Recovery?
This is a sign of a damaged bootloader or a failed update. Possible reasons: Interrupted firmware via OTA or Mi Flash, conflict custom Recovery (e.g. TWRP) with official firmware, hardware failure (damaged /boot or /recovery partition). Solution: run the device through the Fastboot official firmware (see instructions on the Xiaomi website).
โ“ Can you exit factory settings without losing data?
Yes, if: You are using a soft reboot (Method) 1 or 2). Don't select "Wipe data" or "Factory reset." The device is not locked by Mi Account. If the smartphone requires reset via Recovery, the data will be lost. ADB Copy important files: Adb pull /sdcard/ C:\Xiaomi_Backup\
โ“ Why is the screen on "This device is corrupted"?
This error appears on devices with the bootloader unlocked after a failed firmware or root rights. It means that: Damaged boot.img or vendor.img. Install the firmware with the wrong version of Anti-Rollback, DM-Verity protection is activated, Solution: run the device with a full firmware package through Fastboot with check disabled: fastboot flash --disable-verity --disable-verification
โ“ How to avoid falling into factory settings in the future?
Follow simple rules: ๐Ÿšซ Don't press Volume Up + Power with the smartphone on. ๐Ÿ”‹ Don't update. MIUI battery charge less than 30%. ๐Ÿ› ๏ธ Do not install custom firmware without a backup. ๐Ÿ”’ Enable protection against accidental pressing: Settings โ†’ Lock screen โ†’ Additionally. โ†’ Protection against accidental touch.
โ“ Are these methods working on POCO redmi?
Yes, all methods are relevant for all devices based on MIUI, including: POCO: F5, X5, M5, C55, etc. Redmi: Note 12, 11, 10, K60, A2+. Xiaomi: 13/12/11 series, Mix Fold, Civi. Exceptions: POCO F1 and old Redmi (until 2019) may not have the item "Reboot" - use Power + Volume Down. On Black Shark (Xia gaming smartphones) to exit Recovery you need to pinpoint Power + Volume Up + Down.