Fastboot mode on Xiaomi smartphones is a powerful tool that allows you to access low-level features of the device. If you own Xiaomi Redmi 4X (codenamed santoni), sooner or later you may have to use this mode - whether to unlock the bootloader, firmware custom recovery or restore "brick" phone. However, not all users understand what Fastboot is, how it differs from Recovery Mode, and the risks of its misuse.
In this article, we will discuss in detail what is a Fastboot on Xiaomi Redmi 4X, in what cases it may be needed, and how to avoid typical errors. You will also learn which fastboot commands are most in demand for this model, how to prepare a computer to work with the device, and what to do if the phone βhangsβ in Fastboot mode.
If you've never worked with Fastboot before, don't worry: we'll explain everything in simple language, with step-by-step instructions and visual cues. For experienced users, we've prepared advanced tips for working with EDL Mode and bypassing Mi Account locks. Let's start with the basics!
What is Fastboot on Xiaomi Redmi 4X and why is it necessary?
Fastboot (or Bootloader Mode) is a special smartphone state in which the Android operating system does not boot, but basic commands are available to control the device via a computer. On Xiaomi Redmi 4X, this mode is activated by a combination of buttons or the adb reboot bootloader command.
Unlike Recovery Mode, where you interact with your phone via an on-screen menu, Fastboot requires you to connect to your PC and use the fastboot utility (part of the Android SDK).
- π Unlock the bootloader (bootloader) for installing custom firmware;
- π₯ Sending official and unofficial images ROM;
- π Restore the device after failures ("disruption");
- π οΈ Install custom Recovery (TWRP, OrangeFox);
- π‘ Update radio modules and other low-level components.
The Redmi 4X Fastboot is especially important because it supports unlocking the bootloader through the official Mi Unlock Tool. However, without understanding how this mode works, you risk losing data or locking the device. For example, the wrong fastboot erase command can erase critical partitions, and the interrupted firmware can lead to the loss of IMEI or a broken camera.
β οΈ Attention: Xiaomi Redmi 4X base-fixed MIUI 12+ Unlocking the bootloader requires you to link your Mi Account to your device. Without that, even the official Mi Unlock Tool won't work!
How to Sign In to Fastboot on Xiaomi Redmi 4X: 3 Proven Ways
There are several ways to activate Fastboot on Redmi 4X. The choice of method depends on the state of the device: whether it works normally, hung on the logo or not at all.
Method 1: Hardware buttons (for switched off phone)
- Turn off Redmi 4X (press the power button and select Turn off).
- Press and hold the Volume button down (-) + Power button.
- Hold for 5-10 seconds until a screen with the inscription FASTBOOT and the image of a hare in a hat appears.
Method 2: ADB (if the phone is on)
If the device is working but you need to reboot to Fastboot, use ADB commands:
adb devices
adb reboot bootloaderThe first command checks the connection of the device, the second - reboots it in Fastboot.
Method 3: Through the Recovery Menu (if available)
If you are already in Recovery Mode, select Reboot to Bootloader (navigation with volume buttons, confirmation - power button).
After a successful login, the Redmi 4X screen will look like this:
β οΈ Note: If your phone is not computer-defined after you log in to Fastboot, check the Qualcomm and Xiaomi drivers. On Windows, they can be installed via the Mi Flash Tool or manually through Device Manager.
Fastboot for Xiaomi Redmi 4X: What can and canβt be done
The fastboot utility allows you to send commands directly to the bootloader, and below is a list of the most useful commands for the Redmi 4X, divided into categories.
| Category | Team team. | Description |
|---|---|---|
| Information | fastboot devices | Shows connected devices in Fastboot mode. |
| Information | fastboot getvar all | Outputs all loader variables (including unlocked for unlock status). |
| Reboot. | fastboot reboot | Reset the phone to normal mode. |
| Firmware | fastboot flash recovery twrp.img | Installs custom Recovery (e.g., TWRP). |
| Unlocking | fastboot oem unlock | Unlock the bootloader (requires confirmation via Mi Unlock Tool). |
However, there are commands that are not recommended to be used without extreme necessity:
- π« fastboot erase userdata erases all user data (photos, contacts, applications);
- π« Fastboot flash boot β Boot partition firmware can lead to bootloop;
- π« fastboot oem lock β locks the boot loader (re-unblocking is required).
βοΈ Preparation for work with Fastboot on Redmi 4X
On the Redmi 4X, the fastboot oem edl command is especially dangerous - it transfers the device to EDL Mode (emergency mode for firmware via Mi Flash), without the correct firmware in this mode, the phone can turn into a "brick".
Unlocking the bootloader on Xiaomi Redmi 4X via Fastboot: Step-by-step instructions
Unlocking the bootloader is a must for custom firmware or recovery. On the Redmi 4X, this is done through the official Mi Unlock Tool, but with a number of nuances.
Step 1: Prepare your Mi Account
- π± Link your Mi Account to your phone in settings (Settings) β Mi Account).
- π Go to the site. en.miui.com/unlock Download the Mi Unlock Tool.
- π Sign in to the tool with the same account as on the phone.
Step 2: Sign in to Fastboot and connect to PC
- Put Redmi 4X into Fastboot mode (see section above).
- Connect your phone to your computer via the original USB Type-C cable.
- Launch the Mi Unlock Tool on behalf of the administrator.
Step 3: Unlocking
In the program window, press Unlock. It takes 1-3 minutes. Once successfully unlocked, the phone automatically restarts and all data is erased!
What to do if Mi Unlock Tool says "Couldn't unlock"
Once unlocked, the bootloader status will change to unlocked.
fastboot getvar unlockedXiaomi Redmi 4X firmware via Fastboot: official and custom ROM
Fastboot mode allows you to flash Redmi 4X both official images through the Mi Flash Tool and custom firmware (for example, LineageOS or Pixel Experience).
Official firmware through Mi Flash Tool
- Download the firmware for Redmi 4X (codename santoni) from MIUI Downloads (select the Fastboot version).
- Unpack the archive in a folder without Cyrillic characters (for example, C:\MIUI\santoni).
- Open the Mi Flash Tool, press Select and point the path to the firmware folder.
- Connect Redmi 4X in Fastboot mode and press Refresh β the device must be determined.
- Select the firmware method: Clean all β complete cleaning (recommended in case of failures); Clean all and lock β cleaning + lock bootloader; Save user data β data storage (not always stable).
Flash
Installation of custom firmware
For custom firmware, you will need:
- Unlocked boot loader (see previous section).
- Installed Custom Recavery (TWRP)
- Downloaded firmware image (for example, from the XDA Developers forum).
Fastboot firmware in this case boils down to installing TWRP:
fastboot flash recovery twrp-3.7.0-santoni.img
fastboot boot twrp-3.7.0-santoni.imgFurther installation of firmware occurs through the TWRP menu.
π‘
Before you run your custom ROM firmware, check for compatibility with the Redmi 4X (codename santoni) and the firmware from Redmi 5A (riva) or other models will result in a broken device!
Typical Fastboot Errors on Xiaomi Redmi 4X and How to Fix Them
Fastboot is often a bit of a bug, especially for beginners, and letβs look at the most common problems on the Redmi 4X and how to solve them.
| Mistake. | Reason. | Decision |
|---|---|---|
| waiting for device | Phone is not defined by PC | Check the drivers, cable, USB port. Try the fastboot device command. |
| FAILED (remote: unknown command) | Unsupported team | Update the fastboot version or check the syntax of the command. |
| FAILED (remote: device is locked) | bootloader locked | Unlock the bootloader through the Mi Unlock Tool. |
| Phone hangs on logo after firmware | Incompatible firmware or damaged boot partition | Swipe the official firmware through the Mi Flash Tool in Clean All mode. |
The FAILED (remote: 'Flashing is not allowed in Lock State') error is particularly insidious, meaning that the bootloader is locked, and even the official firmware won't install without unlocking.
- Unlock the bootloader (see section above).
- Repeat the firmware.
If the Fastboot Redmi 4X has stopped turning on after manipulation (black screen, vibration without image), try:
- π Press the power button for 20-30 seconds (hard reset).
- π Transfer to EDL Mode (clamping the volume up) + Loudness down + Power and flash through the Mi Flash Tool.
- π‘ Contact the service center if the problem is in the hardware (for example, the eMMC chip is damaged).
π‘
If after a failed firmware, the phone does not respond to buttons, but is determined by the computer in Device Manager as Qualcomm HS-USB QDLoader 9008, This means that the device is in mode. EDL. In this case, only firmware through the Mi Flash Tool with a file selection will help. prog_emmc_firehose.mbn.
Security and backup before working with Fastboot
Any manipulation in Fastboot mode carries the risk of data loss or device failure. On Redmi 4X, the following are particularly vulnerable:
- πΈ Continue (responsible for the IMEI and serial number);
- π Modem section (contains radio modules for communication);
- π± Userdata (all user files).
Before working with Fastboot, it is necessary to:
- Create a backup copy through TWRP (if installed).
- Save the IMEI (you can use the MTK Engineering Mode app or the fastboot getvar imei command).
- Charge the battery by at least 70% (interrupting the firmware due to discharge = "brick").
- Download the official firmware for your model in case of recovery.
To back up IMEI on Redmi 4X (Qualcomm Snapdragon 435), you can use:
fastboot getvar imei
fastboot getvar meidSave the output of commands to a text file. IMEI It can be reset to 0 or Null, and it can be restored through QCN-file (requires) EDL Mode and specialized software like QPST).
β οΈ Attention: On Redmi 4X firmware MIUI 11+ unlocking the bootloader resets the module driver NFC (Once unlocked, the module may stop working - this is a feature of Xiaomi firmware, which can only be fixed by flashing it.