How To Enable USB Debugging On Android Device
An android there brings unlimited features and is easy to customize. This can be achieved through several ways, where the first one must be rooting , the other can be installing custom ROMs and tweaks.
But before you do any of these procedures, you need to connect between your PC and Android device. One such way can be done by the Android Debug Bridge (ADB), and to allow PCs and devices to communicate and recognize any command, it is important to enable USB debugging first.
ADB is a command line tool used by PCs to communicate and establish virtual links with Android devices. This connection can then be used to print logs, reboot the device into different modes, manage system files, open a root shell, install zip updates, and more.
ADB is very useful for Application, ROM and kernel developers, to track their projects that may be crashing. On the other hand, it is also useful for experienced users, so that they can give proper feedback to developers.
Most of our upcoming tutorials will require you to enable USB debugging on your Android phone, in order to use and operate ADB commands. The process is short and easy, but not everyone knows how to do it. This will happen when we enter the location and help our users enable USB debugging on Android.
Note : Enabling USB debugging will not harm the Android phone. The steps mentioned below are meant only for devices running Android Ice Cream Sandwich 4.0 or higher.
Steps To Enable USB Debugging
- Open the phone’s app drawer and go to Settings.
- Now, browse the settings and look for the section named About phone (This section is common in almost every Android smartphone/tablet). If you are running Android 8.0 or above, you will need to head to Settings > System > About phone.
- Look for Build number. Tap the build number for 7 times. If so, a notification will appear – Developer mode has been turned on!
- By doing this, you have enabled Developer options in Settings, and it is placed right above About phone.
- Go to Developer options and make sure it’s enabled.
- Scroll down a bit until you see USB debugging, and then enable it.
- You will be prompted with a message, select OK.
Here he is! The toggle related to USB debugging should now be turned on. You can now go ahead, connect your phone to PC and operate on ADB commands.
Some Common ADB Commands
- List of all devices currently communicating with the PC via ADB.
adb devices
- Push/transfer files to a specific directory on the phone.
adb push <file-name-with-extension> <transfer-destination>
- Pull/transfer files from phone storage to PC.
adb pull <destination-to-file-and-file-name> <destination-to-extract-PC>
- Reboot the device into OS mode.
adb reboot
- Reboot the device into bootloader mode:
adb reboot bootloader
- Reboot the device into recovery mode:
adb reboot recovery
ADB and fastboot, both are Android platform tools packaged in the Android SDK. You can now set up ADB access on the device to perform many tutorials and tips. Next try our tutorial How to Install ADB on Windows, Linux, and macOS.
If you want to hide Developer options from Settings for some reason, you can go to Settings > Apps. Scroll down and open the Settings app and Clear Data. If you have any issues regarding enabling/disabling USB debugging on your Android phone or tablet, you can leave a comment.