0、 download kernel and install
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15.113/
下载
linux-headers-5.15.113-0515113_5.15.113-0515113.202305241341_all.deb
linux-headers-5.15.113-0515113-generic_5.15.113-0515113.202305241341_amd64.deb
linux-image-unsigned-5.15.113-0515113-generic_5.15.113-0515113.202305241341_amd64.deb
linux-modules-5.15.113-0515113-generic_5.15.113-0515113.202305241341_amd64.deb
sudo dpkg -i *.deb 安装上面4个包
reboot
1、install waydroid
sudo apt install curl ca-certificates -y
curl https://repo.waydro.id | sudo bash
sudo apt install waydroid -y
2、安装
git clone https://github.com/choff/anbox-modules.git
编译
cd ashmem && make
cd binder && make
sudo cp ashmem/ashmem_linux.ko ashmem/ashmem_linux.mod /lib/modules/5.15.113-0515113-generic/
sudo cp binder/binder_linux.ko binder/binder_linux.mod /lib/modules/5.15.113-0515113-generic/
sudo depmod
sudo modprobe ashmem_linux
sudo modprobe binder_linux
3、 打开应用
打开waydroid应用入口,下载android定制模拟器
4、官方文档