Compile lineageos15.1, execute breakfast command failed - Honor 5X Questions & Answers

Hi,guys.I am a novice. I referred to some documents and tried to prepare Treble for my KIW-TL00H. I downloaded device, vendor and kernel provided in GitHub, called kiwidevs. When I was ready to compile, Lineage automatically downloaded the device in the official repository, and then told me the error, prompting me that I couldn't identify the vendor file. What should I do now?

Use this guide to unpack latest lineage 15.1 ROM and extract necessary file from it:
https://blog.j15h.nu/building-lineageos-15-1-from-source/

whitemouse2005 said:
Hi,guys.I am a novice. I referred to some documents and tried to prepare Treble for my KIW-TL00H. I downloaded device, vendor and kernel provided in GitHub, called kiwidevs. When I was ready to compile, Lineage automatically downloaded the device in the official repository, and then told me the error, prompting me that I couldn't identify the vendor file. What should I do now?
Click to expand...
Click to collapse
You need to create manifest file for your sources and pull all repos (device, kernel, proprietary) from Github, if you don't want to use official Lineage repos.
If you want to use official Lineage repos, add TheMuppets/proprietary_vendor_huawei to your local manifest.

ShadySquirrel said:
You need to create manifest file for your sources and pull all repos (device, kernel, proprietary) from Github, if you don't want to use official Lineage repos.
If you want to use official Lineage repos, add TheMuppets/proprietary_vendor_huawei to your local manifest.
Click to expand...
Click to collapse
I did it. Now I am finish.But I get a new problem.It means:
[1078/1078] including ./vendor/qcom/opensource/rcs-service/Android.mk ...
device/huawei/kiwi/libwcnss_qmi/Android.mk: error: libwcnss_qmi (SHARED_LIBRARIES android-arm64) missing libhuawei_secure (SHARED_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
device/huawei/kiwi/libwcnss_qmi/Android.mk: error: libwcnss_qmi (SHARED_LIBRARIES android-arm64) missing liboeminfo (SHARED_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
device/huawei/kiwi/libwcnss_qmi/Android.mk: error: libwcnss_qmi (SHARED_LIBRARIES android-arm) missing libhuawei_secure (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
device/huawei/kiwi/libwcnss_qmi/Android.mk: error: libwcnss_qmi (SHARED_LIBRARIES android-arm) missing liboeminfo (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/core/main.mk:732: error: exiting from previous errors.
13:02:26 ckati failed with: exit status 1
What should I do?

whitemouse2005 said:
I did it. Now I am finish.But I get a new problem.It means:
[1078/1078] including ./vendor/qcom/opensource/rcs-service/Android.mk ...
device/huawei/kiwi/libwcnss_qmi/Android.mk: error: libwcnss_qmi (SHARED_LIBRARIES android-arm64) missing libhuawei_secure (SHARED_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
device/huawei/kiwi/libwcnss_qmi/Android.mk: error: libwcnss_qmi (SHARED_LIBRARIES android-arm64) missing liboeminfo (SHARED_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
device/huawei/kiwi/libwcnss_qmi/Android.mk: error: libwcnss_qmi (SHARED_LIBRARIES android-arm) missing libhuawei_secure (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
device/huawei/kiwi/libwcnss_qmi/Android.mk: error: libwcnss_qmi (SHARED_LIBRARIES android-arm) missing liboeminfo (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/core/main.mk:732: error: exiting from previous errors.
13:02:26 ckati failed with: exit status 1
What should I do?
Click to expand...
Click to collapse
Have you resynced after you've added your repos to the manifest? It looks like it didn't pull anything from proprietary repo (that file is part of it).

Related

[Q] [CM10.2] libhardware_legacy not compiling because of wifi

Hi!
I'm trying to compile my first cyanogen rom for my Galaxy 3 (i5800). I downloaded the Android source from androidarmv6 and the device folder from marcellusbe's repo and i edited it to include samsung fimg drivers (original device folders has openfimg which IMHO is still not good for daily usage because of lag, very limited opengles support etc...) and the device configuration and filesystem table to support MTD converted phones. At first compiling went pretty good i just got some: "Thumb does not support this addressing mode *" that i fixed by adding
Code:
LOCAL_CFLAGS += -marm
to involved Android.mk however after resolving those errors it started compiling host libraries and it started giving TONS of no such file or directory errors, but compilation didn't stop so i didn't touch anything, then this error appeared and i can't find any patch/solution/workaround:
Code:
target thumb C: libhardware_legacy <= hardware/libhardware_legacy/wifi/wifi.c
hardware/libhardware_legacy/wifi/wifi.c: In function 'update_ctrl_interface':
hardware/libhardware_legacy/wifi/wifi.c:473:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
hardware/libhardware_legacy/wifi/wifi.c: In function 'wifi_start_supplicant':
hardware/libhardware_legacy/wifi/wifi.c:894:20: error: dereferencing pointer to incomplete type
hardware/libhardware_legacy/wifi/wifi.c:911:26: error: dereferencing pointer to incomplete type
make: *** [/home/francesco/cm10_port/cm_armv6/out/target/product/apollo/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/wifi/wifi.o] Error 1
I also downloaded the latest wifi.c from cyanogen github but nothing.
Someone knows how to resolve this?
Thanks in advance!

pls delete

pls delete
Hi, have you ever solved the problem? I'm facing the same error.
onion4 said:
Hey, I want to build Oreo ROM for mido. As always I have some issues.
Code:
device/xiaomi/mido/camera/QCamera2/Android.mk: error: camera.msm8953 (SHARED_LIBRARIES android-arm) missing libqdMetaData (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
device/xiaomi/mido/camera/QCamera2/Android.mk: error: camera.msm8953 (SHARED_LIBRARIES android-arm) missing libqservice (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
frameworks/av/services/audiopolicy/Android.mk: error: libaudiopolicyservice (SHARED_LIBRARIES android-arm64) missing libaudiopolicymanager (SHARED_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
frameworks/av/services/audiopolicy/Android.mk: error: libaudiopolicyservice (SHARED_LIBRARIES android-arm) missing libaudiopolicymanager (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/core/main.mk:729: error: exiting from previous errors.
14:47:45 ckati failed with: exit status 1
#### failed to build some targets (01:53 (mm:ss)) ####
I tried setting ALLOW_MISSING_DEPENDENCIES to true but it's not solving my problem. What should I do?
Click to expand...
Click to collapse
did u find the solution?

Building for an unofficial device

Hi! I'm trying to build Lineage 15.1 for Vince (Redmi 5 Plus). There are already funtional builds for this device. I synced the repo and put in [vendor/device/kernel]/xiaomi/vince the files that are needed. The problem is when I do "brunch vince", because I get this error: https://pastebin.com/A6h1uzRa
Does anyone know how to solve it or where is the problem?
EDIT: The problem was solved running the following commands. The problem is caused by using zsh:
setopt shwordsplit
export LC_ALL=C
Now the ROM is compiling, but at some point, I have this error:
system/core/init/Android.mk: error: init (EXECUTABLES android-arm64) missing libinit_msm8953 (STATIC_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/core/main.mk:732: error: exiting from previous errors.
21:11:57 ckati failed with: exit status 1
Anyone knows how to solve it?

some problem with cooking lineage rom

i try to build a LOS 17 unofficially for tissot (xiaomi mi a1) phone
after days that i finding missing vendor files finally i try to brunch the ROM
and after 99% i got this error:
[ 99% 478/479] finishing build rules ...
FAILED:
hardware/interfaces/boot/1.0/default/Android.mk: error: "[email protected] (SHARED_LIBRARIES android-arm64) missing bootctrl.msm8953 (STATIC_LIBRARIES android-arm64)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:961: error: exiting from previous errors.
15:16:22 ckati failed with: exit status 1
and i dont know what should i do
try searching about missing bootctrl.msm8953 but nothing
any help or advice that make it easy to me
thanks a lot for attention or help
babakhad said:
i try to build a LOS 17 unofficially for tissot (xiaomi mi a1) phone
after days that i finding missing vendor files finally i try to brunch the ROM
and after 99% i got this error:
[ 99% 478/479] finishing build rules ...
FAILED:
hardware/interfaces/boot/1.0/default/Android.mk: error: "[email protected] (SHARED_LIBRARIES android-arm64) missing bootctrl.msm8953 (STATIC_LIBRARIES android-arm64)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:961: error: exiting from previous errors.
15:16:22 ckati failed with: exit status 1
and i dont know what should i do
try searching about missing bootctrl.msm8953 but nothing
any help or advice that make it easy to me
thanks a lot for attention or help
Click to expand...
Click to collapse
i pass the problem
and now another one apear :
FAILED: ninja: 'out/target/product/tissot/obj/STATIC_LIBRARIES/bootctrl.msm8953_intermediates/export_includes', needed by 'out/target/product/tissot/obj/SHARED_LIBRARIES/[email protected]_intermediates/import_includes', missing and no known rule to make it
12:43:28 ninja failed with: exit status 1
thanks
and any help will be appreciated
0

Pixel 4: Build Vendor Image with a New HAL Service (Android 11)

Is there a way to compile the vendor image for the pixel 4 (Flame)? My goal is to add some new hardware on the phone. The kernel is already compiled with the new hardware driver and works perfectly. However, I seem I cannot resolve all the dependencies for the vendor image.
There is the output error:
device/google/coral/device.mk was modified, regenerating...
device/google/coral/aosp_flame.mk was modified, regenerating...
[ 99% 219/220] finishing build rules ...
FAILED:
system/chre/Android.mk: error: "chre (EXECUTABLES android-arm64) missing libsdsprpc (SHARED_LIBRARIES android-arm64)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:946: error: exiting from previous errors.
17:07:33 ckati failed with: exit status 1
Click to expand...
Click to collapse
libsdsprpc is missing. I fear I need more than one library to complete the build.
I added this lines the BoardConfig-common.mk file in device/google/coral
# Build a separate vendor.img partition
BOARD_USES_VENDORIMAGE := true
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
#ALLOW_MISSING_DEPENDENCIES=true
BOARD_VNDK_VERSION := current
Click to expand...
Click to collapse
and commented this line in the vendor/google_devices/flame/BoardConfigPartial.mk. (from binaries driver folder downloaded from google)
#BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/flame/proprietary/vendor.img
Click to expand...
Click to collapse

Categories

Resources