This guide provides detailed instructions for connecting to cloud phone devices via ADB, supporting Android 12/15 and Android 13/14 versions.
Use the adb connect command to directly connect to the cloud phone's IP address and port.
adb connect 172.168.10.1:123456Replace
172.168.10.1:123456with your actual cloud phone IP and port.
After successful connection, authenticate using the connection code.
adb shell 123456Or specify the device address:
adb -s 172.168.10.1:123456 shell 123456Note: The connection code is usually provided by the cloud phone platform. Ensure it is entered correctly.
For these versions, an SSH tunnel must be established to forward the ADB port. This requires two steps.
Run the following SSH command to map the remote ADB port to your local machine:
ssh -oHostKeyAlgorithms=+ssh-rsa 10.2.179.250_1763627294587@107.151.131.2 -p 1824 -L 9897:adb-proxy:14566 -NfNotes:
- Replace the username, IP, and port in the command with your actual configuration.
- When prompted for a password, paste the SSH password and press Enter.
- The command will not produce any output if successful, indicating the tunnel is running in the background.
In a new window, execute the ADB connection command:
adb connect localhost:9897Successful output example:
connected to localhost:9897ssh -oHostKeyAlgorithms=+ssh-rsa 10.2.179.250_1763627294587@107.151.131.2 -p 1824 -L 9897:adb-proxy:14566 -Nfadb connect localhost:9897Run the following command to check if the device is connected:
adb devicesExpected output:
List of devices attached
localhost:9897 Device| Command | Description |
|---|---|
adb devices | List connected devices |
adb shell | Enter device shell terminal |
adb shell pm list packages | List installed apps |
adb install app.apk | Install APK file |
adb uninstall package.name | Uninstall app |
adb reboot | Reboot device |
- Ensure you have installed Android SDK Platform Tools and configured environment variables.
- The SSH tunnel method for Android 13/14/15A is encrypted and secure — recommended for use.
- If connection times out, check network settings, firewall rules, and port configurations.
- Always confirm that the cloud phone is powered on and ADB access is enabled before connecting.
Follow these steps to successfully connect your cloud phone for ADB debugging and automation tasks.