Xiaomi Redmi Note 9 Pro is one of the most popular mid-range smartphones, but its owners often face the need to enable USB debugging for firmware, unlock the bootloader or work with ADB. Without this mode, it is impossible to perform many technical operations, from installing custom firmware to recovering data via fastboot.
In this article, you will find not only the standard instructions for activating debugging, but also solutions to typical problems: why the option for developers does not appear in the settings, how to bypass the MIUI lock when connecting to a PC, and what to do if the computer does not see the device even after turning on the mode. We will also analyze the unique MIUI bug 12.5 on the Redmi Note 9 Pro, which can spontaneously shut down after restarting.
The instructions are suitable for all Redmi Note 9 Pro versions (including the global and Chinese versions), and are also relevant for MIUI 12, 13 and 14. If you are a beginner, watch for warnings to avoid blocking the phone.
Why do you need to debug USB on Xiaomi Redmi Note 9 Pro
USB debugging mode allows you to access low-level Android features through your computer.
- π Unlock the bootloader (fastboot oem unlock) for installing custom firmware;
- π± Install APK-file ADB (adb install app.apk);
- π§ Recover data after resetting through TWRP;
- π Testing apps in Android Studio;
- π Switching the device through the Mi Flash Tool.
On the Redmi Note 9 Pro, debugging is also required to bypass OEM lock (if activated), work with Magisk for root rights, and even for some ways to overclock the Snapdragon 720G processor.
β οΈ Attention: Including debugging by USB It reduces the security of the device. Do not connect the phone to unverified computers - this can lead to data theft or malware installation.
Preparation: What to do before turning on debugging
Before you activate the mode, follow a few mandatory steps:
- Update MIUI to the latest version. Old firmware (below MIUI 12.0.3) may not have the right options in the developer menu.
- Install drivers for Xiaomi Redmi Note 9 Pro on PC. Download them from the official Xiaomi website (section "Drivers").
- Connect your phone to your PC through the original USB-cable (faulty cables may cause device unauthorized errors).
- Turn off Data Protection in the MIUI settings (if enabled). This feature blocks access to system files.
If you plan to unlock the bootloader, additionally:
- π Link your Mi Account to your phone (required!);
- π Wait 72 hours after tethering (Xiaomi's requirement to unlock);
- π Charge the battery by at least 60% (to avoid failures during firmware).
Update MIUI to the latest version
Install Xiaomi drivers on PC
Connect your phone to the original cable
Disable "Data Protection" in the settings
Link Mi Account (if you need to unlock)-->
Step-by-step: how to enable debugging by USB
The debugging mode activation algorithm on the Redmi Note 9 Pro consists of three stages:
Step 1: Unlock the Developer Menu
The default option is hidden. To open it:
- Go to Settings. β The phone;
- Find the line MIUI version and tap it 7 times in a row;
- After the notification βYou became a developer!β, return to the main settings menu.
β οΈ Note: On some versions MIUI (For example, 12.5.2), after the 5th tap, a captcha may appear. Enter the symbols from the picture and continue pressing until the success message appears.
Step 2: Activate debugging over USB
Now a new section will appear in the settings:
- Open the settings β Additional β for developers;
- Scroll down and find the USB Debugging option.
- Transfer the slider to the right and confirm the action by pressing OK in the warning window.
If the option is inactive (grey), check:
- π Is the phone connected to a PC (on some versions) MIUI Debugging is only enabled when connected);
- π Are superuser rights allowed (if the phone is rooted);
- π± Is the Guest Account Mode Enabled (disables system settings).
Step 3: Allow access from the computer
When you first connect to the PC, a request will appear for a trusted device:
- On the phone screen, select Allow debugging over USB;
- Check Always Allow from this computer (so as not to confirm access every time);
- Press OK.
If the window doesn't appear:
- π Reconnect the cable;
- π₯οΈ Restart the computer;
- π± Turn on/off File Transfer mode (MTP) notice-curtain.
π‘
If your computer still canβt see the device after debugging, try manually updating drivers through Windows. Open Manager β Other devices β Android, right-click and select Update Driver.
Table: Common mistakes and their solutions
| Mistake. | Reason. | Decision |
|---|---|---|
| device unauthorized (in ADB) | Unconfirmed PC access or reset settings | Turn off/connect the cable and allow debugging again. If it doesn't work, delete the adbkey.pub file in the.android folder on your PC. |
| The βDevelopersβ option does not appear | Not enough taps according to MIUI or lock system | Stick strictly to the MIUI version, not to other fields. Some firmware needs to be tapped 10 times. |
| Debugging is disabled after rebooting | MIUI 12.5 bug (especially on global versions) | Update your firmware to MIUI 13+ or manually enable debugging after each reboot. |
| Computers can't see the phone in fastboot | No drivers for bootloader mode | Install the Mi Flash Tool β it automatically installs the desired drivers. |
| adb: no devices/emulators found | USB-cable does not support transmission of data | Use the original cable or check the USB port on your PC (try USB 2.0 instead of 3.0). |
How to check that USB debugging works
To ensure that the mode is activated correctly:
- Connect your phone to your PC and open the Command Prompt (Windows) or Terminal (macOS/Linux).
- Enter the command: Adb devices
- If you see a serial number (for example, 1234abcd device) in response, the debugging works.
Additional commands for verification:
- π Viewing Logs in Real Time: Adb Logcat
- π± Adb shell getprop ro.product.model (should output Redmi Note 9 Pro).
If the teams are not working:
- π Check the cable connection;
- π₯οΈ Reset the service ADB: adb kill-server && adb start-server
- π± Reboot your phone and repeat the steps.
π‘
If the adb device command shows unauthorized, but the phone does not appear a request for permission, try resetting the network settings (Settings β Network and Internet β Reset Wi-Fi, mobile network and Bluetooth).
USB Debugging is not included: what to do
If you have completed all the steps but the debugging has not been activated, check the following points:
1. Blocking with antivirus or MIUI
On some versions of MIUI (especially Chinese ones), the system can block access to the developer menu.
- π‘οΈ Temporarily disable the antivirus on the PC;
- π± In the Redmi Note 9 Pro settings, disable Data Protection and Battery Optimization for ADB;
- π Restart your phone to Safe Mode (hold the power button) β "Safe mode") and try again.
2. Damaged system files
If the Developer menu opens but the options are inactive:
- π§ Perform a reset settings (Settings) β The phone. β Resetting settings);
- π² Flick your phone through the Mi Flash Tool (select Clean All option);
- π Update your firmware manually through Recovery.
How to bypass the debugging lock on a locked phone?
Security: How to protect data when debugging is enabled
Debugging over USB opens up access to system files, so:
- π Never connect your phone to public computers (at cafes, airports, etc.);
- π± Turn off debugging when you donβt need it (Settings) β For developers β Debugging by USB);
- π Use a strong password or pattern lock on your phone;
- π‘οΈ Install the app ADB AppControl for managing rights of connected devices.
β οΈ Note: Redmi Note 9 Pro with MIUI 14+ When you connect to a new PC, the system requests confirmation via Mi Account. If you forget the password from your Xiaomi account, you can't debug it, you need to reset through fastboot.
If you are transferring your phone for repair:
- π± Turn off the debugging. USB;
- π Get out of the Mi Account;
- π Set a temporary password on the lock screen.