• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  1. Home
  2. VinceAle7082
V
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 5
  • Posts 12
  • Groups 0

Vincenzo Aleksey Brocato

@VinceAle7082

0
Reputation
4
Profile views
12
Posts
0
Followers
0
Following
Joined 30 Mar 2024, 23:10
Last Online 11 Jun 2024, 14:49
Location Italy

VinceAle7082 Unfollow Follow

Latest posts made by VinceAle7082

  • Hi, I have an error while doing "mka halium-boot"

    I'm using an Ideapad S340, building halium12 for a samsung note 10 (d1)
    Here is the log:

    root@vincenzo-Lenovo-IdeaPad-S340-15API:/home/vincenzo/halium12# mka halium-boot
    12:17:36 ************************************************************
    12:17:36 You are building on a machine with 6.71GB of RAM
    12:17:36 
    12:17:36 The minimum required amount of free memory is around 16GB,
    12:17:36 and even with that, some configurations may not work.
    12:17:36 
    12:17:36 If you run into segfaults or other errors, try reducing your
    12:17:36 -j value.
    12:17:36 ************************************************************
    [W][2024-06-11T12:17:37+0200][7450] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
    [W][2024-06-11T12:17:37+0200][7450] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
    build/make/core/soong_config.mk:199: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
    build/make/core/soong_config.mk:200: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=12
    LINEAGE_VERSION=19.1-20240611-UNOFFICIAL-d1
    TARGET_PRODUCT=lineage_d1
    TARGET_BUILD_VARIANT=userdebug
    TARGET_BUILD_TYPE=release
    TARGET_ARCH=arm64
    TARGET_ARCH_VARIANT=armv8-2a
    TARGET_CPU_VARIANT=cortex-a75
    TARGET_2ND_ARCH=arm
    TARGET_2ND_ARCH_VARIANT=armv8-2a
    TARGET_2ND_CPU_VARIANT=cortex-a55
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-6.8.0-35-generic-x86_64-Ubuntu-24.04-LTS
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=SQ3A.220705.004
    OUT_DIR=out
    PRODUCT_SOONG_NAMESPACES=vendor/samsung/exynos9820-common device/samsung/exynos9820-common hardware/google/interfaces hardware/google/pixel hardware/samsung/aidl/power-libperfmgr vendo
    r/samsung/d1 packages/apps/Bluetooth
    ============================================
    [W][2024-06-11T12:17:39+0200][7516] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
    [W][2024-06-11T12:17:39+0200][7516] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
    [W][2024-06-11T12:17:40+0200][7550] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
    [W][2024-06-11T12:17:40+0200][7550] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
    $(shell date -u +%Y%m%d) was changed, regenerating...
    [W][2024-06-11T12:17:42+0200][7653] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
    [W][2024-06-11T12:17:42+0200][7653] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
    12:17:43 Disallowed PATH tool "make" used: []string{"make", "-s", "-C", "external/busybox", "CC=cc", "kernelversion"}
    12:17:43 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
    12:17:43 Disallowed PATH tool "make" used: []string{"make", "-s", "-C", "external/busybox", "CC=cc", "kernelversion"}
    12:17:43 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
    $(shell date -u +%Y%m%d) was changed, regenerating...
    12:18:45 Disallowed PATH tool "make" used: []string{"make", "-s", "-C", "external/busybox", "CC=cc", "kernelversion"}
    12:18:45 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
    12:18:45 Disallowed PATH tool "make" used: []string{"make", "-s", "-C", "external/busybox", "CC=cc", "kernelversion"}
    12:18:45 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
    [ 26% 69/262] including external/busybox/Android.mk ...
    "make" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
    "make" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
    [ 43% 115/262] including halium/hybris-boot/Android.mk ...
    halium/hybris-boot/Android.mk:69: warning: ********************* /boot appears to live on /dev/block/platform/13d60000.ufs/by-name/boot
    halium/hybris-boot/Android.mk:70: warning: ********************* /data appears to live on /dev/block/platform/13d60000.ufs/by-name/userdata
    /bin/bash: riga 1: test: troppi argomenti
    [ 76% 200/262] including system/sepolicy/Android.mk ...
    system/sepolicy/Android.mk:57: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
    system/sepolicy/Android.mk:62: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
    [ 82% 216/262] including vendor/halium/audioflingerglue/Android.mk ...
    vendor/halium/audioflingerglue/Android.mk:41: warning: *** ANDROID_MICRO undefined. Assuming 0
    cat: frameworks/av/include/media/AudioSystem.h: No such file or directory
    [ 83% 218/262] including vendor/halium/droidmedia/Android.mk ...
    vendor/halium/droidmedia/Android.mk:48: warning: *** ANDROID_MICRO undefined. Assuming 0
    [W][2024-06-11T12:20:49+0200][8775] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
    [W][2024-06-11T12:20:49+0200][8775] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
    [W][2024-06-11T12:20:49+0200][8785] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
    [W][2024-06-11T12:20:49+0200][8785] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
    [ 98% 263/267] Building Kernel Config
    make: ingresso nella directory «/home/vincenzo/halium12/kernel/samsung/exynos9820»
    make[1]: ingresso nella directory «/home/vincenzo/halium12/out/target/product/d1/obj/KERNEL_OBJ»
      GEN     ./Makefile
    arch/arm64/configs/exynos9820-d1_defconfig:6179:warning: override: reassigning to symbol DEFAULT_SECURITY
    arch/arm64/configs/exynos9820-d1_defconfig:6470:warning: override: reassigning to symbol DEFAULT_SECURITY
    #
    # configuration written to .config
    #
    make[1]: uscita dalla directory «/home/vincenzo/halium12/out/target/product/d1/obj/KERNEL_OBJ»
    make: uscita dalla directory «/home/vincenzo/halium12/kernel/samsung/exynos9820»
    [ 98% 264/267] Building Kernel Image (Image)
    FAILED: out/target/product/d1/obj/KERNEL_OBJ/arch/arm64/boot/Image
    /bin/bash -c "(PATH=/home/vincenzo/halium12/out/host/linux-x86/bin:\$PATH PATH=/home/vincenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/bin:\$PATH LD_LIBRARY_PATH=/home/v
    incenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/lib64:\$LD_LIBRARY_PATH PATH=/home/vincenzo/halium12/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:\$PAT
    H LD_LIBRARY_PATH=/home/vincenzo/halium12/prebuilts/tools-lineage/linux-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/home/vincenzo/halium12/prebuilts/tools-lineage/common/perl-base PATH=/home/v
    incenzo/halium12/prebuilts/tools-lineage/linux-x86/bin:/home/vincenzo/halium12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:\$PATH BISON_PKGDATADIR=/home/vincenzo/halium12
    /prebuilts/build-tools/common/bison /home/vincenzo/halium12/prebuilts/build-tools/linux-x86/bin/make  -j8 CPATH=\"/usr/include:/usr/include/x86_64-linux-gnu\" HOSTCFLAGS=\"-fuse-ld=lld
    \" HOSTLDFLAGS=\"-L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -fuse-ld=lld\" HOSTCC=/home/vincenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang HOSTCXX=/home/vincenzo/
    halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ LEX=/home/vincenzo/halium12/prebuilts/build-tools/linux-x86/bin/flex YACC=/home/vincenzo/halium12/prebuilts/build-to
    ols/linux-x86/bin/bison M4=/home/vincenzo/halium12/prebuilts/build-tools/linux-x86/bin/m4 DTC_EXT=/home/vincenzo/halium12/out/host/linux-x86/bin/dtc -C kernel/samsung/exynos9820 O=/hom
    e/vincenzo/halium12/out/target/product/d1/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/home/vincenzo/halium12/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-
    android-\" CROSS_COMPILE_ARM32=\"/home/vincenzo/halium12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" CROSS_COMPILE_COMPAT=\"/home/vincenzo/hali
    um12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\" clang\"  Image ) && (if grep -q '^CONFIG_OF=y' out/targe
    t/product/d1/obj/KERNEL_OBJ/.config; then 			echo \"Building DTBs\"; 			PATH=/home/vincenzo/halium12/out/host/linux-x86/bin:\$PATH PATH=/home/vi
    ncenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/bin:\$PATH LD_LIBRARY_PATH=/home/vincenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/lib64:\$LD_LIBRARY_PATH
     PATH=/home/vincenzo/halium12/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:\$PATH LD_LIBRARY_PATH=/home/vincenzo/halium12/prebuilts/tools-lineage/linux-x86/lib:\$LD_LI
    BRARY_PATH PERL5LIB=/home/vincenzo/halium12/prebuilts/tools-lineage/common/perl-base PATH=/home/vincenzo/halium12/prebuilts/tools-lineage/linux-x86/bin:/home/vincenzo/halium12/prebuilt
    s/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:\$PATH BISON_PKGDATADIR=/home/vincenzo/halium12/prebuilts/build-tools/common/bison /home/vincenzo/halium12/prebuilts/build-tools/linux
    -x86/bin/make  -j8 CPATH=\"/usr/include:/usr/include/x86_64-linux-gnu\" HOSTCFLAGS=\"-fuse-ld=lld\" HOSTLDFLAGS=\"-L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -fuse-ld=lld\" HOSTCC=/home/v
    incenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang HOSTCXX=/home/vincenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ LEX=/home/vincenzo/
    halium12/prebuilts/build-tools/linux-x86/bin/flex YACC=/home/vincenzo/halium12/prebuilts/build-tools/linux-x86/bin/bison M4=/home/vincenzo/halium12/prebuilts/build-tools/linux-x86/bin/
    m4 DTC_EXT=/home/vincenzo/halium12/out/host/linux-x86/bin/dtc -C kernel/samsung/exynos9820 O=/home/vincenzo/halium12/out/target/product/d1/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/ho
    me/vincenzo/halium12/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/home/vincenzo/halium12/prebuilts/gcc/linux-x86/arm/ar
    m-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" CROSS_COMPILE_COMPAT=\"/home/vincenzo/halium12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-
    \" CLANG_TRIPLE=aarch64-linux-gnu- CC=\" clang\"  dtbs; 		fi ) && (if grep -q '=m' out/target/product/d1/obj/KERNEL_OBJ/.config; then 			echo \"Building 
    Kernel Modules\"; 			PATH=/home/vincenzo/halium12/out/host/linux-x86/bin:\$PATH PATH=/home/vincenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/bin:\$PAT
    H LD_LIBRARY_PATH=/home/vincenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/lib64:\$LD_LIBRARY_PATH PATH=/home/vincenzo/halium12/prebuilts/gcc/linux-x86/aarch64/aarch64-li
    nux-android-4.9/bin:\$PATH LD_LIBRARY_PATH=/home/vincenzo/halium12/prebuilts/tools-lineage/linux-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/home/vincenzo/halium12/prebuilts/tools-lineage/comm
    on/perl-base PATH=/home/vincenzo/halium12/prebuilts/tools-lineage/linux-x86/bin:/home/vincenzo/halium12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:\$PATH BISON_PKGDATADI
    R=/home/vincenzo/halium12/prebuilts/build-tools/common/bison /home/vincenzo/halium12/prebuilts/build-tools/linux-x86/bin/make  -j8 CPATH=\"/usr/include:/usr/include/x86_64-linux-gnu\" 
    HOSTCFLAGS=\"-fuse-ld=lld\" HOSTLDFLAGS=\"-L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -fuse-ld=lld\" HOSTCC=/home/vincenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clan
    g HOSTCXX=/home/vincenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ LEX=/home/vincenzo/halium12/prebuilts/build-tools/linux-x86/bin/flex YACC=/home/vincenzo/ha
    lium12/prebuilts/build-tools/linux-x86/bin/bison M4=/home/vincenzo/halium12/prebuilts/build-tools/linux-x86/bin/m4 DTC_EXT=/home/vincenzo/halium12/out/host/linux-x86/bin/dtc -C kernel/
    samsung/exynos9820 O=/home/vincenzo/halium12/out/target/product/d1/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/home/vincenzo/halium12/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-andro
    id-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/home/vincenzo/halium12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" CROSS_COMPILE_COM
    PAT=\"/home/vincenzo/halium12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\" clang\"  modules || exit \"\$?\
    "; 			echo \"Installing Kernel Modules\"; 			PATH=/home/vincenzo/halium12/out/host/linux-x86/bin:\$PATH PATH=/home/vincenzo/halium12/prebuilts/clang/
    host/linux-x86/clang-r416183b1/bin:\$PATH LD_LIBRARY_PATH=/home/vincenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/lib64:\$LD_LIBRARY_PATH PATH=/home/vincenzo/halium12/pr
    ebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:\$PATH LD_LIBRARY_PATH=/home/vincenzo/halium12/prebuilts/tools-lineage/linux-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/home/vincen
    zo/halium12/prebuilts/tools-lineage/common/perl-base PATH=/home/vincenzo/halium12/prebuilts/tools-lineage/linux-x86/bin:/home/vincenzo/halium12/prebuilts/gcc/linux-x86/arm/arm-linux-an
    droideabi-4.9/bin:\$PATH BISON_PKGDATADIR=/home/vincenzo/halium12/prebuilts/build-tools/common/bison /home/vincenzo/halium12/prebuilts/build-tools/linux-x86/bin/make  -j8 CPATH=\"/usr/
    include:/usr/include/x86_64-linux-gnu\" HOSTCFLAGS=\"-fuse-ld=lld\" HOSTLDFLAGS=\"-L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -fuse-ld=lld\" HOSTCC=/home/vincenzo/halium12/prebuilts/clang
    /host/linux-x86/clang-r416183b1/bin/clang HOSTCXX=/home/vincenzo/halium12/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ LEX=/home/vincenzo/halium12/prebuilts/build-tools/l
    inux-x86/bin/flex YACC=/home/vincenzo/halium12/prebuilts/build-tools/linux-x86/bin/bison M4=/home/vincenzo/halium12/prebuilts/build-tools/linux-x86/bin/m4 DTC_EXT=/home/vincenzo/halium
    12/out/host/linux-x86/bin/dtc -C kernel/samsung/exynos9820 O=/home/vincenzo/halium12/out/target/product/d1/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/home/vincenzo/halium12/prebuilts/g
    cc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/home/vincenzo/halium12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-
    linux-androidkernel-\" CROSS_COMPILE_COMPAT=\"/home/vincenzo/halium12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" CLANG_TRIPLE=aarch64-linux-gn
    u- CC=\" clang\"  INSTALL_MOD_PATH=/home/vincenzo/halium12/out/target/product/d1/obj/PACKAGING/kernel_modules_intermediates INSTALL_MOD_STRIP=1 modules_install; 			 
    kernel_release=\$(cat out/target/product/d1/obj/KERNEL_OBJ/include/config/kernel.release) 			kernel_modules_dir=/home/vincenzo/halium12/out/target/product/d1/obj/PAC
    KAGING/kernel_modules_intermediates/lib/modules/\$kernel_release 			; 			modules=\$(find \$kernel_modules_dir -type f -name '*.ko'); 		(
        mkdir -p out/target/product/d1/vendor/lib/modules ) && (cp \$modules out/target/product/d1/vendor/lib/modules/ ) && (rm -rf /home/vincenzo/halium12/out/target/product/d1/obj/PACKAG
    ING/depmod_vendor_intermediates ) && (mkdir -p /home/vincenzo/halium12/out/target/product/d1/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/vendor/lib/modules ) && (cp \$mod
    ules /home/vincenzo/halium12/out/target/product/d1/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/vendor/lib/modules ) && (out/host/linux-x86/bin/depmod -b /home/vincenzo/ha
    lium12/out/target/product/d1/obj/PACKAGING/depmod_vendor_intermediates 0.0 ) && (sed -e 's/\\(.*modules.*\\):/\\/\\1:/g' -e 's/ \\([^ ]*modules[^ ]*\\)/ \\/\\1/g' /home/vincenzo/halium
    12/out/target/product/d1/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/modules.dep > out/target/product/d1/vendor/lib/modules/modules.dep ) && (cp /home/vincenzo/halium12/o
    ut/target/product/d1/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/modules.softdep out/target/product/d1/vendor/lib/modules ) && (cp /home/vincenzo/halium12/out/target/prod
    uct/d1/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/modules.alias out/target/product/d1/vendor/lib/modules ) && (rm -f out/target/product/d1/vendor/lib/modules/modules.loa
    d ) && (for MODULE in ; do basename \$MODULE >> out/target/product/d1/vendor/lib/modules/modules.load; done); 			 		fi )"
    make: ingresso nella directory «/home/vincenzo/halium12/kernel/samsung/exynos9820»
    make[1]: ingresso nella directory «/home/vincenzo/halium12/out/target/product/d1/obj/KERNEL_OBJ»
      GEN     ./Makefile
    scripts/kconfig/conf  --silentoldconfig Kconfig
      CHK     include/config/kernel.release
      GEN     ./Makefile
      CHK     include/generated/uapi/linux/version.h
      CHK     include/generated/utsrelease.h
      Using /home/vincenzo/halium12/kernel/samsung/exynos9820 as source for kernel
      CHK     scripts/mod/devicetable-offsets.h
      CHK     include/generated/timeconst.h
      CHK     include/generated/bounds.h
      CHK     include/generated/asm-offsets.h
      CALL    /home/vincenzo/halium12/kernel/samsung/exynos9820/scripts/checksyscalls.sh
      CHK     include/generated/compile.h
      CC      kernel/sched/rt.o
      CC      kernel/sched/wait_bit.o
      CC      kernel/sched/swait.o
    /home/vincenzo/halium12/kernel/samsung/exynos9820/kernel/sched/rt.c:2404:30: error: no member named 'rq' in 'struct rt_rq'
                    cpufreq_update_util(rt_rq->rq, SCHED_CPUFREQ_RT);
                                        ~~~~~  ^
    /home/vincenzo/halium12/kernel/samsung/exynos9820/kernel/sched/rt.c:2509:6: error: no member named 'my_q' in 'struct sched_rt_entity'
            if (entity_is_task(rt_se))
                ^              ~~~~~
    /home/vincenzo/halium12/kernel/samsung/exynos9820/kernel/sched/rt.c:644:34: note: expanded from macro 'entity_is_task'
    #define entity_is_task(se)      (!se->my_q)
                                      ~~  ^
    2 errors generated.
    make[3]: *** [/home/vincenzo/halium12/kernel/samsung/exynos9820/scripts/Makefile.build:359: kernel/sched/rt.o] Errore 1
    make[2]: *** [/home/vincenzo/halium12/kernel/samsung/exynos9820/scripts/Makefile.build:674: kernel/sched] Errore 2
    make[1]: *** [/home/vincenzo/halium12/kernel/samsung/exynos9820/Makefile:1177: kernel] Errore 2
    make[1]: *** Attesa per i processi non terminati....
      CC      net/ipv6/syncookies.o
      CC      net/ipv6/ipcomp6.o
      CC      net/ipv6/xfrm6_tunnel.o
      CC      net/ipv6/tunnel6.o
    /home/vincenzo/halium12/kernel/samsung/exynos9820/net/ipv6/syncookies.c:156:6: error: unused variable 'full_space' [-Werror,-Wunused-variable]
            int full_space, mss;
                ^
    1 error generated.
    make[3]: *** [/home/vincenzo/halium12/kernel/samsung/exynos9820/scripts/Makefile.build:359: net/ipv6/syncookies.o] Errore 1
    make[3]: *** Attesa per i processi non terminati....
      CC      net/rfkill/core.o
      CC      net/sched/sch_generic.o
      CC      net/unix/af_unix.o
      CC      net/sched/sch_mq.o
      CC      net/wireless/core.o
    make[2]: *** [/home/vincenzo/halium12/kernel/samsung/exynos9820/scripts/Makefile.build:674: net/ipv6] Errore 2
    make[2]: *** Attesa per i processi non terminati....
      CC      net/wireless/sysfs.o
      CC      net/unix/garbage.o
      AR      net/rfkill/rfkill.o
      AR      net/rfkill/built-in.o
      CC      net/sched/sch_api.o
      CC      net/wireless/radiotap.o
      CC      net/sched/sch_blackhole.o
      CC      net/wireless/util.o
      CC      net/unix/sysctl_net_unix.o
      CC      net/sched/cls_api.o
      CC      net/wireless/reg.o
      CC      net/wireless/scan.o
      CC      net/unix/scm.o
      CC      net/sched/act_api.o
      CC      net/sched/act_police.o
      AR      net/unix/unix.o
      AR      net/unix/built-in.o
      CC      net/sched/act_gact.o
      CC      net/wireless/nl80211.o
      CC      net/sched/act_mirred.o
      CC      net/wireless/mlme.o
      CC      net/sched/sch_fifo.o
      CC      net/wireless/ibss.o
      CC      net/sched/sch_htb.o
      CC      net/wireless/sme.o
      CC      net/sched/sch_ingress.o
      CC      net/wireless/chan.o
      CC      net/wireless/ethtool.o
      CC      net/sched/sch_prio.o
      CC      net/wireless/mesh.o
      CC      net/sched/sch_netem.o
      CC      net/wireless/ap.o
      CC      net/sched/cls_u32.o
      CC      net/wireless/trace.o
      CC      net/sched/cls_basic.o
      CC      net/wireless/ocb.o
      AR      drivers/vision/npu/built-in.o
      AR      drivers/vision/built-in.o
      CC      net/sched/cls_bpf.o
      AR      drivers/built-in.o
      CC      net/wireless/of.o
      CC      net/sched/ematch.o
      CC      net/sched/em_u32.o
      AR      net/sched/built-in.o
      AR      net/wireless/cfg80211.o
      AR      net/wireless/built-in.o
    make[1]: *** [/home/vincenzo/halium12/kernel/samsung/exynos9820/Makefile:1177: net] Errore 2
    make[1]: uscita dalla directory «/home/vincenzo/halium12/out/target/product/d1/obj/KERNEL_OBJ»
    make: *** [Makefile:146: sub-make] Errore 2
    make: uscita dalla directory «/home/vincenzo/halium12/kernel/samsung/exynos9820»
    12:21:56 ninja failed with: exit status 1
    
    #### failed to build some targets (04:22 (mm:ss)) ####
    
    
    
    posted in Porting
    V
    VinceAle7082
    11 Jun 2024, 10:41
  • RE: help me "mka halium-boot" error

    @Elessar-0 Did you found a solution to this? I have the same error

    posted in Porting
    V
    VinceAle7082
    10 Jun 2024, 11:59
  • RE: Error when compiling halium-boot (porting Ubuntu Touch to a Samsung Note 10)

    @VinceAle7082 I did everything again and now I get this error when doing "mka mkbootimg":

    15:50:03 ************************************************************
    15:50:03 You are building on a machine with 6.7GB of RAM
    15:50:03 
    15:50:03 The minimum required amount of free memory is around 16GB,
    15:50:03 and even with that, some configurations may not work.
    15:50:03 
    15:50:03 If you run into segfaults or other errors, try reducing your
    15:50:03 -j value.
    15:50:03 ************************************************************
    15:50:03 Build sandboxing disabled due to nsjail error.
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=13
    LINEAGE_VERSION=20.0-20240402-UNOFFICIAL-d1
    TARGET_PRODUCT=lineage_d1
    TARGET_BUILD_VARIANT=userdebug
    TARGET_BUILD_TYPE=release
    TARGET_ARCH=arm64
    TARGET_ARCH_VARIANT=armv8-2a-dotprod
    TARGET_CPU_VARIANT=cortex-a75
    TARGET_2ND_ARCH=arm
    TARGET_2ND_ARCH_VARIANT=armv8-2a
    TARGET_2ND_CPU_VARIANT=cortex-a55
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-6.5.0-26-generic-x86_64-Ubuntu-22.04.1-LTS
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=TQ3A.230901.001
    OUT_DIR=out
    PRODUCT_SOONG_NAMESPACES=vendor/samsung/exynos9820-common device/samsung/exynos9820-common hardware/google/interfaces hardware/google/pixel hardware/samsung hardware/samsung/aidl/power-libperfmgr vendor/s
    amsung/d1
    ============================================
    device/samsung/d1/BoardConfig.mk was modified, regenerating...
    Adding CUSTOM_LOCALES [ast_ES gd_GB cy_GB fur_IT] to PRODUCT_LOCALES [en_US en_US af_ZA am_ET ar_EG ar_XB as_IN az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_DE el_GR en_AU en_CA en_GB en_IN en_XA es
    _ES es_US et_EE eu_ES fa_IR fi_FI fr_CA fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb
    _NO ne_NP nl_NL or_IN pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_Latn_RS sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA en_XC]
    [100% 1025/1025] initializing build system ...
    Adding CUSTOM_LOCALES [ast_ES gd_GB cy_GB fur_IT] to PRODUCT_LOCALES [en_US en_US af_ZA am_ET ar_EG ar_XB as_IN az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_DE el_GR en_AU en_CA en_GB en_IN en_XA es
    _ES es_US et_EE eu_ES fa_IR fi_FI fr_CA fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb
    _NO ne_NP nl_NL or_IN pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_Latn_RS sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA en_XC]
    [ 92% 1138/1224] including hardware/samsung_slsi-linaro/exynos/Android.mk ...
    Build Gralloc 1.x libhardware HAL
    [ 97% 1197/1224] including vendor/halium/audioflingerglue/Android.mk ...
    vendor/halium/audioflingerglue/Android.mk:41: warning: *** ANDROID_MICRO undefined. Assuming 0
    /bin/bash: riga 1: test: -le: atteso operatore unario
    cat: frameworks/av/include/media/AudioSystem.h: No such file or directory
    [ 97% 1199/1224] including vendor/halium/droidmedia/Android.mk ...
    vendor/halium/droidmedia/Android.mk:43: warning: *** ANDROID_MICRO undefined. Assuming 0
    [ 99% 1223/1224] finishing build rules ...
    FAILED: 
    build/make/core/main.mk:1312: warning:  device/samsung/d1/lineage_d1.mk includes non-existent modules in PRODUCT_PACKAGES
    Offending entries:
    SimpleSettingsConfig
    fsck.ntfs
    htop
    mkfs.ntfs
    mount.ntfs
    nano
    rsync
    scp
    sftp
    ssh
    ssh-keygen
    sshd
    sshd_config
    start-ssh
    unrar
    vim
    webview
    build/make/core/main.mk:1312: error: Build failed.
    15:51:32 ckati failed with: exit status 1
    
    #### failed to build some targets (01:30 (mm:ss)) ####
    
    
    
    posted in Porting
    V
    VinceAle7082
    2 Apr 2024, 14:40
  • Error when compiling halium-boot (porting Ubuntu Touch to a Samsung Note 10)

    I'm using the Lenovo Ideapad S340 (shitty computer with 8 GB of RAM) and I am trying to port Ubuntu Touch with Halium13 to my Samsung Note 10.
    I did exactly what the Ubports porting guide says to do but when I did "mka halium-boot" this happend:

    
    00:06:40 ************************************************************
    00:06:40 You are building on a machine with 6.7GB of RAM
    00:06:40 
    00:06:40 The minimum required amount of free memory is around 16GB,
    00:06:40 and even with that, some configurations may not work.
    00:06:40 
    00:06:40 If you run into segfaults or other errors, try reducing your
    00:06:40 -j value.
    00:06:40 ************************************************************
    00:06:40 Build sandboxing disabled due to nsjail error.
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=13
    TARGET_PRODUCT=aosp_arm
    TARGET_BUILD_VARIANT=eng
    TARGET_BUILD_TYPE=release
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a-neon
    TARGET_CPU_VARIANT=generic
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-6.5.0-26-generic-x86_64-Ubuntu-22.04.1-LTS
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=TQ3A.230901.001
    OUT_DIR=out
    PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl hardware/google/camera hardware/google/camera/devices/EmulatedCamera device/generic/goldfish device/generic/goldfish-opengl
    ============================================
    [100% 1/1] analyzing Android.bp files and generating ninja file at out/soong/build.ninja
    FAILED: out/soong/build.ninja
    cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out
     "out"     -o out/soong/build.ninja --globListDir build --globFile out/soong/globs-build.ninja -t -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/
    soong/soong.environment.used.build Android.bp
    internal error: panic in GenerateBuildActions for singleton glob
    error parsing variable "args": invalid character after '$' at byte offset 5
    goroutine 1 [running]:
    github.com/google/blueprint.newPanicErrorf({0xd45b60, 0xc2bffd4290}, {0xc164f804b0, 0x27}, {0x0, 0x0, 0x0})
    	/home/vincenzo/halium13/build/blueprint/context.go:4252 +0x79
    github.com/google/blueprint.(*Context).generateSingletonBuildActions.func1.1()
    	/home/vincenzo/halium13/build/blueprint/context.go:3003 +0x30b
    panic({0xd45b60, 0xc2bffd4290})
    	prebuilts/go/linux-x86/src/runtime/panic.go:838 +0x207
    github.com/google/blueprint.(*singletonContext).Build(_, {_, _}, {{0x0, 0x0}, {0x0, 0x0}, 0x0, {0xc164f80450, 0x21}, ...})
    	/home/vincenzo/halium13/build/blueprint/singleton_ctx.go:266 +0x145
    github.com/google/blueprint/bootstrap.multipleGlobFilesRule({0x7eaa8e47cf68, 0xc0fd9be580}, {0xc014ea99b0, 0x18}, 0x1000?, {0xc2923fb800?, 0x2b?, 0x0?})
    	/home/vincenzo/halium13/build/blueprint/bootstrap/glob.go:112 +0x284
    github.com/google/blueprint/bootstrap.(*GlobSingleton).GenerateBuildActions(0xc1f05fb540, {0x104e4f8?, 0xc0fd9be580})
    	/home/vincenzo/halium13/build/blueprint/bootstrap/glob.go:206 +0x1af
    github.com/google/blueprint.(*Context).generateSingletonBuildActions.func1(0xc093f38720?, 0xea1cc3?)
    	/home/vincenzo/halium13/build/blueprint/context.go:3007 +0x78
    github.com/google/blueprint.(*Context).generateSingletonBuildActions(0xc12a5a85a0, {0xe86fa0?, 0xc00024d000}, {0xc301c22038, 0x1, 0xc1f05fb580?}, 0xc298962fc0)
    	/home/vincenzo/halium13/build/blueprint/context.go:3008 +0x34e
    github.com/google/blueprint.(*Context).PrepareBuildActions.func1({0x10453e8?, 0xc298963650?})
    	/home/vincenzo/halium13/build/blueprint/context.go:2474 +0x25e
    runtime/pprof.Do({0x1045378?, 0xc000034020?}, {{0xc09a5af660?, 0x1799820?, 0xc32f7a9910?}}, 0xc32f7a99c0)
    	prebuilts/go/linux-x86/src/runtime/pprof/runtime.go:40 +0xa3
    github.com/google/blueprint.(*Context).PrepareBuildActions(0xc12a5a85a0, {0xe86fa0, 0xc00024d000})
    	/home/vincenzo/halium13/build/blueprint/context.go:2455 +0x445
    github.com/google/blueprint/bootstrap.generateGlobNinjaFile(0xc1f05fb540, {0xe86fa0, 0xc00024d000})
    	/home/vincenzo/halium13/build/blueprint/bootstrap/glob.go:240 +0xc6
    github.com/google/blueprint/bootstrap.WriteBuildGlobsNinjaFile(0xc1f05fb540, {0xe86fa0?, 0xc00024d000?})
    	/home/vincenzo/halium13/build/blueprint/bootstrap/glob.go:214 +0x35
    main.writeBuildGlobsNinjaFile(0xc000374080, {0x7fffa6640eba, 0x9}, {0xe86fa0, 0xc00024d000})
    	/home/vincenzo/halium13/build/soong/cmd/soong_build/main.go:219 +0x405
    main.doChosenActivity({0xc00024d000?}, {0xc32f7a9f50?, 0x2, 0x2})
    	/home/vincenzo/halium13/build/soong/cmd/soong_build/main.go:276 +0x24f
    main.main()
    	/home/vincenzo/halium13/build/soong/cmd/soong_build/main.go:362 +0x255
    
    
    00:15:44 soong bootstrap failed with: exit status 1
    ninja: build stopped: subcommand failed.
    
    #### failed to build some targets (09:06 (mm:ss)) ####
    
    
    

    I know, I don't have much RAM so I have a 64GB swap partition because... yes?
    (Sorry for bad english)

    posted in Porting
    V
    VinceAle7082
    1 Apr 2024, 22:25
  • RE: How build kernal on macos

    @unger Try -j number of threads + 2 (example -j 12, not -j12)
    Idk if this is the problem but try it, why not?

    posted in Porting
    V
    VinceAle7082
    31 Mar 2024, 20:51
  • RE: Need Help for Redmi Note 12 pro plus 5g (22101316UP)

    @instamauj Use the UBports porting guide (https://docs.ubports.com/en/latest/porting/introduction/index.html) or watch this live https://docs.ubports.com/en/latest/porting/introduction/index.html

    posted in Porting
    V
    VinceAle7082
    31 Mar 2024, 00:22