The message “Waiting for Debugger” on the Xiaomi Redmi 5 Plus screen (codenamed vinci) is one of the most annoying mistakes that smartphone owners face: It blocks access to the system, causing the device to endlessly “wait for the debugger”, even if you have never connected the phone to ADB or activated the developer mode, and 80% of the time the problem occurs after a failed update, reset or experiment with firmware.
Unlike modern Xiaomi models, where error is often solved by a simple restart, the Redmi 5 Plus (released in 2017) is complicated by an outdated version of MIUI and a locked bootloader. The key difficulty is the inability to log in to disable debugging by standard methods. However, the solution is: from reset via Recovery to unlock the bootloader using the Mi Unlock Tool. Next, detailed instructions for each scenario, including how to save data.
Why Waiting for Debugger is coming to Redmi 5 Plus
The bug occurs when the Android system is waiting for the debugger to connect via ADB (Android Debug Bridge) but can't get it.On Redmi 5 Plus, it's usually associated with:
- 🔄 Incomplete update MIUI — interrupted firmware leaves debugging flags active.
- 🔧 Activation of the developer mode with subsequent failure (for example, after installing an incompatible Magisk module).
- 📱 Resetting settings via Recovery, if debugging was enabled before USB.
- 🔓 Unlocking the bootloader with errors - incorrect disconnection OEM Unlock.
- 🦠 Viruses or malicious applications that change system settings.
The Redmi 5 Plus feature is a hard-to-refer Mi Account, which makes it difficult to reset via Fastboot. If the phone was linked to a Xiaomi account, you may need to enter a login/password after the reset, even if the “Waiting for Debugger” error is fixed.
⚠️ Note: If you installed custom Recovery before the error occurred (for example, TWRP), Do not try to stitch the official firmware through Fastboot - this will lead to a hard brick (total device failure.
Method 1: Hard reset via Recovery (without data loss)
If the error occurred after the update or app installation failed, try resetting the cache via stock Recovery.This method does not delete user data, but requires access to the recovery menu.
- Turn off the phone with a long press of Power + Volume Up (10-15 seconds).
- Once the screen goes out, press the Power + Volume Up before the Mi logo appears.
- From the Recovery menu (English or Chinese), select Wipe & Reset → Wipe Cache.
- Confirm the action and restart the device (Reboot).
If you have a cache cleanup error, repeat the steps, but select Wipe All Data. Importantly, this option will delete all files, photos and applications!
Turn off the phone from charging
Make sure the battery is 30%+ charged
Download a backup of important data (if available)
Prepare a username / password from the Mi Account (if the phone is tied)
-->
Method 2: Disable debugging via ADB (if you have access to a PC)
If the phone is turned on but hangs on the “Waiting for Debugger” message, plug it into your computer and use ADB to turn off debugging mode.This method only works if you previously allowed debugging over USB on that device.
- Download and install Platform Tools (includes ADB and Fastboot).
- Connect Redmi 5 Plus to PC via USB-cable (preferably original).
- Open the command line (cmd) in the folder with the platform-tools and type: adb devices If the device appears in the list, do: adb shell settings put global. development_settings_enabled 0 adb shell settings put global adb_enabled 0
- Reboot your phone: adb reboot
If the adb device command returns an empty list, it means:
- 🔌 cable or port USB Failed (try another cable/port).
- 🚫 Drivers. ADB Not installed (download Universal) ADB Drivers).
- 🔒 Debugging by USB Not allowed before (other method needed).
💡
If ADB Do not see the device, try to switch the phone to Fastboot mode (clamp Power). + Volume Down when switched off) and execute the command fastboot devices. ADB, problem USB-debugging.
Method 3: Unlock the bootloader through the Mi Unlock Tool
If previous methods didn't work, it's likely the error is due to a locked bootloader. Xiaomi is blocking the bootloader on all devices, including the Redmi 5 Plus, which prevents firmware from being run through Fastboot.
- Download the Mi Unlock Tool (the official tool from Xiaomi).
- Sign in to the program under the same Mi Account as on your phone.
- Put Redmi 5 Plus to Fastboot (Power + Volume Down)
- Connect your phone to your PC and press Unlock in the Mi Unlock Tool.
- Wait until the process is complete (it can take up to 72 hours due to Xiaomi restrictions).
Once you unlock the bootloader, you can flash the stock firmware through the Mi Flash Tool, which will fix the “Waiting for Debugger” error. However, keep in mind that unlocking resets all data and may result in a loss of warranty (if it is still valid).
| Unlocking method | Implementation time | You need a PC? | Data dump? |
|---|---|---|---|
| Mi Unlock Tool (official) | 1-3 days | Yes. | Yes. |
| ADB (disable debugging) | 5-10 minutes | Yes. | No. |
| Reset via Recovery | 2-5 minutes | No. | Yes (full reset) |
| Firmware through Fastboot | 15-30 minutes | Yes. | Yes. |
⚠️ Note: If the Mi Unlock Tool gives you a "Couldn't unlock" or "Device not supported" error, then your Mi Account is not tied to the device. Solution: log in to your phone (if you have access) or use another account that was previously used on this Redmi 5 Plus.
Mi Unlock Tool
ADB-team
Reset via Recovery
Firmware through Fastboot
I've tried nothing.-->
Method 4: Firmware stock MIUI via Fastboot
If the bootloader unlock was successful but the error remained, it remains to reflash the phone with the official firmware. Any stable version of MIUI for your region will suit Redmi 5 Plus (vinci).
- Download the Fastboot firmware from MIUI Downloads (select the Redmi 5 Plus model).
- Unpack the archive in a folder without Cyrillic characters (for example, C:\MIUI\vinci).
- Install the Mi Flash Tool and run it on behalf of the administrator.
- Connect your phone in Fastboot mode and select the firmware folder in Mi Flash.
- Press Refresh, then Flash. Select Clean all.
The process will take 5–10 When completed, the phone will restart to the clean system without the Waiting for Debugger error "flash_all_lock.bat", So the bootloader is not unlocked - go back to the method 3.
What if the Mi Flash Tool can’t see the device?
Method 5: Bypassing TestPoint (extreme case)
If none of these methods work, then the hardware reset is TestPoint, which is the circuit-closing circuit board for the forced EDL (Emergency Download Mode) mode, which is risky and requires disassembling the phone, but it's the only one that saves when hard brick is used.
For the Redmi 5 Plus, the TestPoint point is next to the headphone jack.
- Turn off the phone and remove the back cover (a mediator or plastic shoulder blade will be required).
- Find TestPoint contacts (two metal dots labeled TP or EDL).
- Close the contacts with tweezers or wire while connecting the phone to the PC.
- If done correctly, the device will be identified in Device Manager as Qualcomm HS-USB QDLoader 9008.
- Swipe your phone through the Mi Flash Tool in EDL mode (use firmware for vinci).
⚠️ Warning: TestPoint may be incorrectly closed, and if you're not sure about your skills, contact the service center. EDL-The phone may require authorization in the Mi Account, even if there was no prior binding.
💡
TestPoint is the only way to restore the Redmi 5 Plus when it is hard bricked, but it requires disassembling the device and risks voiding the warranty. Use it only if other methods have failed.
How to avoid the “Waiting for Debugger” error in the future
To avoid the problem recurring, follow simple rules:
- 🔄 Update. MIUI Only through official channels (Settings) → The phone. → Updating the system).
- 🔧 Turn off the developer mode if you are not using it. ADB or Fastboot:
- 📱 Do not install custom firmware without unlocking the bootloader.
- 🔒 Regularly back up through Settings → Additionally. → Backup.
- 🛡️ Use antivirus (such as Mi Security) to check installed applications.
If you often experiment with firmware, keep on hand:
- The firmware file for Redmi 5 Plus (vinci)
- Mi Flash Tool and Mi Unlock Tool.
- login/password record from the Mi Account (in case of blocking after resetting).