The broken screen on Xiaomi is not only an aesthetic problem, but also a major obstacle to accessing settings. Especially critical when you need to enable USB debugging, you canβt connect to the device via ADB, transfer data or flash the device without it. If the display does not respond to touch or is completely black, standard ways to activate the developer mode become unavailable.
In this article, we will discuss 5 proven methods to enable USB debugging on Xiaomi (including Redmi, POCO, Mi models) with a broken screen β from using the Mi Assistant and physical buttons to ADB commands and bypassing locking through Fastboot. All instructions are adapted for situations where the sensor is not responding and the image is missing or partially visible. Important: some methods require preliminary preparation (for example, the debugging enabled earlier), so first check if the method is suitable for your situation.
Why Standard Methods Don't Work When Screens Are Broken
On a working smartphone, it takes a couple of minutes to turn on USB debugging: just go to Settings β About Phone β MIUI version, tap the build number several times, then go back to Additional Settings β For developers and activate the option. But when the screen is damaged, this algorithm breaks in several stages:
- πΉ No visual feedback: Even if the sensor is partially working, itβs impossible to see where youβre clicking.
- πΉ Password/pattern lock lock: without unlocking the screen, the system will not allow you to change the settings.
- πΉ Inactive Developer Mode: If the option was not turned on in advance, it is extremely difficult to activate it blindly.
- πΉ Display plume damage: on some Xiaomi models (for example, Redmi Note 8 Pro) with a strong impact, not only the sensor fails, but also the image transfer.
Also, MIUI has a feature: once you reset or update your firmware, the developer mode automatically shuts down, which means that even if youβve enabled debugging before, youβll have to re-activate it after a hardware reset (like through Recovery).
It does not respond to touch, but the image is|Fully black/white, no image|Broken but partially working sensor|Other-->
Method 1: Enabling debugging through Mi Assistant (if the bootloader was unlocked)
Xiaomiβs official Mi Assistant software allows you to control your smartphone from a computer, but it only works when the bootloader is unlocked. If you have previously unlocked it (for example, for installing custom firmware), this method can work even without a desktop screen.
Requirements:
- π» Windows computer 10/11 (Mi Assistant is required.NET Framework 4.5+).
- π Original. USB-cable (preferably from the set).
- π± Unlocked bootloader on a smartphone.
Step-by-step:
- Download Mi Assistant from the official website and install it.
- Connect your smartphone to your PC via USB. If the screen doesn't respond, try restarting the device in Fastboot (press Volume Down + Power for 10 seconds).
- Run Mi Assistant and wait for the program to identify the device. If your smartphone is in Fastboot mode, select Unlock Bootloader (even if it is already unlocked).
- After connecting, go to Advanced β Enable USB Debugging. The program will send a command to activate debugging.
β οΈ Note: If the bootloader is not unlocked, the Mi Assistant will not be able to enable debugging.
Install Xiaomi drivers (MiPhoneManager)|Download the latest version of the Mi Assistant|Connect your smartphone in Fastboot mode|Check the unlocking of the loader-->
Method 2: Activate debugging via physical buttons (for MIUI 12 and later)
Starting with MIUI 12, Xiaomi has added the ability to control some features through physical button combinations, a technique that is suitable if the screen is completely black, but the smartphone turns on and responds to power/volume buttons.
Algorithm of action:
- Turn off your smartphone (squeeze the power for 15 seconds).
- Press Volume Up + Power for 5 seconds, then release Power, holding Volume up for another 10 seconds.
- Blind Mode: Press Volume Down 5 times (select Connect with MI Assistant). Press Power to Confirm. Connect your smartphone to your PC and Mi Assistant (if installed) should start.
Advanced β Enable USB Debugging
If Mi Assistant doesnβt detect the device, try reconnecting the cable or using another one. USB-The success of the method depends on the version. MIUI: on MIUI 13/14 It works more stable than on the old assemblies.
Which Xiaomi models support button management in Recovery?
Method 3: Use ADB via Fastboot (if debugging was enabled earlier)
If you have already activated USB debugging before damaging your screen, you can try connecting via ADB in Fastboot mode, which is suitable for retrieving data or changing settings without visual control.
Tools required:
- π₯οΈ PC with installation ADB and Fastboot.
- π Cable USB Data transmission support (not charger!).
- π File. adb_key (If previously confirmed the connection on the smartphone).
Instructions:
- Put your smartphone in Fastboot mode: (a) Turn off the device. (b) Press Volume down + Power for 10 seconds.
- Connect your smartphone to your PC and check for detection: fastboot devices should show a serial number of the device.
- Run ADB in Fastboot: fastboot oem adb enable On some models (for example, Redmi Note 9 Pro) instead of this command, you need to enter fastboot oem enable-adb.
- Reboot your smartphone to the system: fastboot reboot
- Check the connection via ADB: Adb devices If the device is displayed, debugging is active.
β οΈ Note: On devices with a locked bootloader, the fastboot oem adb enable command may not work. In this case, you will need to unlock the Bootloader (see method 4).
π‘
If the fastboot oem adb enable command returns the error FAILED (remote: unknown command), try first to unlock the bootloader through the official Mi Unlock Tool: https://en.miui.com/unlock/
Method 4: Unlocking the bootloader and Forced Debugging Activation
If previous methods did not work, the radical option remains β unlock the bootloader and then forced debugging through Fastboot.This method is suitable for most Xiaomi models, but requires binding Mi Account and waiting 7-15 days (unless the bootloader is previously unlocked).
Step-by-step algorithm:
- Link your Mi Account to your device (if not previously done): On another device (Xiaomi or via an emulator), log in to the Mi Account that was used on the broken smartphone. Go to Settings β Mi Account β Device Security and link the broken smartphone (if it appears in the list).
Unlock the loader
- Download the Mi Unlock Tool.
- Transfer your smartphone to Fastboot (Loudness down + Power).
- Connect to your PC and start the Mi Unlock Tool. Log in to your Mi Account.
- If the bootloader is not unlocked, you will have to wait 7-15 days (the time depends on the model).
- Activate debugging with Fastboot: fastboot oem enable-adb fastboot reboot
| Xiaomi model | Support for unlocking | Waiting period (days) | Notes |
|---|---|---|---|
| Redmi Note 10/11/12 | Yes. | 7 | Account binding is required in advance |
| POCO X3/X4 | Yes. | 3β7 | Some firmware can unlock without waiting. |
| Mi 11/12 series | Yes. | 14 | Strict account verification |
| Redmi 9/9A/9C | Partially. | 7β30 | Budgetary models may have limitations |
After unlocking the bootloader, you can not only enable debugging, but also flash custom Recovery (for example, TWRP), which will open up additional possibilities for data recovery.
π‘
Unlocking the bootloader is the only reliable way to enable debugging on Xiaomi with a broken screen if other methods have not worked, but this process is irreversible and voids the warranty.
Method 5: Alternative solutions (if debugging is not needed)
If your goal is not debugging, but retrieving data or restoring health, consider alternative options:
- π§ Connection through OTG: If the sensor is partially working, connect USB-keyboard or mouse through OTG-This will allow you to control the smartphone without touching the screen.
- π± Use of Mi PC Xiaomiβs official software can recognize the device and offer backup (not working on all models).
- π Hard Reset via Recovery: If data isn't important, reset to factory settings via Recovery (clip Volume Up) + Power, then select Wipe Data blindly).
- π οΈ Screen repair: In Xiaomi service centers, the display replacement is performed in 1-3 days (cost - from 2000 to 8000). β½ model-wise).
EDL (Emergency Download Mode) is a non-debugging mode that is activated through test points on the board or special boxes (such as the UFi Box), but requires disassembly of the device and soldering skills.
Frequent Mistakes and How to Avoid Them
When trying to enable debugging on Xiaomi with a broken screen, users face typical problems:
| Mistake. | Reason. | Decision |
|---|---|---|
| device unauthorized in ADB | Not confirmed on the smartphone. RSA-key | If the screen is not working, it is impossible to confirm the key - it is necessary to unlock the bootloader. |
| fastboot: unknown command | An outdated version of Fastboot or a blocked bootloader | Update Platform Tools or Unblock Bootloader |
| The smartphone is not defined in the Mi Assistant | Not installed drivers or device in the wrong mode | Install drivers via MiPhoneManager or transfer your smartphone to Fastboot |
| After the command fastboot oem adb enable debugging is not enabled | Some firmware requires an additional command | Try fastboot reboot recovery, then repeat the command. |
If none of the methods worked, check:
- π Integrity USB-Cable: Try another cable (preferably original).
- π₯οΈ Ports USB PC: Connect to the rear port (laptops sometimes lack power).
- π Version MIUI: on MIUI 14 Some Fastboot commands are different.