Complete List of ADB Commands With Examples
Complete List of ADB Commands With Examples
By Rakesh Shukla
Updated on May 5, 2024
Android enthusiasts love tinkering with the phone’s settings and tweak their
devices. With the power of ADB, you can do more than you think. This command-line
tool works like a bridge between a connected computer and an Android device or
emulator. Unfortunately, most users are familiar with only a small set of ADB
commands. We have compiled a list of ADB commands for Android with detailed
explanations. With proper knowledge of the commands and their functions, you can
explore the true potential of your Android device and perform basic and advanced
tasks.
Most users make use of just a small set of commands such as adb devices, fastboot
oem unlock, fastboot flash recovery.img, and so on. Check out the following ADB
commands list with a simplified explanation for each of them. ADB or Android Debug
Bridge consists of 3 components:
adb
Get the ADB version and all possible commands associated with ADB.
adb -s
Redirect commands to a specific device when many devices are connected.
adb –d <command>
adb -e
Use this command to direct ADB commands to a connected emulator.
adb –e <command>
adb devices
This is one of the most used ADB commands as it is used to check the list of the
Android devices connected to your computer.adb devices command in windows
powershell
adb devices -l
List connected devices by model or product number.
adb help
Displays the help documentation on all ADB commands.
adb root
Restarts adbd with root permissions.
adb version
Find out the version of the ADB driver installed on your computer.
adb reboot
Reboot your Android phone or tablet into the bootloader, fastboot, or recovery
mode.
adb install
Usually, we transfer an APK file to our Android device and install it via File
Manager. This command makes it easy to sideload APK files directly from your
computer. To be able to do so, copy the APK file to the SDK platform-tools folder
first. There are some variations of this command for different conditions.
adb install –k <add the path of the .APK file on your computer>
adb uninstall
Uninstall an app from your phone or tablet.
adb logcat
See the log data of your Android device on your computer. You can also use
parameters like ‘-c‘ (clear) and ‘-d‘ (save) with the command.
adb kill-server
Kill the ADB server if it is not functioning properly. It’s similar to turning off
our Android devices to fix small issues.
adb sideload
Sideload software update.zip file to an Android device using your computer. If you
have a flashable update.zip, copy it to the ‘platform-tools‘ folder and execute the
following command. If the zip file has a different name, rename it to “update.zip”
for convenience.
adb pull
Download or pull files stored on your Android device to your computer. The pulled
files are saved to the ‘platform-tools’ folder.
adb restore //
Restore the backup you have already created.
adb bugreport
Diagnose issues on Android devices. Its execution can show you log data, dumpstate,
and dumpsys from your Android device on your computer.
Don’t Miss: How to Unlock Android PIN and Pattern Using ADB
adb jdwp
See the list of JDWP processes on your PC. JDWP means Java Debug Wire Protocol.
adb get-statе
Print the device state in the command window.
adb get-serialno
Find out the ADB instance serial number.
adb get-state
Shows the ADB status of a connected device or emulator.
adb wait-for-device
This program tells ADB to wait and keep the connection on hold until the next
command is issued.
That’s all for now. ADB Shell commands are more useful than the commands mentioned
above. Don’t forget to check them out.
Rakesh Shukla
Rakesh is a geek by heart with an ardent passion for all things tech. From a young
age, he was drawn to the world of technology and found himself constantly tinkering
with gadgets and devices. He enjoys learning and discovering the newest trends in
the world of Android, iOS, and Windows.
Related Posts
most amazing websites on internet
Rakesh Shukla
April 21, 2024
350+ Most Useful and Amazing Websites on the Internet (PDF)
AI Websites and Apps
Tips and Tricks
adb shell commands
Rakesh Shukla
May 22, 2024
Complete List of ADB Shell Commands (Cheat Sheet)
ADB and Fastboot
mac keyboard shortcuts
Rakesh Shukla
April 25, 2024
300 macOS Keyboard Shortcuts & Symbols PDF (2024)
Keyboard Shortcuts
Keyboard Tips
google search tips, tricks and hacks
Rakesh Shukla
April 21, 2024
71 Best Google Search Tips, Tricks and Hacks in 2024
Google Chrome
Google Search
secure sign-in windows
Sadique Hassan
May 10, 2024
How to Enable Secure Sign-In Feature in Windows 10
Tips and Tricks
Windows 10
turn android on and off without power button
Rakesh Shukla
April 28, 2024
9 Ways to Turn Off Android Phones without Power Button
Android Tips
OnePlus
Technastic does not in any way condone, promote or encourage any illegal use of our
guides. Users are responsible for their actions.
Trending
Apple
Windows
Smart TV
Android
Linux
Downloads
Info
About
Privacy Policy
Contact
© 2024 Technastic.com
Carefully crafted by GoodMonks.