• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 300 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 8 Mar 2024, 12:37

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

      1 Reply Last reply Reply Quote 0
      • M Moem moved this topic from Support on 8 Mar 2024, 15:49
      • U Offline
        unger
        last edited by 9 Mar 2024, 13:18

        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'

        M 1 Reply Last reply 9 Mar 2024, 13:57 Reply Quote 0
        • M Offline
          Moem @unger
          last edited by 9 Mar 2024, 13:57

          @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 31 Mar 2024, 06:20

            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
            • First post
              Last post