|
1 | | -<p align="center"> |
2 | | - <img src="https://aidlux.com/logo.svg" width="900"> |
3 | | - <br> |
4 | | - Linux, AI, Python, GUI: 4-in-1 Environments Running on Android. <a href='README.md'>[中文版]</a> [English] |
5 | | -</p> |
6 | | -<p align="center"> |
7 | | - <a href="https://travis-ci.org/lc-soft/LCUI"><img src="https://travis-ci.org/lc-soft/LCUI.png?branch=master" alt="Build Status"></a> |
8 | | - <img src="https://img.shields.io/badge/coverage-100%25-brightgreen" alt="Coverage Status"> |
9 | | - <a href="http://opensource.org/licenses/MIT"><img src="https://img.shields.io/github/license/lc-soft/LCUI.svg" alt="License"></a> |
10 | | - <a href="https://github.com/aidlearning/AidLearning-FrameWork/releases"> |
11 | | - <img src="https://img.shields.io/github/v/tag/aidlearning/AidLearning-FrameWork" > </a> |
12 | | -<img src="https://img.shields.io/github/forks/aidlearning/AidLearning-FrameWork?style=flat" alt="Fork"> |
13 | | -<img src="https://img.shields.io/github/stars/aidlearning/AidLearning-FrameWork?style=flat" alt="star"> |
14 | | -<img src="https://img.shields.io/github/last-commit/aidlearning/AidLearning-FrameWork?style=plastic" alt="commit"> |
15 | | -</p> |
16 | | - |
17 | | -[AidLearning](http://www.aidlearning.net) is a mobile AI development platform that supports all mainstream development frameworks and tools for deep learning and neural networks. |
18 | | - |
19 | | -It has a unique cpu+gpu+npu(dsp) acceleration technology, that brings a significant boost on performance of deep-learning algorithm by the built-in aidlite module. At the same time, AidLearning also provides developers with popular development tools, such as VSCode and Jupyter Notebook. |
20 | | - |
21 | | -<a href="https://www.youtube.com/watch?v=VaG12AsujNE&t=5s" target="_blank"><img src="https://docs.aidlux.com/intro/ai/desktop_1.png" width="100%" ></a> |
22 | | -<p align="center"><a href="https://www.youtube.com/watch?v=VaG12AsujNE&t=5s" target="_blank">AidLux 1.0 is officially released! (Click to watch video ⬆️ 📺)</a></p> |
23 | | - |
24 | | -## Usage |
25 | | -The lastest version of release is in the link below (About 388MB): |
26 | | - |
27 | | -[【AidLearning v0.90PRE】](https://github.com/aidlearning/AidLearning-FrameWork/releases/download/0.90PRE/AidLux0.90PRE.apk) |
28 | | - |
29 | | -- [Install and Config](https://www.aidlearning.net/showdoc/web/#/5?page_id=26) |
30 | | -- [Dev Docs](https://www.aidlearning.net/showdoc/web/#/5?page_id=23) |
31 | | -- [Sample Code](https://www.aidlearning.net/showdoc/web/#/5?page_id=40) |
32 | | - |
33 | | -## Architecture |
34 | | - |
35 | | -There're two parts of the AidLearning framework: the Linux environment and the AI programming platform. |
36 | | - |
37 | | -The Linux environment is composed of Terminal and Desktop. A complete Linux environment on Android is built underlying Linux kernel and busybox command package. Similar to the original Linux system, users can install any dependency package through `apt` command. Also, a graphical operating desktop based on web is provided for users, which can help them operate directly through touching screen. |
38 | | - |
39 | | -AidLearning also provides a cloud desktop function, which means the mobile device is accessable via LAN for computers with Aidlearning Framework. |
40 | | - |
41 | | -The AI programming platform part consists of a deep learning framework and a Python visual programming framework. AidLearning contains all the current mainstream deep learning frameworks, which are responsible for model loading, scheduling of computational graphs, memory allocation for each computation, and Op implementation. Mean while, a python visualization development platform, which can run and debug Python code in real time, is created for developers. They can design the app's interface, compile and package it with one click, and quickly develop AI applications through AidLearning's built-in [apk dev-tools](https://www.aidlearning.net/showdoc/web/#/5?page_id=31). |
42 | | - |
43 | | -## Built-in Tools |
44 | | -- [AidCode](https://docs.aidlux.com/) |
45 | | -- [File Manager](https://docs.aidlux.com/) |
46 | | -- [icloud](https://docs.aidlux.com/) |
47 | | -- [Blocky](https://docs.aidlux.com/) |
48 | | -- [Service](https://docs.aidlux.com/) |
49 | | -- [Apkbuild](https://docs.aidlux.com/) |
50 | | -- [Jupyter notebook](https://docs.aidlux.com/) |
51 | | -- [X Mode](https://docs.aidlux.com/) |
52 | | -- [VSCode](https://docs.aidlux.com/) |
53 | | -- [XFce4](https://docs.aidlux.com/) |
54 | | - |
55 | | -## Contribution to AidLearning |
56 | | -- [Code Contributions](https://docs.aidlux.com/) |
57 | | -- [System Extends](https://docs.aidlux.com/) |
58 | | -- [Update Logs](https://docs.aidlux.com/) |
59 | | - |
60 | | -## Community & Feedback |
61 | | - |
62 | | -- [AidLearning Official Website](http://www.aidlearning.net) |
63 | | -- [AidLearning Forum](http://new.aidlearning.net/) |
64 | | - |
65 | | -<details> |
66 | | -<summary>Groupchat in QQ</summary> |
67 | | -<img src="https://i.loli.net/2020/04/11/TtfxFj2rnkB7ZVM.png" height="256"/> |
68 | | -</details> |
69 | | - |
70 | | -## License |
71 | | -- [GPL 3.0](license.md) |
72 | | - |
73 | | -## Acknowledgements |
74 | | -Contributors:bill、flay、gondon、willam、gugu、yoline777、qidiso、yuge、muzi_ys |
75 | | - |
76 | | -Repos list below: |
77 | | - |
78 | | -* VTE (libvte): Terminal emulator widget for GTK+, mainly used in gnome-terminal. [Source](https://github.com/GNOME/vte), [Open Issues](https://bugzilla.gnome.org/buglist.cgi?quicksearch=product%3A%22vte%22+), and [All (including closed) issues](https://bugzilla.gnome.org/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&chfield=resolution&chfieldfrom=-2000d&chfieldvalue=FIXED&product=vte&resolution=FIXED). |
79 | | -* iTerm 2: OS X terminal application. [Source](https://github.com/gnachman/iTerm2), [Issues](https://gitlab.com/gnachman/iterm2/issues) and [Documentation](http://www.iterm2.com/documentation.html) (which includes [iTerm2 proprietary escape codes](http://www.iterm2.com/documentation-escape-codes.html)). |
80 | | -* Konsole: KDE terminal application. [Source](https://projects.kde.org/projects/kde/applications/konsole/repository), in particular [tests](https://projects.kde.org/projects/kde/applications/konsole/repository/revisions/master/show/tests), [Bugs](https://bugs.kde.org/buglist.cgi?bug_severity=critical&bug_severity=grave&bug_severity=major&bug_severity=crash&bug_severity=normal&bug_severity=minor&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=konsole) and [Wishes](https://bugs.kde.org/buglist.cgi?bug_severity=wishlist&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=konsole). |
81 | | -* hterm: JavaScript terminal implementation from Chromium. [Source](https://github.com/chromium/hterm), including [tests](https://github.com/chromium/hterm/blob/master/js/hterm_vt_tests.js), and [Google group](https://groups.google.com/a/chromium.org/forum/#!forum/chromium-hterm). |
82 | | -* xterm: The grandfather of terminal emulators. [Source](http://invisible-island.net/datafiles/release/xterm.tar.gz). |
83 | | -* Connectbot: Android SSH client. [Source](https://github.com/connectbot/connectbot) |
84 | | -* Android Terminal Emulator: Android terminal app which Termux terminal handling is based on. Inactive. [Source](https://github.com/jackpal/Android-Terminal-Emulator). |
85 | | -* Termux: Android terminal and Linux environment - app repository. [Source](https://github.com/termux/termux-app). |
86 | | -* remi:Python REMote Interface library. Platform independent. In about 100 Kbytes, perfect for your diet.[Source](https://github.com/dddomodossola/remi). |
87 | | -* [Caffe](https://github.com/BVLC/caffe) |
88 | | -* [Tensorflow](https://github.com/tensorflow/tensorflow) |
89 | | -* [Mxnet](https://github.com/apache/incubator-mxnet) |
90 | | -* [Keras](https://github.com/keras-team/keras) |
91 | | -* [ncnn](https://github.com/Tencent/ncnn) |
92 | | -* [pytorch](https://github.com/pytorch/pytorch) |
93 | | -* [opencv](https://github.com/opencv/opencv) |
94 | | -* [macUI](https://github.com/1099438829/macUI) |
| 1 | +# 🚀 AidLux - ARM Architecture Edge AIoT Fusion Development Platform |
| 2 | + |
| 3 | +**AidLux** is a cross-ecosystem (Android/HarmonyOS + Linux) one-stop AIoT application development and deployment platform based on ARM architecture. It breaks the ecological barriers between Android and Linux, allowing you to simultaneously obtain native Linux desktop environment and AI development capabilities on Android phones, tablets, or edge computing devices. |
| 4 | + |
| 5 | +**Core Concept**: Continuously lower the threshold of AI application development and achieve one-click release of edge AI computing power. |
| 6 | + |
| 7 | +## 📢 Latest Updates (AidLux 2.1.0) |
| 8 | + |
| 9 | +**Release Date**: March 20, 2026 |
| 10 | +**Build ID**: 2.1.0.1968 |
| 11 | + |
| 12 | +- **New Desktop Environment**: Default desktop environment upgraded from Xfce to **Ubuntu-desktop**, providing a more modern and complete Linux desktop experience. |
| 13 | +- **Hardware Support Expansion**: **AidLite SDK** now officially supports **Snapdragon 8 Gen 3** and above latest chipsets. |
| 14 | +- **AI Engine Upgrade**: Integrated updated **QNN (Qualcomm Neural Network)** version with optimized底层推理 logic (AidQNN). |
| 15 | +- **Feature Enhancements**: |
| 16 | + - Reconstructed and expanded WiFi management functions. |
| 17 | + - Optimized Linux environment installation and update logic, fixing some update issues. |
| 18 | + - Specified internal storage of AidLux as the initial directory for APK installation in the application center, enhancing security. |
| 19 | + - **Aid-Desktop** interface interaction and usability comprehensively optimized. |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## 🌟 Core Advantages |
| 24 | + |
| 25 | +### 1. Innovative Fusion Architecture |
| 26 | + |
| 27 | +- **Native Coexistence**: Shares Linux kernel to achieve native fusion of Android (HarmonyOS) and Linux, without virtual machines or dual system restart. |
| 28 | +- **Ecosystem Complementarity**: Seamlessly calls Android hardware drivers (camera, sensors, GPS) and Linux AI software stack (Python, ROS, OpenCV). |
| 29 | + |
| 30 | +### 2. Ultimate Edge Computing Power Scheduling |
| 31 | + |
| 32 | +- **Heterogeneous Computing**: One-click scheduling of CPU + GPU + NPU through AidLite SDK. |
| 33 | +- **High Performance & Low Power**: Deeply optimized for Qualcomm series chips, supporting INT8/FP16 quantization acceleration. |
| 34 | + |
| 35 | +### 3. Full-Scenario AI Development Support |
| 36 | + |
| 37 | +- **Edge Large Model Deployment**: Supports quantization and inference of edge large models (LLM/VLM) such as Qwen3, Stable Diffusion. |
| 38 | +- **Robotics Development**: Natively integrated ROS/ROS2, supporting MoveIt2 and Gazebo, ideal platform for embodied intelligence development. |
| 39 | + |
| 40 | +--- |
| 41 | + |
| 42 | +## 🛠️ Core Toolchain & Development Environment |
| 43 | + |
| 44 | +AidLux provides an all-in-one development tool covering the entire process from code writing to model deployment. |
| 45 | + |
| 46 | +### 🧪 AidCode - Interactive Python IDE |
| 47 | + |
| 48 | +- **Function**: Code editor designed specifically for edge AI development. |
| 49 | +- **Features**: |
| 50 | + - Supports Python syntax highlighting and code completion. |
| 51 | + - Built-in interactive terminal with one-click run (`Run Now`) and stop functions. |
| 52 | + - Supports direct calling of Android APIs (such as voice broadcast `droid.ttsSpeak`). |
| 53 | + |
| 54 | +### 🐍 Complete Linux Terminal (AidTerminal) |
| 55 | + |
| 56 | +- **Function**: Provides command-line experience consistent with native Ubuntu systems. |
| 57 | +- **Features**: |
| 58 | + - **Touch Bar**: Bottom customized touch bar with `Ctrl`, `Alt`, `Tab` and other combination keys, perfectly adapted to mobile/tablet touch screens. |
| 59 | + - **Multi-terminal**: Supports opening multiple terminal tabs simultaneously without interference. |
| 60 | + - **Keyboard Mapping**: Supports switching between external keyboards and on-screen soft keyboards. |
| 61 | + |
| 62 | +### 📦 Application Center |
| 63 | + |
| 64 | +- **Function**: Manages applications in the AidLux ecosystem. |
| 65 | +- **Features**: |
| 66 | + - **Dual-ecosystem Applications**: Can install both native Linux applications (like VSCode, Firefox) and add Android applications to the desktop. |
| 67 | + - **One-click Installation**: Simplifies dependency installation process for complex software. |
| 68 | + |
| 69 | +### 🤖 AI & Robotics Tools |
| 70 | + |
| 71 | +- **AidGen / AidGenSE**: Generative AI inference tools and HTTP services, supporting RAG service deployment. |
| 72 | +- **AidStream**: High-performance audio/video streaming framework supporting USB camera push/pull streaming. |
| 73 | +- **ROS2 Humble**: Pre-installed robotics operating system supporting peripherals like LiDAR and robotic arms. |
| 74 | + |
| 75 | +--- |
| 76 | + |
| 77 | +## 🏷️ Model Zoo & Ecosystem Resources |
| 78 | + |
| 79 | +AidLux is not just a development environment, but also the world's first **Qualcomm IoT Platform Edge AI Ecosystem Portal**. We provide abundant ready-made resources to help you seamlessly transition from "idea" to "deployment". |
| 80 | + |
| 81 | +### 🏷️ Model Zoo |
| 82 | + |
| 83 | +We offer over **400+** mainstream AI models covering computer vision, speech audio, natural language processing, and multimodal fields. |
| 84 | + |
| 85 | +- **Plug-and-Play**: All models are deeply optimized, supporting one-click download and deployment. |
| 86 | +- **Real-device Benchmark Data**: Provides detailed performance metrics, allowing you to clearly understand model performance on different Qualcomm platforms (like QCS8550, QCS6490). |
| 87 | +- **Popular Models**: |
| 88 | + - **Object Detection**: YOLOv8 (s/m/n), YOLOv5 |
| 89 | + - **Segmentation & Tracking**: SAM2, MobileSAM |
| 90 | + - **Classification & Recognition**: MobileNet, ResNet, MobileClip |
| 91 | + - **Generative AI**: Stable Diffusion, Qwen-VL (multimodal large models) |
| 92 | + |
| 93 | +### ⚡ Rapid Deployment Tools |
| 94 | + |
| 95 | +Through the built-in **MMS (Model Management System)** tool, developers can directly pull models from the command line: |
| 96 | + |
| 97 | +``` |
| 98 | +# Login to Model Zoo |
| 99 | +mms login -u <username> -p <password> |
| 100 | +
|
| 101 | +# Search models |
| 102 | +mms list yolov8 |
| 103 | +
|
| 104 | +# One-click download models optimized for specific chips (e.g., QCS8550, INT8 precision) |
| 105 | +mms get -m yolov8m -p int8 -c qcs8550 -b qnn2.36 |
| 106 | +``` |
| 107 | + |
| 108 | +--- |
| 109 | + |
| 110 | +## 📂 File System Structure |
| 111 | + |
| 112 | +AidLux standardizes Android storage mapping for convenient file management: |
| 113 | + |
| 114 | +| Directory Path | Description | Notes | |
| 115 | +| ------ |------ |------ | |
| 116 | +| `/home/aidlux` | **Working Directory** | Default location for code and projects, **the only directory supporting file upload**. | |
| 117 | +| `/sdcard` | **Device Storage** | Corresponds to Android internal storage, storing images (`DCIM`), downloads, etc. | |
| 118 | +| `/media/sdi1` | **External Storage** | Recognized and mounted USB drives or external hard disk directories. | |
| 119 | +| `/opt` | **System Applications** | Stores pre-installed SDKs and core system libraries. | |
| 120 | + |
| 121 | +--- |
| 122 | + |
| 123 | +## 🚀 Quick Start |
| 124 | + |
| 125 | +### Environment Requirements |
| 126 | + |
| 127 | +- **Supported Systems**: Android, HarmonyOS, Xiaomi HyperOS |
| 128 | +- **Hardware Architecture**: ARM64 devices (supports Snapdragon 8 Gen 3, 865, 6490, etc.) |
| 129 | + |
| 130 | +### Installation Methods |
| 131 | + |
| 132 | +1. **App Store**: Huawei, Lenovo devices can directly search "AidLux" in the app store. |
| 133 | +2. **Manual Installation**: |
| 134 | + - Download APK: AidLux 2.1.0 Latest Release |
| 135 | + - First launch after installation requires network configuration of Linux environment (about 1-3 minutes). |
| 136 | + |
| 137 | +### Development Workflow |
| 138 | + |
| 139 | +1. **Connect**: Access AidLux through browser web interface or local desktop. |
| 140 | +2. **Code**: Use `AidCode` to write Python scripts. |
| 141 | +3. **Run**: Directly call `AidStream` to capture camera footage, or use `AidLite` to load ONNX/TensorFlow models for inference. |
| 142 | +4. **Deploy**: Package applications or run directly on edge devices. |
| 143 | + |
| 144 | +--- |
| 145 | + |
| 146 | +## 📚 Learning Resources |
| 147 | + |
| 148 | +- **Official Forum**: AidLux Developer Community |
| 149 | +- **Technical Documentation**: AidLux Documentation Center |
| 150 | +- **Case Center**: Practical tutorials including YOLOv5 deployment, MobileClip2-S3, SAM2 deployment, etc. |
| 151 | + |
| 152 | +--- |
| 153 | + |
| 154 | +## 🏷️ Tags |
| 155 | + |
| 156 | +#EdgeAI #AIoT #AndroidLinux #QualcommAI #LargeModelDeployment #ROS #Python #OpenSource |
| 157 | + |
0 commit comments