An open API service indexing awesome lists of open source software.

https://github.com/moe-sushi/asl

Android Subsystem for GNU/Linux (magisk/ksu/Apatch module)
https://github.com/moe-sushi/asl

apatch apatch-module kernelsu kernelsu-module linux-containers magisk magisk-module

Last synced: 13 days ago
JSON representation

Android Subsystem for GNU/Linux (magisk/ksu/Apatch module)

Awesome Lists containing this project

README

        

Android Subsystem for GNU/Linux

[![Repo size](https://img.shields.io/github/repo-size/Moe-hacker/asl?logo=github&logoColor=white)](https://github.com/Moe-hacker/asl)

Currently Supported Systems

- archlinux
- `current`
- alpine
- 3.20
- `edge`
- centos
- `9-Stream`
- debian
- `bookworm`
- bullseye
- buster
- trixie
- fedora
- 39
- 40
- `41`
- kali
- `current`
- ubuntu
- focal
- `jammy`
- noble
- `oracular`

> [!NOTE]
> - This module is only for `arm64-v8a`
> - It has been tested only on the versions marked above
> - If there are any bugs, please report them. Compatibility with all devices is not guaranteed
> - If you install the module twice, it will backup old container_dir and install a new container
> - you can install multipe OS by changeing the module id and ssh port, but this action not supported officially
## How to connect
Use port 22, user root and password 123456 by default,
but, please change the password once you connected to the container, and it's better to use ssh key instead of password login, note that please do not expose the ssh port to the pubnet.
## About the Binary

### Powered by ruri

- Use [ruri](https://github.com/Moe-hacker/ruri) for container runtime
- [rurima](https://github.com/Moe-hacker/rurima) is used for fetching the container rootfs
- The `file` and `curl` command are fake, they actually calls `file-static` and `curl-static` with corrected args
- Thanks: https://github.com/stunnel/static-curl for curl static binary

> [!WARNING]
> Please change the default SSH password immediately
> Exposing a SSH port without key-based authentication is always a high-risk action!
>
> 请修改默认密码,暴露非密钥认证而是密码认证的ssh端口无论何时都是高危行为!

---

## Thanks

- GitHub: [Lin1328](https://github.com/Lin1328) for the module framework
- Coolapk: 望月古川 for additional framework support
- GitHub: [stunnel](https://github.com/stunnel) for the curl static binary

## Contributing

Contributions are welcome!
If you want to add support for other operating systems, please submit a corresponding `setup.sh`

## License

希腊奶......