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

    I'm collecting halium for samsung m31

    Scheduled Pinned Locked Moved Unsolved Porting
    4 Posts 3 Posters 668 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.
    • U Offline
      unger
      last edited by

      I'm collecting halium for samsung m31, there is an error when creating the image
      alt text

      1 Reply Last reply Reply Quote 0
      • MoemM Moem moved this topic from Support on
      • U Offline
        unger
        last edited by

        Hello
        run mka halium-boot

        mka halium-boot         
        ============================================
        PLATFORM_VERSION_CODENAME=REL
        PLATFORM_VERSION=9
        LINEAGE_VERSION=16.0-20240309-UNOFFICIAL-m31
        TARGET_PRODUCT=lineage_m31
        TARGET_BUILD_VARIANT=userdebug
        TARGET_BUILD_TYPE=release
        TARGET_ARCH=arm64
        TARGET_ARCH_VARIANT=armv8-a
        TARGET_CPU_VARIANT=cortex-a73
        TARGET_2ND_ARCH=arm
        TARGET_2ND_ARCH_VARIANT=armv8-a
        TARGET_2ND_CPU_VARIANT=cortex-a53
        HOST_ARCH=x86_64
        HOST_OS=darwin
        HOST_OS_EXTRA=Darwin-23.3.0-x86_64-14.3.1
        HOST_BUILD_TYPE=release
        BUILD_ID=PQ3A.190801.002
        OUT_DIR=/Volumes/Code/halium9/out
        PRODUCT_SOONG_NAMESPACES=device/samsung/universal9610-common device/samsung/m31
        ============================================
        ninja: no work to do.
        [1/1] /Volumes/Code/halium9/out/soong/...mes/Code/halium9/out/soong/build.ninja
        No need to regenerate ninja file
        No need to regenerate ninja file
        ninja: error: '/Volumes/Code/halium9/out/target/product/m31/kernel', needed by '/Volumes/Code/halium9/out/target/product/m31/obj/ROOT/halium-boot_intermediates/halium-boot.img', missing and no known rule to make it
        14:15:40 ninja failed with: exit status 1
        
        #### failed to build some targets (25 seconds) ####
        

        If run cd kernel/samsung/m31
        and run make

        
        make: ../PLATFORM/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-gcc: Command not found
        make: ../PLATFORM/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-gcc: Command not found
        scripts/kconfig/conf  --silentoldconfig Kconfig
        ***
        *** Configuration file ".config" not found!
        ***
        *** Please run some configurator (e.g. "make oldconfig" or
        *** "make menuconfig" or "make xconfig").
        ***
        make[2]: *** [silentoldconfig] Error 1
        make[1]: *** [silentoldconfig] Error 2
        make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.
        
        #### failed to build some targets (4 seconds) ####
        

        did not create include/config/auto.conf' and include/config/kernel.release'

        MoemM 1 Reply Last reply Reply Quote 0
        • MoemM Offline
          Moem @unger
          last edited by

          @unger said in I'm collecting halium for samsung m31:

          Hello

          Hello,
          This is a porting question, not a support question for normal usage, so I've moved it to the Porting section. Please do not keep starting topics in Support.

          Is currently using an Op5t
          Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

          1 Reply Last reply Reply Quote 0
          • F Offline
            Fray_Tormenta
            last edited by

            follow the error guide from halium build.
            https://docs.halium.org/en/latest/porting/common-system-build-errors.html#common-system-build-errors

            Under title: signapk.jar missing

            This error is because some parts of code have missing dependency with some android/Java packages, so wich devices files need specifically modifications

            1 Reply Last reply Reply Quote 0

            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