FREE ANDROID USB DEBUGGING GUIDE

How to Enable USB Debugging
on Android by Brand

USB debugging allows your Android phone to communicate with a computer through Android Debug Bridge (ADB). Follow this guide to enable USB debugging for Android data recovery, WhatsApp recovery, phone management, app testing, or fixing connection issues.

Android USB debugging guide illustration

What Is USB Debugging?

USB debugging is a developer option on Android that allows your phone to communicate with a computer through ADB. It is commonly used by developers, Android repair tools,
data recovery software, phone managers, and transfer tools.

What It Does
When to Use It
Is It Safe?
Before You Start

What USB Debugging Does on Android?

Once USB debugging is enabled, approved computer tools can interact with your Android device more deeply than a normal USB connection. Depending on the tool, this may help read basic device information, run diagnostics, test apps, access supported data, or fix connection problems when your phone is not detected by the computer.

Note:
USB debugging does not recover deleted files by itself. It only gives trusted software the permission needed to communicate with your Android device.

General Android USB debugging steps

When Do You Need to Enable USB Debugging?

You may need to enable USB debugging when a computer tool needs permission to detect, access, or communicate with your Android phone.

Common situations include:
  • Android data recovery or deleted file recovery
  • WhatsApp recovery on Android
  • Android phone manager connection
  • Phone transfer or Android data migration
  • Broken Android data extraction
  • App testing or Android Studio debugging
  • ADB or command-line troubleshooting
  • Fixing an Android phone not detected by computer
USB debugging connection troubleshooting

Is USB Debugging Safe?

Yes. USB debugging is safe when you only allow computers you trust. It lets trusted software communicate with your Android phone through ADB, but it does not erase data or recover files by itself.

Do not select “Always allow from this computer” on a public, shared, or unknown computer. After data recovery, phone transfer, or debugging is complete, turn off USB debugging or revoke USB debugging authorizations in Developer Options.

USB debugging connection troubleshooting

What to Do Before Enabling USB Debugging?

Before you enable USB debugging on Android, make sure your phone is ready to connect to the computer:

  • Unlock your Android phone or tablet.
  • Use a USB cable that supports data transfer, not charging only.
  • Choose File Transfer, MTP, or Android Auto after connecting to the computer.
  • Make sure you know your screen lock password, PIN, or pattern.
  • Keep the phone screen on while connecting to the computer.
  • Watch for the “Allow USB debugging?” popup after USB debugging is turned on.
Enable USB debugging on Android

How to Enable USB Debugging on Any Android
Phone or Tablet: General Method

Use this general method if you are not sure where to start, or if your Android phone or tablet brand is not listed below. Menu names may vary by Android version, manufacturer,
and device type, but the basic process is usually the same: enable Developer options, turn on USB debugging, and allow the computer.

Step 1. Connect Your Android Phone to the Computer

Use a USB cable that supports data transfer. After connecting, unlock your phone and pull down the notification panel.

Step 2. Choose File Transfer or MTP Mode

Tap the USB notification and select File Transfer, MTP, or Android Auto. If the phone stays in Charging only mode, your computer may not detect it correctly.

Step 3. Open About Phone

Go to Settings > About phone. On some phones, About phone may appear under System or About device.

Step 4. Tap Build Number Seven Times

Find Build number, Software version, MIUI version, OS version, or Version info. Tap it seven times until you see a message saying Developer options are enabled.

Step 5. Open Developer Options

Go back to Settings. Open System, Additional settings, System settings, or More settings, then tap Developer options.

Step 6. Turn On USB Debugging and Allow the Computer

Turn on USB debugging and tap OK. When the Allow USB debugging popup appears, tap Allow. Only choose Always allow from this computer if it is your own trusted computer

Connect Android phone to computer
Select File Transfer mode on Android
tab search bar
Open About phone on Android
Tap Build number 7 times on Android
Click ok
tap 3 times
tab USB debugging
Open Developer options on Android
Turn on USB debugging on Android
Tap OK to allow USB debugging on Android
Enable USB debugging on Android

USB Debugging Safety Tips

  1. Turn off USB debugging after recovery, transfer, or repair is complete
  2. Do not choose Always allow from this computer on public, shared, or unknown computers.
  3. Use Revoke USB debugging authorizations if you previously allowed an untrusted computer.
  4. Keep your phone locked when you are not actively using USB debugging.

Enable USB Debugging on Android by Brand

Need to enable USB debugging on Android? First unlock Developer options by tapping the Build number, OS version, or Software version 7 times, then turn on USB debugging. Because Android USB debugging menus vary by brand, system version, and device type, choose your Samsung, Xiaomi, OPPO, Vivo, Huawei, Google Pixel, or other Android brand below and follow the screenshot-based path.

Samsung General
Samsung One UI3 and below
Samsung One UI4-5
Samsung One UI6 and above
Samsung Others

How to Enable USB Debugging on Samsung Galaxy

Use this Samsung Galaxy USB debugging guide to enable Developer options, turn on USB debugging, and allow Android debugging for ADB, file transfer, or device connection.

Path:

Settings > About phone > Software information > Build number > Developer options > USB debugging

Variation Note:

* On older Galaxy models, About phone may appear as About device.

* On Galaxy tablets, use About tablet instead.

* For more Samsung-specific details, you can also read this guide on how to enable Developer options and USB debugging on Samsung Galaxy.

Steps:

  1. Open Settings on your Samsung Galaxy device.
  2. Tap About phone.
  3. Tap Software information.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to Settings and tap Developer options.
  6. Turn on Developer options if needed.
  7. Turn on USB debugging and tap OK.
Tap About phone on Samsung Galaxy
Tap Software information on Samsung Galaxy
Tap Build number 7 times on Samsung Galaxy
Open Developer options on Samsung Galaxy
Turn on USB debugging on Samsung Galaxy

How to Enable USB Debugging on Samsung One UI 3 or Earlier

Use this Samsung One UI 3 USB debugging guide for older Galaxy phones, including Galaxy S9/S10-style menus, to enable Developer options and turn on USB debugging.

Path:

Settings > About phone > Software information > Build number > Developer options > USB debugging

Variation Note:

* On some older Samsung phones, About phone may be shown as About device.

* If Developer options is not listed, check Settings > General > Developer options.

Steps:

  1. Open Settings on your Samsung Galaxy phone.
  2. Tap About phone.
  3. Tap Software information.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to Settings and tap Developer options.
  6. Turn on USB debugging.
  7. Tap OK when the Allow USB debugging? message appears.
Tap About phone on Samsung One UI 3
Tap Software information on Samsung One UI 3
Tap Build number 7 times on Samsung One UI 3
Tap Developer options on Samsung One UI 3
Turn on USB debugging on Samsung One UI 3
Tap OK to allow USB debugging on Samsung One UI 3

How to Enable USB Debugging on Samsung One UI 4 or 5

Use this Samsung One UI 4 or 5 USB debugging guide to enable Developer options, turn on USB debugging, and allow USB debugging on Galaxy devices.

Path:

Settings > About phone > Software information > Build number > Developer options > USB debugging

Variation Note:

* On One UI 4 and One UI 5, Developer options usually appears near the bottom of Settings.

* If the computer does not detect the phone, unlock it and select File transfer / Android Auto.

Steps:

  1. Open Settings on your Samsung Galaxy device.
  2. Tap About phone.
  3. Tap Software information.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to Settings and tap Developer options.
  6. Turn on USB debugging.
  7. Tap Allow when the USB debugging prompt appears.
Tap About phone on Samsung One UI 4 or 5
Tap Software information on Samsung One UI 4 or 5
Tap Build number 7 times on Samsung One UI 4 or 5
Tap Developer options on Samsung One UI 4 or 5
Turn on USB debugging on Samsung One UI 4 or 5
Tap Allow for USB debugging on Samsung One UI 4 or 5

How to Enable USB Debugging on Samsung One UI 6 or Later

Follow this Samsung One UI 6 USB debugging guide to enable Android USB debugging on newer Galaxy devices and avoid connection blocks such as Auto Blocker.

Path:

Settings > About phone > Software information > Build number > Developer options > USB debugging

Variation Note:

* On One UI 6 or later, turn off Auto Blocker if USB debugging or ADB connection is blocked.

* If the phone is not detected, unlock it and select File transfer / Android Auto.

Steps:

  1. Open Settings on your Samsung Galaxy device.
  2. If Auto Blocker is enabled, go to Security and privacy and turn it off.
  3. Go back to Settings and tap About phone.
  4. Tap Software information.
  5. Tap Build number 7 times to enable Developer options.
  6. Go back to Settings and tap Developer options.
  7. Turn on USB debugging.
  8. Tap Allow when the USB access prompt appears.
Tap Security and privacy on Samsung One UI 6
Tap Auto Blocker on Samsung One UI 6
Turn off Auto Blocker on Samsung One UI 6
Tap About phone on Samsung One UI 6
Tap Software information on Samsung One UI 6
Tap Build number 7 times on Samsung One UI 6
Tap Developer options on Samsung One UI 6
Turn on USB debugging on Samsung One UI 6

How to Enable USB Debugging on Other Samsung Galaxy Models

Use this older Samsung Galaxy USB debugging guide for Samsung Experience or early Android versions that still use the classic Developer options layout.

Path:

Settings > About phone > Software information > Build number > Developer options > USB debugging

Variation Note:

* On older Samsung Experience devices, About phone may appear as About device.

* If Developer options is hidden, check Settings > General > Developer options.

If you are using an older Galaxy model, see the dedicated guide to enable USB debugging on Galaxy S7/S8.

Steps:

  1. Open Settings on your Samsung Galaxy device.
  2. Tap About phone.
  3. Tap Software information.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to Settings and tap Developer options.
  6. Turn on USB debugging.
  7. Tap OK when the Allow USB debugging? message appears.
Tap About phone on older Samsung Galaxy models
Tap Software information on older Samsung Galaxy models
Tap Build number 7 times on older Samsung Galaxy models
Tap Developer options on older Samsung Galaxy models
Turn on USB debugging on older Samsung Galaxy models
Tap OK to allow USB debugging on older Samsung Galaxy models
Xiaomi HyperOS
Xiaomi MIUI
Redmi
POCO

How to Enable USB Debugging on Xiaomi HyperOS

Use this Xiaomi HyperOS USB debugging guide to enable Developer options, turn on USB debugging, and allow USB debugging on Xiaomi, Redmi, or POCO devices.

Path:

Use USB for > File Transfer / Android Auto > Settings > About phone > OS version > Additional settings > Developer options > USB debugging

Variation Note:

* On HyperOS, tap OS version 7 times. On MIUI, tap MIUI version instead.

* For USB debugging (Security settings) or Install via USB, sign in to your Xiaomi Account first.

* For Xiaomi-specific menu paths, check this guide on how to enable Developer mode and USB debugging on Xiaomi.

Steps:

  1. Connect your Xiaomi phone to the computer.
  2. Select File Transfer / Android Auto when the USB menu appears.
  3. Open Settings and tap About phone.
  4. Tap OS version 7 times to enable Developer options.
  5. Go back to Settings and tap Additional settings.
  6. Tap Developer options.
  7. Turn on Developer options if needed.
  8. Turn on USB debugging.
Select File Transfer Android Auto on Xiaomi HyperOS
Tap About phone on Xiaomi HyperOS
Tap OS version 7 times on Xiaomi HyperOS
Tap Additional settings on Xiaomi HyperOS
Tap Developer options on Xiaomi HyperOS
Turn on Developer options on Xiaomi HyperOS
Turn on USB debugging on Xiaomi HyperOS

How to Enable USB Debugging on Xiaomi MIUI

Use this MIUI USB debugging guide to enable USB debugging on Xiaomi, Redmi, or POCO phones through Developer options and MIUI version settings.

Path:

Settings > About phone > MIUI version > Additional settings > Developer options > USB debugging

Variation Note:

* On some MIUI versions, open About phone > All specs, then tap MIUI version 7 times.

* For USB debugging (Security settings) or Install via USB, sign in to your Xiaomi Account first.

Steps:

  1. Tap Settings on your Xiaomi phone.
  2. Tap About phone.
  3. Tap MIUI version 7 times to enable Developer options.
  4. Go back to Settings and tap Additional settings.
  5. Tap Developer options.
  6. Turn on the Developer options switch.
  7. Turn on USB debugging.
  8. Connect the phone to your computer and select File Transfer.
  9. Tap OK if the Allow USB debugging? prompt appears.
Open Settings on Xiaomi MIUI
Select File Transfer on Xiaomi MIUI
Tap OK to allow USB debugging on Xiaomi MIUI
Tap About phone on Xiaomi MIUI
Tap MIUI version 7 times on Xiaomi MIUI
Tap Additional settings on Xiaomi MIUI
Tap Developer options on Xiaomi MIUI
Turn on Developer options on Xiaomi MIUI
Turn on USB debugging on Xiaomi MIUI

How to Enable USB Debugging on Redmi Phones

Follow this Redmi USB debugging guide to enable Developer options, turn on USB debugging, and connect your Redmi phone to a computer over USB.

Path:

Use USB for > File Transfer > Settings > About phone > MIUI version > Additional settings > Developer options > USB debugging

Variation Note:

* On some Redmi models, open About phone > All specs, then tap MIUI version 7 times.

* For Install via USB or USB debugging (Security settings), sign in to your Xiaomi Account first.

Steps:

  1. Connect your Redmi phone to the computer.
  2. Select File Transfer when the Use USB for menu appears.
  3. Open Settings on your Redmi phone.
  4. Tap About phone.
  5. Tap MIUI version 7 times to enable Developer options.
  6. Go back to Settings and tap Additional settings.
  7. Tap Developer options.
  8. Turn on Developer options.
  9. Turn on USB debugging.
Select File Transfer on Redmi phone
Tap About phone on Redmi phone
Tap MIUI version 7 times on Redmi phone
Tap Additional settings on Redmi phone
Tap Developer options on Redmi phone
Turn on Developer options on Redmi phone
Turn on USB debugging on Redmi phone

How to Enable USB Debugging on POCO Phones

Follow this POCO USB debugging guide to enable Developer options and USB debugging on HyperOS or MIUI-based POCO phones.

Path:

Settings > About phone > Detailed info and specs > OS version > Additional settings > Developer options > USB debugging

Variation Note:

* On older POCO models running MIUI, tap MIUI version 7 times instead of OS version.

* If USB debugging does not work after connection, select File Transfer from the USB menu.

Steps:

  1. Open Settings on your POCO phone.
  2. Tap About phone.
  3. Tap Detailed info and specs.
  4. Tap OS version 7 times to enable Developer options.
  5. Go back to Settings and tap Additional settings.
  6. Tap Developer options.
  7. Turn on USB debugging.
  8. On the Danger prompt, tick the risk confirmation box and tap OK.
Open Settings on POCO phone
Tap About phone on POCO phone
Tap Detailed info and specs on POCO phone
Tap OS version 7 times on POCO phone
Developer options enabled on POCO phone
Tap Additional settings on POCO phone
Tap Developer options on POCO phone
Turn on USB debugging on POCO phone
Tap OK on USB debugging danger prompt on POCO phone
OPPO ColorOS
Realme
OnePlus

How to Enable USB Debugging on OPPO ColorOS

Use this OPPO ColorOS USB debugging guide to enable Developer options, turn on USB debugging, and allow Android debugging over a USB cable.

Path:

Use USB for > Transfer files / Android Auto > Settings > About device > Version > Build number > System settings > Developer options > USB debugging

Variation Note:

* On some ColorOS versions, About device may appear as About phone.

* On ColorOS 13 or later, Developer options may be under Additional settings or System & update instead of System settings.

Steps:

  1. Connect your OPPO phone to the computer.
  2. Select Transfer files / Android Auto when the USB menu appears.
  3. Open Settings and tap About device.
  4. Tap Version.
  5. Tap Build number 7 times to enable Developer options.
  6. Go back to Settings and tap System settings.
  7. Tap Developer options.
  8. Turn on Developer options.
  9. Turn on USB debugging.
Select Transfer files on OPPO ColorOS
Tap About device on OPPO ColorOS
Tap Version on OPPO ColorOS
Tap Build number 7 times on OPPO ColorOS
Tap System settings on OPPO ColorOS
Tap Developer options on OPPO ColorOS
Turn on Developer options on OPPO ColorOS
Turn on USB debugging on OPPO ColorOS

How to Enable USB Debugging on Realme Phones

Use this Realme USB debugging guide to enable Developer options, turn on USB debugging, and allow USB debugging for computer connection or Android debugging.

Path:

Settings > About Phone > Version > Build number > Additional Settings > Developer options > USB debugging

Variation Note:

* On some Realme UI or ColorOS versions, Additional Settings may appear as System settings.

* If the phone is not detected after connection, select Transfer files / Android Auto from the USB menu.

Steps:

  1. Open Settings on your Realme phone.
  2. Tap About Phone.
  3. Tap Version.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to Settings and tap Additional Settings.
  6. Tap Developer options.
  7. Turn on USB debugging.
  8. Tap OK when the Allow USB debugging? prompt appears.
Tap About Phone on Realme phone
Tap Version on Realme phone
Tap Build number 7 times on Realme phone
Tap Additional Settings on Realme phone
Tap Developer options on Realme phone
Turn on USB debugging on Realme phone
Tap OK to allow USB debugging on Realme phone

How to Enable USB Debugging on OnePlus OxygenOS

Use this OnePlus OxygenOS USB debugging guide to enable Developer options and turn on USB debugging for ADB, Android debugging, or USB cable connection.

Path:

Settings > About phone > Build number > System > Developer options > USB debugging

Variation Note:

* On newer OxygenOS builds, Build number may be under About device > Version.

* Do not turn on Wireless ADB debugging by mistake; use USB debugging for cable connection.

Steps:

  1. Open Settings on your OnePlus phone.
  2. Tap About phone.
  3. Tap Build number 7 times to enable Developer options.
  4. Go back to Settings and tap System.
  5. Tap Developer options.
  6. Turn on Developer options if needed.
  7. Turn on USB debugging.
  8. Tap Allow if the RSA fingerprint prompt appears after connecting to a computer.
Tap About phone on OnePlus OxygenOS
Tap Build number 7 times on OnePlus OxygenOS
Tap System on OnePlus OxygenOS
Tap Developer options on OnePlus OxygenOS
Turn on USB debugging on OnePlus OxygenOS
Vivo General
Vivo Others
iQOO General
iQOO Others

How to Enable USB Debugging on Vivo Phones

Use this Vivo USB debugging guide to enable Developer options, turn on USB debugging, and allow a computer connection on Vivo phones.

Path:

Settings > More settings > About phone > Software version > Developer options > USB debugging

Variation Note:

* On newer Vivo or OriginOS models, More settings may appear as System management or System settings.

* If the computer does not detect the phone, reconnect the USB cable and choose file transfer mode.

Steps:

  1. Open Settings on your Vivo phone.
  2. Tap More settings.
  3. Tap About phone.
  4. Tap Software version 7 times to enable Developer options.
  5. Go back to More settings.
  6. Tap Developer options.
  7. Turn on USB debugging.
  8. Tap OK when the Allow USB debugging? prompt appears.
Tap More settings on Vivo phone
Tap About phone on Vivo phone
Tap Software version 7 times on Vivo phone
Return to More settings on Vivo phone
Tap Developer options on Vivo phone
Tap OK to allow USB debugging on Vivo phone

How to Enable USB Debugging on Other Vivo Models

Use this Vivo USB debugging guide for older Vivo models using classic Funtouch OS menus, including the Files USB mode and Software version path.

Path:

USB connected > Files > Settings > More settings > About phone > Software version > Developer options > USB debugging

Variation Note:

* On newer Vivo models, the official path may use My device > More parameters, and Developer options may appear under System management.

* If the USB prompt shows Charge only, switch it to Files before using USB debugging.

Steps:

  1. Connect your Vivo phone to the computer.
  2. Pull down the notification panel and select Files under USB connected.
  3. Open Settings and tap More settings.
  4. Tap About phone.
  5. Tap Software version 7 times to enable Developer options.
  6. Go back to More settings and tap Developer options.
  7. Turn on USB debugging.
  8. Tap OK when the Allow USB debugging? prompt appears.
Select Files for USB connection on Vivo phone
Tap More settings on older Vivo phone
Tap About phone on older Vivo phone
Tap Software version 7 times on older Vivo phone
Tap Developer options on older Vivo phone
Tap OK to allow USB debugging on older Vivo phone

How to Enable USB Debugging on iQOO Phones

Use this iQOO USB debugging guide to enable Developer options and turn on USB debugging on iQOO phones running OriginOS.

Path:

Settings > About phone > Version info > Software version > System management & upgrade > Developer options > USB debugging

Variation Note:

* On some iQOO or Vivo models, System management & upgrade may appear as System management.

* On older Funtouch OS models, go to More settings > About phone, then tap Software version 7 times.

Steps:

  1. Open Settings on your iQOO phone.
  2. Tap About phone.
  3. Tap Version info.
  4. Tap Software version 7 times to enable Developer options.
  5. Go back to Settings and tap System management & upgrade.
  6. Tap Developer options.
  7. Turn on Developer options if needed.
  8. Turn on USB debugging.
Tap About phone on iQOO phone
Tap Version info on iQOO phone
Tap Software version 7 times on iQOO phone
Tap System management and upgrade on iQOO phone
Tap Developer options on iQOO phone
Turn on Developer options on iQOO phone
Turn on USB debugging on iQOO phone

How to Enable USB Debugging on Other iQOO Models

Use this iQOO USB debugging guide for older OriginOS or Funtouch OS layouts where Developer options are under System management.

Path:

Settings > System management > About phone > Version info > Software version > Developer options > USB debugging

Variation Note:

* On newer iQOO models, the path may be Settings > About phone > Version info > Software version.

* If USB debugging does not work after connection, switch the USB mode to file transfer.

Steps:

  1. Open Settings on your iQOO phone.
  2. Tap System management.
  3. Tap About phone.
  4. Tap Version info.
  5. Tap Software version 7 times to enable Developer options.
  6. Go back to System management and tap Developer options.
  7. Turn on Developer options.
  8. Turn on USB debugging.
Tap System management on iQOO phone
Tap About phone on iQOO phone
Tap Version info on iQOO phone
Tap Software version 7 times on iQOO phone
Tap Developer options on iQOO phone
Turn on Developer options on iQOO phone
Turn on USB debugging on iQOO phone
Huawei Harmony
Huawei Mate
Huawei P9
Honor

How to Enable USB Debugging on Huawei HarmonyOS

Use this Huawei HarmonyOS USB debugging guide to enable Developer options, turn on USB debugging, and connect your Huawei phone to a computer.

Path:

Use USB to > Transfer files > Settings > About phone > HarmonyOS version > System & updates > Developer options > USB debugging

Variation Note:

* On HarmonyOS 5 or later, Huawei may use Device model > Software version number to enable Developer options.

* If USB debugging cannot be turned on, switch the USB mode to Transfer files or Transfer photos first.

Steps:

  1. Connect your Huawei phone to the computer.
  2. Select Transfer files when the Use USB to menu appears.
  3. Open Settings and tap About phone.
  4. Tap HarmonyOS version 7 times to enable Developer options.
  5. Go back to Settings and tap System & updates.
  6. Tap Developer options.
  7. Turn on Developer options if needed.
  8. Turn on USB debugging.
  9. Tap Allow or OK if the USB debugging authorization prompt appears.
Select Transfer files on Huawei HarmonyOS
Tap About phone on Huawei HarmonyOS
Tap HarmonyOS version 7 times on Huawei phone
Tap System & updates on Huawei HarmonyOS
Tap Developer options on Huawei HarmonyOS
Turn on Developer options on Huawei HarmonyOS
Turn on USB debugging on Huawei HarmonyOS

How to Enable USB Debugging on Huawei Mate Series

Use this Huawei Mate USB debugging guide to enable Developer options and turn on USB debugging on Mate series phones running EMUI or HarmonyOS-based settings.

Path:

Settings > System > About phone > Build number > Developer options > USB debugging

Variation Note:

* On newer Huawei Mate models running HarmonyOS, tap HarmonyOS version 7 times instead of Build number.

* If USB debugging does not work after connection, select Transfer files from the USB menu.

Steps:

  1. Open Settings on your Huawei Mate phone.
  2. Tap System.
  3. Tap About phone.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to System and tap Developer options.
  6. Turn on Developer options.
  7. Turn on USB debugging.
Tap System on Huawei Mate phone
Tap About phone on Huawei Mate phone
Tap Build number 7 times on Huawei Mate phone
Tap Developer options on Huawei Mate phone
Turn on Developer options on Huawei Mate phone
Turn on USB debugging on Huawei Mate phone

How to Enable USB Debugging on Huawei P9

Use this Huawei P9 USB debugging guide to enable Developer options and turn on USB debugging on older EMUI devices.

Path:

Settings > About phone > Build number > Developer options > USB debugging

Variation Note:

* On Huawei P9 and older EMUI versions, Developer options may appear directly in Settings instead of under System or System & updates.

* If USB debugging does not work after connection, switch the USB mode to File transfer.

Steps:

  1. Open Settings on your Huawei P9.
  2. Tap About phone.
  3. Tap Build number 7 times to enable Developer options.
  4. Go back to Settings.
  5. Tap Developer options.
  6. Turn on Developer options.
  7. Turn on USB debugging.
Open Settings on your Huawei P9
Tap About phone on Huawei P9
Tap Build number 7 times on Huawei P9
Tap Developer options on Huawei P9
Turn on Developer options on Huawei P9
Turn on USB debugging on Huawei P9

How to Enable USB Debugging on Honor Phones

Use this Honor USB debugging guide to enable Developer options, turn on USB debugging, and connect Honor phones to a computer over USB.

Path:

Settings > System > About phone > Build number > Developer options > USB debugging

Variation Note:

* On some newer Honor phones, Developer options may appear under System & updates or Additional settings.

* If the computer does not detect the phone, reconnect it and switch the USB mode to File transfer.

Steps:

  1. Open Settings on your Honor phone.
  2. Tap System.
  3. Tap About phone.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to System.
  6. Tap Developer options.
  7. Turn on Developer options.
  8. Turn on USB debugging.
Tap System on Honor phone
Tap About phone on Honor phone
Tap Build number 7 times on Honor phone
Tap Developer options on Honor phone
Turn on Developer options on Honor phone
Turn on USB debugging on Honor phone
Google Pixel

How to Enable USB Debugging on Google Pixel Phones

Use this Google Pixel USB debugging guide to enable Developer options, turn on USB debugging, and allow USB debugging on Pixel phones.

Path:

Settings > About phone > Build number > System > Developer options > USB debugging

Variation Note:

* On older Pixel Android versions, Developer options may appear under System > Advanced.

* Do not enable Wireless debugging by mistake; use USB debugging for cable connection.

Steps:

  1. Open Settings on your Google Pixel.
  2. Tap About phone.
  3. Scroll down and tap Build number 7 times to enable Developer options.
  4. Go back to Settings and tap System.
  5. Tap Developer options.
  6. Turn on Use developer options if needed.
  7. Turn on USB debugging.
  8. Tap Allow if the RSA fingerprint prompt appears after connecting to a computer.
Open Settings on your Google Pixel
Tap About phone on Google Pixel
Tap Build number 7 times on Google Pixel
Tap System on Google Pixel
Tap Developer options on Google Pixel
Turn on USB debugging on Google Pixel
Infinix
Tecno
Itel

How to Enable USB Debugging on Infinix Phones

Use this Infinix USB debugging guide to enable Developer options and turn on USB debugging on XOS phones through the Build number search path.

Path:

Settings > Search settings > Build number > System > Developer options > USB debugging

Variation Note:

* On some Infinix XOS versions, Build number may appear under My phone or About phone.

* If the phone stays in charging mode, switch the USB mode to file transfer before using USB debugging.

Steps:

  1. Open Settings on your Infinix phone.
  2. Tap the Search settings bar.
  3. Search for Build number.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to Settings and tap System.
  6. Tap Developer options.
  7. Turn on Use developer options if needed.
  8. Turn on USB debugging.
Open Settings on your Infinix phone
Tap the Search settings bar
Tap Build number 7 times on Infinix phone
Tap Build number to enable Developer options on Infinix phone
Developer options enabled on Infinix phone
Tap System on Infinix phone
Tap Developer options on Infinix phone
Turn on Use developer options on Infinix phone
Turn on USB debugging on Infinix phone

How to Enable USB Debugging on Tecno Phones

Use this Tecno USB debugging guide to enable Developer options and turn on USB debugging on HiOS phones through My Phone and Build number.

Path:

Settings > My Phone > Build number > System > Developer options > USB debugging

Variation Note:

* On some Tecno XOS or HiOS versions, My Phone may appear as About phone.

* If the phone stays in charge-only mode, switch the USB mode to Transfer files.

Steps:

  1. Open Settings on your Tecno phone.
  2. Tap My Phone.
  3. Tap Build number 7 times to enable Developer options.
  4. Go back to Settings and tap System.
  5. Tap Developer options.
  6. Turn on Use developer options if needed.
  7. Turn on USB debugging.
  8. Tap OK when the Allow USB debugging? prompt appears.
Open Settings on your Tecno phone
Tap My Phone
Tap Build number 7 times on Tecno phone
Developer options enabled on Tecno phone
Tap System on Tecno phone
Tap Developer options on Tecno phone
Turn on Use developer options on Tecno phone
Turn on USB debugging on Tecno phone

How to Enable USB Debugging on Itel Phones

Use this Itel USB debugging guide to enable Developer options and turn on USB debugging on itelOS phones through My Phone and Build number.

Path:

Settings > My Phone > Build number > System > Developer options > USB debugging

Variation Note:

* On some Itel models, My Phone may appear as About phone.

* If the phone stays in charge-only mode, switch the USB mode to Transfer files.

Steps:

  1. Open Settings on your Itel phone.
  2. Tap My Phone.
  3. Tap Build number 7 times to enable Developer options.
  4. Go back to Settings and tap System.
  5. Tap Developer options.
  6. Turn on Use developer options if needed.
  7. Turn on USB debugging.
  8. Tap OK or Allow if the USB debugging prompt appears.
Open Settings on your Itel phone
Tap My Phone
Tap Build number 7 times on Itel phone
Developer options enabled on Itel phone
Tap System on Itel phone
Tap Developer options on Itel phone
Turn on USB debugging on Itel phone
Motorola
Lenovo

How to Enable USB Debugging on Motorola Phones

Use this Motorola USB debugging guide to enable Developer options and turn on USB debugging on Moto phones.

Path:

Settings > About phone > Build number > Developer options > USB debugging

Variation Note:

* On newer Moto phones, the path may be Settings > System > About phone > Build number.

* If the phone stays in charging mode, switch the USB setting to File transfer or PTP.

Steps:

  1. Open Settings on your Motorola phone.
  2. Tap About phone.
  3. Tap Build number 7 times to enable Developer options.
  4. Go back to Settings.
  5. Tap Developer options.
  6. Turn on Developer options.
  7. Turn on USB debugging.
Tap About phone on Motorola phone
Tap Build number 7 times on Motorola phone
Tap Developer options on Motorola phone
Turn on USB debugging on Motorola phone

How to Enable USB Debugging on Lenovo Phones or Tablets

Use this Lenovo USB debugging guide to enable Developer options and turn on USB debugging on Lenovo phones or tablets.

Path:

Settings > About phone > Device Information > Build number > Developer options > USB debugging

Variation Note:

* On some Lenovo tablets, About phone may appear as About tablet.

* If the computer does not detect the device, reconnect it and switch the USB mode to File transfer.

Steps:

  1. Open Settings on your Lenovo device.
  2. Tap About phone.
  3. Tap Device Information.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to Settings and tap Developer options.
  6. Turn on Developer options.
  7. Turn on USB debugging.
Tap About phone on Lenovo device
Tap Device Information on Lenovo device
Tap Build number 7 times on Lenovo device
Turn on Developer options on Lenovo device
Turn on USB debugging on Lenovo device
Sony Xperia
ASUS ZenFone
Nothing Phone
Nokia / HMD

How to Enable USB Debugging on Sony Xperia

Use this Sony Xperia USB debugging guide to enable Developer options and turn on USB debugging on Xperia phones.

Path:

Settings > About phone > Build number > Developer options > USB debugging

Variation Note:

* On newer Xperia phones, Developer options may appear under Settings > System.

* If the phone is not detected after connection, switch the USB mode to File transfer.

Steps:

  1. Open Settings on your Sony Xperia phone.
  2. Tap About phone.
  3. Tap Build number 7 times to enable Developer options.
  4. Go back to Settings.
  5. Tap Developer options.
  6. Turn on Developer options.
  7. Turn on USB debugging.
Tap About phone on Sony Xperia
Tap Build number 7 times on Sony Xperia
Tap Developer options on Sony Xperia
Turn on USB debugging on Sony Xperia

How to Enable USB Debugging on ASUS ZenFone

Use this ASUS ZenFone USB debugging guide to enable Developer options and turn on USB debugging on ZenUI phones.

Path:

Settings > About > Software information > Build number > Developer options > USB debugging

Variation Note:

* On newer ASUS phones, Developer options may appear under Settings > System.

* If the phone is not detected after connection, unlock it and select File Transfer in USB Preferences.

Steps:

  1. Open Settings on your ASUS ZenFone.
  2. Tap About.
  3. Tap Software information.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to Settings.
  6. Tap Developer options.
  7. Turn on Developer options.
  8. Turn on USB debugging.
Tap About on ASUS ZenFone
Tap Software information on ASUS ZenFone
Tap Build number 7 times on ASUS ZenFone
Tap Developer options on ASUS ZenFone
Turn on USB debugging on ASUS ZenFone

How to Enable USB Debugging on Nothing Phone

Use this Nothing Phone USB debugging guide to enable Developer options and turn on USB debugging on Nothing OS phones.

Path:

Settings > About phone > Nothing OS > Build number > System > Developer options > USB debugging

Variation Note:

* On some Nothing OS versions, Build number may appear under Software info.

* Do not enable Glyph Interface Debug Mode by mistake; use USB debugging for cable connection.

Steps:

  1. Open Settings on your Nothing Phone.
  2. Tap About phone.
  3. Tap the Nothing OS card at the top.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to Settings and tap System.
  6. Tap Developer options.
  7. Turn on Use developer options if needed.
  8. Turn on USB debugging.
  9. Tap OK when the Allow USB debugging? prompt appears.
Open Settings on your Nothing Phone
Tap About phone on Nothing Phone
Tap the Nothing OS card
Tap Build number 7 times on Nothing Phone
Developer options enabled on Nothing Phone
Tap System on Nothing Phone
Tap Developer options on Nothing Phone
Turn on Use developer options on Nothing Phone
Turn on USB debugging on Nothing Phone
Tap OK to allow USB debugging on Nothing Phone

How to Enable USB Debugging on Nokia or HMD Phones

Use this Nokia and HMD USB debugging guide to enable Developer options and turn on USB debugging on stock Android-style phones.

Path:

Settings > About phone > More status > Build number > System > Developer options > USB debugging

Variation Note:

* On some Nokia or HMD models, Build number may appear directly under About phone instead of More status.

* If the computer cannot detect the phone, reconnect it and switch the USB mode to File transfer.

Steps:

  1. Open Settings on your Nokia or HMD phone.
  2. Tap About phone.
  3. Tap More status.
  4. Tap Build number 7 times to enable Developer options.
  5. Go back to Settings and tap System.
  6. Tap Developer options.
  7. Turn on Use Developer options.
  8. Scroll down and turn on USB debugging.
  9. Tap OK or Allow if the USB debugging prompt appears.
Open Settings on your Nokia or HMD phone
Tap About phone on Nokia or HMD phone
Tap More status on Nokia or HMD phone
Tap Build number 7 times on Nokia or HMD phone
Tap System on Nokia or HMD phone
Turn on Use Developer options on Nokia or HMD phone
Turn on USB debugging on Nokia or HMD phone
LG
HTC
Meizu
Micromax

How to Enable USB Debugging on LG Phones

Use this LG USB debugging guide to enable Developer options and turn on USB debugging on LG phones running LG UX or newer Android settings.

Path:

Settings > General > About phone > Software info > Build number > Developer options > USB debugging

Variation Note:

* On newer LG phones, the path may be Settings > System > About phone > Software information > Build number.

* If the phone is not detected after connection, switch the USB mode to File transfer or MTP.

Steps:

  1. Open Settings on your LG phone.
  2. Tap the General tab if it is shown.
  3. Tap About phone.
  4. Tap Software info.
  5. Tap Build number 7 times to enable Developer options.
  6. Go back to Settings and open Developer options.
  7. Turn on Developer options.
  8. Turn on USB debugging.
  9. Tap OK when the Allow USB debugging? prompt appears.
Tap About phone on LG phone
Tap Software info on LG phone
Tap Build number 7 times on LG phone
Open Developer options on LG phone
Turn on USB debugging on LG phone
Tap OK to allow USB debugging on LG phone

How to Enable USB Debugging on HTC Phones

Use this HTC USB debugging guide to enable Developer options and turn on USB debugging on older HTC phones.

Path:

Settings > About > Software information > More > Build number > Developer options > USB debugging

Variation Note:

* On some HTC models, Build number may appear directly under About or Software information.

* If the computer cannot detect the phone, reconnect it and switch the USB mode to File transfer.

Steps:

  1. Open Settings on your HTC phone.
  2. Tap About.
  3. Tap Software information.
  4. Tap More.
  5. Tap Build number 7 times to enable Developer options.
  6. Go back to Settings.
  7. Tap Developer options.
  8. Turn on Developer options.
  9. Turn on USB debugging.
Open Settings on HTC phone
Tap About on HTC phone
Tap About
Tap More on HTC phone
Tap Build number 7 times on HTC phone
Tap Developer options on HTC phone
Turn on USB debugging on HTC phone

How to Enable USB Debugging on Meizu Phones

Use this Meizu USB debugging guide to enable Developer options and turn on USB debugging on Flyme phones.

Path:

Settings > About phone > Build number > Accessibility > Developer options > USB debugging

Variation Note:

* On some Flyme versions, Developer options may appear directly in Settings instead of under Accessibility.

* If the computer cannot detect the phone, reconnect it and switch the USB mode to File transfer.

Steps:

  1. Open Settings on your Meizu phone.
  2. Tap About phone.
  3. Tap Build number 7 times to enable Developer options.
  4. Go back to Settings and tap Accessibility.
  5. Tap Developer options.
  6. Turn on Enable developer options.
  7. Turn on USB debugging.
Tap About phone on Meizu phone
Tap Build number 7 times on Meizu phone
Tap Accessibility on Meizu phone
Tap Developer options on Meizu phone
Turn on USB debugging on Meizu phone

How to Enable USB Debugging on Micromax Phones

Use this Micromax USB debugging guide to enable Developer options and turn on USB debugging on Micromax phones.

Path:

Settings > About phone > Software Version > System > Developer options > USB debugging

Variation Note:

* On some Micromax or Android One models, the developer entry may be Build number instead of Software Version.

* If the computer cannot detect the phone, reconnect it and switch the USB mode to File transfer.

Steps:

  1. Open Settings on your Micromax phone.
  2. Tap About phone.
  3. Tap Software Version 7 times to enable Developer options.
  4. Go back to Settings and tap System.
  5. Tap Developer options.
  6. Turn on USB debugging.
  7. Tap OK when the Allow USB debugging? prompt appears.
Tap About phone on Micromax phone
Tap Software Version 7 times on Micromax phone
Tap System on Micromax phone
Tap Developer options on Micromax phone
Turn on USB debugging on Micromax phone
Tap OK to allow USB debugging on Micromax phone

Can't Find Your Android Brand?

Use the General Android Method if your brand is not listed. It works for most stock Android, Android One, near-stock Android, and other Android phones or tablets. If your menu names look different, search Settings for Build number, Software version, Developer options, or USB debugging.

View General Android Method
View General Android Method

USB Debugging Is On, But Android Still Won’t Connect

If USB debugging is already enabled but your Android phone is still not detected, the problem may be caused by USB mode, cable type, authorization, drivers, or brand-specific security settings. Follow the checks below in order.

Unlock Your Phone and Keep the Screen On

1

Unlock your Android phone before connecting it. Some devices will not show the USB debugging permission popup while the screen is locked.

Change USB Mode to File Transfer

2

Swipe down from the top of the screen, tap the USB notification, and choose File Transfer, MTP, or Android Auto instead of Charging only.

Check the USB Cable and Port

3

Use a USB cable that supports data transfer. Some charging cables cannot transfer data. Try another USB port or another cable if the phone is not detected.

Allow USB Debugging from This Computer

4

When the Allow USB debugging popup appears, tap Allow. Only select Always allow from this computer if it is your own trusted computer.

Revoke USB Debugging Authorizations

5

If the popup does not appear, go to Developer options and tap Revoke USB debugging authorizations. Then unplug and reconnect your phone.

Install or Update Android USB Drivers

6

On Windows, the computer may need a proper Android USB driver. Install the driver for your phone brand or reconnect the phone after changing USB mode.

Check Brand-Specific Security Settings

7

Some brands add extra security settings. Samsung may block USB debugging through Auto Blocker. Xiaomi, Redmi, and POCO may require USB debugging (Security settings) for certain tools.

Restart Both Devices

8

Restart your Android phone and computer, then reconnect the phone and check whether the USB debugging popup appears.
5/8

Troubleshooting USB Debugging Problems

If you cannot find USB debugging, cannot see the permission popup, or your computer still cannot detect your Android phone, use the troubleshooting guide below.

USB Debugging Not Showing
Quick fix: USB debugging usually does not appear until Developer options are enabled. Go to Settings > About phone, About tablet, or About device, then tap Build number, Software version, MIUI version, OS version, or Version info seven times.
Then: Return to Settings and open Developer options to find USB debugging.
Developer Options Missing
Quick fix: Developer options may be hidden under System, Additional settings, System settings, or More settings. You can also search for Developer options directly in Settings.
Then: If you still cannot find it, go back to About phone, About tablet, or About device and tap the build version field seven times again.
USB Debugging Greyed Out
Quick fix: USB debugging can be greyed out because of security restrictions, work profiles, parental controls, Samsung Auto Blocker, or an unsupported USB connection mode.
Then: Disable the blocking setting temporarily, switch to File Transfer mode, or use a personal profile if your device allows it.

Locked out of your phone?

See Android Unlock / Screen Unlock for access options.

Allow USB Debugging Popup Not Appearing
Quick fix: Unlock your Android phone, change the USB mode to File Transfer or MTP, reconnect the cable, and make sure USB debugging is turned on in Developer options.
Then: If the popup still does not appear, tap Revoke USB debugging authorizations in Developer options, unplug the phone, and connect it again.

If the popup still does not show:

See how to fix Android phone not detected by computer.

Android Phone Not Detected by Computer
Quick fix: Choose File Transfer or MTP mode, try another data-transfer USB cable, switch to another USB port, and make sure USB debugging is enabled.
Then: If you are using Windows, install or update the correct Android USB driver and check Device Manager for driver errors.

Need to manage files from your computer?

Connect your device with Android Phone Manager.

USB Debugging Keeps Turning Off
Quick fix: Some Android phones may turn off USB debugging after system updates, restarts, enterprise policy changes, or security scans.
Then: Turn on USB debugging again, avoid aggressive battery or security cleaner restrictions, and check whether your phone is managed by a work profile or company policy.
Broken Screen or Black Screen
Quick fix: If USB debugging was never enabled before and the phone screen cannot be used, you usually cannot enable it directly from a computer.
Then: Try using an OTG mouse, screen mirroring, or official brand repair options first. If the phone was already authorized on this computer before, some recovery tools may still detect it.

Screen broken?

Explore broken Android screen data recovery options.

USB Debugging Not Working on Samsung
Quick fix: On Samsung Galaxy phones, enable Developer options through Settings > About phone > Software information > Build number.
Then: Open Developer options and turn on USB debugging. On One UI 6 or later, check whether Auto Blocker is preventing USB debugging.

Need to recover Samsung files?

Try Android Data Recovery after USB debugging is enabled.

USB Debugging Not Working on Xiaomi, Redmi, or POCO
Quick fix: On Xiaomi, Redmi, and POCO phones, enable Developer options by tapping MIUI version, OS version, or Android version several times.
Then: Open Additional settings > Developer options and turn on USB debugging. Some tools may also require USB debugging (Security settings). Only enable it for trusted tools.

Moving data to a new phone?

Use Phone Transfer after your device is detected.

USB Debugging Not Working for WhatsApp Recovery
Quick fix: WhatsApp recovery tools may need USB debugging so the computer can communicate with your Android device. Make sure the phone is unlocked, USB debugging is on, and File Transfer mode is selected.
Then: Reconnect the phone and tap Allow when the USB debugging permission popup appears. Restart the WhatsApp recovery tool if the device is still not detected.

Recovering WhatsApp chats?

Learn how to recover WhatsApp messages from Android.

USB Debugging Is On, But Android Still Won’t Connect or ADB Device Not Showing
Quick fix: If USB debugging is on but your Android phone still will not connect, first unlock the phone and keep the screen on. Then reconnect it with a USB cable that supports data transfer, not charging only.
Then: Swipe down from the top of the phone screen, tap the USB notification, and select File Transfer, MTP, or Android Auto. If the “Allow USB debugging?” popup appears, tap Allow to trust the computer.

ADB device not showing up?

Open Developer options, tap Revoke USB debugging authorizations, reconnect the phone, and approve the new USB debugging request. If ADB still does not detect the device, update the Android USB driver or try another USB port.

  • 1. USB Debugging Not Showing
  • 2. Developer Options Missing
  • 3. USB Debugging Greyed Out
  • 4. Allow USB Debugging Popup Not Appearing
  • 5. Android Phone Not Detected by Computer
  • 6. USB Debugging Keeps Turning Off
  • 7. Broken Screen or Black Screen
  • 8. USB Debugging Not Working on Samsung
  • 9. USB Debugging Not Working on Xiaomi, Redmi, or POCO
  • 10. USB Debugging Not Working for WhatsApp Recovery
  • 11. ADB Device Not Showing Up

FAQ About USB Debugging

Q1. How Do I Enable USB Debugging on Android?
To enable USB debugging on Android, open Settings, go to About phone, and tap Build number, Software version, MIUI version, or OS version 7 times to enable Developer options. Then go back to Settings, open Developer options, turn on USB debugging, and tap Allow when the computer authorization prompt appears.
On most Samsung Galaxy phones, USB debugging is under Settings > Developer options > USB debugging. If Developer options is hidden, go to Settings > About phone > Software information, tap Build number 7 times, then return to Settings and open Developer options. On Galaxy tablets, use About tablet instead of About phone.
Developer options is hidden by default on Android. To make it appear, open Settings > About phone and tap Build number, Software version, MIUI version, or OS version 7 times. On some brands, Developer options may appear under System, Additional settings, System settings, or More settings.
If your Android phone is not detected after enabling USB debugging, unlock the phone, reconnect the USB cable, and switch the USB mode from Charging only to File Transfer, MTP, or Android Auto. Also check the Allow USB debugging? popup, update the USB driver, try another data cable, or revoke USB debugging authorizations and reconnect the phone.
USB debugging is safe when you only allow your own trusted computer. It can become risky on public, shared, or unknown computers because an authorized computer may send ADB commands to your Android device. Avoid selecting Always allow from this computer unless the computer is yours and trusted.
Show MoreLess
drfone Android Data Recovery software Android Data Recovery

Recover deleted files, WhatsApp, and data from any Android device, even if broken.

drfone Android Screen unlocker Android Screen Unlock

Instantly remove screen locks and bypass Google FRP on Samsung, Xiaomi, OnePlus, Motorola & more.

drfone Android System Repair Android System Repair

Easily fix black screens, boot loops, and system crashes to restore your phone to normal.

drfone Android Phone Manager Android Phone Manager

Manage Android files, photos, contacts, and apps from your computer.

drfone phone transfer Phone to Phone Transfer

Transfer data from Android to Android, iPhone to Android, or Android to iPhone.

drfone Support Center Dr.Fone Support Center

Get help when your Android phone is not detected or USB debugging does not work.