-
I'm collecting halium for samsung m31, there is an error when creating the image
-
-
Hello
run mka halium-bootmka 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 runmake
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' -
@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. -
follow the error guide from halium build.
https://docs.halium.org/en/latest/porting/common-system-build-errors.html#common-system-build-errorsUnder 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