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

30+ Most Used ADB & FastBoot Commands for Android: Android Debug Bridge (ADB) and FastBoot are two of the most used tools for Android devices. ADB and FastBoot commands help the users to do many things on their Android devices that aren’t possible with just the regular user interface.

Despite being around for more than a decade, many Android users still don’t know about these tools and their uses. In this blog post, we will explore the most used ADB & FastBoot commands for Android in 2021 and beyond. With this list of commands, you’ll be able to unlock new possibilities when it comes to customizing your device or troubleshooting common issues. Read on to learn more!

What are ADB and Fastboot?

Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debugging apps, and it provides access to a Unix shell that you can use to run a variety of commands on a device.

Fastboot is a protocol used to update the flash filesystem in Android devices from a host computer. It allows you to re-flash system partitions on your device and requires a device with an unlocked bootloader.

The Most Used ADB Commands

ADB, or Android Debug Bridge, is a versatile command-line tool that lets you communicate with a device. The most common use for ADB is to install and debug Android apps from your development computer. However, ADB can also be used to root devices, view system logs, and even run shell commands.

Here are some of the most commonly used ADB commands:

adb devices: Lists all connected devices

adb pull: Copies a file from the device to your computer

adb push: Copies a file from your computer to the device

adb shell: Runs a command on the device’s shell

adb install: Installs an Android app on the device
adb uninstall: Uninstalls an Android app from the device
adb logcat: Views the system log

These are just a few of the most commonly used ADB commands. For a full list of available ADB commands and their usage, check out the official Android documentation.

The Most Used Fastboot Commands

If you’re an Android power user, you’ve probably already heard of ADB and Fastboot. These two tools are used for communicating with Android devices from a computer. In this post, we’ll give you a rundown of the most used ADB and Fastboot commands so you can use them with ease.

ADB commands are mostly used for debugging purposes, while Fastboot commands are mainly used for flashing new firmware or boot images onto your device. We’ll start with the ADB commands.

The most popular ADB command is “adb devices”. This command lets you see a list of all the Android devices connected to your computer. If you only have one device connected, it will show up as “device”.

If you want to see more information about a specific device, you can use the “adb -d” or “adb -e” commands. The “-d” option stands for “device”, while “-e” stands for “emulator”. For example, if you want to see more information about your phone, you would use the command “adb -d devices”.

Another useful ADB command is “adb shell”. This gives you access to the Android shell on your device. From here, you can run any Linux commands that are available on your Android system.

One of the most common uses for the adb shell command is to navigate to the /data/local folder on your device. This folder

The Syntax:

In this section, we’ll take a look at the most commonly used ADB and FastBoot commands. We’ll start with the syntax for each command, then provide a brief description of what it does.


The Android Debug Bridge (ADB) is a versatile command line tool that lets you communicate with and control an Android device over a USB link from a computer.

The basic syntax for using ADB is as follows:

adb [-d|-e|-s ]

where is one of the following:

shell – starts a remote shell in the target device;
push – copies a file from the host to the target device;
pull – copies a file from the target device to the host;
install – installs an APK file on the target device;
uninstall – uninstalls an app on the target device;
start-server – starts the ADB server process on the host machine;

stop-server – kills the ADB server process on the host machine.

Most Used ADB & Fastboot Commands for Android 2023

1. adb devices: This command is used to list all the connected Android devices.
2. adb -d logcat: This command lets you view the device log from your computer.
3. adb shell pm list packages: This command lists all the installed packages on your device.
4. adb reboot recovery: Use this command to reboot your device into recovery mode.
5. adb pull /sdcard/filename: This command lets you copy a file from your device to your computer.
6. adb push /sdcard/filename: Use this command to copy a file from your computer to your Android device.
7. fastboot devices: This command is used to list all the connected Fastboot devices.
8. fastboot flash recovery filename.img: Use this command to flash a custom recovery image to your device.
9. fastboot boot filename.img: Use this command to boot a custom image from your computer without flashing it to the device

  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!


Most Used ADB & FastBoot Commands for Android

1. Commands:

adb devices – Shows a list of all the devices attached to your computer via ADB.

adb shell – Opens up a remote shell on the device.

adb reboot – Reboots the device.

adb install – Installs an APK file on the device.

adb pull – Copies a file from the device to your computer.

adb push – Copies a file from your computer to the device.

  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.

ADB & FastBoot Commands for Android:

Assuming that you have ADB and Fastboot setup on your computer, here are some of the most common commands that you will use:

-To reboot your device: “adb reboot”
-To boot into recovery mode: “adb reboot recovery”
-To boot into fastboot mode: “adb reboot fastboot”
-To sideload a zip file: “adb sideload ”
-To see a list of all connected devices: “adb devices”
-To see all available adb commands: “adb help”

Fastboot Commands for Android, Windows, Mac and Linux

Fastboot Commands for Android, Windows, Mac and Linux: If you are an Android Power user, you should have already known about ADB and Fastboot commands. ADB and Fastboot commands will help you to either unlock or relock the bootloader of any Android devices. Not just that, these commands will be responsible to install or modify the system recovery. If you are a soul who did not root or apply modifications of any sort, then read the entire article carefully. So, in the post, we will explain everything about root, recovery and the best ADB and Fastboot commands.

Best ADB and Fastboot Command List for Android (Windows/ Mac/ Linux)

Rooting is an advancement that badges you to achieve root access to the Android operating system encryption. Root provides you the freedom to renovate the software code on the device or install other software that the manufacturer would not typically allow you. And for attired mobile safety reasons, they do not dearth users to make modifications to the devices that might result in accidents further than repair.

It gets still for them to offer endowment if they allow users to only use the same unchanged sort of the software. Not speaking precisely, but if you error even the one step the rooting process, ominously change the encryption modifications, your device software can come to be so diminished that your phone will basically be gone useless. Even the maximum powerful device can get sluggish after a convinced period of service.

Pre-installed apps will decay the productivity of your phone functioning by default. It is unbearable to get rid of these applications as they are selected by a manufacturer as vital. Ads are a different dispute that keeps troubling Android users. Ads persistently pop up at an exceedingly unfortunate time and barge in your doings. Customization is one more routine that can fetch optimistic variations to your device. Even though starved of rooting the customization is insurmountable. But if you want to distinguish the keyboard, make some alterations or add some supplementary features, you hope against hope be capable to do that.

A custom version of your phone does not everlastingly let you use all the profits of the smartphone. But then again with the newest version of the mobile operating system, you can get lift your phone and enjoy up-to-date features of the up-to-date Android system.

What is recovery?

Every single Android smartphone available out there originates with their own recovery environment, which habitually stands for the term stock recovery. You can boot to the recovery mode on any of your Android device by pressing device-specific buttons on your phone or by you can use an android debugging command that boots your phone to recovery mode. We will talk about this command in the further part of the post. The recovery menu gives options to help recover your device. For starters, you can reset your device to its factory defaulting state from the android’s stock recovery. The recovery mode can also be cast-off to flash OTA update files.

If you are not sure what the recovery on an Android phone does, then, let me say that the recovery is responsible for updating your device. When you receive an OTA update, the installation process is done through the stock recovery module environment often referred to as recovery mode. Then the recovery relates the update to the system and hence your phone will get updated. The stock recovery is a trivial, restricted system. The stock recovery is only aimed to be passed over, and it can usually merely flash OTA updates and firmware zips provided only by the device’s manufacturer

Means, you will be only able to flash the companies own flash files. But if you want to flash any mods like sound mods etc, then you will be needed to unlock the bootloader and use the commands, to flash the custom recovery.

What are ADB and Fastboot Commands?

ADB stands for Android Debug Bridge which is referred to as Android Debugging in general. This permits you to communicate with your Android device contrasting the condition using your computer. You can simply install an application on your Android device remotely using the Android Debug Bridge. There are a lot of ADB commands which will come in very handy depending on what you were trying to do with your Android device. ADB and Fastboot commands are considered important system utilities, which helps you to access or bring in the changes in the hidden Android menus and folders. You can only do that if you set up the debugging on both your computer and Android device.

Where to use ADB Fastboot Commands?

This is one of the most asked questions by our user that where they should use these ADB and fastboot commands,  So most of the users use these commands in Command prompt. giving an Adb command is easy but you should always have good knowledge about the command you are giving. Sometimes if the code is wrong then you will end up bricking your device.9

ADB and Fastboot Commands

adb reboot bootloaderBoots to the bootloader of the device
adb reboot recoveryReboots device into Fastboot mode
adb get-serial noGet the serial number of the connected device
Fastboot devicesShows the devices connected in Fastboot mode
Fastboot OEM unlockUnlocks the bootloader of the connected device
Fastboot OEM lockLocks the unlocked bootloader of the connected device
Fastboot OEM device-infoChecks the status of the bootloader
Fastboot flash recoveryFlashes the recovery.img
Fastboot boot recoveryBoots into recovery without flashing it
Fastboot flash fileFlashes the flashable files from the cmd.
Fastboot getvar cidDisplays CID of the connected device
Adb rebootRestarts the connected Android device
Adb get-serial noGet the serial number of the connected device.
Adb installInstall apps over adb
Adb install –rUpdates the installed apps
Adb pullCopies file from phone to computer
Adb pushCopies file from computer to phone
Adb shellLaunches terminal
Adb backupCreates the backup of the device
Adb restoreRestores the previous backup made
Adb sideloadPush and install the flashable zip
Adb logcatShows the real-time log
adb kill-serverStops adb server processes

How to Use Command Prompt

To use fastboot commands use Command Prompt window, Which is a option available there in your PC itself. So below we will show you the easiest way to Use fasboot commands on Almost any OS like Windows, Mac and Linux.

  • First of all Make sure that you are using Original USB cable provided with your Smartphone
  • Now connect your Smartphone to PC using the cable.
  • Now you have to navigate by using the Following command-

cd[path to platform-tools], just like- cd/home/xbxntx/Downloads/platform-tools.

  • If you are using Windows then you have to press Shift+right click on the platform tools.
  • Now you will see option to Open Command Window
  • For Windows, you can enter the fastboot or adb (command line).
  • Whereas, for Linux or Mac, you have to enter ./adb and ./fastboot.

Also Read:

Above mentioned are the most used and usefull Adb fastboot commands you can use for several purposes, These commands are not Device-specific and you can use for almost all android devices.


We have Updated the Guide with the latest Commands for almost ever smartphone, Incase if you Don’t know then every smartphone takes different boot commands so if your smartphone is new then consider checking this article.So, the above mentioned are the list of all the best available ADB and Fastboot commands. If this post helped you to find out the best commands, then share this post with your friends and family. This is time for me to bid you adieu! For more posts like this, stay tuned with us. Till next time, Stay Techy!


ADB and FastBoot commands are an essential part of any Android user’s toolkit. We hope that this article has helped you better understand the power of these commands, as well as how to effectively use them for your own needs. With the 30+ most used ADB and FastBoot commands listed here, you should have all the tools you need to customize and optimize your device. So don’t hesitate – get started today!

Leave a Comment