Device tree: https://github.com/TheStrixCoder/device_oneplus_enchilada
https://github.com/TheStrixCoder/device_oneplus_sdm845-common
Vendor tree:= https://github.com/TheStrixCoder/proprietary_vendor_oneplus
Kernel Source:= https://github.com/TheStrixCoder/kernel_oneplus_sdm845
ROM Source:=https://github.com/DirtyUnicorns
Error:= https://del.dog/ozexutiziz
Its failing at 99% for some unknown reason.(i have plenty of space in /tmp and build drive).
Can anyone please give me a hint on why its failing..
TIA
Code:
----- Making recovery ramdisk ------
[ 99% 91442/91444] Package target files: /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip
FAILED: /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip
/bin/bash -c "(if [ -d /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ] && [ ! -h /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ]; then echo 'Non-symlink /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor detected!' 1>&2; echo 'You cannot install files to /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor while building a separate vendor.img!' 1>&2; exit 1; fi ) && (ln -sf /vendor /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ) && (rm -rf /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/ /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/recovery/root\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/recovery/root)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/recovery/root/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/install\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/install)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/INSTALL && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/install/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/INSTALL; fi ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/kernel /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/kernel ) && (echo \"androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.avb_version=0.0 androidboot.vbmeta.avb_version=0.0 buildvariant=userdebug\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/cmdline ) && (echo \"0x80000000\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/base ) && (echo \"4096\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/pagesize ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/root\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/root)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/root/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/system\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/system)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/system/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/data\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/data)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/DATA && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/data/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/DATA; fi ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/android-info.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/ ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/bin ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/EXECUTABLES/updater_intermediates/updater /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/bin/ ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/apkcerts_intermediates/du_enchilada-apkcerts-eng.vicky.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/apkcerts.txt ) && (echo \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/otakeys.txt ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin ) && (echo \"recovery_api_version=3\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"fstab_version=2\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"blocksize=262144 \" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"boot_size=67108864\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"no_recovery=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"recovery_mount_options=ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"tool_extensions=device/oneplus/enchilada/../common\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"default_system_dev_certificate=build/target/product/security/testkey\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo 'mkbootimg_args=' >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo 'mkbootimg_version_args=--os_version 9 --os_patch_level 2019-01-05' >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"use_set_metadata=1\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"multistage_support=1\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"blockimgdiff_versions=3,4\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_key_path=external/avb/test/data/testkey_rsa4096.pem\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_algorithm=SHA256_RSA4096\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_args=--flag 2 --padding_size 4096\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_boot_add_hash_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_recovery_add_hash_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"ext_mkuserimg=mkuserimg_mke2fs.sh\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"fs_type=ext4\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"system_size=2998927360\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"userdata_size=118112366592\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"selinux_fc=/media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_avbtool=avbtool\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_system_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_system_add_hashtree_footer_args=--setup_as_rootfs_from_kernel\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vendor_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vendor_add_hashtree_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_product_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_product_add_hashtree_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"recovery_as_boot=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"system_root_image=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt; echo \"ramdisk_dir=/media/vicky/SSD/DU/out/target/product/enchilada/root\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,system/,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"system/\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/filesystem_config.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/root_filesystem_config.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/boot_filesystem_config.txt ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/framework_manifest.xml_intermediates/manifest.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/system_manifest.xml ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/framework_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/system_matrix.xml ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/device_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/vendor_matrix.xml ) && (PATH=/media/vicky/SSD/DU/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/media/vicky/SSD/DU/out/host/linux-x86/bin/mkbootimg build/make/tools/releasetools/add_img_to_target_files -a -v -p /media/vicky/SSD/DU/out/host/linux-x86 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (find /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META | sort >/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list ) && (find /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky -path /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META -prune -o -print | sort >>/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list ) && (/media/vicky/SSD/DU/out/soong/host/linux-x86/bin/soong_zip -L 0 -d -o /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip -C /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky -l /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list )"
Warning: could not read VENDOR/build.prop
++++ boot ++++
building image from target_files BOOT...
running: mkbootfs -f /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/boot_filesystem_config.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK
running: minigzip
running: mkbootimg --kernel /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/kernel --cmdline androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.avb_version=0.0 androidboot.vbmeta.avb_version=0.0 buildvariant=userdebug --base 0x80000000 --pagesize 4096 --os_version 9 --os_patch_level 2019-01-05 --ramdisk /tmp/tmpBURvLw --output /tmp/tmpHFwfll
running: avbtool add_hash_footer --image /tmp/tmpHFwfll --partition_size 67108864 --partition_name boot --salt 0baf6f739234cc50a1eaa7040e74d28b55ebd72a7781dbcaf3d28e590591138d
++++ system ++++
creating system.img...
Running: avbtool add_hashtree_footer --partition_size 2998927360 --calc_max_image_size --setup_as_rootfs_from_kernel
2951528448
Running: mkuserimg_mke2fs.sh -s /tmp/tmp6SWt0u /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img ext4 / 2951528448 -j 0 -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -L / -M 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -S 1fdfba2c-bfa3-5d87-994f-0a46b7071412 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin
MKE2FS_CONFIG=./system/extras/ext4_utils/mke2fs.conf E2FSPROGS_FAKE_TIME=1230748200 mke2fs -O ^has_journal -L / -m 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -E android_sparse,hash_seed=1fdfba2c-bfa3-5d87-994f-0a46b7071412 -t ext4 -b 4096 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img 720588
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 720588 4k blocks and 180224 inodes
Filesystem UUID: 74ab2787-89b4-5f32-9f21-2c085107ac1e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
E2FSPROGS_FAKE_TIME=1230748200 e2fsdroid -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin -f /tmp/tmp6SWt0u -a / /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img
failed to find [/system] in canned fs_config
loaded 2933 fs_config entries
Error: '['mkuserimg_mke2fs.sh', '-s', '/tmp/tmp6SWt0u', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img', 'ext4', '/', '2951528448', '-j', '0', '-T', '1230748200', '-C', '/tmp/merged_fs_configmuBkDB.txt', '-B', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map', '-L', '/', '-M', '0', '-U', '74ab2787-89b4-5f32-9f21-2c085107ac1e', '-S', '1fdfba2c-bfa3-5d87-994f-0a46b7071412', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin']' failed with exit code 4:
MKE2FS_CONFIG=./system/extras/ext4_utils/mke2fs.conf E2FSPROGS_FAKE_TIME=1230748200 mke2fs -O ^has_journal -L / -m 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -E android_sparse,hash_seed=1fdfba2c-bfa3-5d87-994f-0a46b7071412 -t ext4 -b 4096 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img 720588
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 720588 4k blocks and 180224 inodes
Filesystem UUID: 74ab2787-89b4-5f32-9f21-2c085107ac1e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
E2FSPROGS_FAKE_TIME=1230748200 e2fsdroid -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin -f /tmp/tmp6SWt0u -a / /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img
failed to find [/system] in canned fs_config
loaded 2933 fs_config entries
Out of space? The tree size of /tmp/tmp6SWt0u is 1110921216 bytes (1059 MB), with reserved space of 0 bytes (0 MB).
The max image size for filsystem files is 2951528448 bytes (2814 MB), out of a total partition size of 2998927360 bytes (2860 MB).
Traceback (most recent call last):
File "build/make/tools/releasetools/add_img_to_target_files", line 825, in <module>
main(sys.argv[1:])
File "build/make/tools/releasetools/add_img_to_target_files", line 819, in main
AddImagesToTargetFiles(args[0])
File "build/make/tools/releasetools/add_img_to_target_files", line 728, in AddImagesToTargetFiles
output_zip, recovery_img=recovery_image, boot_img=boot_image)
File "build/make/tools/releasetools/add_img_to_target_files", line 150, in AddSystem
block_list=block_list)
File "build/make/tools/releasetools/add_img_to_target_files", line 281, in CreateImage
assert succ, "build " + what + ".img image failed"
AssertionError: build system.img image failed
ninja: build stopped: subcommand failed.
19:14:32 ninja failed with: exit status 1
build/make/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
Bidyadhar said:
Device tree: https://github.com/TheStrixCoder/device_oneplus_enchilada
https://github.com/TheStrixCoder/device_oneplus_sdm845-common
Vendor tree:= https://github.com/TheStrixCoder/proprietary_vendor_oneplus
Kernel Source:= https://github.com/TheStrixCoder/kernel_oneplus_sdm845
ROM Source:=https://github.com/DirtyUnicorns
Haste or Dogbin URL:=https://del.dog/ozexutiziz
Its failing at 99% for some unknown reason.(i have plenty of space in /tmp and build drive).
Can anyone please give me a hint on why its failing..
TIA
Code:
[ 99% 91442/91444] Package target files: /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip
FAILED: /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip
/bin/bash -c "(if [ -d /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ] && [ ! -h /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ]; then echo 'Non-symlink /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor detected!' 1>&2; echo 'You cannot install files to /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor while building a separate vendor.img!' 1>&2; exit 1; fi ) && (ln -sf /vendor /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ) && (rm -rf /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/ /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/recovery/root\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/recovery/root)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/recovery/root/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/install\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/install)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/INSTALL && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/install/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/INSTALL; fi ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/kernel /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/kernel ) && (echo \"androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.avb_version=0.0 androidboot.vbmeta.avb_version=0.0 buildvariant=userdebug\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/cmdline ) && (echo \"0x80000000\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/base ) && (echo \"4096\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/pagesize ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/root\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/root)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/root/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/system\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/system)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/system/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/data\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/data)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/DATA && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/data/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/DATA; fi ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/android-info.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/ ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/bin ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/EXECUTABLES/updater_intermediates/updater /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/bin/ ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/apkcerts_intermediates/du_enchilada-apkcerts-eng.vicky.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/apkcerts.txt ) && (echo \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/otakeys.txt ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin ) && (echo \"recovery_api_version=3\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"fstab_version=2\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"blocksize=262144 \" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"boot_size=67108864\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"no_recovery=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"recovery_mount_options=ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"tool_extensions=device/oneplus/enchilada/../common\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"default_system_dev_certificate=build/target/product/security/testkey\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo 'mkbootimg_args=' >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo 'mkbootimg_version_args=--os_version 9 --os_patch_level 2019-01-05' >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"use_set_metadata=1\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"multistage_support=1\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"blockimgdiff_versions=3,4\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_key_path=external/avb/test/data/testkey_rsa4096.pem\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_algorithm=SHA256_RSA4096\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_args=--flag 2 --padding_size 4096\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_boot_add_hash_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_recovery_add_hash_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"ext_mkuserimg=mkuserimg_mke2fs.sh\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"fs_type=ext4\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"system_size=2998927360\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"userdata_size=118112366592\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"selinux_fc=/media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_avbtool=avbtool\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_system_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_system_add_hashtree_footer_args=--setup_as_rootfs_from_kernel\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vendor_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vendor_add_hashtree_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_product_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_product_add_hashtree_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"recovery_as_boot=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"system_root_image=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt; echo \"ramdisk_dir=/media/vicky/SSD/DU/out/target/product/enchilada/root\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,system/,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"system/\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/filesystem_config.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/root_filesystem_config.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/boot_filesystem_config.txt ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/framework_manifest.xml_intermediates/manifest.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/system_manifest.xml ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/framework_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/system_matrix.xml ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/device_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/vendor_matrix.xml ) && (PATH=/media/vicky/SSD/DU/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/media/vicky/SSD/DU/out/host/linux-x86/bin/mkbootimg build/make/tools/releasetools/add_img_to_target_files -a -v -p /media/vicky/SSD/DU/out/host/linux-x86 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (find /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META | sort >/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list ) && (find /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky -path /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META -prune -o -print | sort >>/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list ) && (/media/vicky/SSD/DU/out/soong/host/linux-x86/bin/soong_zip -L 0 -d -o /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip -C /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky -l /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list )"
Warning: could not read VENDOR/build.prop
++++ boot ++++
building image from target_files BOOT...
running: mkbootfs -f /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/boot_filesystem_config.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK
running: minigzip
running: mkbootimg --kernel /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/kernel --cmdline androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.avb_version=0.0 androidboot.vbmeta.avb_version=0.0 buildvariant=userdebug --base 0x80000000 --pagesize 4096 --os_version 9 --os_patch_level 2019-01-05 --ramdisk /tmp/tmpBURvLw --output /tmp/tmpHFwfll
running: avbtool add_hash_footer --image /tmp/tmpHFwfll --partition_size 67108864 --partition_name boot --salt 0baf6f739234cc50a1eaa7040e74d28b55ebd72a7781dbcaf3d28e590591138d
++++ system ++++
creating system.img...
Running: avbtool add_hashtree_footer --partition_size 2998927360 --calc_max_image_size --setup_as_rootfs_from_kernel
2951528448
Running: mkuserimg_mke2fs.sh -s /tmp/tmp6SWt0u /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img ext4 / 2951528448 -j 0 -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -L / -M 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -S 1fdfba2c-bfa3-5d87-994f-0a46b7071412 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin
MKE2FS_CONFIG=./system/extras/ext4_utils/mke2fs.conf E2FSPROGS_FAKE_TIME=1230748200 mke2fs -O ^has_journal -L / -m 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -E android_sparse,hash_seed=1fdfba2c-bfa3-5d87-994f-0a46b7071412 -t ext4 -b 4096 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img 720588
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 720588 4k blocks and 180224 inodes
Filesystem UUID: 74ab2787-89b4-5f32-9f21-2c085107ac1e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
E2FSPROGS_FAKE_TIME=1230748200 e2fsdroid -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin -f /tmp/tmp6SWt0u -a / /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img
failed to find [/system] in canned fs_config
loaded 2933 fs_config entries
Error: '['mkuserimg_mke2fs.sh', '-s', '/tmp/tmp6SWt0u', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img', 'ext4', '/', '2951528448', '-j', '0', '-T', '1230748200', '-C', '/tmp/merged_fs_configmuBkDB.txt', '-B', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map', '-L', '/', '-M', '0', '-U', '74ab2787-89b4-5f32-9f21-2c085107ac1e', '-S', '1fdfba2c-bfa3-5d87-994f-0a46b7071412', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin']' failed with exit code 4:
MKE2FS_CONFIG=./system/extras/ext4_utils/mke2fs.conf E2FSPROGS_FAKE_TIME=1230748200 mke2fs -O ^has_journal -L / -m 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -E android_sparse,hash_seed=1fdfba2c-bfa3-5d87-994f-0a46b7071412 -t ext4 -b 4096 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img 720588
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 720588 4k blocks and 180224 inodes
Filesystem UUID: 74ab2787-89b4-5f32-9f21-2c085107ac1e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
E2FSPROGS_FAKE_TIME=1230748200 e2fsdroid -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin -f /tmp/tmp6SWt0u -a / /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img
failed to find [/system] in canned fs_config
loaded 2933 fs_config entries
Out of space? The tree size of /tmp/tmp6SWt0u is 1110921216 bytes (1059 MB), with reserved space of 0 bytes (0 MB).
The max image size for filsystem files is 2951528448 bytes (2814 MB), out of a total partition size of 2998927360 bytes (2860 MB).
Traceback (most recent call last):
File "build/make/tools/releasetools/add_img_to_target_files", line 825, in <module>
main(sys.argv[1:])
File "build/make/tools/releasetools/add_img_to_target_files", line 819, in main
AddImagesToTargetFiles(args[0])
File "build/make/tools/releasetools/add_img_to_target_files", line 728, in AddImagesToTargetFiles
output_zip, recovery_img=recovery_image, boot_img=boot_image)
File "build/make/tools/releasetools/add_img_to_target_files", line 150, in AddSystem
block_list=block_list)
File "build/make/tools/releasetools/add_img_to_target_files", line 281, in CreateImage
assert succ, "build " + what + ".img image failed"
AssertionError: build system.img image failed
ninja: build stopped: subcommand failed.
19:14:32 ninja failed with: exit status 1
build/make/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
Click to expand...
Click to collapse
What program are you building with
PoochyXXX
PoochyX said:
What program are you building with
PoochyXXX
Click to expand...
Click to collapse
Sorry i didnt get your question
Edit-I am building it on Ubuntu 18.04
Hi Brother,
Could you tell me how you fixed this build error ?
In fact, I have a same problem as yours.
Same error bro..how did you fix this error?
Dhina_17 said:
Same error bro..how did you fix this error?
Click to expand...
Click to collapse
Did you get fix for the above error? I am also facing same error with Lineage OS.
Naveen56 said:
Did you get fix for the above error? I am also facing same error with Lineage OS.
Click to expand...
Click to collapse
Yes sepolicy thing
Dhina_17 said:
Yes sepolicy thing
Click to expand...
Click to collapse
I had to remove this flag from BoardConfig for successful build.
Code:
BOARD_ROOT_EXTRA_SYMLINKS += /mnt/vendor/persist:/persist
Has anyone been able to fix this error?
Related
I'm trying to create a script to modify the build.prop file 'automatically'.
I want the script to check for entries I define and:
1. If they do not exist add them
2. If they do exist, check the value, and if it does not match what I've define modify it.
I found a much older (2012) thread and took a script from there. But it doesn't work.
It runs but outputs nothing, not changing the build.prop
I've attached the script. Is it correct?
Code:
#!/system/bin/sh
# Definitions
file=/system/build.prop
tmpf=/system.buildprop.bak
line_list="wifi.supplicant_scan_interval=120 ro.sf.lcd_density=480"
# Function to get args as needed for loop
getargs() {
par=$1
line=`echo $par |cut -d"=" -f1`
arg=`echo $par |cut -d"=" -f2`
}
# Loop to make all changes in line_list
for x in $line_lst; do
# Get all needed arguments
getargs $x
# Write this change to a tmp file to check on it
oldarg=`grep $line $file |cut -d"=" -f2`
sed "s/$line=.*/$line=${arg}/g" $file > $tmpf
# Check if the change was made
chknewarg=`grep $line $tmpf |cut -d"=" -f2`
if [ "$chknewarg" = "$arg" ]; then
cp $tmpf $file
if [ -f $tmpf ]; then
rm $tmpf
fi
echo "File edited"
else
if [ -f $tmpf ]; then
rm $tmpf
fi
echo "Expected $arg, got $chknewarg instead"
exit 1
fi
# If it doesn't exist at all append it to the file
chkexists=`grep -c $line $file`
if [ $chkexists -eq 0 ]; then
echo "$x" >> $file
fi
done
exit 0
I would certainly like to also know how to do this via update script.
Can anyone help me solve this issue?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is the boot script i am using
PHP:
###########################################
# Linux boot script V9 for Android #
# Built by Zachary Powell (zacthespack) #
# and Martin Møller (Tuxling) #
# Thanks to: #
# Johan Vromans #
# Marshall Levin #
# and to everyone at XDA! #
# Updated to work on Lenovo Tablets and #
# with ext4 .img files by Robherc #
# Feel free to edit/use this script as you#
# like but credit Linuxonandroid.org #
###########################################
# $ver: V9 #
###########################################
###########################################
# This is a function we use to stop the #
# script in case of errors #
###########################################
error_exit() {
echo "Error: $1"
exit 1
}
###########################################
# Set up variables #
###########################################
if [ -f /data/data/com.zpwebsites.linuxonandroid/files/busybox ]; then
export bbox=/data/data/com.zpwebsites.linuxonandroid/files/busybox
elif [ -f /data/data/com.zpwebsites.linuxonandroid.opensource/files/busybox ]; then
export bbox=/data/data/com.zpwebsites.linuxonandroid.opensource/files/busybox
else
export bbox=/system/xbin/busybox
fi
export usermounts=android # Base folder all user mounts are done in, should be moved to app later
export imgfile=$(dirname $0)/ubuntu.img # Default image file, another can be set by using an argument
export bin=/system/bin
export mnt=/data/local/mnt
export USER=root
if [[ ! -d $mnt ]]; then mkdir $mnt; fi
export PATH=$bin:/usr/bin:/usr/local/bin:/usr/sbin:/bin:/usr/local/sbin:/usr/games:$PATH
export TERM=linux
export HOME=/root
export SdMounted=no
###########################################
# Handle arguments if present #
###########################################
if [ $# -ne 0 ]; then
if [ -f $1 ]; then # Is full path present?
imgfile=$1
elif [ -f $(dirname $0)/$1 ]; then # Is only a filename present?
imgfile=$(dirname $0)/$1
else
error_exit "Image file not found!($1)"
fi
fi
###########################################
# If a md5 file is found we check it here #
###########################################
if [ -f $imgfile.md5 ]; then
echo "MD5 file found, use to check .img file? (y/n)"
read answer
if [ $answer == y ]; then
echo -n "Validating image checksum... "
$bbox md5sum -c -s $imgfile.md5
if [ $? -ne 0 ];then
echo "FAILED!"
error_exit "Checksum failed! The image is corrupted!"
else
echo "OK"
rm $imgfile.md5
fi
fi
fi
################################
# Find and read config file #
# or use defaults if not found #
################################
use_swap=no
cfgfile=$imgfile.config # Default config file if not specified
if [ -f $imgfile.config ]; then
source $imgfile.config
fi
###########################################
# Set Swap up if wanted #
# #
###########################################
if [ $use_swap == yes ]; then
if [ -f $imgfile.swap ]; then
echo "Swap file found, using file"
echo "Turning on swap (if it errors here you do not have swap support)"
swapon $imgfile.swap
else
echo "Creating Swap file"
dd if=/dev/zero of=$imgfile.swap bs=1048576 count=1024
mkswap $imgfile.swap
echo "Turning on swap (if it errors here you do not have swap support)"
swapon $imgfile.swap
fi
fi
###########################################
# Set up loop device and mount image #
###########################################
echo -n "Checking loop device... "
if [ -b /dev/block/loop255 ]; then
echo "FOUND"
else
echo "MISSING"
# Loop device not found so we create it and verify it was actually created
echo -n "Creating loop device... "
$bbox mknod /dev/block/loop255 b 7 255
if [ -b /dev/block/loop255 ]; then
echo "OK"
else
echo "FAILED"
error_exit "Unable to create loop device!"
fi
fi
$bbox losetup /dev/block/loop255 $imgfile
if [ $? -ne 0 ];then error_exit "Unable to attach image to loop device! (Image = $imgfile)"; fi
$bbox mount -t auto /dev/block/loop255 $mnt
if [ $? -ne 0 ];then error_exit "Unable to mount the loop device!"; fi
###########################################
# Mount all required partitions #
###########################################
$bbox mount -o bind /dev $mnt/dev
if [ $? -ne 0 ];then error_exit "Unable to mount $mnt/dev!"; fi
$bbox mount -t devpts devpts $mnt/dev/pts
if [ $? -ne 0 ];then error_exit "Unable to mount $mnt/dev/pts!"; fi
$bbox mount -t proc proc $mnt/proc
if [ $? -ne 0 ];then error_exit "Unable to mount $mnt/proc!"; fi
$bbox mount -t sysfs sysfs $mnt/sys
if [ $? -ne 0 ];then error_exit "Unable to mount $mnt/sys!"; fi
$bbox mount -o bind /sdcard $mnt/sdcard
if [ $? -ne 0 ];then error_exit "Unable to bind $mnt/sdcard!"; fi
if [[ ! -d $mnt/root/cfg ]]; then mkdir $mnt/root/cfg; fi
$bbox mount -o bind $(dirname $imgfile) $mnt/root/cfg
###########################################
# Checks if you have a external sdcard #
# and mounts it if you do #
###########################################
if [ -d /sdcard/external_sd ]; then
$bbox mount -o bind /sdcard/external_sd $mnt/external_sd
if [ $? == 0 ];then SdMounted="Yes"; fi
elif [ -d /Removable/MicroSD ]; then
$bbox mount -o bind /Removable/MicroSD $mnt/external_sd
if [ $? == 0 ];then SdMounted="Yes"; fi
elif [ -d /storage/sdcard1 ]; then
$bbox mount -o bind /storage/sdcard1 $mnt/external_sd
if [ $? == 0 ];then SdMounted="Yes"; fi
elif [ -d /storage/extSdCard ]; then
$bbox mount -o bind /storage/extSdCard $mnt/external_sd
if [ $? == 0 ];then SdMounted="Yes"; fi
# This last elif statemet will mount internal memory to /external_sd
# within the chroot environment on some devices.
# You may wish to comment it out if this behavior affects you
elif [ -d /storage ]; then
$bbox mount -o bind /storage $mnt/external_sd
if [ $? == 0 ];then SdMounted="Yes"; fi
# This is the end of the statement to comment out
fi
###########################################
# Mount all user defined mounts if any #
###########################################
if [ -f $imgfile.mounts ]; then
olddir=$(pwd)
echo "Mounting user mounts"
cd $mnt
if [[ ! -d $mnt/$usermounts ]]; then $bbox mkdir -p $usermounts; fi
echo "# Script to unmount user defined mounts, do not delete or edit!" > $imgfile.shutdown
echo "cd $mnt/$usermounts" > $imgfile.shutdown
cd $mnt/$usermounts
for entry in $(cat "$imgfile.mounts"); do
ANDROID=${entry%;*}
LINUX=${entry#*;}
if [[ -d $ANDROID ]]; then
echo -n "Mounting $ANDROID to $usermounts/$LINUX... "
if [[ ! -d $mnt/$usermounts/$LINUX ]]; then $bbox mkdir -p $LINUX; fi
$bbox mount -o bind $ANDROID $mnt/$usermounts/$LINUX &> /dev/null
if [ $? -ne 0 ];then
echo FAIL
if [[ -d $mnt/$usermounts/$LINUX ]]; then $bbox rmdir -p $LINUX; fi
else
echo OK
echo "$bbox umount $mnt/$usermounts/$LINUX" >> $imgfile.shutdown
echo "$bbox rmdir -p $LINUX" >> $imgfile.shutdown
fi
else
echo "Android folder not found: $ANDROID"
fi
done
echo "cd $mnt" >> $imgfile.shutdown
echo "$bbox rmdir -p $usermounts" >> $imgfile.shutdown
cd $olddir
else
echo "No user defined mount points"
fi
###########################################
# Sets up network forwarding #
###########################################
$bbox sysctl -w net.ipv4.ip_forward=1
if [ $? -ne 0 ];then error_exit "Unable to forward network!"; fi
# If NOT $mnt/root/DONOTDELETE.txt exists we setup hosts and resolv.conf now
if [ ! -f $mnt/root/DONOTDELETE.txt ]; then
echo "nameserver 8.8.8.8" > $mnt/etc/resolv.conf
if [ $? -ne 0 ];then error_exit "Unable to write resolv.conf file!"; fi
echo "nameserver 8.8.4.4" >> $mnt/etc/resolv.conf
echo "127.0.0.1 localhost" > $mnt/etc/hosts
if [ $? -ne 0 ];then error_exit "Unable to write hosts file!"; fi
fi
###########################################
# Chroot into ubuntu #
###########################################
$bbox chroot $mnt /root/init.sh $(basename $imgfile)
###########################################
# Shut down ubuntu #
###########################################
echo "Shutting down Linux ARM"
#for pid in `lsof | grep $mnt | sed -e's/ / /g' | cut -d' ' -f2`; do kill -9 $pid >/dev/null 2>&1; done
for pid in `$bbox lsof | $bbox grep $mnt | $bbox sed -e's/ / /g' | $bbox cut -d' ' -f2`; do $bbox kill -9 $pid >/dev/null 2>&1; done
sleep 5
###########################################
# Unmount all user defined mounts if any #
###########################################
if [ -f $imgfile.shutdown ]; then
echo "Unmounting user defined mounts"
sh $imgfile.shutdown
rm $imgfile.shutdown
fi
$bbox umount $mnt/root/cfg
$bbox umount $mnt/sdcard
if [ $SdMounted == "Yes" ];then $bbox umount $mnt/external_sd; fi
$bbox umount $mnt/dev/pts
$bbox umount $mnt/dev
$bbox umount $mnt/proc
$bbox umount $mnt/sys
$bbox umount $mnt
$bbox losetup -d /dev/block/loop255 &> /dev/null
Hi,
Please help me:crying:. I am building Resurrection Remix rom for the device Samsung Galaxy Grand(i9082). After many error correction I have reached this error which I am not able to correct .
Error:
[email protected]:~/RR# brunch i9082
including vendor/rr/vendorsetup.sh
Looking for dependencies
Dependency already present in manifest: Osas514/android_kernel_samsung_i9082 => kernel/samsung/i9082
Dependency already present in manifest: ghsr/proprietary_vendor_samsung_i9082 => vendor/samsung/i9082
Dependency already present in manifest: LineageOS/android_external_stlport => external/stlport
Dependency already present in manifest: LineageOS/android_hardware_samsung => hardware/samsung
Dependency already present in manifest: LineageOS/android_packages_apps_SamsungServiceMode => packages/apps/SamsungServiceMode
Dependency already present in manifest: LineageOS/android_packages_resources_devicesettings => packages/resources/devicesettings
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=rr_i9082
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-43-generic-x86_64-Ubuntu-18.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ1A.190105.004
OUT_DIR=/home/sndev28/RR/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=rr_i9082
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-43-generic-x86_64-Ubuntu-18.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ1A.190105.004
OUT_DIR=/home/sndev28/RR/out
============================================
ninja: no work to do.
ninja: no work to do.
Environment variable BUILD_NUMBER was modified (5e05109b63 => b0e9799ec0), regenerating...
Environment variable BUILD_NUMBER was modified (5e05109b63 => b0e9799ec0), regenerating...
[265/1023] including frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
[613/1023] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
system/sepolicy/Android.mk:89: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.
[1023/1023] including vendor/rr/themes/Fonts/Android.mk ...
vendor/rr/build/tasks/kernel.mk:106: warning: ***************************************************************
vendor/rr/build/tasks/kernel.mk:107: warning: * Using prebuilt kernel binary instead of source *
vendor/rr/build/tasks/kernel.mk:108: warning: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/rr/build/tasks/kernel.mk:109: warning: * Please configure your device to download the kernel *
vendor/rr/build/tasks/kernel.mk:110: warning: * source repository to
vendor/rr/build/tasks/kernel.mk:111: warning: * for more information *
vendor/rr/build/tasks/kernel.mk:112: warning: ***************************************************************
build/make/core/Makefile:28: warning: overriding commands for target `/home/sndev28/RR/out/target/product/i9082/system/bin/atrace'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sndev28/RR/out/target/product/i9082/system/bin/atrace'
build/make/core/Makefile:28: warning: overriding commands for target `/home/sndev28/RR/out/target/product/i9082/system/etc/permissions/android.software.live_wallpaper.xml'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/sndev28/RR/out/target/product/i9082/system/etc/permissions/android.software.live_wallpaper.xml'
vendor/rr/build/tasks/kernel.mk:288: warning: overriding commands for target `/home/sndev28/RR/out/target/product/i9082/kernel'
build/make/core/Makefile:28: warning: ignoring old commands for target `/home/sndev28/RR/out/target/product/i9082/kernel'
[ 97% 96/98] Package target files: /ho...s/rr_i9082-target_files-b0e9799ec0.zip
FAILED: /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip
/bin/bash -c "(rm -rf /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip.list /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/ /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY ) && (if [ -d "/home/sndev28/RR/out/target/product/i9082/recovery/root" -a "\$(ls -A /home/sndev28/RR/out/target/product/i9082/recovery/root)" ]; then mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/RAMDISK && prebuilts/build-tools/linux-x86/bin/acp -rd /home/sndev28/RR/out/target/product/i9082/recovery/root/* /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/RAMDISK; fi ) && (if [ -d "/home/sndev28/RR/out/target/product/i9082/install" -a "\$(ls -A /home/sndev28/RR/out/target/product/i9082/install)" ]; then mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/INSTALL && prebuilts/build-tools/linux-x86/bin/acp -rd /home/sndev28/RR/out/target/product/i9082/install/* /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/INSTALL; fi ) && (cp /home/sndev28/RR/out/target/product/i9082/kernel /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/kernel ) && (echo "console=ttyS0,115200n8 [email protected] androidboot.console=ttyS0 vc-cma-mem=0/[email protected] --dt dt.img buildvariant=userdebug" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/cmdline ) && (echo "0xa2000000" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/base ) && (echo "4096" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/pagesize ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT ) && (if [ -d "/home/sndev28/RR/out/target/product/i9082/root" -a "\$(ls -A /home/sndev28/RR/out/target/product/i9082/root)" ]; then mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/RAMDISK && prebuilts/build-tools/linux-x86/bin/acp -rd /home/sndev28/RR/out/target/product/i9082/root/* /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/RAMDISK; fi ) && (cp /home/sndev28/RR/out/target/product/i9082/kernel /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/kernel ) && (echo "console=ttyS0,115200n8 [email protected] androidboot.console=ttyS0 vc-cma-mem=0/[email protected] --dt dt.img buildvariant=userdebug" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/cmdline ) && (echo "0xa2000000" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/base ) && (echo "4096" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/pagesize ) && (if [ -d "/home/sndev28/RR/out/target/product/i9082/system" -a "\$(ls -A /home/sndev28/RR/out/target/product/i9082/system)" ]; then mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/SYSTEM && prebuilts/build-tools/linux-x86/bin/acp -rd /home/sndev28/RR/out/target/product/i9082/system/* /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/SYSTEM; fi ) && (if [ -d "/home/sndev28/RR/out/target/product/i9082/data" -a "\$(ls -A /home/sndev28/RR/out/target/product/i9082/data)" ]; then mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/DATA && prebuilts/build-tools/linux-x86/bin/acp -rd /home/sndev28/RR/out/target/product/i9082/data/* /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/DATA; fi ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/OTA ) && (cp /home/sndev28/RR/out/target/product/i9082/android-info.txt /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/OTA/ ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/OTA/bin ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/EXECUTABLES/updater_intermediates/updater /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/OTA/bin/ ) && (mkdir -p /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/apkcerts_intermediates/rr_i9082-apkcerts-b0e9799ec0.txt /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/apkcerts.txt ) && (echo "" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/otakeys.txt ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/file_contexts.bin ) && (echo "recovery_api_version=3" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "fstab_version=2" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "blocksize=131072" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "boot_size=8388608" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "recovery_size=8388608" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "recovery_mount_options=ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "tool_extensions=device/samsung/i9082/../common" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "default_system_dev_certificate=build/target/product/security/testkey" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo 'mkbootimg_args=' >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo 'mkbootimg_version_args=--os_version 9 --os_patch_level 2019-01-05' >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "use_set_metadata=1" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "multistage_support=1" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "blockimgdiff_versions=3,4" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "no_gzip_recovery_ramdisk=true" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "ext_mkuserimg=mkuserimg_mke2fs.sh" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "fs_type=ext4" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "system_size=1099956224" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "system_journal_size=0" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "userdata_size=4404019200" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "cache_size=1073741824" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "extfs_sparse_flag=-s" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "squashfs_sparse_flag=-s" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (echo "selinux_fc=/home/sndev28/RR/out/target/product/i9082/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && (PATH=/home/sndev28/RR/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/sndev28/RR/out/host/linux-x86/bin/mkbootimg build/make/tools/releasetools/make_recovery_patch /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 ) && (echo "ota_override_device=auto" >> /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/misc_info.txt ) && ((cd /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/SYSTEM; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,system/,' | /home/sndev28/RR/out/host/linux-x86/bin/fs_config -C -D /home/sndev28/RR/out/target/product/i9082/system -S /home/sndev28/RR/out/target/product/i9082/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R "system/" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/filesystem_config.txt ) && ((cd /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/BOOT/RAMDISK; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /home/sndev28/RR/out/host/linux-x86/bin/fs_config -C -D /home/sndev28/RR/out/target/product/i9082/system -S /home/sndev28/RR/out/target/product/i9082/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R "" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/boot_filesystem_config.txt ) && ((cd /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/RECOVERY/RAMDISK; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /home/sndev28/RR/out/host/linux-x86/bin/fs_config -C -D /home/sndev28/RR/out/target/product/i9082/system -S /home/sndev28/RR/out/target/product/i9082/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R "" > /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/recovery_filesystem_config.txt ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/ETC/framework_manifest.xml_intermediates/manifest.xml /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/system_manifest.xml ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/ETC/framework_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/system_matrix.xml ) && (cp /home/sndev28/RR/out/target/product/i9082/obj/ETC/device_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META/vendor_matrix.xml ) && (PATH=/home/sndev28/RR/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/sndev28/RR/out/host/linux-x86/bin/mkbootimg build/make/tools/releasetools/add_img_to_target_files -a -v -p /home/sndev28/RR/out/host/linux-x86 /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 ) && (find /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META | sort >/home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip.list ) && (find /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 -path /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0/META -prune -o -print | sort >>/home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip.list ) && (/home/sndev28/RR/out/soong/host/linux-x86/bin/soong_zip -d -o /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip -C /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0 -l /home/sndev28/RR/out/target/product/i9082/obj/PACKAGING/target_files_intermediates/rr_i9082-target_files-b0e9799ec0.zip.list )"
ls: cannot access '/home/sndev28/RR/out/target/product/i9082/install': No such file or directory
Warning: could not read VENDOR/build.prop
building image from target_files RECOVERY...
building image from target_files BOOT...
putting script in bin/install-recovery.sh
cp: cannot stat '/home/sndev28/RR/out/target/product/i9082/obj/ETC/framework_manifest.xml_intermediates/manifest.xml': No such file or directory
ninja: build stopped: subcommand failed.
18:20:59 ninja failed with: exit status 1
#### failed to build some targets (07:33 (mm:ss)) ####
ROM = Resurrection Remix
Version = Pie
Device = Samsung Galaxy Grand i9082
Device Tree = https://github.com/Osas514/android_device_samsung_i9082/tree/lineage15.1
Kernel Tree = https://github.com/Osas514/android_kernel_samsung_i9082/tree/android-7.1
Vendor Tree = https://github.com/ghsr/proprietary_vendor_samsung_i9082/tree/android-7.1
Please tell me if you want more information.
And please guide me on how to solve this problem.
With Regards
Well...never mind...I fixed it on my own!!
For the past weeks I've been trying to compile lineage 14.1 (cm-14.1 branch) for my phone and I'm getting this error:
https://pastebin.com/ChEsxc8n
Code:
[ 98% 857/872] Target boot image: /home/fr...d/Lineage/out/target/product/Z01M/boot.img
/home/frost/Android/Lineage/out/target/product/Z01M/boot.img maxsize=68395008 blocksize=135168 total=24012800 reserve=811008
[ 98% 858/872] ----- Making recovery ramdisk ------
Copying baseline ramdisk...
Modifying ramdisk contents...
cp: cannot stat '/home/frost/Android/Lineage/out/target/product/Z01M/root/init.recovery.*.rc': No such file or directory
----- Making uncompressed recovery ramdisk ------
[ 98% 860/872] ----- Making recovery image ------
+/home/frost/Android/Lineage/out/target/product/Z01M/recovery.img maxsize=68395008 blocksize=135168 total=30031872 reserve=811008
----- Made recovery image: /home/frost/Android/Lineage/out/target/product/Z01M/recovery.img --------
[ 99% 864/872] build /home/frost/Android/L...ge/out/target/product/Z01M/obj/NOTICE.html
Combining NOTICE files into HTML
Combining NOTICE files into text
[ 99% 867/872] Construct recovery from boot
failed to reconstruct target deflate chunk 1 [(null)]; treating as normal
chunk 0: type 0 start 0 len 22478858
chunk 1: type 2 start 22478858 len 3942144
chunk 2: type 0 start 24012269 len 531
Construct patches for 3 chunks...
patch 0 is 215 bytes (of 22478858)
patch 1 is 5215187 bytes (of 1533411)
patch 2 is 181 bytes (of 531)
chunk 0: normal ( 0, 22478858) 215
chunk 1: deflate ( 22478858, 7552091) 5215187 (null)
chunk 2: normal ( 30030949, 923) 181
[ 99% 868/872] Target system fs image: /ho...AGING/systemimage_intermediates/system.img
BuildImage: in_dir = /home/frost/Android/Lineage/out/target/product/Z01M/system, out_file = /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/systemimage_intermediates/system.img
fs type is not ext4
Running: mkuserimg.sh -s /home/frost/Android/Lineage/out/target/product/Z01M/system /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 4831838208 -D /home/frost/Android/Lineage/out/target/product/Z01M/system -L system /home/frost/Android/Lineage/out/target/product/Z01M/root/file_contexts.bin
make_ext4fs -s -T -1 -S /home/frost/Android/Lineage/out/target/product/Z01M/root/file_contexts.bin -L system -l 4831838208 -a system /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/systemimage_intermediates/system.img /home/frost/Android/Lineage/out/target/product/Z01M/system /home/frost/Android/Lineage/out/target/product/Z01M/system
Creating filesystem with parameters:
Size: 4831838208
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 18432
Label: system
Blocks: 1179648
Block groups: 36
Reserved block group size: 287
Created filesystem with 5340/294912 inodes and 362434/1179648 blocks
Running ['mkuserimg.sh', '-s', '/home/frost/Android/Lineage/out/target/product/Z01M/system', '/home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/systemimage_intermediates/system.img', 'ext4', 'system', '4831838208', '-D', '/home/frost/Android/Lineage/out/target/product/Z01M/system', '-L', 'system', '/home/frost/Android/Lineage/out/target/product/Z01M/root/file_contexts.bin'] command, exit code = 0
[ 99% 869/872] Install system fs image: /h...Lineage/out/target/product/Z01M/system.img
/home/frost/Android/Lineage/out/target/product/Z01M/system.img+/home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=4932956160 blocksize=135168 total=1408239079 reserve=49876992
[ 99% 870/872] Package target files: /home...iates/aosp_Z01M-target_files-eng.frost.zip
FAILED: /bin/bash -c "(rm -rf /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost.zip /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost ) && (mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/ /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost ) && (mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/RECOVERY ) && (if [ -d \"/home/frost/Android/Lineage/out/target/product/Z01M/recovery/root\" -a \"\$(ls -A /home/frost/Android/Lineage/out/target/product/Z01M/recovery/root)\" ]; then mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/RECOVERY/RAMDISK && /home/frost/Android/Lineage/out/host/linux-x86/bin/acp -rd /home/frost/Android/Lineage/out/target/product/Z01M/recovery/root/* /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/RECOVERY/RAMDISK; fi ) && (if [ -d \"/home/frost/Android/Lineage/out/target/product/Z01M/install\" -a \"\$(ls -A /home/frost/Android/Lineage/out/target/product/Z01M/install)\" ]; then mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/INSTALL && /home/frost/Android/Lineage/out/host/linux-x86/bin/acp -rd /home/frost/Android/Lineage/out/target/product/Z01M/install/* /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/INSTALL; fi ) && (/home/frost/Android/Lineage/out/host/linux-x86/bin/acp /home/frost/Android/Lineage/out/target/product/Z01M/kernel /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/RECOVERY/kernel ) && (echo \"0x00000100\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/RECOVERY/tags_offset ) && (echo \"cmd_line='console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 androidboot.selinux=permissive buildvariant=eng\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/RECOVERY/cmdline ) && (echo \"0x80000000\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/RECOVERY/base ) && (echo \"2048\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/RECOVERY/pagesize ) && (echo \"0x01000000\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/RECOVERY/ramdisk_offset ) && (mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOT ) && (if [ -d \"/home/frost/Android/Lineage/out/target/product/Z01M/root\" -a \"\$(ls -A /home/frost/Android/Lineage/out/target/product/Z01M/root)\" ]; then mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOT/RAMDISK && /home/frost/Android/Lineage/out/host/linux-x86/bin/acp -rd /home/frost/Android/Lineage/out/target/product/Z01M/root/* /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOT/RAMDISK; fi ) && (/home/frost/Android/Lineage/out/host/linux-x86/bin/acp /home/frost/Android/Lineage/out/target/product/Z01M/kernel /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOT/kernel ) && (echo \"0x00000100\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOT/tags_offset ) && (echo \"cmd_line='console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 androidboot.selinux=permissive buildvariant=eng\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOT/cmdline ) && (echo \"0x80000000\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOT/base ) && (echo \"2048\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOT/pagesize ) && (echo \"0x01000000\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOT/ramdisk_offset ) && (if [ -d \"/home/frost/Android/Lineage/out/target/product/Z01M/system\" -a \"\$(ls -A /home/frost/Android/Lineage/out/target/product/Z01M/system)\" ]; then mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/SYSTEM && /home/frost/Android/Lineage/out/host/linux-x86/bin/acp -rd /home/frost/Android/Lineage/out/target/product/Z01M/system/* /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/SYSTEM; fi ) && (if [ -d \"/home/frost/Android/Lineage/out/target/product/Z01M/data\" -a \"\$(ls -A /home/frost/Android/Lineage/out/target/product/Z01M/data)\" ]; then mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/DATA && /home/frost/Android/Lineage/out/host/linux-x86/bin/acp -rd /home/frost/Android/Lineage/out/target/product/Z01M/data/* /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/DATA; fi ) && (mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOTABLE_IMAGES ) && (/home/frost/Android/Lineage/out/host/linux-x86/bin/acp /home/frost/Android/Lineage/out/target/product/Z01M/boot.img /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOTABLE_IMAGES/ ) && (/home/frost/Android/Lineage/out/host/linux-x86/bin/acp /home/frost/Android/Lineage/out/target/product/Z01M/recovery.img /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/BOOTABLE_IMAGES/ ) && (mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/OTA ) && (/home/frost/Android/Lineage/out/host/linux-x86/bin/acp /home/frost/Android/Lineage/out/target/product/Z01M/android-info.txt /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/OTA/ ) && (mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/OTA/bin ) && (/home/frost/Android/Lineage/out/host/linux-x86/bin/acp /home/frost/Android/Lineage/out/target/product/Z01M/obj/EXECUTABLES/updater_intermediates/updater /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/OTA/bin/ ) && (mkdir -p /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META ) && (/home/frost/Android/Lineage/out/host/linux-x86/bin/acp /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/apkcerts_intermediates/aosp_Z01M-apkcerts-eng.frost.txt /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/apkcerts.txt ) && (if test -e device/asus/Z01M/../common/releasetools.py; then /home/frost/Android/Lineage/out/host/linux-x86/bin/acp device/asus/Z01M/../common/releasetools.py /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/; fi ) && (echo \"\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/otakeys.txt ) && (/home/frost/Android/Lineage/out/host/linux-x86/bin/acp /home/frost/Android/Lineage/out/target/product/Z01M/root/file_contexts.bin /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/file_contexts.bin ) && (echo \"recovery_api_version=3\" > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"fstab_version=2\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"blocksize=131072\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"boot_size=67108864 \" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"recovery_as_boot=\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"recovery_size=67108864 \" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"recovery_mount_options=ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"tool_extensions=device/asus/Z01M/../common\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"default_system_dev_certificate=build/target/product/security/testkey\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"extra_recovery_keys=vendor/cm/build/target/product/security/lineage\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo 'mkbootimg_args=' >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo 'mkbootimg_version_args=--os_version 7.1.2 --os_patch_level 2020-08-05' >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"use_set_metadata=1\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"multistage_support=1\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"update_rename_support=1\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"blockimgdiff_versions=1,2,3,4\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"fs_type=ext4\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"system_size=4831838208 \" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"userdata_size=56614698496 \" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"cache_fs_type=ext4\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"cache_size=134217728 \" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (echo \"selinux_fc=/home/frost/Android/Lineage/out/target/product/Z01M/root/file_contexts.bin\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && (PATH=/home/frost/Android/Lineage/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/frost/Android/Lineage/out/host/linux-x86/bin/mkbootimg ./build/tools/releasetools/make_recovery_patch /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost ) && (vendor/cm/build/tools/getb64key.py build/target/product/security/testkey.x509.pem > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/releasekey.txt ) && (echo \"ota_override_device=Z01M,ASUS_Z01M,Z01MD,ASUS_Z01MD,ZD552KL\" >> /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/misc_info.txt ) && ((cd /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost && zip -qryX ../aosp_Z01M-target_files-eng.frost.zip ./META && zip -qryXu ../aosp_Z01M-target_files-eng.frost.zip .) ) && (zipinfo -1 /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost.zip | awk 'BEGIN { FS=\"SYSTEM/\" } /^SYSTEM\\// {print \"system/\" \$2}' | /home/frost/Android/Lineage/out/host/linux-x86/bin/fs_config -C -D /home/frost/Android/Lineage/out/target/product/Z01M/system -S /home/frost/Android/Lineage/out/target/product/Z01M/root/file_contexts.bin > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/filesystem_config.txt ) && (zipinfo -1 /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost.zip | awk 'BEGIN { FS=\"VENDOR/\" } /^VENDOR\\// {print \"vendor/\" \$2}' | /home/frost/Android/Lineage/out/host/linux-x86/bin/fs_config -C -D /home/frost/Android/Lineage/out/target/product/Z01M/system -S /home/frost/Android/Lineage/out/target/product/Z01M/root/file_contexts.bin > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/vendor_filesystem_config.txt ) && (zipinfo -1 /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost.zip | awk 'BEGIN { FS=\"BOOT/RAMDISK/\" } /^BOOT\\/RAMDISK\\// {print \$2}' | /home/frost/Android/Lineage/out/host/linux-x86/bin/fs_config -C -D /home/frost/Android/Lineage/out/target/product/Z01M/system -S /home/frost/Android/Lineage/out/target/product/Z01M/root/file_contexts.bin > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/boot_filesystem_config.txt ) && (zipinfo -1 /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost.zip | awk 'BEGIN { FS=\"RECOVERY/RAMDISK/\" } /^RECOVERY\\/RAMDISK\\// {print \$2}' | /home/frost/Android/Lineage/out/host/linux-x86/bin/fs_config -C -D /home/frost/Android/Lineage/out/target/product/Z01M/system -S /home/frost/Android/Lineage/out/target/product/Z01M/root/file_contexts.bin > /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost/META/recovery_filesystem_config.txt ) && ((cd /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost && zip -qX ../aosp_Z01M-target_files-eng.frost.zip META/*filesystem_config.txt) ) && (PATH=/home/frost/Android/Lineage/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/frost/Android/Lineage/out/host/linux-x86/bin/mkbootimg ./build/tools/releasetools/add_img_to_target_files -a -v -p /home/frost/Android/Lineage/out/host/linux-x86 /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost.zip )"
using prebuilt recovery.img from BOOTABLE_IMAGES...
using prebuilt boot.img from BOOTABLE_IMAGES...
running: unzip -o -q /home/frost/Android/Lineage/out/target/product/Z01M/obj/PACKAGING/target_files_intermediates/aosp_Z01M-target_files-eng.frost.zip -d /tmp/targetfiles-ajXmds
++++ boot ++++
using prebuilt boot.img from BOOTABLE_IMAGES...
++++ recovery ++++
using prebuilt recovery.img from BOOTABLE_IMAGES...
++++ recovery (two-step image) ++++
building image from target_files RECOVERY...
running: mkbootfs -f /tmp/targetfiles-ajXmds/META/recovery_filesystem_config.txt /tmp/targetfiles-ajXmds/RECOVERY/RAMDISK
running: minigzip
running: /home/frost/Android/Lineage/out/host/linux-x86/bin/mkbootimg --kernel /tmp/targetfiles-ajXmds/RECOVERY/kernel --cmdline cmd_line='console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 androidboot.selinux=permissive buildvariant=eng --base 0x80000000 --tags_offset 0x00000100 --ramdisk_offset 0x01000000 --pagesize 2048 --os_version 7.1.2 --os_patch_level 2020-08-05 --ramdisk /tmp/tmpzITR1e --output /tmp/tmpeIubBx
++++ system ++++
creating system.img...
BuildImage: in_dir = /tmp/targetfiles-ajXmds/system, out_file = /tmp/system-jMQMgY.img
fs type is not ext4
Running: mkuserimg.sh -s /tmp/targetfiles-ajXmds/system /tmp/system-jMQMgY.img ext4 system 4831838208 -T 1230778800 -C /tmp/targetfiles-ajXmds/META/filesystem_config.txt -B /tmp/system-blocklist-rMJHYe.map -L system /tmp/targetfiles-ajXmds/META/file_contexts.bin
make_ext4fs -s -T 1230778800 -S /tmp/targetfiles-ajXmds/META/file_contexts.bin -C /tmp/targetfiles-ajXmds/META/filesystem_config.txt -B /tmp/system-blocklist-rMJHYe.map -L system -l 4831838208 -a system /tmp/system-jMQMgY.img /tmp/targetfiles-ajXmds/system
loaded 5331 fs_config entries
Creating filesystem with parameters:
Size: 4831838208
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 18432
Label: system
Blocks: 1179648
Block groups: 36
Reserved block group size: 287
Created filesystem with 5341/294912 inodes and 362846/1179648 blocks
Running ['mkuserimg.sh', '-s', '/tmp/targetfiles-ajXmds/system', '/tmp/system-jMQMgY.img', 'ext4', 'system', '4831838208', '-T', '1230778800', '-C', '/tmp/targetfiles-ajXmds/META/filesystem_config.txt', '-B', '/tmp/system-blocklist-rMJHYe.map', '-L', 'system', '/tmp/targetfiles-ajXmds/META/file_contexts.bin'] command, exit code = 0
++++ userdata ++++
creating userdata.img...
BuildImage: in_dir = /tmp/tmpsrG8BS/data, out_file = /tmp/tmpoSlGmd
fs type is not ext4
Running: mkuserimg.sh -s /tmp/tmpsrG8BS/data /tmp/tmpoSlGmd ext4 data 56614698496 -T 1230778800 -L data /tmp/targetfiles-ajXmds/META/file_contexts.bin
make_ext4fs -s -T 1230778800 -S /tmp/targetfiles-ajXmds/META/file_contexts.bin -L data -l 56614698496 -a data /tmp/tmpoSlGmd /tmp/tmpsrG8BS/data
Creating filesystem with parameters:
Size: 56614694912
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label: data
Blocks: 13821947
Block groups: 422
Reserved block group size: 1024
Created filesystem with 11/3457024 inodes and 263056/13821947 blocks
Running ['mkuserimg.sh', '-s', '/tmp/tmpsrG8BS/data', '/tmp/tmpoSlGmd', 'ext4', 'data', '56614698496', '-T', '1230778800', '-L', 'data', '/tmp/targetfiles-ajXmds/META/file_contexts.bin'] command, exit code = 0
userdata size (14) is 0.00% of limit (56614698496)
++++ extrauserdata ++++
++++ cache ++++
creating cache.img...
Traceback (most recent call last):
File "./build/tools/releasetools/add_img_to_target_files", line 554, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/add_img_to_target_files", line 548, in main
AddImagesToTargetFiles(args[0])
File "./build/tools/releasetools/add_img_to_target_files", line 476, in AddImagesToTargetFiles
AddCache(output_zip)
File "./build/tools/releasetools/add_img_to_target_files", line 375, in AddCache
image_props["fs_type"] = fstab["/cache"].fs_type
KeyError: '/cache'
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/home/frost/Android/Lineage'
#### make failed to build some targets (17:07 (mm:ss)) ####
Device Tree: https://github.com/2003Frost/android_device_asus_Z01M/tree/cm-14.1
Vendor: https://github.com/2003Frost/proprietary_vendor_asus_Z01M
Kernel: https://github.com/2003Frost/android_kernel_asus_Z01M
I've been stuck on this for a while now, so any help is appreciated.
0
```
Spoiler
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/storaged.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/storaged.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts system/core/storaged/storaged.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/system/etc/init/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/system/etc/init/storaged.rc ) && (cp \"system/core/storaged/storaged.rc\" \"/var/www/ExthmUI/out/target/product/chopin/system/etc/init/storaged.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/[email protected]
Outputs: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/[email protected]
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts system/libhidl/transport/allocator/1.0/default/[email protected] ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/system/etc/init/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/system/etc/init/[email protected] ) && (cp \"system/libhidl/transport/allocator/1.0/default/[email protected]\" \"/var/www/ExthmUI/out/target/product/chopin/system/etc/init/[email protected]\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/android.hardware.lights-service.mediatek.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/android.hardware.lights-service.mediatek.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts device/xiaomi/chopin/lights/android.hardware.lights-service.mediatek.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/system/etc/init/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/system/etc/init/android.hardware.lights-service.mediatek.rc ) && (cp \"device/xiaomi/chopin/lights/android.hardware.lights-service.mediatek.rc\" \"/var/www/ExthmUI/out/target/product/chopin/system/etc/init/android.hardware.lights-service.mediatek.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.adbd.init.rc.com.android.adbd_intermediates/init.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.adbd.init.rc.com.android.adbd_intermediates/init.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts /var/www/ExthmUI/out/soong/.intermediates/packages/modules/adb/apex/com.android.adbd.init.rc/android_arm64_armv8-a/init.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.adbd.init.rc.com.android.adbd_intermediates/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.adbd.init.rc.com.android.adbd_intermediates/init.rc ) && (cp \"/var/www/ExthmUI/out/soong/.intermediates/packages/modules/adb/apex/com.android.adbd.init.rc/android_arm64_armv8-a/init.rc\" \"/var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.adbd.init.rc.com.android.adbd_intermediates/init.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/traced_perf.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/traced_perf.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts external/perfetto/traced_perf.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/system/etc/init/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/system/etc/init/traced_perf.rc ) && (cp \"external/perfetto/traced_perf.rc\" \"/var/www/ExthmUI/out/target/product/chopin/system/etc/init/traced_perf.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/obj/ETC/init.rc_intermediates/init.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/obj/ETC/init.rc_intermediates/init.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts /var/www/ExthmUI/out/soong/.intermediates/system/core/rootdir/init.rc/android_arm64_armv8-a/init.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/init.rc_intermediates/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/obj/ETC/init.rc_intermediates/init.rc ) && (cp \"/var/www/ExthmUI/out/soong/.intermediates/system/core/rootdir/init.rc/android_arm64_armv8-a/init.rc\" \"/var/www/ExthmUI/out/target/product/chopin/obj/ETC/init.rc_intermediates/init.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.art.artd.init.rc.com.android.art_intermediates/init.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.art.artd.init.rc.com.android.art_intermediates/init.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts /var/www/ExthmUI/out/soong/.intermediates/art/artd/com.android.art.artd.init.rc/android_arm64_armv8-a/init.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.art.artd.init.rc.com.android.art_intermediates/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.art.artd.init.rc.com.android.art_intermediates/init.rc ) && (cp \"/var/www/ExthmUI/out/soong/.intermediates/art/artd/com.android.art.artd.init.rc/android_arm64_armv8-a/init.rc\" \"/var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.art.artd.init.rc.com.android.art_intermediates/init.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.os.statsd.init.rc.com.android.os.statsd_intermediates/init.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.os.statsd.init.rc.com.android.os.statsd_intermediates/init.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts /var/www/ExthmUI/out/soong/.intermediates/packages/modules/StatsD/apex/com.android.os.statsd.init.rc/android_arm64_armv8-a/init.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.os.statsd.init.rc.com.android.os.statsd_intermediates/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.os.statsd.init.rc.com.android.os.statsd_intermediates/init.rc ) && (cp \"/var/www/ExthmUI/out/soong/.intermediates/packages/modules/StatsD/apex/com.android.os.statsd.init.rc/android_arm64_armv8-a/init.rc\" \"/var/www/ExthmUI/out/target/product/chopin/obj/ETC/com.android.os.statsd.init.rc.com.android.os.statsd_intermediates/init.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/atrace.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/atrace.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts frameworks/native/cmds/atrace/atrace.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/system/etc/init/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/system/etc/init/atrace.rc ) && (cp \"frameworks/native/cmds/atrace/atrace.rc\" \"/var/www/ExthmUI/out/target/product/chopin/system/etc/init/atrace.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/atrace_userdebug.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/atrace_userdebug.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts frameworks/native/cmds/atrace/atrace_userdebug.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/system/etc/init/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/system/etc/init/atrace_userdebug.rc ) && (cp \"frameworks/native/cmds/atrace/atrace_userdebug.rc\" \"/var/www/ExthmUI/out/target/product/chopin/system/etc/init/atrace_userdebug.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/lpdumpd.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/lpdumpd.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts system/extras/partition_tools/lpdumpd.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/system/etc/init/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/system/etc/init/lpdumpd.rc ) && (cp \"system/extras/partition_tools/lpdumpd.rc\" \"/var/www/ExthmUI/out/target/product/chopin/system/etc/init/lpdumpd.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/apexd.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/apexd.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts system/apex/apexd/apexd.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/system/etc/init/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/system/etc/init/apexd.rc ) && (cp \"system/apex/apexd/apexd.rc\" \"/var/www/ExthmUI/out/target/product/chopin/system/etc/init/apexd.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/otapreopt.rc
Outputs: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/otapreopt.rc
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts frameworks/native/cmds/installd/otapreopt.rc ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/system/etc/init/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/system/etc/init/otapreopt.rc ) && (cp \"frameworks/native/cmds/installd/otapreopt.rc\" \"/var/www/ExthmUI/out/target/product/chopin/system/etc/init/otapreopt.rc\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
FAILED: Copy init script: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/[email protected]
Outputs: /var/www/ExthmUI/out/target/product/chopin/system/etc/init/[email protected]
Error: exited with code: 1
Command: /bin/bash -c "(/var/www/ExthmUI/out/host/linux-x86/bin/host_init_verifier -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_intermediates/passwd_system -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_odm_intermediates/passwd_odm -p /var/www/ExthmUI/out/target/product/chopin/obj/ETC/passwd_product_intermediates/passwd_product --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/product_property_contexts_intermediates/product_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts --property-contexts=/var/www/ExthmUI/out/target/product/chopin/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts system/hardware/interfaces/suspend/1.0/default/[email protected] ) && (mkdir -p /var/www/ExthmUI/out/target/product/chopin/system/etc/init/ ) && (rm -f /var/www/ExthmUI/out/target/product/chopin/system/etc/init/[email protected] ) && (cp \"system/hardware/interfaces/suspend/1.0/default/[email protected]\" \"/var/www/ExthmUI/out/target/product/chopin/system/etc/init/[email protected]\" )"
Output:
host_init_verifier: Could not read line from '/var/www/ExthmUI/out/target/product/chopin/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts': Match operation 'Aux' is not valid: must be either 'prefix' or 'exact'
```
{Mod edit: Spoiler added for better reading & scrolling experience. Oswald Boelcke}