Advertisements

It is the most basic and manual way to customize our phones, whether it is for installing custom apps or modifying anything else. Since people are familiar with ADB commands, they prefer this method of tweaking their phones. This is due to the fact that they feel like technical executives while using these commands. As a result, variations can be checked if a command is entered incorrectly.

Hence, people are showing a great deal of dedication to ADB commands. What other commands can they use? Personally, I also get addicted to ADB commands. Thus, I researched the ADB commands we can use on our phones. Surprisingly, I got a massive list of commands. So Today here we will provide you a bunch of ADB command with their usage to bring more creativity to every Android user.

List of ADB and Fastboot commands for Android

To communicate with your phone, ADB and Fastboot commands are the finest combination tools. Previously, we mentioned installing custom things using a dedicated ADB and fastboot command in other guides. From there you might want to know what more we can do with our phone. This is why we are sharing a list of ADB and Fastboot commands as well as their usage.

Note: Before executing any command make sure to enable USB debugging and may have installed Android SDK platform Tools.

CommandsUse
adb devices This command lets you to check whether ths device is under ADB connection or not. After entering this command, a “device” word will appear that means your device is in connection with ADB command.
adb shellThis command lets you to check whether ths device is under ADB connection or not. After entering this command, a “device” word will appear that means your device is in connection with ADB command.
adb reboot bootloaderThis command is use to take your phone into bootloader mode. So that you can go through diagnosis of your Android Phone.
adb reboot recoveryThis command is use to take your phone into bootloader mode. So that you can go through diagnosis of your Android Phone.
adb pull /file-location-on-device/filename This command is use to pull any file to your PC. Just enter this command and let your file move to PC using ADB.
adb push filename /location-where-file-is-to-be-sent-on-deviceThis is the reverse of previous command here we apply this command to push files from PC to android phone.
adb sideload filename.zipWith this command you can install ZIP files directly from powershell. Just enter this command and install any ZIP file that you want.
adb start-serverA lot of times it has seen that ADB server does not automatically start. In such case you can enter this command and start ADB server there.
adb kill-serverif during any program, the system get hanged while processing any command. In that case, you can kill that ADB server using this command.
adb install filename.apk This command helps you to install any file APK to your phone.
  Fastboot commands
fastboot devicesonce your phone boot into fastboot mode, this command help you to check whether the connection is successful or not.
fastboot oem unlockThis command help you to unlock the bootloader of your device through fastboot.
fastboot boot recovery twrp.imgTo boot a recovery file on your phone, this command is on utmost priority.
fastboot flash boot boot-file-name.img.Whenever there is a need to install a boot from powershell, this command can be a huge contribution.
fastboot erase userdata To erase all the user data from the device, use this command as same as written.
fastboot rebootThis command is useful when you want to reboot your device to Android OS. 
fastboot reboot recoveryWhen you want to reboot from fastboot to recovery mode, this command could be a straight way to do.
fastboot set_active b When your device is going through with partitions and you want to switch slots between them. Then this command help you in switching.
fastboot erase systemWith this command you can restore backed up images and enjoy the benefits of fastboot.
fastboot oem lockWhen you need to relock the bootloader, then use this command for the same.

After knowing these commands, you might wonder how to use them. So just connect your Android phone with a USB cable to your desktop computer to boot into Android. Open the Command Prompt and point it to the platform-tools folder.Then type adb devices and press Enter. A list of attached devices, along with their serial numbers, should now appear. As you can see, it is working. Now type adb followed by the command you want to run.

While for Fastboot, it works similarly to ADB, except you have to boot your phone into Fastboot mode instead of Android. You can do this by holding the power and volume keys when turning on the phone. Conclusively, These are the things relating ADB and fastboot command. I hope you got a lot of new things. So, if anyuser have query then ask them all below.

Frequently Asked Questions

Q1. Does ADB commands can harm my device?

Ans. It will not until you type any wrong command.

Q2. Is there any more ADB commands?

Ans. There are plenty of commands but the above are basics. First learn all of them so that further we will provide you more technical commands.

Q3. Which phone supports ADB commands?

Ans. Mostly Android phones with Android version 5.0 or above.

Q4. How do I check my adb list?

Ans. Go back to Settings >> Developer options >> turn on USB debugging. Go back to your terminal adb devices and you should see the connected device

x
Advertisements