Comprehensive Guide To ADB Commands
You will have noticed that here on the portal we tend to harp on about the Android Debug Bridge (ADB for short) quite often. There’s a good reason for that though, as not only is it one of the most useful and versatile tools available, it is incredibly easy to use once you get started. XDA Senior Member Iamareebjamal has put together a thorough explanation of how to get ADB set up and the most commonly used commands to manipulate your device and gather those crucial logcats for developers.
There are a multitude of different things that you can achieve via ADB, from rebooting the device into various states, pushing/pulling & installing/uninstalling files, and even backing up your device. It also allows you to execute what’s known as an ADB shell and navigate the file structure using commands that Linux users will be familiar with.
Quite possibly the most useful function of ADB from a development point of view is the ability to generate a complete real time log of what is happening on the device at any given time. Step into any development thread here on XDA, and there’s a pretty good chance you’ll find someone being asked to provide a logcat. As the old saying goes, logcat or GTFO.
All of these commands and more are explained in detail over in the tutorial thread. So check it out if you’re new to ADB or just looking for a little refresher course.