[Android zone] 社区版也可以使用家庭版Uengine
Tofloor
poster avatar
pgxppp
deepin
2021-05-26 20:44
Author

1.首先自己编译安装内核,请参考下面的链接

https://www.cnblogs.com/gettolive/p/14714022.html

下面是我自己编译的内核感兴趣的可以试试

链接: https://pan.baidu.com/s/1h9_40Ay6JZRcOssEIsuVCg  密码: g438

2.以新内核启动

3.控制中心关闭自动更新

4.添加Home版源,包括Home商店源也要添加

     然后终端sudo apt update 一下,注意千万不要upgrade

5.下载uengine

    使用命令apt download uengine得到deb包,

    解包去掉依赖uengine-moudles-dkms并添加deepin-pre-package

              deepin-pre-package

              链接:https://pan.baidu.com/s/15F8ZOa6cp1sd1Vx5UVHazw 

              提取码:7pxj 

 

              uengine-android-image

                链接: https://pan.baidu.com/s/161o5ZnHAmrMdTzzxyGxRBg  密码: m8br

    重新打包,安装

    这是我打好的包,拿走不谢(20210531更新)

              链接: https://pan.baidu.com/s/1WHLiz9-90a3dZcJGmA1MXQ  密码: v4r5

              安装成功后

            双击apk文件,输入密码即可自动安装

6.终端 apt search uengine 看看可能会有你需要的,sudo apt install XXX 就可以了。

 

Reply Favorite View the author
All Replies
1 / 3
To page
squallliu
deepin
2021-05-26 21:26
#1

xanmod内核已经带了anbox内核模块了,只是没加载而已

Reply View the author
pgxppp
deepin
2021-05-26 21:29
#2
squallliu

xanmod内核已经带了anbox内核模块了,只是没加载而已

如何加载呢,还请明示

Reply View the author
squallliu
deepin
2021-05-26 21:31
#3

sudo modprobe ashmem_linux

sudo modprobe binder_linux

 

Reply View the author
xiongweixp
deepin
2021-05-26 21:56
#4

如果只是为了加载ashmem_linux和hinder_linux是不是不需要重新编译内核,直接按anbox官方的说明安装 就 可以呢? https://github.com/anbox/anbox-modules 

Reply View the author
squallliu
deepin
2021-05-26 22:44
#5
xiongweixp

如果只是为了加载ashmem_linux和hinder_linux是不是不需要重新编译内核,直接按anbox官方的说明安装 就 可以呢? https://github.com/anbox/anbox-modules 

是的

Reply View the author
pgxppp
deepin
2021-05-27 00:26
#6
squallliu

sudo modprobe ashmem_linux

sudo modprobe binder_linux

 

我这边仅这样做,anbox无法运行

官方内核提示加载失败

modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.11.13-amd64-desktop

modprobe: FATAL: Module binder_linux not found in directory /lib/modules/5.11.13-amd64-desktop

 

Reply View the author
pgxppp
deepin
2021-05-27 00:29
#7
xiongweixp

如果只是为了加载ashmem_linux和hinder_linux是不是不需要重新编译内核,直接按anbox官方的说明安装 就 可以呢? https://github.com/anbox/anbox-modules 

但是我这边安装失败

Reply View the author
pgxppp
deepin
2021-05-27 00:29
#8
squallliu

是的

但是我这边安装失败

Reply View the author
xiongweixp
deepin
2021-05-27 00:54
#9
It has been deleted!
xiongweixp
deepin
2021-05-27 00:55
#10
pgxppp

但是我这边安装失败

$ lsmod | grep -e ashmem_linux -e binder_linux
$ ls -alh /dev/binder /dev/ashmem
检查这两个模块加载成功吗?
Reply View the author
gdnxnxw
deepin
2021-05-27 01:04
#11

下载安装uengine1.1.33安装失败,显示 依赖关系不满足;uengine-android-image

Reply View the author
xiongweixp
deepin
2021-05-27 01:14
#12
gdnxnxw

下载安装uengine1.1.33安装失败,显示 依赖关系不满足;uengine-android-image

sudo apt install -f

Reply View the author
pgxppp
deepin
2021-05-27 01:30
#13
xiongweixp
$ lsmod | grep -e ashmem_linux -e binder_linux
$ ls -alh /dev/binder /dev/ashmem
检查这两个模块加载成功吗?
/dev/binder 只有这个
ls: 无法访问'/dev/ashmem': 没有那个文件或目录 /dev/binder: 总用量 0 drwxr-xr-x 2 root root 40 5月 26 17:33 . drwxr-xr-x 24 root root 4.6K 5月 26 17:33 ..
Reply View the author
pgxppp
deepin
2021-05-27 01:31
#14
gdnxnxw

下载安装uengine1.1.33安装失败,显示 依赖关系不满足;uengine-android-image

这个包在Home源里

链接: https://pan.baidu.com/s/161o5ZnHAmrMdTzzxyGxRBg  密码: m8br

 

Reply View the author
xiongweixp
deepin
2021-05-27 01:38
#15
pgxppp
/dev/binder 只有这个
ls: 无法访问'/dev/ashmem': 没有那个文件或目录 /dev/binder: 总用量 0 drwxr-xr-x 2 root root 40 5月 26 17:33 . drwxr-xr-x 24 root root 4.6K 5月 26 17:33 ..

我晚上回家也测试一下

Reply View the author
xiongweixp
deepin
2021-05-27 06:04
#16
pgxppp
/dev/binder 只有这个
ls: 无法访问'/dev/ashmem': 没有那个文件或目录 /dev/binder: 总用量 0 drwxr-xr-x 2 root root 40 5月 26 17:33 . drwxr-xr-x 24 root root 4.6K 5月 26 17:33 ..

我试了下,ashmem编译失败了,查了下anbox的issue,发现下面这个:

https://github.com/anbox/anbox-modules/issues/75

在5.10,5.11内核,是编译不过的,要么用旧内核,要么用更新的内核,所以我等官方更新了内核再来试试

Reply View the author
pgxppp
deepin
2021-05-27 06:34
#17

通过Uengine的运行来看,5.10、5.11内核都是可以的

Reply View the author
squallliu
deepin
2021-05-27 16:08
#18

我说的是使用xanmod内核,不是官方内核

xanmod.org

Reply View the author
t***l@sina.cn
deepin
2021-05-27 17:03
#19

安装uengine_1.0.33_amd64.deb时,提示依赖deepin-pre-package不足

Reply View the author
pgxppp
deepin
2021-05-27 21:35
#20
t***l@sina.cn

安装uengine_1.0.33_amd64.deb时,提示依赖deepin-pre-package不足

deepin-pre-package

              链接:https://pan.baidu.com/s/15F8ZOa6cp1sd1Vx5UVHazw 

              提取码:7pxj 

Reply View the author
1 / 3
To page