Loading

aosp编译houdini实现兼容x86库

阳性期间弄的这个东西,我头都大了

首先我们自己弄一个combo
20221219141510

仿照aosp x86弄的

在device/generic里面创建一下我自己的版本,然后把这几个文件写好,我是从build/target/product和build/target/board里面复制过来的
20221219141732

这样就可以得到一个自己的编译版本

然后在device/generic/common目录下,下载android x86提供的enable_nativebright

地址在这https://osdn.net/projects/android-x86/scm/

git clone https://scm.osdn.net/gitroot/android-x86/device-generic-common.git

把这个下载下来

然后配置编译,可以参考这个https://github.com/shugaoye/x86emu/tree/android-7.1.1_r4_x86emu_ch04_r1

编译好的aosp的system/lib/arm下需要有一些so库,我们手动弄,https://github.com/Rprop/libhoudini或者https://github.com/SGNight/Arm-NativeBridge
下载对应版本,用unsquashfs解压出来,然后把里面的内容复制到system/lib/arm下。

posted @ 2022-12-19 14:28  要努力哇  阅读(159)  评论(0)    收藏  举报