Android Debug Bridge Command List – Android Debug Bridge (ADB) is a command line tool for interacting with Android devices from your computer. ADB commands allow you to perform a variety of tasks, including some that would be difficult or even impossible to accomplish without ADB. In this article we cover nine essential ADB commands that every Android user should know.
So, in this summary opportunity, Kepowin will summarize the list of Android Debug Bridge Commands. So, what are the commands? Let’s see until the end.
How Do I Set Up ADB?
Read also – 10 Best Sports Apps
ADB is distributed via the Android SDK Platform-Tools package. If you have Android Studio installed on your computer, then you can install ABD via SDK Manager
1. On the Android Studio toolbar, select “Tools -> SDK Manager”.
2. Find the “Android SDK Platform-Tools” package and select it.
3. Click “OK.”
Android Studio will now download the Platform-Tools SDK package. Alternatively, you can download the standalone Android SDK Platform Tools package
To run ADB, navigate to the “platform-tools” folder you just downloaded. This folder should contain the “adb” program.
You will have to open a new Terminal or command prompt window and change the directory so that it points to this ADB program. For example, my command looks like this:
You are now ready to run ADB commands!
1. Show Connected Devices
When using ADB commands, you need to make sure the device you want to use is actually connected to your computer. Even though ADB has improved significantly in recent years, it still sometimes struggles to “see” a connected smartphone or tablet.
The following command will ensure that the ABD is ready to communicate with your Android device:
After entering this command, the serial number of your connected device will appear in the command prompt / Terminal.
If the device doesn’t show up, make sure you enable USB debugging on your Android device.
2. Reboot Your Device
Read also – Best Writing Apps For Android
This command reboots your device in normal mode. You will usually run this command after you have flashed something to your device and need to reboot.
This command can also be useful if you are having problems with your Android device – for example, if your smartphone suddenly becomes unresponsive.
3. Reboot into Recovery
Android devices have a recovery mode, which is a special bootable partition. If you are having problems with your Android device then you may be able to fix this problem by booting into recovery mode.
If you want to reboot your device into recovery mode, then you can issue the following command:
Your device will turn off and then reboot into recovery mode. If you have installed custom recovery on your device, it will load instead of stock Android recovery.
4. Reboot to Bootloader Mode
Read also – 9 ADB Commands for Android
The bootloader is the first thing that runs when you boot your Android device. If you want to unlock the bootloader, reboot into recovery mode, or perform any other rooting related task, you will need to boot your device into bootloader mode.
5. Reboot to Fastboot
Android’s fastboot mode helps you flash custom recoveries as well as custom ROMs. Instead of going into the bootloader and then selecting fastboot, you can launch directly into fastboot mode using the following command:
6. Send Files to Your Device
Read also – 10 Best Screenshot Apps
There are many apps dedicated to helping you transfer files between your computer and your Android device, such as OpenMTP. However, if you only want to transfer files occasionally, downloading the entire app might feel overwhelming.
The adb pushcommand lets you send files to your Android device. You just need to specify the source location of the file and the destination for sending the file:
- adb push Source Destination
For example, you might have a file named “myapplication.apk” stored on your Desktop that you want to put in your smartphone’s “downloads” folder. In this scenario, your ADB command might look like this:
- adb push / Users / jessica / Desktop / myapplication.apk / sdcard / downloads
The file will now be pushed from your laptop or computer and into the “Download” folder of the attached smartphone or tablet.
7. Get Files from Your Device
We’ve looked at pushing files, but it’s also possible to pull them. This ADB command lets you pull files from your Android device so they appear on your connected laptop or computer.
You just need to specify the file you’re dragging and where it’s stored on your computer:
- adb pull Destination FileLocation
Let’s imagine that we want to pull the file “myphoto.jpg” from our smartphone or tablet and save it to our Desktop. The command will look like this:
- adb pull / sdcard / myphoto.jpg / Users / jessica / Desktop
8. Install the App on Your Device
When you download an app from a source other than Google Play, you may have to push the app from your laptop to your smartphone or tablet as an APK file.
To install an APK file, you just need to specify the location of that APK:
For example, to install an APK named MTE.apk that is stored on the Desktop, you would run the following command:
- adb install / Users / jessica / Desktop / MTE.apk
This APK file will then be pushed to Android and installed automatically.
9. Reinstall System
Sometimes you may need to reinstall your entire device system. This puts the “/system” partition into writable mode, and must be run before loading any files to this partition. Note that it is only possible to reinstall the system on a rooted Android device.
To reinstall, run the following command:
Short Conclusion
So, that’s a brief discussion that we have summarized in this article with a discussion of the theme, namely the 9 Commands Android Debug Bridge
If you like our summary, please share it as widely as possible starting from social media such as WhatsApp, Facebook, Instagram.
And various other things as your appreciation for reading the admin summary that we have made so far.
Hopefully this summary can be useful for all of you in this meaningful discussion.