问题描述
我正在尝试根据此处的步骤构建 LineageOS 17.1 培根:https://wiki.lineageos.org/devices/bacon/build
直到以下失败的所有步骤都已成功。一切都是最新的导致LINEAGE_VERSION=17.1-20210324-UNOFFICIAL-bacon
brunch bacon
返回以下失败。这是我的第一个 android 版本,网络搜索没有产生任何关于如何解决这个问题的有用信息。目前,我一无所知,非常欢迎任何有关如何解决此问题的帮助/建议。
[ 75% 372/496] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:89: warning: Be careful when using the SELINUX_IGnorE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.
[100% 496/496] writing build rules ...
build/make/core/Makefile:28: warning: overriding commands for target `out/target/product/bacon/system/vendor/lib/hw/[email protected].so'
build/make/core/base_rules.mk:510: warning: ignoring old commands for target `out/target/product/bacon/system/vendor/lib/hw/[email protected].so'
Failed: ninja: 'vendor/oppo/msm8974-common/proprietary/vendor/bin/hci_qcomm_init',needed by 'out/target/product/bacon/system/vendor/bin/hci_qcomm_init',missing and no kNown rule to make it
18:51:33 ninja Failed with: exit status 1
上述错误可能是由于缺少来源造成的吗?:
$ ./extract-files.sh
Cleaning output directory (./../../oppo/msm8974-common/../../../vendor/oppo/msm8974-common/proprietary)..
Extracting 115 files in ./../../oppo/msm8974-common/proprietary-files.txt from adb:
- vendor/bin/adsprpcd
- vendor/bin/hci_qcomm_init
!! vendor/bin/hci_qcomm_init: file not found in source
编辑:回答我自己的问题,必须在终端上运行 adb root
来指导您需要在电话上完成。这可以关闭。 #lineageos-dev 是提出此类问题的地方。
解决方法
回答我自己的问题,必须在终端上运行 adb root
,引导您完成需要在电话上完成的操作。这可以关闭。 #lineageos-dev 是提出此类问题的地方。