我要评分
获取效率
正确性
完整性
易理解

Kbox Cloud Phone Overview

简体中文|English

What's New

  • [2026-06-30]: Added support for NFS mount, and enhanced the emulation of the CPU, F2FS file system, system partition, and init process.

  • [2026-03-30]: Added support for a new Kunpeng 920 processor model, and added support for the Android Codec 2.0 framework.

  • [2025-09-30]: Generalized the optimization benefits of the adaptive frame synchronization feature, and added support for thread-level shader cache.

  • [2025-06-30]: Added the memory overcommitment feature, implemented Android composer optimization, and implemented K8s NUMA affinity binding.

  • [2025-03-30]: Implemented lightweight Android trimming and GPU memory and memory resource monitoring capabilities.

Project Overview

Introduction

The Kbox cloud phone container is a core capability component of the Kunpeng BoostKit cloud phone Turbo toolkit. This document provides the compilation, deployment, and related configuration procedures for the Kbox cloud phone container, and covers the basic concepts, software architecture, and specifications of the Kbox cloud phone. It does not include detailed installation steps (see Installation Guide).

The cloud phone solution is a virtual phone service virtualized based on the Arm server and runs the Android Open Source Project (AOSP). In short, cloud phones are Arm servers that run the Android OS and function as virtual phones. You can remotely control the cloud phone in real time to run Android applications on the cloud. Based on the basic computing power of cloud phones, you can also efficiently build applications for scenarios like cloud gaming, mobile office, and live streaming interaction.

As the foundational software for running Android applications, the Kbox cloud phone container is an important part of the cloud phone Turbo toolkit in Kunpeng BoostKit. It directly runs the AOSP system in a container, mocks peripheral hardware such as the GPS sensor, acceleration sensor, gyroscope, international mobile equipment identity (IMEI), and Wi-Fi, and implements the Gralloc and HWComposer (HWC) modules, ensuring normal startup and running of the AOSP system.

Software Architecture

This section describes the context logical structure and modules (including module functions) of the Kbox cloud phone container.

Figure 1 Kbox cloud phone container architecture shows the overall architecture of the Kbox cloud phone container.

Figure 1 Kbox cloud phone container architecture

Android container: The closed-source component Kbox and the AOSP are used to enable basic cloud phones running Android in containers.

Kbox implements hardware emulation (including VInput, sensors, GPS, and IMEI/Wi-Fi mock) and GPU device passthrough, enabling the Android cloud phone container solution. Kbox consists of binary deliverables and demos.

  • Binary deliverables include VInput (touchscreen input module), Sensor (sensor emulation), GPS (GPS emulation), IMEI/Wi-Fi mock, Gralloc (off-screen rendering), HWC (image composition), Audio (audio module), and OMX (decoding module).
  • Demos (including Media Framework, vold, adbd, init, and netd) provide patches (for reference) based on open-source code of the Android system.

Docker: The open-source Docker software is used to provide a software runtime environment for the Android system.

OS: Open-source openEuler is used as the Docker host OS. The integrated GPU kernel driver is shared by upper-layer container instances and drives GPUs to complete rendering. Ashmem and binder provide basic memory management functions for Android containers.

Hardware: The Arm server, including GPUs, memory, and drives, is used as the hardware platform.

Cloud Phone Specifications

Table 1 Kbox basic cloud phone specifications

ItemConfiguration
CPU core binding policy2 containers/2 cores
Number of cores2
Memory6 GB
Storage16 GB
Resolution720 x 1280

Directory Structure

├── docs                                           # Project document directory
│   └── en                                         # English document directory
│       ├── figures                                # Directory of figures in documents
│       ├── public_sys-resources                   # Public resources directory
│       ├── best_practices.md                         # Kbox Cloud Phone Best Practices
│       ├── compile_guide.md                          # Kbox Cloud Phone Compilation Guide
│       ├── feature_guide.md                          # Kbox Cloud Phone Feature Guide
│       ├── install_guide.md                           # Kbox Cloud Phone Installation Guide
│       ├── menu.md                                    # Kbox Cloud Phone Document Menu
│       ├── release_notes.md                           # Kbox Cloud Phone Release Notes
│       ├── routine_maintenance.md                     # Kbox Cloud Phone Routine Maintenance
│       ├── security_statement.md                     # Kbox Cloud Phone Security Statement
│       ├── test_guide.md                             # Kbox Cloud Phone Acceptance Test Guide
│       ├── troubleshooting.md                         # Kbox Cloud Phone Troubleshooting
│       ├── user_guide.md                             # Kbox Cloud Phone User Guide
├── deploy_scripts                                 # Container deployment scripts
├── make_img_sample                                # Reference script
├── patchForAndroid                                # Android patch
├── patchForExagear                                # Transcoding patch
├── patchForKernel                                 # Kernel patch

Version Description

The Kbox cloud phone has two branch versions: Android 11 and Android 15. This section describes the differences and feature changes between the two versions.

Version Introduction

The Kbox cloud phone is developed based on AOSP and currently supports AOSP 11 and AOSP 15. Due to differences in Android versions, the Kbox cloud phone has code branches AOSP11 and AOSP15 to support different Android code.

Table 2 Code branch differences

Code BranchAOSP11AOSP15
Supported Kernel Version5.106.6
Supported Docker Version18.024.0
Corresponding AOSP Version1115

Change Description

For details about feature changes in each release, see Release Notes.

Environment Setup

For details about the hardware environment and OSs supported by the Kbox cloud phone and the software packages required for environment setup, see "Environment Setup" in Installation Guide.

The Kbox cloud phone can be deployed on bare metal servers and VMs. For details, see Installation Guide.

Resource TypeResource NameDescription
DocumentRelease NotesProvides basic information and feature updates for each release of the Kbox cloud phone.
DocumentFeature GuideProvides an introduction to the functions and features supported by the Kbox cloud phone.
DocumentCompilation GuideProvides the compilation and build process and operation instructions for the Kbox cloud phone.
DocumentInstallation GuideProvides detailed guidance for deploying the Kbox cloud phone in both bare metal and VM environments.
DocumentUser GuideProvides operation guidance for starting and uninstalling Kbox cloud phone instances.
DocumentRoutine MaintenanceProvides content related to routine maintenance of Kbox cloud phone containers.
DocumentBest PracticesProvides practice cases of the Kbox cloud phone in Docker and Kubernetes environments.
DocumentTroubleshooting CasesProvides troubleshooting methods for the Kbox cloud phone.
DocumentAcceptance Test GuideProvides guidance for product acceptance testing of the Kbox cloud phone.
DocumentSecurity StatementProvides security instructions for using the Kbox cloud phone.

Version Maintenance Policy

The Kbox version maintenance policy is as follows.

Kbox VersionMaintenance PolicyStatusRelease DateSubsequent StatusEOL Date
Kbox11Long-term branchIn development2025/10/15Maintenance status effective from March 15, 2026 (expected)-
Kbox15Long-term branchIn development2025/10/15Maintenance status effective from March 15, 2026 (expected)-

Disclaimer

This repository contains only AOSP- and Linux kernel-related patches and feature demonstration code. It is intended to demonstrate how to use and integrate specific features. Do not use the code in this repository directly in production environments. All code is for technical reference only and does not inherit or guarantee any security design or protection mechanisms of upstream or downstream software. The sample code in this repository may contain security defects, vulnerabilities, or incomplete implementations. The Kunpeng Computing community assumes no responsibility for the security, stability, or compliance of the code. Users should assess risks on their own and perform security hardening based on their actual scenarios. Any security issues arising from the use of the code in this repository shall be borne by the user. It is recommended to stay informed about security advisories and version updates from upstream open-source projects.

To Users of This Project

  • This project is intended solely for debugging and development. You are responsible for any risks and should carefully review the following information:

    • Data processing and deletion: Users are responsible for managing and deleting any data generated while using this project. You are advised to promptly delete any related data after use to prevent information leaks.
    • Data confidentiality and transmission: Users understand and agree not to share or transmit any data generated by this project. Neither the project nor its developers are responsible for any information leaks, data breaches, or other negative consequences.
    • User input security: Users are responsible for the security of any commands they enter and for any risks or losses resulting from improper input. The project and its developers are not liable for issues caused by incorrect command usage.
  • Disclaimer scope: This disclaimer applies to all individuals and entities using this project. By using the project, you acknowledge and accept this statement and assume all risks and responsibilities arising from its use. If you do not agree, please stop using the project immediately.

  • Before using this project, please read and understand the preceding disclaimer. If you have any questions, contact the developer.

To Data Owners

If you do not want your model or dataset to be mentioned in this project, or if you wish to update its description, please submit an issue on GitCode. We will delete or update your description according to your request. Thank you for your understanding and contribution to this project.

License

  • This project is licensed under Apache License 2.0. For details, see LICENSE.
  • The documents of this project are licensed under CC-BY 4.0. For details, see LICENSE.

Contributor Statement

We welcome your contributions to the community. If you have any questions/suggestions or want to provide feedback on feature requirements and bug reports, you can submit issues. For details, see Contribution Guideline. You are also welcome to share insights in Discussions. Thank you for your support.

Acknowledgement

Thank you to everyone in the community for your PRs. We warmly welcome contributions to Kbox!