ADB (Android Debug Bridge) is a command-line tool used to communicate with Android devices. It is part of the Android SDK (Software Development Kit) and is primarily used for developing and debugging Android applications. ADB allows developers to interact with devices via the command line, executing various operations such as installing and uninstalling applications, copying files, running commands, and viewing logs.
You can download the ADB client here: https://developer.android.com/tools/releases/platform-tools
ADB has extensive permissions, so for the security of your cloud phone, only the IP addresses configured in the whitelist are allowed to connect to ADB. Additionally, for security reasons, it is recommended to disable ADB on the cloud device when it is not in use.
You can configure the ADB connection IP whitelist for all cloud phones under your team settings:
A maximum of 10 IP addresses can be configured in the whitelist. Once configured, you can enable ADB in the cloud phone list.
You can enable ADB for a single cloud phone directly from the list.
You can also enable ADB for multiple cloud phones in bulk.
You need to first download the ADB client.
Windows users should use cmd; Mac and Linux users should use Terminal to enter the connection command copied from the DuoPlus Dashboard.
Connect to ADB
adb connect [IP]:[port]
Get ADB connected devices
adb devices
Execute a command
adb -s [IP]:[port] shell [command content]
Push a file to the cloud device
adb -s [IP]:[port] shell push [local file path] [cloud device file path]
# Example for Windows
# adb -s [IP]:[port] shell push C:\User\DuoPlus\Desktop\abc.txt /sdcard/abc.txt
Close the connection
adb disconnect [IP]:[port]
For other common ADB commands, you can refer to the documentation: Common Commands