Open AquaHox opened 3 months ago
After doing mka recoveryimage it returns me that at the end of the process
[ 99% 16572/16573] build out/target/product/eros/recovery.img FAILED: out/target/product/eros/recovery.img /bin/bash -c "(out/host/linux-x86/bin/mkbootimg --kernel out/target/product/eros/kernel --ramdisk out/target/product/eros/ramdisk-recovery.img --cmdline \"selinux=1 androidboot.selinux=permissive androidboot.dtbo_idx=0,1,2 buildvariant=userdebug buildvariant=eng\" --base 0x40078000 --pagesize 2048 --os_version 12 --os_patch_level 2099-12-31 --header_version 2 --ramdisk_offset 0x02f88000 --tags_offset 0xfff88100 --dtb device/redline/eros/prebuilt/dtb.img --output out/target/product/eros/recovery.img ) && (size=\$(for i in out/target/product/eros/recovery.img; do stat -c \"%s\" \"\$i\" | tr -d '\\n'; echo +; done; echo 0); total=\$(( \$( echo \"\$size\" ) )); printname=\$(echo -n \" out/target/product/eros/recovery.img\" | tr \" \" +); maxsize=\$(( 33554432-69632)); if [ \"\$total\" -gt \"\$maxsize\" ]; then echo \"error: \$printname too large (\$total > \$maxsize)\"; false; elif [ \"\$total\" -gt \$((maxsize - 32768)) ]; then echo \"WARNING: \$printname approaching size limit (\$total now; limit \$maxsize)\"; fi ) && (out/host/linux-x86/bin/avbtool add_hash_footer --image out/target/product/eros/recovery.img --partition_size 33554432 --partition_name recovery --algorithm SHA256_RSA4096 --key external/avb/test/data/testkey_rsa4096.pem --prop com.android.build.recovery.fingerprint:\$(cat out/target/product/eros/build_fingerprint.txt) --prop com.android.build.boot.os_version:16.1.0 --prop com.android.build.boot.security_patch:2099-12-31 --rollback_index 1 )" Traceback (most recent call last): File "/home/karim/twrpdtgen/min/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy.py", line 197, in _run_module_as_main File "/home/karim/twrpdtgen/min/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy.py", line 87, in _run_code File "/home/karim/twrpdtgen/min/out/host/linux-x86/bin/mkbootimg/__main__.py", line 12, in <module> File "/home/karim/twrpdtgen/min/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy.py", line 197, in _run_module_as_main File "/home/karim/twrpdtgen/min/out/host/linux-x86/bin/mkbootimg/internal/stdlib/runpy.py", line 87, in _run_code File "/home/karim/twrpdtgen/min/out/host/linux-x86/bin/mkbootimg/mkbootimg.py", line 674, in <module> File "/home/karim/twrpdtgen/min/out/host/linux-x86/bin/mkbootimg/mkbootimg.py", line 664, in main File "/home/karim/twrpdtgen/min/out/host/linux-x86/bin/mkbootimg/mkbootimg.py", line 211, in write_header struct.error: 'I' format requires 0 <= number <= 4294967295 04:25:12 ninja failed with: exit status 1 #### failed to build some targets (01:35:19 (hh:mm:ss)) ####
After doing mka recoveryimage it returns me that at the end of the process