UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Redmi note 5 pro "mka mkbootimg" showing error

    Scheduled Pinned Locked Moved Solved Porting
    3 Posts 2 Posters 621 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      aravindor
      last edited by

      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_defconfig

      gives "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

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        aravindor @aravindor
        last edited by

        This was due to a wrong vendor blob . deleting that from vendor folder solved it .

        LakotaubpL 1 Reply Last reply Reply Quote 1
        • LakotaubpL Offline
          Lakotaubp @aravindor
          last edited by

          @aravindor Please mark as solved https://forums.ubports.com/topic/6311/how-to-ask-a-question-and-then-mark-it-as-solved

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post