Rate This Document
Findability
Accuracy
Completeness
Readability

Diagnosing and Rectifying Faults

Kbox_maintainer allows you to view the service status of the Kbox cloud phone container for routine inspection and recovery of cloud phones, including the status of cloud phone prototype, ashmem, and binder. For details, see Table 1.

Table 1 Diagnosing and rectifying faults using Kbox_maintainer

Category

Description

Basic cloud phone status

getprop | grep sys.boot_completed

ashmem/binder status

lsmod | grep -E "ashmem|binder"

Kbox_maintainer provides the check field to check the status of ashmem and binder. You can add a container ID or container name after the field to check the service status of the specified container. If no container ID is specified, the status of all containers is checked by default. Example:

1
2
# python3 kbox_maintainer.py check
# python3 kbox_maintainer.py check kbox_1

Kbox_maintainer provides the recover field to check and restore ashmem and binder by loading ashmem and binder again. You can add a container ID or container name after the field to check the service status of the specified container. If no container ID is specified, all containers are checked by default. Example:

1
2
# python3 kbox_maintainer.py recover
# python3 kbox_maintainer.py recover kbox_1