Open iEatTics opened 1 year ago
Sorry for the repeat post, never had to post terminal output before.
Don't worry and thank you very much. :) You can also edit issues, so I can reopen them.
Now if you have any device tree repo to link? :D
I have tried:
mka bootimage build/make/core/soong_config.mk:197: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead. build/make/core/soong_config.mk:198: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR ha s been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead. ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=16.1.0 TARGET_PRODUCT=twrp_pinephone TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv7-a-neon TARGET_2ND_CPU_VARIANT=generic HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.19.0-40-generic-x86_64-Ubuntu-22.10 HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=SP2A.220405.004 OUT_DIR=out ============================================ environment variables changed value: ALLOW_MISSING_DEPENDENCIES ("true" -> "") wildcard(out/target/product/pinephone/clean_steps.mk) was changed, regenerating. .. [100% 1026/1026] Target boot image: out/target/product/pinephone/boot.img FAILED: out/target/product/pinephone/boot.img /bin/bash -c "(out/host/linux-x86/bin/mkbootimg --kernel out/target/product/p inephone/kernel --ramdisk out/target/product/pinephone/ramdisk.img --cmdline \" androidboot.hardware=pinephone buildvariant=userdebug buildvariant=eng\" --base 0x40078000 --pagesize 4096 --os_version 12 --os_patch_level 2099-12-31 --header _version 2 --ramdisk_offset 0x03288000 --tags_offset 0xfff88100 --dtb device/pin e64/pinephone/prebuilt/dtb.img --output out/target/product/pinephone/boot.img ) && (size=\$(for i in out/target/product/pinephone/boot.img; do stat -c \"%s\" \" \$i\" | tr -d '\\n'; echo +; done; echo 0); total=\$(( \$( echo \"\$size\" ) )); printname=\$(echo -n \"out/target/product/pinephone/boot.img\" | tr \" \" +); m axsize=\$(( 29360128-69632)); if [ \"\$total\" -gt \"\$maxsize\" ]; then ech o \"error: \$printname too large (\$total > \$maxsize)\"; false; elif [ \"\$tota l\" -gt \$((maxsize - 32768)) ]; then echo \"WARNING: \$printname approaching si ze limit (\$total now; limit \$maxsize)\"; fi ) && (out/host/linux-x86/bin/avbto ol add_hash_footer --image out/target/product/pinephone/boot.img --partition_siz e 29360128 --partition_name boot --prop com.android.build.boot.fingerprint:\$ (cat out/target/product/pinephone/build_fingerprint.txt) --prop com.android.buil d.boot.os_version:12 )" Traceback (most recent call last): File "/home/aaron/twrp/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy. py", line 197, in _run_module_as_main File "/home/aaron/twrp/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy. py", line 87, in _run_code File "/home/aaron/twrp/out/host/linux-x86/bin/mkbootimg/__main__.py", line 12, in <module> File "/home/aaron/twrp/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy. py", line 197, in _run_module_as_main File "/home/aaron/twrp/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy. py", line 87, in _run_code File "/home/aaron/twrp/out/host/linux-x86/bin/mkbootimg/mkbootimg.py", line 67 4, in <module> File "/home/aaron/twrp/out/host/linux-x86/bin/mkbootimg/mkbootimg.py", line 66 4, in main File "/home/aaron/twrp/out/host/linux-x86/bin/mkbootimg/mkbootimg.py", line 21 1, in write_header struct.error: 'I' format requires 0 <= number <= 4294967295 11:11:47 ninja failed with: exit status 1 #### failed to build some targets (53 seconds) ####