🔥🔥🔥AidLearning is a powerful AIOT development platform, AidLearning builds a linux env supporting GUI, deep learning and visual IDE on Android...Now Aid supports CPU+GPU+NPU for inference with high performance acceleration...Linux on Android or HarmonyOS

aidlearning, updated 🕥 2023-02-22 14:15:10

AidLux 1.3 正式发布!(观看视频⬆️📺)

AI,Android,Linux,ARM:基于Android+Linux融合生态的AI应用开发平台。 [English]

Build Status Coverage Status License Fork star commit

AidLux 是一个基于ARM构建,同时支持多生态融合(Android+Linux)环境的AI应用开发和部署平台,为开发者带来强大、简单、无限创意可能的奇妙体验! AidLux

AidLux融合架构,实现多生态超级叠加

AidLux融合架构

通过共享Android Linux kernel构建了完整的Linux系统环境,并且与Android系统环境同时提供用户访问。在为用户提供和原生Linux系统类似的命令行使用体验(如通过 apt 命令进行包管理)的同时,基于Web构建了图形化桌面环境,用户可以直接通过触摸屏或浏览器访问。

AidLux补全了AI运行所需的所有基础科学计算包/库,支持了业界主流深度学习框架,并内置自主研发的AI智能加速技术,为开发者提供了一个“AI 就绪”的应用开发平台。


Android+Linux 共生, 1+1>2

  • 一部设备同时运行两个系统环境,既是一部Android设备,同时也是一部Linux设备。两个生态的资源优势可同时被加以利用。

  • 跨系统无缝交互,高效,安全,稳定。Android应用与Linux应用实现本地高效直接访问,无需外部接口(如网络),充分释放硬件效能。 Android负责用户交互,Linux负责服务支持的新型应用形态等待你的奇思妙想。

  • 针对已有应用(Android或Linux),可轻松获得跨系统功能支持,使应用功能更加强大,充分保护已有开发投入。

  • 一键安装、自动部署、App式启动,过程快速、简单。


低AI开发门槛, 快速、简单、极致性能

  • 集成业界主流AI深度学习框架,无需配置,安装即用,极大的降低了AI开发和应用部署的环境配置复杂度,大幅减少了相关的时间投入。 框架支持如下: |TensorFlow|PyTorch|Caffe|MXNet|Keras|MindSpore|PandlePandle|TNN|MNN|SNPE| |:---:|:----:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| |√|√|√|√|√|√|√|√|√|√|

  • 内置创新性的CPU+GPU+NPU智能加速技术,通过“硬件+框架+Op"多层优化,赋予深度学习运算性能的大幅度提升。并且提供统一API接口,在方便开发者调用的同时,还支持不同AI框架模型自动转换。以下测试为基于相同ARM设备,在Linux、AidLux上测试获得。单项测试进行20次取耗时(纵轴)平均值。

  • 在Wizard中进行拖拽式AI应用开发,AI组件快速赋能,1分钟生成你的第一个AI应用!

  • 内置丰富AI应用案例及对应代码,方便开发者能快速入门。


便携、开放、一站式

  • AidLux 云桌面系统,支持从PC, 平板, 手机等多种屏幕随时随地同时访问,实现你的超级移动开发平台。 快通过PC上的浏览器,输入云桌面地址,访问你手机上的AidLux桌面吧!

  • 海量外设轻松支持(网络、USB、串口、...),创意空间无限扩展。

  • 支持VSCode, Jupyter notebook 等多种开源开发工具及Python, C/C++, Java, JavaScript等开发语言。

  • 一站式开发、测试、部署全流程支持,AidLux关注效率,您关注创意! ApkBuild应用,可以快速将基于Python开发的项目打包成APK进行发布,方便用户在其它Android系统进行部署。


目前,AidLux已在各大App应用中心上线,下载启动次数200万+。

开始使用

点击以下链接即可下载最新的安装包 【AidLux v1.3.0】

贡献与参与

QQ交流群

License

致谢

AidLux参与人员:bill、flay、gondon、willam、gugu、yoline777、qidiso、yuge、muzi_ys等。

下列项目:

Issues

Update README.md

opened on 2022-11-02 15:32:12 by Misaka17032 None

Aidlearning version 0.92 not working also 0.90 in android 8.0 phone

opened on 2021-12-14 17:03:09 by Saikatsaha1996

Aidlearning version 0.92 has stopped showing everything time

can't edit max_user_watches

opened on 2021-12-07 03:39:34 by Vivapercuore

/proc/sys/fs/inotify/max_user_watches: Permission denied as root user /etc/sysctl.conf sudo /sbin/sysctl -p sudo sysctl -w fs.aio-max-nr=1231231

got same error can't run some code on dev mode how to fix it

how to play sound in adilearning by command in terminal window?

opened on 2021-09-07 06:19:16 by leechaowen

how to play sound in adilearning by command ? i had installed the packages termux-api in python to call the termux.Media.play function , no help. and try to install mpv, no helpful too. but , it could helpful in termux . run command to play sound in termux by mpv or termux-api,it's helpful.

my phone is Readmi K40, android 11.

pip install termux-api apt-get install mpv

cat /proc/net/arp Permission denied

opened on 2020-10-20 10:44:56 by shaofeng2020

When I used @root accout, try "arp" command .The error is "/proc/net/arp permission denied".

modularization to cut down storage usage

opened on 2020-03-09 05:06:07 by SpinningK

There are many apps in aid learning, but for some users, they just need one or two of them. I think all the apps are based on a basic linux environment. So why not just install the essential components at first and give a graphic panel or one-line-commands for users to install the apps they need. In this way we can cut down both downloading time in the first boot and the storage usage and we can also upgrade apps independently.

Releases

AidLux v1.3.0 2022-08-09 02:12:27

AidLux 更新日志 AidLux 1.3 Free Build ID: 1.3.0.477

[功能更新]

  • 系统:改进 AidLux 桌面实现,支持一些低版本浏览器和Android Webview
  • 系统:改进对USB设备插拔事件的监听处理
  • 开发:AI框架运行库版本更新 - TFLite
  • 应用:新增Aid源软件包 FFmpeg、OpenCV、ROS Noetic、ROS2 Foxy
  • 应用:AidCode 支持 Ctrl+S/Command+S 保存代码
  • 应用:新增自定义桌面壁纸及清除Aid桌面缓存功能(重置桌面)

[问题修复]

  • 系统:Android 12 进程数量限制造成的应用强制终止问题
  • 系统:aid包安装工具安装本地包无法执行脚本的错误
  • 系统:在部分魅族设备启动偶现失败问题
  • 系统:桌面图标自适应排列逻辑
  • 系统:aid-desktop 快捷设置旋转切换为横屏再切换为竖屏后重启失败
  • 系统:aid-desktop 快捷设置使用鼠标点击右键AidLux重启
  • 开发:优化单个相机,解决pip关闭第二次启动相机黑屏
  • 应用:FileBrowser/文件浏览器创建相同文件提示错误,面包屑未对齐问题
  • 应用:桌面终端刷新显示异常及可能存在的内存问题
  • 应用:AidCode 从不存在的文件点击打开会找不到路径
  • 应用:串口助手显示问题
  • 应用:launch-build生成的应用其设置的访问路径不存在时,打开出现黑屏且无法返回桌面

发布日期:2022-09-29 下载地址 https://aidlux.com/apk/AidLux.apk 开发文档 https://docs.aidlux.com/

Linux 原生桌面环境支持Wayland渲染方式,支持高通芯片的推理加速,支持gpu+dsp联合推理 2022-08-03 05:40:58

AidLux 更新日志

AidLux 1.2.1 Build ID:1.2.1.330

[问题修复]

Android 7 系统无法进入AidLux 横屏切换为其它状态后可能 造成AidLux无法进入 AidCode偶现无法正常停止进程 应用中心Android应用移入移出未显示在未添加中 主题设置:分辨率设置一直显示默认,web端无法进行分辨率设置,请使用浏览器缩放功能调整分辨率 launch-build创建外部打开应用无法正常打开、图标管理更新问题 AidLux 1.2

发布日期:2022-05-23 Build ID:1.2.0.235

[功能更新]

Linux 原生桌面环境支持Wayland渲染方式,流畅度显著提升

Aid-Desktop Web应用直接远程访问时,默认需进行用户鉴权,安全和用户隐私保护获得改进

影响的应用:FileBrowser,VSCode,Web Terminal,AidCode,Jupiter,Jupiter Lab 访问端口号调整:统一改为 '3xxxx','xxxx' 为原端口号不变,由于访问端口的调整,如web桌 面无法访问,请清除浏览器缓存再访问。 关闭方式:# aid-webgw stop 该功能包含break change,从AidLux <=1.1版本升级,需要清除/root/.e.sh内配置的相关应用的启动命令,再重新安装,即可应用。 Aid-Desktop 应用中心可同时支持 Aid 源和 Debian 官方源的应用操作

Aid-Desktop 添加 AidLux 官方社区快捷访问,且用户已登录AidLux应用后,可免登录访问社区

AidLux 用户使用文档改版

优化启动脚本加载,提升bash加载速度,新增 /root/.rc.local 文件,用于用户自定义启动脚本(仅执行一次)

新增 AidLux 预编译二进制包,可通过应用中心或命令行进行安装

ROS2:Galactic AIDLUX-164 HomeAssistant,HomeBridge AidLux重启命令 reboot 修改为 aid-reboot,避免与系统命令冲突

基于全新优化的内存交换实现方式,改进了AidLite 框架与摄像头之间的数据交换性能和稳定性,AI应用整体处理速度提升达10%,通过 AidLite Python 编程接口即可获得支持

深度优化在高通硬件平台上的 AI 推理加速性能,最大性能提升达 300%,通过 AidLite Python 编程接口即可获得支持

改进图像处理(CV)性能,通过AidLux提供的 Python 编程接口即可获得支持

其它细节改进及性能优化

[问题修复]

aid 命令安装应用时的日志信息显示异常 执行apt update导致xfce桌面无法使用 AI示例中错误代码修复 AI示例处理结果展示界面加载失败修复 aid-desktop桌面应用相关问题修复 大量其它问题修复 AidLux 1.1

发布日期:2022-01-27

[功能更新]

新增 api - 重启应用 新增 api - 初始化 Linux 环境 新增 reboot 命令,重启AidLux 新增自定义程序自动启动功能 主题设置新增大屏分辨率:1920、 2560、 3840 首次启动隐私协议对话框显示全部内容 Aid-Desktop 集成至安装包 aid 命令重构,新增 aid install -p 命令安装存在于本地的aid应用包。可用aid -h命令查看使用方法 优化应用中心源列表加载,新增下载次数和缺省提示信息 支持 clear_desktop_storage 命令清除桌面缓存数据 Aid-Desktop 支持显示版本信息 [问题修复]

Aid-Desktop 无法申请使用相机权限 Aid-Desktop 自动安装后连续跳转 2 次 浏览器在某些情况下图片不显示 浏览器内容和组件手势冲突 ssh key 无法上传的问题 桌面图标可能重复渲染的问题 aidcode、terminal 等双击界面区域后造成放大无法操作的问题 aidcode、launch-build 深色模式显示异常

下载地址 https://aidlux.com/apk/AidLux.apk 参考说明 https://community.aidlux.com/postDetail/661 开发文档 https://docs.aidlux.com/

Fix some bugs! 2021-10-31 14:33:48

  1. It solves the problem of abnormal display under the condition of folding screen and split screen
  2. Fix the incorrect display of version number
  3. Optimize the card screen on the startup page
  4. Solve the problem of saving errors in performance mode
  5. Optimize the black screen when the application is placed in the background
  6. Solve the problem of blocking the progress loading page when entering aidesktop
  7. A new lock screen interface is added on the web desktop. You need to enter the root password to access it
  8. Platform SSH is aidlux by default
  9. New novice guide
  10. Six new examples have been added to the examples center. We look forward to your experience
  11. Optimize interface display
  12. Aidlite adds a function that supports multiple input of model input
  13. Aidlite adds a function to support loading model encryption and decryption
  14. Other known bugs have been solved

fix some known bugs 2021-10-23 10:57:47

  1. Fixed the bug of apkbuild application and updated the interface
  2. The performance mode is off by default. If you need long-term background operation, please turn on the performance mode
  3. WiFi signal added signal value
  4. Replace the logo in the notification bar
  5. Solve the problem that the sliding shutdown can not be closed normally occasionally
  6. Fixed the bug of individual applications in the application center
  7. The application center adds a serial communication assistant named serial comm helper
  8. Optimize login
  9. Overall optimization of permission interaction
  10. Optimize the switching logic of performance mode
  11. Optimize the interaction of obtaining and modifying system settings
  12. Optimize the startup process and repair the excessive of the startup page.
  13. Update the browser to the new style
  14. Adaptation system mode
  15. Some exceptions generated in strict mode of optimization system.
  16. Platform environment upgrade coverage installation
  17. Optimize the channel version, streamline the channel, improve the channel differentiation logic and remove the waste logic
  18. Optimize the installation process and improve the desktop boot installation process
  19. Improve the authorization function, adjust the authorization process, detect mandatory updates, adjust it to only need to be completed once a day, add a prompt box in the authorization, and add restrictions on the functions of unauthorized algorithms
  20. Aidesktop optimization, change the path of relevant resource files
  21. Optimize the login process, decouple the login logic from aidesktop, load the login interface locally, and optimize the startup speed
  22. Terminal sliding keyboard character sequence adjustment is more in line with operation habits
  23. Fixed the known problems in the application center, optimized the download log, and added an apt package that supports the display of aid command installation
  24. Updated Desktop Icon
  25. The aidcode file selection interface is optimized
  26. Optimize some games adapted to the desktop
  27. Terminal has been optimized to solve the problem of unable to copy, line break and other functions. The terminal keyboard on the mobile terminal has been rearranged and some common special keys have been added
  28. Fixed the problem that the horizontal screen switches to the vertical screen and only displays part of the window
  29. Fixed problems such as taskbar icon segmentation
  30. Fixed the offset of battery icon position of some devices such as tablet
  31. Fixed the problem that the desktop cannot exit
  32. Optimize the WiFi connection prompt window
  33. Solved the problem of occasional black screen
  34. Support offline mode. Even if there is no network, you can click skip login to enter the system
  35. The problem that Ctrl + C causes partial service broken is solved
  36. Support the version upgrade function. The old version does not need to be deleted, but can directly overwrite and install the new version (it is recommended to make a backup, and the test version will inevitably lead to unknown errors)

V0.88F0--Major updates, smarter and more flexible! 2021-08-13 03:15:49

  1. The overall size is compact, and the built-in aid package management tool (compatible with APT) allows users to install the software they need with aid install or the application center according to their needs
  2. Vscode is updated to version 1.57 and supports the development of python, Java, C + +, go and other languages
  3. In addition to installing linux software, the application center can also install Android APK software
  4. The built-in web desktop update supports putting the mobile Android Application shutcut on the web desktop and running the Android application 5, add TNN,MNN, MindSpore, PaddlePaddle to integrate the mainstream AI framework (Caffe, mxnet, keras, pytorch, tensorflow, ncnn, MindSpore, TNN,MNN and PaddlePaddle... ), without configuration, and directly use.
  5. Add aidlite_ GPU module and aidlux provide CPU acceleration and GPU acceleration modes, with built-in aidlite_ GPU module, fully release the GPU performance of mobile phone, support CPU + GPU mode and accelerate at the same time! It supports the automatic acceleration of AI models under all the above AI frameworks according to According to model file suffix. Please refer to the instruction documents for detailed use
  6. New added mobile phone control panel, which can control mobile phone WiFi, Bluetooth, hotspot, brightness and sound in aidlux
  7. New serial port debugging function, which can debug serial port information through baud rate
  8. New case operation, mobile phone and computer synchronization function. The case operation in the case center can be displayed on the mobile phone or on the computer, which is convenient for the situation that the arm board has no screen
  9. Aidcode, wizard UI changes, wizard is responsible for interface design, and aidcode is responsible for coding
  10. The wizard has built-in Industry and Robot development and built-in AI development. AI development requires camera components
  11. The built-in Web browser has been updated
  12. Shell terminal adds sharing function, day and night mode, and keyboard locking is convenient to view code
  13. Web interface new UI interface, multiple sets of interfaces are optional
  14. You can use SSH [email protected] -P9022 direct connection, no configuration required
  15. The top menu increases the display of power 、time、wifi、sound...
  16. You can add and remove installed apps shutcut to the desktop and bottom menus freely.
  17. Fixed upgrade issues
  18. Newly revised login system and verification system
  19. The form with built-in desktop can be dragged and resized at will, which is more flexible

Adapt to Android 11 version,Fix some bugs 2021-02-25 11:06:05

1、Adapt to Android 11 version, fix vscode can't start on android 11 2、Add more AI examples Using GPU's acceleration capability: hair recognition, face swap, body swap... 3、Using new icons of apps 4、Fix some known bugs 5、Fix apkbuild missing some depends 6、Fix vnc remote connect bug... 7、faked sudo

bill

Build Linux running on the Android with GUI ,Python and AI toolchain support

GitHub Repository Homepage

linux-android linux-on-android linux terminal android python python-for-android py2apk vscode jupyter android-hacking opencl android-opencl tflite aiot aios android-linux android-linux-ai macos-on-android