ADB Fastboot Commands for Android, Windows, Mac and Linux

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 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 very handy depending on what you were trying to do with your Android device. ADB and Fastboot commands are considered as the 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 connected device
Fastboot devicesShows the devices connected in Fastboot mode
Fastboot OEM unlockUnlocks the bootloader of connected device
Fastboot OEM lockLocks the unlocked bootloader of 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
Adb fastboot commands
Adb fastboot commands
  • 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!

Leave a Comment