Debugging on USB on Xiaomi Redmi Note 10 Pro: a complete guide with solutions to typical errors

Xiaomi Redmi Note 10 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 debugging applications. Despite the apparent simplicity, the process of activating this mode in MIUI has nuances: hidden settings, requirements for the firmware version and problems with recognizing the device on the PC.

In this article, we will not just show you how to turn on the debugging USB Redmi Note 10 Pro, but also analyze typical errors (for example, the lack of the item "For developers" or problems with drivers). ADB), And we'll give you safety tips, and the instructions are valid for all versions. MIUI (12, 13, 14) and device modifications (Redmi Note 10 Pro, Note 10 Pro Max, Note 10 Pro Pro Pro) 5G).

Why you need to debug USB and when to turn it on

Debugging mode by USB (USB Debugging) provides access to low-level Android features through a computer:

  • πŸ”“ Unlock bootloader for custom firmware installation (LineageOS, Pixel Experience).
  • πŸ“± Install applications through ADB (Google Camera for Xiaomi).
  • πŸ”§ Recover data after resetting or deleting files.
  • 🐞 Test your own apps in Android Studio.

However, enabling debugging over USB reduces the security level of the device: an attacker with physical access to the phone can gain control of the system through ADB. Therefore, activate this mode only if necessary and turn off after use.

⚠️ Attention: On some firmware MIUI (In this case, you will need to link the Mi Account to the device or use bypass methods (see the section "Problem Solving").

Preparation: What you will need before turning on debugging

Before you start setting up, make sure you have:

  • πŸ“± Xiaomi Redmi Note 10 Pro with a battery charge of at least 50% (to avoid disconnection during the process).
  • πŸ’» Windows computer 10/11, macOS or Linux (for macOS or Linux) ADB-team).
  • πŸ”Œ Cable USB Type-C (preferably original or certified – cheap cables may not transmit data).
  • πŸ“₯ Xiaomi drivers USB Drivers (you can download from the official website or through Mi) PC Suite).

If you plan to use ADB, install Google’s Platform Tools:

  1. Download the archive from the official website.
  2. Unpack it in a folder (e.g., C:\platform-tools).
  3. Add the path to the folder to the PATH environment variable (for easy use of commands from any directory).
πŸ“Š Why you need to debug for USB?
Installation of custom firmware
Data recovery
Application development
Unlocking the loader
Other

Step 1: Activate Developer Mode on Redmi Note 10 Pro

By default, the Developer Menu is hidden in MIUI to open it:

  1. Go to Settings. β†’ The phone.
  2. Find the line "Version" MIUI" And tap it 7 times in a row.
  3. After the notification β€œYou became a developer!”, return to the main settings menu.

Now, in the Settings β†’ Settings β†’ Settings β†’ System in new versions of MIUI 14, the β€œDevelopers” option will appear. If it is not available, check if it is hidden due to regional restrictions (see the β€œProblem Solving” section).

β˜‘οΈ Preparation for the inclusion of debugging

Done: 0 / 4

Step 2: Enabling USB debugging and setting rights

After activating the developer mode:

  1. Go to Settings. β†’ For developers.
  2. Find the option "Debug by USB" and move the slider to the right.
  3. In the confirmation window that appears, click "OK".

Further, it is recommended to configure additional parameters for stable operation:

  • πŸ”„ "Unlocking the lock OEM" β€” Allows the loader to be unlocked (required for firmware).
  • πŸ”’ "Allow location simulations – required for testing geolocation applications.
  • πŸ“Ά "Do not turn off the screen during charging - convenient for long periods ADB-operations.

⚠️ Note: On some versions MIUI (For example, global 12.5.3) option "Cancel lock" OEM" It can be blocked until the Mi Account is attached. If the button is inactive, log in to Mi Account in the device settings.

Step 3: Connect to PC and check connection

After debugging is enabled, connect the Redmi Note 10 Pro to your computer:

  1. Use a USB Type-C cable to connect to your PC.
  2. On the phone, select the data transfer mode (β€œFile Transfer” or β€œMTP”).
  3. On your computer, open the command line (Win + R β†’ cmd) and type:
adb devices

If the device is determined (the serial number will appear in the list), the debugging works correctly.

  • πŸ”Œ Connecting the cable (try another port) USB).
  • πŸ–₯️ Installation of drivers (there should be no exclamation points in Device Manager next to Xiaomi).
  • πŸ”„ Reboot your phone and PC.
What if the ADB can’t see the device?
1. Make sure that the developer settings include the option "Debugging by" USB (safety parameters)” (in some versions MIUI 2. Try the command. `adb kill-server`, later `adb start-server` again `adb devices`. 3. If you are using Windows, install drivers manually through Device Manager (select "Update Driver" β†’ "Perform a search on this computer" β†’ Specify a folder with platform-tools).

Typical problem solving

Even after you set up the right setup, Redmi Note 10 Pro users may encounter errors.

Problem.Reason.Decision
There is no "Developers" clause.Regional restrictions in MIUI or resetting settingsTap the MIUI version 7 times or update the firmware to the global version
ADB does not see the deviceNo drivers or antivirus blockingInstall Xiaomi USB Drivers, disable antivirus, try another cable
"Cancel OEM Block" is inactiveNo Mi Account or device attached or new deviceSign in to Mi Account, wait 7 days (for new devices)
Error "Unauthorized" when connectingUnconfirmed. RSA-keyDisconnect / connect the cable again and confirm access on the smartphone screen

If after all the manipulations debugging does not work, try resetting to factory settings (Settings) β†’ Additionally. β†’ Recovery and reset. on the Redmi Note 10 Pro with MIUI 13+ You may need to disable the function "MIUI Optimization in the developer settings – it sometimes blocks ADB-team.

πŸ’‘

Before unlocking the bootloader, back up your data via adb backup or Mi Cloud. The process will reset all settings and delete files from internal memory!

Security: How to protect your device after debugging is enabled

USB debugging is a powerful tool, but it's also a potential security threat.

  • πŸ” Disable debugging after completion of work (Settings) β†’ For developers β†’ Debugging by USB).
  • 🚫 Do not connect your phone to a public one. USB-Ports (Jueice Jacking risk – data theft through charging).
  • πŸ”‘ Use a strong password or pattern lock to unlock the screen.
  • πŸ“΅ Turn it off. ADB Wi-Fi if you do not use it (the option "Debugging over Wi-Fi" in the developer settings).

If you unlock the bootloader, note: this voids the Xiaomi warranty and makes the device more vulnerable to attacks.

  • Install custom recovery (TWRP) with encryption support.
  • Regularly update the firmware (even custom).
  • Use apps to monitor suspicious activity (like NetGuard).

πŸ’‘

USB debugging is temporary, only for the duration of the necessary operations and immediately turn it off after the work is completed.

FAQ: Frequent questions about debugging on Redmi Note 10 Pro

Can I enable debugging over USB without a computer?
Yes, but it doesn't make sense: debugging is for PC interaction. You can activate the developer mode (by tapping on "Versions") MIUI"), but without a computer connection function ADB not available.
Why did the MIUI update stop working?
Updates sometimes reset developer settings. Check: Developer mode is on (if not, tap MIUI Version again), USB debugging is active in settings, PC drivers are updated (especially after major MIUI updates).
How to disable the confirmation request when connecting to a new PC?
This request is a security measure, and you can't turn it off completely. However, you can: Add your computer to "trusted devices" (check when confirming connection); use the same PC for all ADB operations. If the request appears too often, check if the developer's settings are reset (for example, due to energy-saving features).
What if the phone is only charging when connected to a PC?
This is a typical cable or port problem. Try: Use another one. USB Type-C cable (original or data-enabled) Connect to the rear port USB PC (front ports sometimes don't transmit data) Manually select the type of connection on the phone (swipe down) β†’ "USB If nothing helps, check the developer settings: sometimes the option "Configuration" USB Default: "Only Charging".
Can I turn on the debugging on a locked phone?
No, to activate debugging by USB If the phone is locked (forgot the password), first reset via Mi Account (if tied) or Fastboot (if the bootloader is unlocked). RSA-The key is on this PC. ADB to unlock: adb shell rm /data/system/gesture.key But this will only work with the previous authorization of the device.