Mode USB debugging on smartphones Samsung is a hidden function, without which it is impossible to perform most technical operations: from firmware via Odin to debugging applications via Android Studio. Despite the fact that the option is hidden in the menu for developers, any user can enable it - the main thing is to know the exact sequence of actions and nuances of the interface One UI.
In this article you will find up-to-date instructions for all modern models Samsung Galaxy (from S10 to S24 Ultra), including devices on Android 12-15 with shell One UI 4.0-6.1. We will look at not only the standard way to turn it on, but also alternative methods for cases when the Suddenly developer menu disappears or the phone is not detected by the computer. We will pay special attention a common error with the absence of the โBuild numberโ item in the settings โits solution is often missed even in the official documentation.
If you plan to use USB debugging for rooting, unlocking the bootloader or installing custom firmware, be sure to read the article to the end. In the last section, we have collected critical security and compatibility warnings that will help you avoid device bricking.
What is USB debugging and why do you need it on Samsung
USB debugging (USB Debugging) is a communication protocol between an Android device and a computer that allows:
- ๐ง Install and debug applications via
ADB(Android Debug Bridge) without publishing to Google Play. - ๐ฑ Recover data after a system reset or damage (for example, via Dr.Fone or Tenorshare).
- ๐ Flash the device via
Odin,HeimdallorFastboot. - ๐ ๏ธ Unlock the bootloader (bootloader) to install custom recovery (TWRP) or kernels.
- ๐ฅ๏ธ Manage your smartphone from a PC via scrcpy, Vysor or TeamViewer QuickSupport.
On devices Samsung this mode works in conjunction with drivers Samsung USB Driver for Mobile Phonesthat must first be installed on the computer. Without them, even with debugging enabled, the system may not recognize the phone or give an error. data-i="63">โ ๏ธ Attention: Enabling USB debugging disables some of the device unauthorized.
โ ๏ธ Attention: Enabling USB debugging disables some protections Knoxprotections, which may trigger the Knox 0x1flag. This will void your warranty and block access to Samsung Pay, Secure Folder and some corporate functions.
If you only use debugging for file transfers or backups, consider alternatives:
- ๐ For file transfers: mode
MTP(Media Transfer Protocol) or Samsung Smart Switch. - ๐ For backups: built-in function
Backup and restorevSettings โ Accounts and archiving. - ๐ฑ๏ธ To control from a PC: Samsung DeX or Microsoft Your Phone.
Preparation: checking the version of Android and One UI
Before enabling USB debugging, make sure that your device is running a supported version of the software. The developer menu interface may differ depending on:
- ๐ฑ Version Android (12, 13, 14 or 15).
- ๐จ Shell versions One UI (4.0, 5.0, 5.1, 6.0 or 6.1).
- ๐ท๏ธ Regional firmware (for example, SER for Russia or XAA for USA).
To find out the exact version:
- Open
SettingsโAbout phone. - Scroll down to the block
Software information. - Remember or write down the values:
Android version(for example, 14).One UI version(for example, 6.1).Build number(for example, UP1A.231005.007).
| Android version | One UI version | Samsung models | Features of enabling debugging |
|---|---|---|---|
| 12 | 4.0โ4.1 | Galaxy S21, Note 20, A52 | The developer menu opens after 7 taps on Build number. The "USB debugging" item is located in the section Debugging. |
| 13 | 5.0โ5.1 | Galaxy S22, S22+, A73 | Added protection against accidental activation: PIN code confirmation is required when debugging is activated. |
| 14 | 6.0 | Galaxy S23, Z Fold 5, A54 | Item Build number moved to Software information โ Software version. |
| 15 | 6.1 | Galaxy S24, Z Flip 6 (2026) | Added warning about security risks when enabling debugging through unprotected USB ports. |
If your model is older Galaxy S9 (released before 2018), the interface may differ. For such devices, we recommend using special instructions at the end of the article.
โ ๏ธ Attention: On some firmware for corporate devices (Samsung Knox) the developer menu may be blocked by the administrator. In this case, you can enable USB debugging only through ADB with superuser rights.
Step-by-step guide: how to enable USB debugging on Samsung
Follow these instructions if your device is working. on Android 12โ15 with shell One UI 4.0โ6.1. For models up to Galaxy S10 see section about old versions.
Charge the phone at least 50%|Connect to a stable Wi-Fi network|Install Samsung drivers PC|Prepare a USB cable (preferably original)-->
Step 1. Activating the developer menu
By default, options for developers are hidden. To unlock them:
- Open
SettingsโAbout the phone. - Scroll down and tap on
Software information. - Find the item
Build number(in One UI 6.0+ it may be calledSoftware version). - Tap on it 7 times in a row. After 3-4 taps, the notification โYou are almost there!โ will appear, and after the 7th - the message โYou have become a developer!โ.
- ๐ Try updating the software through
Settings โ Software update. - ๐ฑ On some firmware (for example, for Galaxy Tab S8) you need to tap on
MIUI version- this is a localization error, can be corrected by resetting the settings. - ๐ง For devices with corporate policy (Knox) may require a reset via
Recovery.
If item Build number is missing:
Step 2. Enable USB debugging
After activating the developer menu:
- Return to the main menu
Settings. - Scroll down and select
Developer options(may be called One UI 5.0+ may be calledDeveloper mode). - Find section
Debuggingand activate the switchUSB debugging. - In the window that appears, confirm the action by clicking
OKorAllow.
On One UI 6.0+ the system may request additional confirmation via PIN code, graphic key or fingerprintThis is a measure of protection against unauthorized access.
Step 3. Connecting to a computer and authorization
Now connect the phone to the PC via a USB cable:
- Select the connection mode
File transfer (MTP)orCharging only(debugging will work in any case). - A request will appear on the phone screen
Allow USB debugging?with a key devices. - Tick the checkbox
Always allow from this computerand clickAllow.
If request does not appear:
- ๐ Try another USB port (preferably USB 3.0 on the back panel of the PC).
- ๐ Restart your phone and computer.
- ๐ ๏ธ Update drivers Samsung USB Driver via Samsung Smart Switch.
- ๐ Disable your antivirus (for example Kaspersky or Avast), which may be blocking
ADB.
adb kill-server
adb start-server
This will restart the service and often solves connection problems.-->
Common errors and their solutions
Even if the instructions are followed correctly, users often encounter problems. We have collected the most common errors and ways to eliminate them.
Error 1: The "Build number" item is missing
If there is no item in the menu O phone or Build number or Software version:
- ๐ Update the software to the latest version via
Settings โ Software update. - ๐ฑ On some models (for example, Galaxy A13) the item is hidden under
Software information โ Android version- tap on it. - ๐ง Reset settings via
Settings โ General management โ Reset โ Reset settings(data not will be deleted). - ๐ ๏ธ For devices with Knox you may need to unlink from a corporate account.
What to do if you update the software impossible?
If the update is not available (for example, due to regional restrictions), try:
1. Install the firmware via Odin manually (instructions on SamMobile).
2. Use ADB to force enable the developer menu:
adb shell settings put global development_settings_enabled 1
adb shell am start -n com.android.settings/.DevelopmentSettings
3. Contact the service center Samsung to flashing.
Error 2: The phone is not detected in ADB ("device unauthorized")
If when you enter the command adb devices you see the status unauthorized:
- Disconnect and reconnect the USB cable.
- A request for debugging permission will appear on the phone - confirm it.
- If the request does not appear:
- Delete the file
adbkey.pubin the folder%USERPROFILE%\.androidon the PC. - Run
adb kill-serverand reconnect the phone. - Try another USB cable (preferably the original one from Samsung).
- Delete the file
Error 3: The developer menu disappeared after the update
After major updates (for example, From One UI 5.0 to 6.0) the developer menu may be reset. To return it:
- Tap again 7 times on
Build number. - If that doesnโt help, reset the settings via: Settings โ General management โ Reset โ Reset settings Attention: On some firmware
Settings โ General management โ Reset โ Reset settings. - For devices with Knox A full reset may be required (
Wipe DatathroughRecovery).
โ ๏ธ Attention: On some firmware for Galaxy S22/S23 after resetting, you need to re-authorize your account Samsung, otherwise USB debugging will not be enabled.
Alternative ways to enable USB debugging
If the standard method does not work (for example, due to damaged screen or locked menu), try one of the alternative methods.
Method 1: Via ADB (if debugging was enabled previously)
If USB debugging has already been activated at least once, you can enable it again via ADB:
adb shell settings put global adb_enabled 1adb shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS
adb shell input keyevent 3
After executing these commands, the developer menu will become available and you can enable manual debugging.
Method 2: Through Recovery Mode (for flashed devices)
If you have custom recovery installed (TWRP), you can enable debugging through it:
- Turn off the phone.
- Hold
Volume up + Powerto enterRecovery. - Select
MountโEnable ADB. - Connect the phone to the PC and use commands
ADB.
This method only works on devices with unlocked bootloader!
Method 3: Through Samsung Smart Switch (for older models)
On some models (for example, Galaxy S7/S8you can enable debugging via Samsung Smart Switch:
- Install Smart Switch on PC.
- Connect your phone and wait for recognition.
- In the app menu, select
AdvancedโDeveloper options. - Activate
USB debugging.
This method does not work on all firmware and may require additional drivers.
1. Integrity of the USB cable (try another one).
2. Availability of the latest drivers Samsung on. PC.
3. No physical damage to the USB port on the phone.
4. Bootloader status (on locked bootloader some ADB commands do not work).-->
USB debugging on older Samsung models (until 2018) year)
If you have an older device Galaxy S9 (for example, S8, Note 8, J5 2017), the interface for enabling debugging may be different. Here are universal instructions for Android 7โ9 with a shell Samsung Experience or One UI 1.0:
- Open
SettingsโAbout phone. - Tap on
Build number7 times (on some models you need to tap onAndroid version). - Return to the main menu
Settings- a new item will appear thereDeveloper options. - Go to
Developer optionsand enableUSB debugging. - Connect the phone to the PC and confirm permission for debugging.
- ๐ฑ
Settings โ General โ About phone โ Build number(7 taps). - ๐ง
Settings โ Advanced โ Developer options โ USB debugging. - Installing the old version Samsung USB Driver (for example, 1.7.45.0).
- Disable Knox via
Package Disabler(root access required). - ๐ต๏ธโโ๏ธ Remote access data through malware.
- ๐ฑ Installation of spyware applications without your knowledge.
- ๐ Bypass screen lock via
ADB. - ๐ฃ System damage with incorrect commands.
On devices with Android 5โ6 (for example, Galaxy S6, Note 5) the path may be different:
For models Galaxy J and Galaxy A (2016โ2017) you may need to:
Security: risks and how to minimize them
Enabling USB debugging opens up potential vulnerabilities for:
To protect the device:
Enable debugging only on trusted PCs|Disable after use|Do not connect to public USB ports (in airports, cafes)|Use cables protected from "juice jacking"-->
How to disable USB debugging
To deactivate the mode:
- Go to
Settings โ Options Developer. - Disable the switch
USB debugging. - For complete security, disable the developer menu:
- In
Settings โ ApplicationsfindSettingsand reset the data. - Or run the command:
adb shell settings put global development_settings_enabled 0
- In
What to do if your phone is stolen or lost
If you turned on USB debugging and lost the device, an attacker can:
- ๐ฑ Unlock the screen via
ADB(if there was no complex PIN). - ๐ Copy data from the internal memory.
- ๐ Install malicious software Software.
Immediately:
- Remotely lock the device via Find My Mobile (findmymobile.samsung.com).
- Reset data remotely (if the function is activated).
- Change passwords from Google i Samsung Account.
โ ๏ธ Attention: On devices with Android 12+ i One UI 4.0+ remote reset via Find My Mobile disables USB debugging, but does not completely delete data. For reliable erasing. use fastboot erase userdata (requires unlocked bootloader).
Frequently asked questions
โ Why does the phone not ask for debugging permission when connecting to a PC?
This can happen for several reasons:
- ๐ A non-original cable or a damaged port is used.
- ๐ฅ๏ธ Not installed on the PC drivers Samsung USB Driver.
- ๐ Service
ADBis not running (runadb start-server). - ๐ In the developer settings, the item is disabled
Cancel authorization for USB debugging.
Try connecting the phone to another USB port (preferably USB 2.0 on the motherboard) and restart ADB.
โ Is it possible to enable USB debugging without access to the settings (for example, if you forget the pattern key)?
Yes, but this will require:
- ๐ง Unlocked bootloader (bootloader).
- ๐ฅ๏ธ Computer with
ADBandFastboot. - ๐ฑ Ability to log into
Recovery ModeorDownload Mode.
Instructions:
- Turn off the phone.
- Hold
Volume down + Power + Bixbyto enterDownload Mode. - Connect to PC and flash TWRP via
Odin. - In TWRP select
Mount โ Enable ADB. - Run the command:
adb shell rm /data/system/gesture.key - Reboot the phone - the pattern will be reset.
โ ๏ธ This method does not work for everyone firmware and can lead to data loss!
โ How to enable USB debugging on a Samsung with a damaged screen?
If the screen does not respond to touches, but the image is visible:
- ๐ฅ๏ธ Connect the phone to the PC via
ADB(if debugging was enabled previously). - ๐ง Use the mouse via USB OTG (you need an adapter USB-C โ USB-A).
- ๐ฑ For models with DeX connect to the monitor via HDMI adapter and control from the keyboard.
If the screen is completely black:
- Try to connect blindly, remembering the number of clicks (for example, 7 taps in the center of the screen to activate the developer menu).
- Use
ADBviaRecovery Mode(if installed TWRP).
โ Why did USB debugging stop working after the software update?
Causes and solutions:
- ๐ Reset developer menu: Again Tap 7 times on
Build number. - ๐ง Changing security policy: The Android 13+ requires PIN confirmation every time you connect.
- ๐ ๏ธ Driver conflict: Remove old drivers Samsung via
Device Managerand install new ones. - ๐ฑ Blocking Knox: On corporate devices, debugging can be blocked by administrator policy.
If the problem persists, try:
- Reset settings (
Settings โ General management โ Reset). - Flash the device via
Odin(save the data in advance!).
โ Is it possible to enable USB debugging on Samsung via a computer without access to the phone?
No, if debugging has not been enabled previously. Activation requires physical access to the device in order to:
- Tap on
Build number. - Confirm permission to debug when connecting.
Exceptions:
- ๐ง If custom recovery is already installed on your phone (TWRP), you can enable
ADBthrough it. - ๐ฅ