Now you can Subscribe using RSS

Submit your Email


Top 10 ADB commands to know for beginners.

Vishal Shrestha

Welcome fellow Android enthusiast, this is the list of some basic Android Debug Bridge (ADB) commands that I think an Android user should know in order to exploit his/her Android device fully.
 Let this list refresh your memory or teach you some new stuff to delve into the Android world.


To begin with, to have to enable USB debugging in your Android's device system setting, Under developer options. Don't see any such option, go to Settings -> About phone -> and tap Build number 7 times and see the magic!

Once you are a "Developer", you can start using these commands if you have connected only one device or if you have multiple devices connected, you will need to use the -d, -e, or -s options to specify the target device for which the command needs to be used. So, here we go-

Basic Android debug bridge(ADB) commands:

1. adb devices 
Using this command, you can check the list of all the attached emulators or device instances. 

2. adb push
You can use this command to copy a specified file from you development computer to the selected device.

3. adb pull
This command copies a specified file from the chosen device instance to your development computer. 

4. adb reboot
This command simply reboots your device. You can use this after flashing when you wish to reboot.

5. adb reboot recovery
If you want to flash a ROM you will need to boot into recovery. This command will switch off your phone and directly reboot into recovery.

6. adb reboot fastboot
This command will directly take your device to fastboot mode instead of going into bootloader first.
In this mode you can flash custom recoveries as well as custom ROMs.

7. adb reboot bootloader
This usually applies to devices where you have the bootloader functionality. This command reboots your device into bootloader mode. In bootloader mode, you can unlock your bootloader, reboot into fastboot and recovery mode, and do a few other tasks.

8. adb shell
This command will start a remote shell in the target emulator or device instance. Android provides a Unix shell to access the operating system's services.

9. adb install
This command is used to install an Android application to an emulator/device. The full path to Android APK that needs to be installed must be provided in the command
10. adb help
Finally, If you are lost in the sea of commands, the help command is here to help you. This command prints a list of  supported adb commands that you can use.

These were some basic commands that I thought an Android user that often connects the device to PC should know. You can try it out know and just this little bit of knowledge can be helpful for you in the future. As usual, let you thoughts fly in the comments section. Cheers!

Vishal Shrestha / Author & Founder

A developer by profession, a born Adventurer. I mainly do Android but like to get my hands dirty with web development and a little bit of Python. I would't rather go on a Trek than a party and you can find me having a few rounds with the heavy bag to let out the steam ;)

For Business info : My Portfolio Site.


Post a Comment

Coprights @ 2017 | The Code City by Vishal Shrestha Vishal Shrestha