A prerequisite to these tricks is installing ADB on your PC. Follow along for the operating system on your computer 🖥️.
What Is ADB (Android Debug Bridge)
The internal structure of ADB is based on the classic client server architecture. There are three types of ADB (Android Debug Bridge);
- The client, i.e. the PC or Mac you have connected your Android device.
- A daemon (adbd) which run commands on a device. The daemon run as a background process on each device.
- A server, which manage communication between the client and the daemon. The daemon runs as a background process on the PC/Mac
How To Install ADB (Android Debug Bridge) On Microsoft Windows
In this guide, we will show you how to install ADB on Windows in quick and easy steps.
- Download the Android SDK tools platform file for windows.
- Extract the contents of the zip file into an easily accessible folder 📁.
- Open Windows explorer and browse to where you extracted the contents of the zip file.
- Open a command prompt from the same directory as the ADB binary. Do this by holding Shift and Right-clicking within the folder then click the *open command window here* option. (Some windows 10 users may see PowerShell instead of Command Prompt)
- Connect your tablet or smartphone to your computer with a USB cable. Change the USB mode to file transfer (MTP) mode.
- In the command prompt window, enter the following command to launch the ADB daemon: adb devices
- On your phone's screen,you should see a prompt to allow or deny USB debugging access. Tap the always allow from this computer check box if you never want to see that prompt again and press ok.
- Finally, re-enter the command from step #6. If everything is successful, you should now see your devices serial number in the command prompt or PowerShell window.
Congrats! You can now run any ADB command on your device.