ADB (Recommended)

You can use ADB to access your cloud phones on the Cloud Phone console. This method is similar to the ADB (Internet) method. The access principles are the same.

Prerequisites

The cloud phone must be in the Running state.

Procedure

  1. Log in to the management console.
  2. On the Service List page, choose Computing > Cloud Phone.

    The Cloud Phone console is displayed.

  3. In the navigation pane on the left, choose Instances.
  4. On the Instances page, locate the target cloud phone, and choose More > Access Through ADB in the Operation column.

    The right pane is displayed.

  5. Enter the local path for storing the private key file of the server, for example, C:\Users\Administrator\Downloads\KeyPair-a49c.pem.
  6. Enter the platform-tools directory. To obtain the directory,

    download the ADB tool and decompress the tool package to a specified directory, for example, C:\Users\Administrator\Downloads\platform-tools.

    If you cannot access the ADB download address on the console, click the following link to download ADB:

    https://dl.google.com/android/repository/platform-tools-latest-windows.zip

  7. Enter a local idle port number.

    Run the netstat -an command to check whether the port is idle.

    As shown in the following figure, port 6667 is occupied by another program, and port 1234 is idle.

  8. After you performed 5, 6, and 7 in the lower part of the right panel, the command is automatically filled in the blank area. You only need to perform operations as prompted to access the cloud phone.

    For details about the parameters in the command for establishing an SSH tunnel, see ADB (Internet).