If you are keenly interested in fixing small by yourself, then you would have heard about ADB or Android Debug Bridge! It’s an efficient and highly reliable tool which is used equally by professionals and novices! In fact several guides and advanced Android tutorials also utilize this amazing tool for debugging small glitches! Also, Android Debug Bridge is extremely helpful when your Android device is working abnormally! So, let’s get started and know how you can work on the same! But first learn to install ADB on Windows!
Installing ADB On Windows System
Installing ADB is extremely simple! All you have to do is download the standalone ADB zip file and extract the same! That’s it! Now open command prompt and use the command given below to navigate through ADB.
cd c:\ADB
Now hit enter and connect your device with the help of USB so that you can start working! Now let’s get started and know about the commands to help you!
- Initiate or kill functioning of ADB server
Yes, it is quite important to initiate and terminate the functioning of server before you start working on the same! To start use command:
ADB start-server
And to stop it, use:
ADB kill-server
- How To know if your Android device is connected
In order to perform any action, you’ll need to check if your Android device has been linked to your PC. To check the same, you need to enter the following Android terminal command:
ADB devices
- Copy Files from PC to Phone and Vice Versa
Though there are apps available for this, you can move your files from PC to Phone and the other way round using the following commands:
From computer to PC: ADB push
From phone to PC: ADB pull
Do not forget to add actual source and destination instead of and .
- Install or Uninstall applications
If you wish to install or uninstall any apk file, you can do so with single line Android terminal command that goes as:
Install: ADB install “path/to/file.apk”
Uninstall: ADB uninstall
- Creating backup
There are several ways with which you can take backup on your phone, but doing so with cmd mode, all you have to do is type a command that is given below!
ADB backup -all
- Reboot Android phone
As we know that there are three ways of rebooting an Android device, namely recovery mode, bootloader mode and fastboot mode! You can get these done via commands given below!
ADB reboot-recovery
ADB reboot-bootloader
ADB fastboot
- Know the serial number of the device connected
You can determine the serial number of the phone that is being linked to your device by entering the Android terminal command given below:
ADB get-serialno
However, there are alternative methods of doing so. For instance you can just dial “*#06#” or remove the battery if possible to find out about the serial number of your device or you can refer to the warranty card that has been given to you while buying this device!
There is much more you can do with Android terminal commands and Android Debug Bridge! To know more about them, stay tuned to our blogs! In case you have any views regarding this, do let us know in the comments section below!