This article lists the common Android commands that are used in the Android Debug Bridge (ADB) and Fastboot tools
1. `adb devices`: Lists the connected Android devices or emulators.
2. `adb shell`: Opens a command shell on the target device.
3. `adb install`: Installs an Android application (.apk) onto the device.
4. `adb uninstall`: Uninstalls an Android application from the device.
5. `adb push`: Copies files from the computer to the device.
6. `adb pull`: Copies files from the device to the computer.
7. `adb reboot`: Restarts the device.
8. `adb logcat`: Displays the device's log messages in real-time.
9. `adb backup`: Creates a backup of the device's data.
10. `adb restore`: Restores a previously created backup to the device.
11. `adb shell am`: Executes an Activity Manager (AM) command.
12. `adb shell pm`: Executes a Package Manager (PM) command.
13. `adb shell input`: Simulates user input events (e.g., key presses, touches).
14. `adb devices -l`: Lists the connected devices with detailed information.
15. `adb forward`: Forwards socket connections between the device and host machine.
16. `adb connect`: Connects to a device over a network.
17. `fastboot devices`: Lists the connected devices in fastboot mode.
18. `fastboot flash`: Flashes a specific partition on the device.
19. `fastboot erase`: Erases a specific partition on the device.
20. `fastboot reboot`: Reboots the device from fastboot mode.
21. `fastboot oem`: Executes OEM-specific commands.
These commands are primarily used by developers and advanced users for tasks like debugging, installing applications, accessing device internals, and more. It's worth noting that using these commands requires enabling Developer Options and USB Debugging on the Android device. Additionally, some commands may require the device to be connected in bootloader/fastboot mode.
Please report any broken links by emailing support@elotouch.com and include a link to the knowledge article