Anbox
Original author(s) | Marius Gripsgard, Ricardo Mendoza, Simon Fels, Thomas Voß |
---|---|
Developer(s) | Anbox authors (4) |
Initial release | 11 April 2017 |
Repository | github |
Operating system | Linux |
Platform | x86-64, ARM, ARM64 |
Type | Compatibility layer |
License | GNU GPL v3[1] |
Website | anbox |
Anbox (short for “Android in a Box”) is a free and open-source compatibility layer that allows Android applications to run on Linux distributions[2] by using containerization techniques. Originally introduced by Canonical, Anbox executes Android applications in a lightweight system container, isolated from the host system for security and efficiency.
Anbox was officially released on April 11, 2017, and rapidly gained attention as a bridge between the mobile Android ecosystem and desktop Linux environments.
Anbox was deprecated on February 3, 2023[3] as it is no longer being actively maintained,[4] as development has shifted to Waydroid[5] (formerly called Anbox-Halium).[citation needed].
Canonical's active development focus shifted to Anbox Cloud, a platform for running Android applications in a cloud environment.[6] Anbox Cloud is a closed-source,[7] enterprise-focused version of the original Anbox, maintained by Canonical, offering extended features, better scalability, and support via Ubuntu Pro.
How Anbox works
[edit]Anbox executes the Android runtime environment by using LXC (Linux Containers), recreating the directory structure of Android as a mountable loop image, while using native Linux kernel to execute applications. It makes use of Linux namespaces through LXC for isolation. Applications do not have any direct hardware access, all accesses are sent through the Anbox daemon.[8] This ensures that Android apps can run on Linux without the need for emulation, offering improved performance compared to traditional methods like Android emulators.
How Anbox Cloud differs from Anbox
[edit]As the original Anbox project has been discontinued, Anbox Cloud has emerged as Canonical's fully supported, enterprise-ready solution for running Android in the cloud. Anbox Cloud is specifically designed to run Android at scale, securely, and independent of hardware requirements. Canonical provides 24/7 Anbox Cloud support through Ubuntu Pro, guidance for custom LXD image builds, knowledge transfer for setting up image infrastructure, and assistance with large-scale Android cloud deployments.
Anbox Cloud supports deployment across all major cloud platforms, including Amazon Web Services (AWS), Microsoft Azure, Google Cloud Platform (GCP), and private or hybrid cloud environments.
Key features of Anbox Cloud
[edit]- High Instance Density: Run numerous Android instances on a single machine, maximizing the use of cloud infrastructure.
- Elastic Scaling: Scale up or down dynamically depending on the workload, with support for automated operations.
- Full Automation: Easily deploy and manage large-scale Android environments, with minimal manual intervention.
- Low Latency Streaming: Optimized for ultra-low latency streaming, making it ideal for cloud gaming, mobile application use, or other latency-sensitive tasks.
- Cross-Platform Support: Run on both Arm and x86 servers, with GPU acceleration for enhanced graphics performance, particularly in gaming and media streaming.
Use cases for Anbox Cloud
[edit]- Cloud Gaming: Anbox Cloud allows for GPU acceleration, ensuring low-latency, high-frame-rate experiences across platforms, delivering high-performance mobile games to users on any device.
- Mobile Application Testing: Automate testing workflows by running virtual Android instances on the cloud. Anbox Cloud provides full sensor integration and supports integration into CI/CD pipelines for continuous testing.
- Automotive Development: Anbox Cloud includes support for AAOS (Android Automotive OS) and VHAL (Vehicle Hardware Abstraction Layer), making it an ideal platform for developing and testing in-vehicle infotainment systems. Custom AAOS images can be easily deployed and tested in the cloud.
See also
[edit]- Android-x86 - An open source project that makes an unofficial porting of Google's Android mobile operating system to run on devices powered by AMD and Intel x86 processors, rather than RISC-based ARM chips.
- BlueStacks has developed an App Player for Windows and MacOS capable of running Android applications in a container.
- The SPURV compatibility layer[9] is a similar project developed by Collabora.
- Waydroid also uses Android (LineageOS) in an LXC container on a regular Linux system, using Wayland.[10]
- Wine - A Windows compatibility layer for Unix-like systems.
References
[edit]- ^ "anbox/anbox". GitHub. 4 January 2023.
- ^ Lynch, Jim (2017-04-12). "Anbox: Run Android apps in Linux". InfoWorld. Retrieved 2020-04-13.
- ^ "Anbox". GitHub. Retrieved 2024-10-22.
- ^ "Add deprecation notice to README by morphis · Pull Request #2121 · anbox/anbox". GitHub. Retrieved 2023-03-14.
- ^ "README: Important". GitHub. Retrieved 2024-08-13.
- ^ Lardinois, Frederic (21 January 2020). "Canonical's Anbox Cloud puts Android in the cloud". TechCrunch. Retrieved 2020-04-13.
- ^ "Anbox Cloud official website". anbox-cloud.io. Retrieved 2024-10-22.
- ^ "anbox/anbox". GitHub. Retrieved 2020-04-13.
- ^ "Running Android next to Wayland".
- ^ "WayDroid brings lag-free Android app integration to the OnePlus 6/6T Linux port". 24 July 2021.
External links
[edit]- Anbox
- Port to Sailfish OS (not maintained anymore)
- Port to Purism / Librem 5
- Port to postmarketOS