sodcalculator

10 Tech How-To

How to Unlock Developer Options & Enable USB Debugging

Guide 10-20823 · Updated · Step by step

This guide shows you how to unlock the hidden Developer Options menu on Android and turn on USB debugging, which lets your phone communicate with a computer for tasks like transferring data, installing apps, or using ADB commands. You’ll need your Android device and, for most methods, a computer with the appropriate USB drivers (though the steps for enabling the setting itself don’t require a computer).

What You’ll Need

  • Your Android phone or tablet.
  • Access to the Settings app.
  • A computer (optional, but helpful for verifying the connection and for using ADB commands).
  • A USB cable that supports data transfer (not just charging).

Step-by-Step

  1. Open the Settings app. This is usually a gear icon in your app drawer or notification shade.
  2. Scroll down and tap “About phone” (or “About device” / “About tablet”). On some devices, this is under “System” first.
  3. Find the “Build number” entry. It’s usually near the bottom of the About page. On Samsung devices, it may be under “Software information.”
  4. Tap “Build number” seven times. You’ll see a message counting down, like “You are now 3 steps away from being a developer.” Keep tapping until you see “You are now a developer!”
  5. Go back to the main Settings screen. You’ll now see a new entry called “Developer options.” On some devices, it’s under “System” or “Additional settings.”
  6. Tap “Developer options” to open it. There’s a toggle at the top to enable it – make sure it’s turned on.
  7. Scroll down to the “Debugging” section. Look for “USB debugging.”
  8. Toggle “USB debugging” to ON. A confirmation dialog may appear – read it and tap “OK” or “Allow.”
  9. Connect your phone to your computer with a USB cable. If you’re planning to use ADB, you’ll see a prompt on your phone asking to “Allow USB debugging?” – check “Always allow from this computer” and tap “Allow.”
  10. Verify the connection (optional but recommended). On your computer, open a command prompt or terminal and type adb devices. You should see your device listed as “device” (not “unauthorized” or “offline”).

Common Mistakes

  • Tapping the wrong item. Make sure you tap “Build number,” not “Android version” or “Kernel version.”
  • Not tapping seven times. It must be exactly seven taps (some devices require more, but seven is standard). If you stop early, the menu won’t appear.
  • Forgetting to enable the Developer options toggle. Simply finding the menu isn’t enough – you must turn on the master switch at the top.
  • Using a charge-only USB cable. Some cables only supply power and can’t transfer data, so the computer won’t recognize your phone.
  • Skipping the “Allow USB debugging” prompt. If you don’t tap “Allow,” the computer won’t have permission.

Tips

  • Keep Developer options enabled. It doesn’t hurt to leave it on; it only adds a menu you can ignore.
  • Use a high-quality cable. A good data cable prevents connection issues.
  • Install the correct USB drivers. On Windows, you may need to install the manufacturer’s USB drivers (e.g., Samsung, Google, OnePlus) for ADB to recognize your device.
  • If you’re using a Mac or Linux, you usually don’t need extra drivers. But you may need to enable “USB tethering” or “File transfer” mode on your phone to make it visible.
  • Set your phone’s USB mode to “File Transfer” (MTP). This is often required for the computer to see the device.

Troubleshooting

I tapped Build number seven times, but Developer options didn’t appear. Wait a few seconds and try again. Some manufacturers (like Xiaomi) require tapping the “MIUI version” instead. Also, ensure you’re tapping the correct field – on some devices, “Build number” is under “Software information.”

USB debugging is grayed out. This usually happens when the Developer options toggle is off. Go back and turn it on. If it’s still grayed out, try restarting your phone.

My computer says “unauthorized” when I run adb devices. Unplug the cable, then plug it back in. On your phone, you’ll see a prompt asking to allow USB debugging – tap “Allow” (and check “Always allow from this computer” to avoid repeats). If the prompt doesn’t appear, go to Developer options → “Revoke USB debugging authorizations,” then reconnect.

My phone isn’t detected at all. Try a different USB port, a different cable, or restart both devices. On Windows, open Device Manager and check for any devices with a yellow exclamation mark – if so, update the driver manually. On your phone, try switching the USB mode from “Charging” to “File Transfer” in the notification shade.

I enabled USB debugging but ADB still says “device offline.” This often happens if the authorization wasn’t accepted. Revoke authorizations (as above) and reconnect. Also, make sure your phone’s screen is unlocked during the process.

I can’t find Developer options after updating my phone. Some updates reset the hidden flag. Simply repeat the steps to re-enable it.

Frequently Asked Questions

Is it safe to leave Developer options enabled?

Yes, it’s generally safe. The main risk is accidentally changing a setting that affects performance or security. If you’re not using it, you can turn off the master toggle to hide it again.

Will enabling USB debugging void my warranty?

No, enabling USB debugging alone does not void your warranty. However, using it to unlock the bootloader or root your device might, depending on the manufacturer.

Do I need a computer to enable USB debugging?

No, you can enable it directly on your phone through Settings. A computer is only needed to use the debugging features after it’s enabled.

What’s the difference between USB debugging and developer options?

Developer options is a hidden menu with many advanced settings. USB debugging is one specific option within that menu that allows your phone to communicate with a computer via ADB.

Why does my phone ask to allow USB debugging every time I connect?

That’s a security feature. If you check “Always allow from this computer,” it will stop asking for that specific computer. If you don’t check it, you’ll be prompted each time.

Can I disable USB debugging later?

Yes, simply go back to Developer options and toggle USB debugging off. You can also turn off the entire Developer options menu if you prefer.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →