pls delete - Xiaomi Redmi Note 4 Questions & Answers

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?

Related

Please Someone Help Finish my LineageOs Build

Can someone please help me to finish my LineageOs build, I did make my own device and vendor tree I'm using prebuilt kernel.
I dont what is this error or how to fix.
system/netd/server/SoftapController.cpp:156:17: error: unused parameter 'ifname' [-Werror,-Wunused-parameter]
const char *ifname) {
^
1 error generated.
build/core/binary.mk:986: recipe for target '/home/neverson/android/system/out/target/product/omega/obj/EXECUTABLES/netd_intermediates/SoftapController.o' failed
make: *** [/home/neverson/android/system/out/target/product/omega/obj/EXECUTABLES/netd_intermediates/SoftapController.o] Error 1
make: Leaving directory '/home/neverson/android/system'
#### make failed to build some targets (01:08:21 (hh:mm:ss)) ####
Dersaun said:
Can someone please help me to finish my LineageOs build, I did make my own device and vendor tree I'm using prebuilt kernel.
I dont what is this error or how to fix.
system/netd/server/SoftapController.cpp:156:17: error: unused parameter 'ifname' [-Werror,-Wunused-parameter]
const char *ifname) {
^
1 error generated.
build/core/binary.mk:986: recipe for target '/home/neverson/android/system/out/target/product/omega/obj/EXECUTABLES/netd_intermediates/SoftapController.o' failed
make: *** [/home/neverson/android/system/out/target/product/omega/obj/EXECUTABLES/netd_intermediates/SoftapController.o] Error 1
make: Leaving directory '/home/neverson/android/system'
#### make failed to build some targets (01:08:21 (hh:mm:ss)) ####
Click to expand...
Click to collapse
Hi,
This error is generally due to not having LIBWPA_CLIENT_EXISTS flag enabled
either you can try
$ export LIBWPA_CLIENT_EXISTS=true
if this not solves your issue then check Android.mk of the project
system/netd/server/Android.mk
Here it is showing that LIBWPA_CLIENT_EXISTS depends on WPA_SUPPLICANT_VERSION
ifdef WPA_SUPPLICANT_VERSION
LOCAL_CFLAGS += -DLIBWPA_CLIENT_EXISTS
LOCAL_SHARED_LIBRARIES += libwpa_client
LOCAL_C_INCLUDES += external/wpa_supplicant_8/src/common
endif
You can find this flag WPA_SUPPLICANT_VERSION somewhere inside vendor/chipset/proprietary/common
Hope this helps.
Thanks
Girish
dja
I have checked all these files, alright, but the problem does not resolve

Compile lineageos15.1, execute breakfast command failed

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).

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