Android USB debugging

How to enable USB debugging and authorize a computer

USB debugging allows an authorized computer and supported browser to communicate with an Android phone during device binding.

Enable USB debugging

  • Enable Developer options first.
  • Open Settings and search for “Developer options”.
  • Open Developer options and turn on USB debugging.
  • Read and accept the Android confirmation message.

Connect the phone correctly

  • Use a USB cable that supports data, not a charge-only cable.
  • Connect the phone directly to the computer when possible instead of through an unstable hub.
  • Unlock the phone and keep the screen on during the first connection.
  • If Android asks for a USB mode, choose File transfer when the browser cannot detect the phone.

Approve the computer

When the phone displays “Allow USB debugging?”, confirm that you recognize the computer and tap Allow. Selecting “Always allow from this computer” can avoid repeating the authorization on later connections to the same computer.

Xiaomi additional setting

Some Xiaomi, Redmi, and POCO devices require USB debugging (Security settings) in addition to standard USB debugging. Only enable it when required for an authorized operation and review the phone’s warning before accepting.

If the browser cannot find the phone

  • Try another data-capable cable or USB port.
  • Disconnect and reconnect after unlocking the phone.
  • Revoke USB debugging authorizations in Developer options, then reconnect and approve the prompt again.
  • Close other ADB tools that may already be using the phone.
Official references

Android documentation used for this guide