How to Debug Samsung Galaxy S6 and S6 Edge
In this article
Debugging your Samsung Galaxy S6 or S6 Edge means enabling Developer Options and USB Debugging so your phone can talk to a computer for app testing, log reading, or file transfers. You'll need the phone, a USB cable, and a computer with the official Samsung USB drivers installed (or the Android SDK platform tools). The process is the same for both models since they run the same software.
What You'll Need
- Samsung Galaxy S6 or S6 Edge with the screen working
- A USB cable that supports data (not just charging)
- A computer (Windows, Mac, or Linux) with a USB port
- Official Samsung USB drivers installed on your computer (for Windows; Mac and Linux usually work without extra drivers)
- Optional: Android Studio or the Android SDK Platform Tools for advanced debugging (adb, logcat)
Step-by-Step
- Unlock your phone and go to the home screen.
- Open the Settings app. It's the gear icon in the app drawer or notification shade.
- Scroll down and tap “About phone.” On some versions, it's under “System” or “General management.”
- Find “Software information.” Tap it.
- Tap “Build number” seven times. You'll see a countdown “You are now 3 steps away from being a developer.” Keep tapping until you see “You are now a developer!”
- Go back to the main Settings screen. You'll now see “Developer options” in the list (near the bottom, sometimes under “System” or “General management”).
- Tap “Developer options.” Toggle the switch at the top to ON if it isn't already.
- Scroll down and find “USB debugging.” Toggle it ON. A dialog may ask you to allow USB debugging – tap “OK.”
- Connect your phone to your computer using the USB cable. On your phone, a prompt may appear: “Allow USB debugging?” Check “Always allow from this computer” if you want to avoid repeats, then tap “Allow.”
- Verify the connection. On your computer, open a command prompt or terminal and type
adb devices(if you have the Android SDK tools installed). You should see your device listed as “device” (not “unauthorized”). If you don't have adb, you can check in Windows Device Manager that the phone shows up as “ADB Interface” or “Samsung Android USB Device.”
Once USB debugging is enabled, you can use Android Studio, adb commands, or other debugging tools to read logs, install apps, or test your app. The same steps work for both the Galaxy S6 and S6 Edge.
Common Mistakes
- Tapping “Build number” too slowly or not exactly seven times. It must be seven taps in a row; if you pause too long, the counter resets.
- Forgetting to toggle “USB debugging” ON. Merely enabling Developer Options doesn't turn on USB debugging.
- Not allowing the USB debugging prompt on the phone. If you tap “Deny,” the computer won't see the device as authorized.
- Using a charge-only cable. Some cables don't carry data; use the original Samsung cable or one known to support data.
- Not installing the Samsung USB drivers on Windows. Without them, the computer may show an unknown device or “ADB” driver error.
- Looking for Developer Options in the wrong place. On some Android versions, it's under “System” or “General management,” not directly on the main Settings page.
Tips
- Keep Developer Options enabled only while debugging. Once you're done, you can turn off USB debugging or even disable Developer Options entirely to reduce security exposure.
- Use the “Always allow from this computer” checkbox to avoid repeated prompts, but only on computers you trust.
- If you're doing app development, install Android Studio – it includes the necessary SDK tools and adb.
- For wireless debugging (if you need it), you can use adb over Wi-Fi, but that requires a rooted device or Android 11+ – the S6 runs Android 5.0 to 7.0, so wireless debugging isn't officially supported; stick to USB.
- If you're on a Mac or Linux, you may not need extra drivers. Just install the platform tools and run adb.
Troubleshooting
If the computer doesn't recognize your phone:
- Try a different USB port (preferably a USB 2.0 port on the back of a desktop).
- Try a different USB cable – many cables are charge-only.
- Unplug and replug the phone; then check the phone for the “Allow USB debugging?” prompt.
- On Windows, go to Device Manager and look for “Samsung ADB Interface” or a device with a yellow exclamation mark. Right-click and “Update driver” to reinstall the Samsung USB driver.
- Restart both the phone and the computer, then reconnect.
If adb shows “unauthorized”:
- On the phone, revoke USB debugging authorizations: go to Developer options > “Revoke USB debugging authorizations” and confirm.
- Unplug the cable, plug it back in, and tap “Allow” on the new prompt.
If Developer Options don't appear:
- Make sure you tapped “Build number” exactly seven times. If you see “You are now a developer!” but the option doesn't show, go back to the main Settings screen and scroll down – it may be under “System” or “General management.”
- If it still doesn't appear, restart the phone and check again.
If the phone asks for a password after enabling Developer Options: That's normal – it's a security measure. Enter your PIN, pattern, or password to continue.
Frequently Asked Questions
Do I need to root my Galaxy S6 to enable USB debugging?
No. USB debugging is a standard Android developer feature and does not require rooting. Rooting is not necessary for any debugging step.
Will enabling USB debugging void my warranty?
No. Enabling Developer Options and USB debugging is a software setting and does not void your warranty. However, rooting or flashing custom firmware might.
Can I use USB debugging to recover deleted files on my S6?
USB debugging alone won't recover deleted files. It allows data access for development purposes, but recovery requires specialized software and usually a rooted device, which is risky. Better to use a backup service.
Why does my computer show “device not recognized” even after enabling USB debugging?
This usually means the USB driver isn't installed correctly or the cable doesn't support data. Reinstall the Samsung USB driver (from Samsung's official website) and try a different cable.
Is it safe to leave USB debugging on all the time?
It's not recommended for daily use because it can make your device more vulnerable to attacks when connected to untrusted computers. Turn it off when you're not debugging.
Can I enable USB debugging on a Galaxy S6 with a broken screen?
If the screen is completely unresponsive, you can't navigate to Settings. You might use an OTG cable with a mouse to control the phone, but that requires the screen to at least display. If the screen is black, you may need professional repair.