[2023] 30+ Most Used ADB & FastBoot Commands for Android

The Ultimate List of ADB & FastBoot Commands for Android 2023: Android being the light and small counterpart of the Linux operating system has the shell commands running on its core compared to all user-friendly tap ‘UI’.And many times, when everything else doesn’t work, the last man standing will be the command console.

ADB or Android Debug Bridge does what the name says. And it’s the most effective way to control your Android device using your PC, from transferring files to running scripts. Quite often with the enthusiasts, it’s the only way to interact with your device when you’ve broken or messed up something with the software (you know what I mean). It’s very similar to the Linux Commands and you have an upper hand if you are familiar with it. But if you’re not, don’t worry. We got everything in our store to get you groomed and ready.

So, let’s take a look at the ADB commands and FastBoot Commands for Android that might make a difference between a minor heartache and a major heart-attack for you. (No pun intended!)


You can’t interact with your device if you don’t have the appropriate methods to interface with them. That’s where the ADB drivers come into play. You can get them for Windows, Linux, and Mac. Often, your phone’s manufacturer will provide them at their site. If not, grab it from the web!

Official Update > Download Latest ADB and Fastboot SDK Platform-Tools (2022)

Next thing is, you must’ve USB debugging turned on for the ADB to work properly. If you’ve wondered what that was for? This is the answer. ADB.

Now that we’ve got everything required, fire up the adb utility you downloaded and connect your phone to the PC and let’s start!

Other Important Fastboot Related Guides:

Most common ADB & FastBoot Commands for Android

The Syntax:

adb [-d|-e|-s <serialNumber>] <command>

The syntax is the format you should follow when giving instruction, for the system to recognize it.

The -d, -e and -s are parameters that specify the device to which the adb shell should tunnel the commands to.

-d  –(direct) Specifies that the device is connected to USB. Can return an error if more than one is connected.

-e   — Specifies that an emulator is running and adb should communicate with the emulator.

-s<serialnumber>   —When there are multiple devices, commands are directed to each individual by using their adb serial number.

Most Used ADB & Fastboot Commands for Android 2023

FastBoot Commands for Android


  1. adb devices – Shows all the devices adb can run on
  2. adb help – Displays the Help Documentation on ADB commands.
  3. adb install <path_to_apk> – Installs the apk file at the specified location.
  4. adb pull <device> <local> – Copies a file from the device to your system.
  5. adb push <local> <device> – Copies a file from your system to the device.
  6. adb logcat – Displays the log data onto the screen.
  7. adb bugreport – Displays the dumpsys, dumpstate and logcat data on the screen.
  8. adb jdwp – Lists the JDWP processes on the device.
  9. adb get-serialno – Prints the adb instance serial number string with the devices.
  10. adb get-state – Shows the status of the device.
  11. adb wait-for-device – It’s a command used to program delay before next command is issued. Generally, it executes when the device is online but it can be programmed to wait till another process is done. Like, installing an apk.
  12. adb start-server – It starts the adb server process.
  13. adb kill-server – It stops the adb server process.
  14. adb shell – It starts the remote shell command console in the device and lets you control the device through it.
  15. adb shell [shellcommand] – It’s used for an instance alone in case a particular command alone is required. After the execution, the shell terminates itself.
  16. forward <local> <device> – Forwards the socket connections from system ports to device. It can be used with various operations such as tcp and jdwp.
  17. ppp <tty> [parmeters] – These allow PPP over USB connection. They are serial line tunneling services. If you don’t know what they do, don’t mess around!

ADB & FastBoot Commands for Android:

There are ways you can turn your phone on and off without even touching the power button. And that’s the power of ADB. Flashboot is another tool that can be used to do a lot of critical operations just from the command console. You can launch the flashboot as an application or from the adb program shell itself.

  1. adb reboot-bootloader – This command can take you directly to the bootloader, which otherwise would’ve have driven to the edge with cumbersome key combinations and stuffs.
  2. adb reboot-recovery – This command like the previous one, can save you a lot of time to get into recovery mode quickly. Instead of the dreadful trial and error methods of hardware keys.
  3. adb fastboot – The enables the fast boot mode of your android device. You can notice how soon the phone fires up all ready for you to use with this command. It’s also a great way to flash custom updates, recovery and kernels.
  4. fastboot flash <xxxxx>.zip – It can flash a .zip file when in fastboot mode.
  5. fastboot flash recovery <xxxx.img> – It flashes a recovery image.
  6. fastboot flash boot <xxxx.img> – Flashes a kernel image.
  7. fastboot getvar cid – Displays CID of the device.
  8. fastboot erase system/data/cache – It wipes your system, data and cache. But beware that unless you have a backup for the system or you’ll flash a new one, your phone is as good as a brick.
  9. fastboot flash system/data/cache [system/cache/data .img] – It can flash images of system, data and cache to the device.
  10. fastboot oem get_identifier_token – Generates the device identification token.
  11. fastboot oem flash Unlock_code.bin – Unlocks the bootloader.
  12. fastboot oem lock – Locks the bootloader.

So, with all that said, it pretty much covers every ADB & FastBoot Commands for Android. But, messing around with adb can seriously brick your device and we are not responsible for any such events. Do the experiment, but be sure about what you’re doing. 🙂


Photo of author

Dibyashree Sharma

4 thoughts on “[2023] 30+ Most Used ADB & FastBoot Commands for Android”

  1. Dear Ms Sharma
    My LG Nexus 5x got bootlooped /bricked . stops at google logo. how to unlock its fastboot when usb debugging cannot be allowed as it gets looped anat logo. and does not start/move further.

    • Currently, we don’t have the device so can’t really tell you. But our writer did research. There is a video guide which we found out “just do a google search and a video from Bobby Techknow will show up”. That method will work. First to the initial steps mentioned there if you need any help ask us anytime.



Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get Android 11 (Lineage OS 18.1)Download Now
+ +
Share to...