Updated on 2023-10-11 GMT+08:00

Restarting Cloud Phones

This topic describes how to restart a cloud phone or multiple cloud phones on the CPH console.

If you use ADB to access a cloud phone, you cannot run the adb reboot command to restart the cloud phone because it may cause cloud phone malfunctions. Restart the cloud phone on the CPH console or by calling the CPH API. For details, see Restarting Cloud Phones.

Prerequisites

  • Before the restart, ensure that all files on the cloud phone have been saved to prevent file loss.
  • The cloud phone must be in the Running or Stopped state. If the cloud phone is in other states, such as Faulty, Stopping, and Creating, it cannot be restarted.

Procedure

  1. Log in to the management console.
  2. In the upper left corner, select the region where the target cloud phone is located.
  3. On the Service List page, choose Compute > Cloud Phone Host.

    The CPH console is displayed.

  4. In the navigation pane on the left, choose Instances.
  5. In the cloud phone list,
    • Select the target cloud phone and click Restart in the Operation column.
    • Select multiple cloud phones and click Restart in the upper left corner of the list.
  6. In the right pane, click OK.
    Figure 1 Restart confirmation

    If the cloud phone enters the Restarting state, the cloud phone is restarted successfully.

    • You can also select Update Phone Image and enter the image ID to update the cloud phone image. If you select multiple cloud phones, you can modify their images in batches.
    • You can upgrade an earlier-version AOSP image to a later-version one (for example, from AOSP 7.0 to AOSP 9.0) by restarting a cloud phone. However, in rare scenarios, data of an earlier-version AOSP image may be incompatible with that of a later-version AOSP image. If you do not need to retain user data, reset a cloud phone to upgrade its image to the latest version.

Execution Result

The cloud phone enters the Running state.

Associated APIs

Restarting Cloud Phones