USB Debugging mode allows users to access activities inside Android devices on a computer via USB connection. Enabling USB Debugging requires the use of the Android development kit (SDK). It allows users to send advanced commands to phones from computers using Android Debug Bridge (ADB).
The reason many people want to turn on USB Debugging:
Root Android device so you can install other operating systems.
Use ADB to install the APK file from the computer and execute other commands via USB.
Using Fastboot to recover Android devices has become a brick.
Create a backup of all data using the Android SDK.
How to turn on USB Debugging on Android
To do this, you need to access the hidden programming options menu in system settings.
Step 1: Open Settings > tap About phone or About tablet .
Step 2: Press Build number continuously until you see the message " You are now a developer. "
Step 3: Return to the Settings menu , then touch Developer options .
Step 4: Touch the switch button in the upper right corner to turn on programming options (if it is not already open).
Step 5: Touch OK to confirm.
Step 6: Touch the button to turn on USB Debugging .
Step 7: Click OK to confirm.
Step 8: Next time you connect the device to the computer, you will get a question asking if you want to grant USB debugging permission to the computer. Click OK to continue.
How to turn off USB Debugging on Android
To turn off USB Debugging, return to the Developer options menu, tap the switch for USB Debugging again.
To reset the computer to access Android devices in this mode, return to the Developer options menu, click Revoke USB debugging authorizations .
Putting the device into debugging mode has many potential security risks. Therefore, you will receive a safety warning when connecting the device to a new computer. Ideally, you should avoid turning on USB Debugging on Android when using public networks.