Latest Most Used FastBoot & ADB Commands for Android Smartphones

Written by Hassan Abbas

Android being the mild and small counterpart of the Linux operating machine has the shell instructions jogging on its center compared to all person-pleasant faucet ‘UI’.And frequently, while the entirety else doesn’t paintings, the ultimate man status may be the command console. We will go through Most Used FastBoot & ADB Command for Android Smartphones.

ADB and  FastBoot Command

ADB or Android Debug Bridge does what the name says. And it’s the simplest manner to manipulate your Android tool using your PC, from transferring files to jogging scripts. Quite frequently with the enthusiasts, it’s the simplest way to have interaction with your tool when you’ve damaged or tousled something with the software program (you realize what I imply). It’s very similar to the Linux Commands and you have a top hand if you are familiar with it. But if you’re no longer, don’t fear. We got the whole lot in our keep to get you groomed and geared up.

So, permit’s take a look at the ADB instructions and FastBoot Commands for Android that could make a distinction between a minor heartache and a major heart-assault for you. (No pun intended!)


You can’t engage together with your device in case you don’t have appropriate methods to interface them. That’s wherein the ADB drivers come into play. You can get them for Windows, Linux, and Mac. Often, your smartphone’s manufacturer will offer them at their site. If not, clutch from the web!

The next issue is, you have to’ve USB debugging grew to become on for the ADB to paintings properly. If you’ve questioned what that was for? This is the solution. ADB.

Now that we’ve were given the whole thing required, fireplace up the adb software you downloaded and join your smartphone to the PC and allow’s start!

The Syntax:  FastBoot Command

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

The syntax is the layout you need to observe while giving an education, for the gadget to recognize it.

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

-d –(direct) Specifies that the device is connected to USB. Can go back an error if a couple of is connected.

-e — Specifies that an emulator is jogging and adb have to speak with the emulator.

-s<serialnumber> —When there are a couple of gadgets, commands are directed to every for my part via the use of their adb serial number.

Most Used ADB & Fastboot Command for Android 2019


  • adb devices – Shows all the devices adb can run on
  • adb help – Displays the Help Documentation on ADB commands.
  • The adb install <path_to_apk> – Installs the apk file at the specified location.
  • adb pull <device> <local> – Copies a file from the device to your system.
  • adb push <local> <device> – Copies a file from your system to the device.
  • The adb logcat – Displays the log data onto the screen.
  • adb bugreport – Displays the dumpsys, dumpstate and logcat data on the screen.
  • adb jdwp – Lists the JDWP processes on the device.
  • The adb get-serialno – Prints the adb instance serial number string with the devices.
  • adb get-state – Shows the status of the device.
  • 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.
  • adb start-server – It starts the adb server process.
  • The adb kill-server – It stops the adb server process.
  • adb shell – It starts the remote shell command console in the device and lets you control the device through it.
  • 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.
  • forward <local> <device> – Forwards the socket connections from system ports to device. It can be used with various operations such as tcp and jdwp.
  • 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.

  • 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 stuff.
  • 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.
  • adb fastboot – This 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.
  • fastboot flash <xxxxx>.zip – It can flash a .zip file when in fastboot mode.
  • fastboot flash recovery <xxxx.img> – It flashes a recovery image.
  • The fastboot flash boot <xxxx.img> – Flashes a kernel image.
  • fastboot getvar cid – Displays CID of the device.
  • 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.
  • fastboot flash system/data/cache [system/cache/data .img] – It can flash images of the system, data, and cache to the device.
  • The fastboot OEM get_identifier_token – Generates the device identification token.
  • fastboot OEM flash Unlock_code.bin – Unlocks the bootloader.
  • fastboot OEM lock – Locks the bootloader.

Also See: Latest software FlymeOS 8 Download, Supported Devices, Release Date


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

About the author

Hassan Abbas

Tech enthusiast with too many items on his wish-list and not nearly enough money! Specializing in all things tech, with a slight Apple bent he has been writing for various blogs for the best part of (too many) years

Leave a Comment