USB Debugging is one of the most essential developer options on Android phones. It allows you to do advanced operations like transferring a programmed app from a USB flash drive or computer to your phone. It’s also helpful when your phone’s screen is broken and you must back up your files using a PC.

Well, if you ever need to use USB Debugging, you can always enable it on your phone’s Settings. Yes! You just have to tap on the Build Number in About Phone to activate the Developer Options. There, you can toggle it on. However, DO may not appear sometimes due to glitches.

But you shouldn’t worry. Besides Developer Options, you can also enable USB Debugging using ADB Command or by performing ADB debugging. Below, we’ve prepared a tutorial for you if that’s the case. Read on!

ADB Debugging Poster

FYI: What Is ADB Debugging

ADB Debugging is basically the method that uses ADB or Android Debug Bridge to install or debug apps on Android devices. This includes enabling USB Debugging, too, All of these can be done by using the ADB tool on a computer (typically, Windows PC).

As its name suggests, it acts as the bridge between your PC and Android phone. Thus, you can use it to send commands to your phone to enable USB Debugging.

Android Data Backup & Restore

One-click Option

Android Data Backup & Restore

Save Android Data to Computers with one Click

  • Put data from Android and SD to Windows & Mac
  • Preview available before restoring backup files
  • Recover multiple types of data directly to phone

*Back up & restore mobiles up to Android 14 (Samsung, Xiaomi, Huawei, OPPO, Motorola, 6000+ more)

Tutorial: How to Enable USB Debugging Using ADB Command

In this tutorial, you will need a compatible USB data cable, a Windows PC, and the SDK Platform Tool (ADB Debugger). Just make sure that you have a cable that doesn’t have connectivity issues to avoid interrupting the process and starting over again.

Step 1

Shut down your phone and boot it into Recovery Mode. Typically, you just have to hold the Power and Volume Down keys (for 10-15s) when the phone is completely turned off to do it.

However, the process may vary depending on your phone brand. So, kindly search for the specific instructions for your phone’s brand and model.

Recovery Mode Buttons

Step 2

After that, proceed to your PC and open a web browser. Download the newest SDK platform tools and unzip them to a new folder.

Step 3

Connect your phone using the USB cable to the PC. Then, open the folder where you’ve extracted the downloaded files, and go to the “platform-tools” folder.

There, click File in the upper-left corner and hit Open Windows PowerShell. The command prompt should appear right away.

ADB Command Window

Step 4

On the Command window, type inadb devices” and then press the Enter key. A list of all the connected devices should appear. You should find the name of your device or its ID number in the list.

Step 5

After that, just paste and enter the following commands one by one.

  • adb shell
  • $ mount data
  • $ mount system

Step 6

Copy the file named “persist.sys.usb.config” from your phone to the PC. You can do it by using the command below:

  • adb pull /data/property/persist.sys.usb.config C:\Users\Technastic\Desktop\

Then, open the file using a text editor and add “mtp,adb” to it. Then, click on the File option to save the changes. Next, put the file back to the phone with the following command:

  • adb push “C:\Users\Technastic\Desktop/persist.sys.usb.config” /data/property

Step 7

You also need to get another file from your phone. It’s named “build.prop”. You can download it with this command:

  • adb pull /system/build.prop C:\Users\Technastic\Desktop\

Then, edit the file by adding the following codes. Then, save it afterward

  • persist.service.adb.enable=1
  • persist.service.debuggable=1
  • persist.sys.usb.config=mtp,adb

Step 8

Then, push the edited file back to the phone using this command:

  • adb push “C:\Users\Technastic\Desktop/build.prop” /system/

Step 9

When the files are back on the phone, just restart your phone, but don’t hold the Power button to do it. Instead, use the command “adb reboot” to do it.

After all that, USB debugging should be enabled, and you can finally use it to back up your files or for whatever purpose you may need it for.

Alternative: How to Enable USB Debugging using OTG

If your phone has an unresponsive screen and you want to enable USB Debugging, you can do it by using the OTG (USB On-the-Go) feature. This works on all Android phones running on version 3.1 and up. For this to work, you need to have an OTG adapter and a USB wired/wireless mouse.

Step 1

Attach the OTG adapter to the phone’s USB port. Then, connect the mouse to the adapter. An arrow or cursor should appear on the screen right away.

OTG Adapter And Mouse

Step 2

Next, use the mouse to navigate to your phone’s Settings. There, scroll down to About Phone and click on Build Number seven times until you see “You are now a developer!”.

Android USB Debugging

Step 3

Go back to the main settings menu and click on Developer Options. You can find it under About Phone. In there, look for USB Debugging and enable it.

That’s how simple it is. However, this will only work if you’ve fulfilled the requirements above and the phone’s screen is still visible and readable.

Android Data Backup & Restore

One-click Option

Android Data Backup & Restore

Save Android Data to Computers with one Click

  • Put data from Android and SD to Windows & Mac
  • Preview available before restoring backup files
  • Recover multiple types of data directly to phone

*Back up & restore mobiles up to Android 14 (Samsung, Xiaomi, Huawei, OPPO, Motorola, 6000+ more)

Conclusion

If you can’t enable USB debugging on your phone using the Developer Options, don’t worry. You can always turn it on via ADB debugging. Just follow all the commands above and you can certainly do it yourself.

However, if you’re struggling on your PC, don’t be afraid to ask a techy friend or a family member to help you. Also, you can visit a smartphone technician in case ADB doesn’t work.

Related Reading: