Xiaomi Redmi 4 Pro (codename markw) is a popular 2017 smartphone that is still in use today for its reliability and customization capabilities. One of the key features for power users is access to Recovery mode, a special recovery environment that allows you to reset settings, install firmware or fix system errors. However, the entry into this mode on Xiaomi devices has its nuances, especially if the bootloader is blocked.
In this article, you will find the current 2026 ways to log in to stock recovery and custom recovery (such as TWRP) on Redmi 4 Pro, as well as solutions to typical problems: black screen after login, the βNo commandβ error, and how to bypass bootloader lock.
What is Recovery Mode and Why You Need It on Redmi 4 Pro?
Recovery mode is a system-independent environment built into the smartphone at the firmware level. On the Redmi 4 Pro, it can be of two types:
- π Stock Recovery is a standard recovery from Xiaomi, with limited functionality (reset, upgrade via ZIP, memory check).
- π οΈ Custom Recovery (e.g., TWRP) is a modified version with advanced features: custom firmware installation, NANDroid backups, root partition access.
The main tasks for which Recovery is needed are:
- π Reset to factory settings (if the smartphone is not booted or locked).
- π¦ Installation of official/unofficial firmware (via ZIP- files).
- π§ Clearing the cache (Dalvik/Cache) to eliminate lags.
- π Unlock the bootloader (first step before installation TWRP).
- π± Recovery from the backup (if TWRP is installed).
Redmi 4 Pro may require a Recovery login if:
- π΅ The smartphone hangs on the Mi logo (bootloop).
- π Forgotten pattern lock or PIN-code.
- π² You must roll back to the previous version MIUI.
- β‘ A custom core is required to improve performance.
β οΈ Warning: On the Redmi 4 Pro with a locked bootloader (BL Lock), some features in Stock Recovery will not be available. For example, installing ZIP- firmware files is only possible after unlocking through the Mi Unlock Tool.
Method 1: Enter Recovery via hardware buttons (for all versions)
The most universal method is the use of a combination of physical buttons, which works regardless of the operating system state (even if the smartphone does not turn on).
Step-by-step:
- π Turn off your smartphone. If it freezes, hold the power button for 10 to 15 seconds until the screen goes out.
- π Press and hold at the same time: Volume Up. Power button.
8-10 seconds
Mi
FASTBOOT
Volume Up
Recovery
If done correctly, youβll be taken to Stock Recovery with a blue background and an English/Chinese menu.
βοΈ Checking before entering Recovery
β οΈ Warning: Some firmware MIUI may open a Fastboot (black screen with a rabbit) after the Mi logo appears, in which case try again by holding the buttons longer (up to 12-15 seconds).
If you are in Fastboot instead of Recovery, it means that:
- π§ bootloader is locked (unlocking via Mi Unlock Tool is required).
- π± Recovery is damaged (must be reflashed through Mi Flash).
- π You let go of the buttons too early (try again).
Method 2: Login via ADB (if the smartphone is turned on)
If the smartphone is working, but you need to reboot to Recovery without using buttons (for example, to automate the process), you can use the ADB command.
Requirements:
- π₯οΈ Computer with installed ADB and Fastboot.
- π USB-cable (preferably original).
- π± The smartphone has debugging enabled on USB (Settings β About Phone β Version MIUI (click 7 times) β Additional β For developers β Debugging on USB).
Instructions:
- π Connect Redmi 4 Pro to your computer via USB.
- π₯οΈ Open the command line (Win) + R β enter cmd) and go to the folder with ADB:
cd C:\platform-tools- π Enter a command to check the connection:
adb devicesIf the device is identified (a serial number will appear), do:
adb reboot recoveryThe smartphone will automatically reboot to Recovery.
β οΈ Warning: If after the adb reboot recovery command, the smartphone loads into Fastboot, it means that the recovery partition is damaged or replaced with Fastboot (typical for devices with a locked bootloader), in which case you will need to reflash Recovery via Fastboot.
π‘
If the adb device command does not find the device, try reconnecting the USB- cable, enabling file transfer mode on your smartphone, or installing Mi USB Driver drivers.
Method 3: Sign in via Fastboot (if Recovery is corrupted)
If standard methods donβt work (for example, after a failed firmware), you can boot to Recovery via Fastboot mode.
Step-by-step:
- π΅ Turn off your smartphone.
- π Press Volume Down + Power to enter Fastboot (black screen with a rabbit in its cap).
- π₯οΈ Connect the device to your computer and open the command line in the Fastboot folder.
- π Enter the command to download to Recovery:
fastboot boot recovery.imgIf you have TWRP installed, replace recovery.img with the path to the custom recap file (e.g. twrp-3.7.0-markw.img).
For permanent firmware Recovery (for example, after unlocking the bootloader) use:
fastboot flash recovery twrp-3.7.0-markw.img
fastboot reboot recovery| Team team. | Description | When to use |
|---|---|---|
| fastboot boot recovery.img | Temporary download in Recovery (without firmware) | For a one-time entry |
| fastboot flash recovery twrp.img | Permanent Firmware Recovery | After unlocking the loader |
| fastboot reboot recovery | Reboot to Recovery | After Firmware New Recovery |
| fastboot oem device-info | Checking the status of the loader | To find out if the BL is blocked |
What if the Fastboot canβt see the device?
Unlocking the bootloader on Redmi 4 Pro: why it is necessary for Recovery
All Xiaomi devices, including the Redmi 4 Pro, have their Bootloader locked by default, which means that:
- π You cannot flash custom recovery (TWRP).
- π¦ Unofficial firmware installation will not be possible.
- π§ Some features in Stock Recovery will be disabled (e.g., install ZIP).
To unlock the bootloader, follow the following steps:
- π Go to Mi Unlock and download the Mi Unlock Tool.
- π± On your smartphone, link your Mi Account to your device (Settings β Mi Account β Link your device).
- π Connect Redmi 4 Pro in Fastboot mode to your computer.
- π₯οΈ Launch the Mi Unlock Tool, log in to the same Mi Account and follow the instructions.
Important: Once the bootloader is unlocked, the smartphone will perform a full reset (wipe data).
The unlocking process can take up to 720 hours (30 days) due to Xiaomi's policy, which means that each time you try to unlock the timer will decrease.
- π οΈ Set TWRP or other custom Recovery.
- π¦ Switch unofficial firmware (e.g. LineageOS or Pixel Experience).
- π§ Get root rights through Magisk.
π‘
Unlocking the bootloader is a must for custom Recovery, without which you can only use Stock Recovery with limited functionality.
Typical Recovery Login Errors and Their Solutions
Even with the instructions, users often face problems, and letβs look at the most common errors on the Redmi 4 Pro and how to fix them.
| Mistake. | Reason. | Decision |
|---|---|---|
| Black screen after pressing the buttons | Recovery section damaged or battery drained | Charge your smartphone to 50% and try again. If it doesn't work, run Stock ROM through Mi Flash. |
| No command (android with an exclamation point) appears | Stock Recovery or incompatible firmware damaged | Press Power + Volume Up for 5 seconds to open the menu. If it doesn't work, run Recovery through Fastboot. |
| The smartphone is loaded into Fastboot instead of Recovery | bootloader blocked or damaged partition recovery | Unlock the bootloader through the Mi Unlock Tool or manually flash Recovery |
| Volume buttons do not work in the Recovery menu | Hardware malfunction or contamination of contacts | Try using touch control (if supported) or disassemble your smartphone to clean the buttons |
| E:cannot mount /data error in TWRP | Encrypted user section (FBE) | Enter the screen lock password in TWRP or execute Format Data (erase all data!) |
If you see a menu in Chinese after you log in to Recovery, use this transcript:
- π± Reboot system (reboot)
- π β Wipe data (setting reset).
- π¦ β Install update (installation ZIP).
- π§ - Advanced (additional settings).
π‘
If Stock Recovery doesnβt have a sensor, use volume buttons for navigation and power button to confirm your choice.
What to do if Recovery doesnβt start at all
If none of the ways helped you log in to Recovery, it could be the firmware or hardware of your smartphone that's damaged.
- π Check battery power: plug the charger in for 15-20 minutes, even if the indicator is not on.
- π‘ Sweat your smartphone through Fastboot: Download the official firmware for Redmi 4 Pro (markw). Unpack the archive and launch the Mi Flash Tool. Connect your smartphone in Fastboot mode and select Clean All.
- π§ Check hardware: Disconnect and reconnect the battery (if you disassemble the device); clear the volume button contacts with alcohol; check the power button plume for damage.
Contact the service center.
If after firmware through Mi Flash smartphone still does not boot, try flashing Recovery manually:
fastboot flash recovery recovery.img
fastboot reboot recoveryWhere recovery.img is a standard or custom Recovery file for Redmi 4 Pro.