Introduction to Waydroid
Waydroid is a container-based approach to boot a full Android system on a regular GNU/Linux system. Waydroid uses Linux namespaces (user, pid, uts, net, mount, ipc) to run a full Android system in a container and provide Android applications on any GNU/Linux-based platform (arm, arm64, x86, x86_64). The Android system inside the container has direct access to needed hardware through LXC and the binder interface.
Preparation
- Wayland compositor
- Intel/AMD GPU
- (Optional) Arch/Manjaro Distribution
Installation
Install the software in AUR, using yay (arch) or pamac(manjaro).
Command to install Google frame:
sudo waydroid init -s GAPPS -f
Start Waydroid service:
sudo systemctl start waydroid-container
Show UI:
waydroid show-full-ui
Install lzip(package) and Waydroid script:
- in this script, please install gapps(for Google frame), libndk(translator from x86 frame to ARM frame on AMD GPU) or libhoudini(translator from x86 frame to ARM frame on Intel GPU), magisk.
- Get Google Device ID to Get Certified, follow the instruction.
tweak for touch screen:
waydroid prop set persist.waydroid.fake_touch "*"
Then we can play Fate/GO on this subsystem lol.
文档信息
- 本文作者:Shenyao Jin
- 本文链接:https://shenyaojin.github.io/2023/11/04/waydroid/
- 版权声明:自由转载-非商用-非衍生-保持署名(创意共享3.0许可证)