This was due to a wrong vendor blob . deleting that from vendor folder solved it .
Best posts made by aravindor
-
RE: Redmi note 5 pro "mka mkbootimg" showing error
-
RE: "mka systemimage" Error [ Redmi note 5 pr ]
it was my mistake ,
initially when i run themka mkbootimg
I got this error
error: vendor/xiaomi/whyred: MODULE.TARGET.SHARED_LIBRARIES.libsdm-disp-vndapis already defined by vendor/xiaomi/whyred.
To resolve this I commented out those modules from vendor/xiaomi/whyred/Android.mk .
I accidentally commented out libantradio module too .
undoing that resolved the issue .
Latest posts made by aravindor
-
RE: "mka systemimage" Error [ Redmi note 5 pr ]
it was my mistake ,
initially when i run themka mkbootimg
I got this error
error: vendor/xiaomi/whyred: MODULE.TARGET.SHARED_LIBRARIES.libsdm-disp-vndapis already defined by vendor/xiaomi/whyred.
To resolve this I commented out those modules from vendor/xiaomi/whyred/Android.mk .
I accidentally commented out libantradio module too .
undoing that resolved the issue .
-
"mka systemimage" Error [ Redmi note 5 pr ]
mka systemimage
gives me the following error .
============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=9 TARGET_PRODUCT=lineage_whyred TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=kryo TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv8-a TARGET_2ND_CPU_VARIANT=cortex-a73 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.15.0-153-generic-x86_64-elementary-OS-5.1.7-Hera HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=PQ3A.190801.002 OUT_DIR=/home/luth3r/rom-dev/halium/out PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8998 hardware/qcom/display-caf/msm8998 hardware/qcom/media-caf/msm8998 ============================================ ninja: no work to do. ninja: no work to do. vendor/xiaomi/whyred/whyred-vendor.mk was modified, regenerating... vendor/xiaomi/whyred/whyred-vendor.mk was modified, regenerating... [235/451] including halium/libhybris/compat/camera/Android.mk ... cat: frameworks/av/media/libmediaplayerservice/Android.mk: No such file or directory [238/451] including halium/libhybris/compat/media/Android.mk ... cat: frameworks/av/media/libmediaplayerservice/Android.mk: No such file or directory [451/451] including vendor/qcom/opensource/dataservices/Android.mk ... art/build/Android.gtest.mk:98: warning: overriding commands for target `Stripped' art/build/Android.gtest.mk:94: warning: ignoring old commands for target `Stripped' art/build/Android.gtest.mk:107: warning: overriding commands for target `Uncompressed' art/build/Android.gtest.mk:102: warning: ignoring old commands for target `Uncompressed' art/build/Android.gtest.mk:117: warning: overriding commands for target `EmptyUncompressed' art/build/Android.gtest.mk:112: warning: ignoring old commands for target `EmptyUncompressed' art/build/Android.gtest.mk:122: warning: overriding commands for target `Uncompressed' art/build/Android.gtest.mk:107: warning: ignoring old commands for target `Uncompressed' art/build/Android.gtest.mk:127: warning: overriding commands for target `Uncompressed' art/build/Android.gtest.mk:122: warning: ignoring old commands for target `Uncompressed' frameworks/base/Android.mk:685: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html' frameworks/base/Android.mk:649: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html' frameworks/base/Android.mk:729: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html' frameworks/base/Android.mk:685: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html' frameworks/base/Android.mk:734: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/source.properties' frameworks/base/Android.mk:690: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/source.properties' libcore/JavaLibrary.mk:160: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/obj_arm/SHARED_LIBRARIES/libreference-ril_intermediates/.jar' libcore/JavaLibrary.mk:145: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/obj_arm/SHARED_LIBRARIES/libreference-ril_intermediates/.jar' build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/consumerir.default.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/consumerir.default.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/thermal.sdm660.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/thermal.sdm660.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/vndk-sp/libcutils.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/vndk-sp/libcutils.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/consumerir.default.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/consumerir.default.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/fingerprint.default.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/fingerprint.default.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/thermal.sdm660.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/thermal.sdm660.so' ninja: error: '/home/luth3r/rom-dev/halium/out/target/product/whyred/obj/SHARED_LIBRARIES/libantradio_intermediates/export_includes', needed by '/home/luth3r/rom-dev/halium/out/target/product/whyred/obj/EXECUTABLES/antradio_app_intermediates/import_includes', missing and no known rule to make it 00:23:55 ninja failed with: exit status 1 #### failed to build some targets (03:35 (mm:ss)) ####
how to resolve this issue ??
-
RE: Redmi note 5 pro "mka mkbootimg" showing error
This was due to a wrong vendor blob . deleting that from vendor folder solved it .
-
Redmi note 5 pro "mka mkbootimg" showing error
I was following UBport documentation https://docs.ubports.com/en/latest/porting/build_and_boot/H9_build.html
upto "Modify the kernel configuration" everything was fine .
Following command
./halium/halium-boot/check-kernel-config kernel/xiaomi/whyred/arch/arm64/configs/whyred-perf_defconfiggives "Config file checked, found no errors."
but in next step "Build"
when i run the following command "mka mkbootimg"i am getting this error
============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=9 TARGET_PRODUCT=lineage_whyred TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=kryo TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv8-a TARGET_2ND_CPU_VARIANT=cortex-a73 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.15.0-153-generic-x86_64-elementary-OS-5.1.7-Hera HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=PQ3A.190801.002 OUT_DIR=/home/luth3r/rom-dev/halium/out PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8998 hardware/qcom/display-caf/msm8998 hardware/qcom/media-caf/msm8998 ============================================ ninja: no work to do. [1/1] /home/luth3r/rom-dev/halium/out/soo...th3r/rom-dev/halium/out/soong/build.ninja FAILED: /home/luth3r/rom-dev/halium/out/soong/build.ninja /home/luth3r/rom-dev/halium/out/soong/.bootstrap/bin/soong_build -t -l /home/luth3r/rom-dev/halium/out/.module_paths/Android.bp.list -b /home/luth3r/rom-dev/halium/out/soong -n /home/luth3r/rom-dev/halium/out -d /home/luth3r/rom-dev/halium/out/soong/build.ninja.d -o /home/luth3r/rom-dev/halium/out/soong/build.ninja Android.bp error: vendor/vendor_xiaomi_whyred-eleven/Android.bp:23:17: unrecognized property "check_elf_files" error: vendor/vendor_xiaomi_whyred-eleven/Android.bp:28:1: unrecognized module type "android_app_import" ninja: build stopped: subcommand failed. 21:10:15 soong bootstrap failed with: exit status 1 #### failed to build some targets (17 seconds) ####
Please help , i don't even know what to check here