[Android General] DheaApriandi:
Target system fs image: /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/systemimage_intermediates/system.img
Running: mkuserimg.sh -s /home/dhea/omni/out/target/product/A66A/system /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 943718400 -D /home/dhea/omni/out/target/product/A66A/system -L system /home/dhea/omni/out/target/product/A66A/root/file_contexts
make_ext4fs -s -T -1 -S /home/dhea/omni/out/target/product/A66A/root/file_contexts -L system -l 943718400 -a system /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/systemimage_intermediates/system.img /home/dhea/omni/out/target/product/A66A/system /home/dhea/omni/out/target/product/A66A/system
Creating filesystem with parameters:
Size: 943718400
Block size: 4096
Blocks per group: 32768
Inodes per group: 7200
Inode size: 256
Journal blocks: 3600
Label: system
Blocks: 230400
Block groups: 8
Reserved block group size: 63
Created filesystem with 1936/57600 inodes and 127925/230400 blocks
Install system fs image: /home/dhea/omni/out/target/product/A66A/system.img
/home/dhea/omni/out/target/product/A66A/system.img+ maxsize=963477504 blocksize=135168 total=510064944 reserve=9732096
Package target files: /home/dhea/omni/out/target/product/A66A/obj/PACKAGING/target_files_intermediates/omni_A66A-target_files-eng.dhea.zip

++++ boot ++++

using prebuilt boot.img from BOOTABLE_IMAGES...

++++ recovery ++++

using prebuilt recovery.img from BOOTABLE_IMAGES...

++++ system ++++

creating system.img...
Running: mkuserimg.sh -s /tmp/targetfiles-yYadtB/system /tmp/system-0QKA4W.img ext4 system 943718400 -T 1230742800 -C /tmp/targetfiles-yYadtB/META/filesystem_config.txt -B /tmp/system-blocklist-D9No8b.map -L system /tmp/targetfiles-yYadtB/BOOT/RAMDISK/file_contexts
make_ext4fs -s -T 1230742800 -S /tmp/targetfiles-yYadtB/BOOT/RAMDISK/file_contexts -C /tmp/targetfiles-yYadtB/META/filesystem_config.txt -B /tmp/system-blocklist-D9No8b.map -L system -l 943718400 -a system /tmp/system-0QKA4W.img /tmp/targetfiles-yYadtB/system
loaded 1926 fs_config entries
Creating filesystem with parameters:
Size: 943718400
Block size: 4096
Blocks per group: 32768
Inodes per group: 7200
Inode size: 256
Journal blocks: 3600
Label: system
Blocks: 230400
Block groups: 8
Reserved block group size: 63
Created filesystem with 1936/57600 inodes and 127925/230400 blocks
Running: simg2img /tmp/system-0QKA4W.img /tmp/unsparse_system-0QKA4W.img
error: file_write: incomplete write
Cannot write output file
Traceback (most recent call last):
File "./build/tools/releasetools/add_img_to_target_files", line 355, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/add_img_to_target_files", line 349, in main
AddImagesToTargetFiles(args[0])
File "./build/tools/releasetools/add_img_to_target_files", line 309, in AddImagesToTargetFiles
AddSystem(output_zip, recovery_img=recovery_image, boot_img=boot_image)
File "./build/tools/releasetools/add_img_to_target_files", line 69, in AddSystem
block_list=block_list)
File "./build/tools/releasetools/add_img_to_target_files", line 77, in BuildSystem
return CreateImage(input_dir, info_dict, "system", block_list=block_list)
File "./build/tools/releasetools/add_img_to_target_files", line 160, in CreateImage
assert succ, "build " + what + ".img image failed"
AssertionError: build system.img image failed
make: *** [/home/dhea/omni/out/target/product/A66A/obj/PACKAGING/target_files_intermediates/omni_A66A-target_files-eng.dhea.zip] Error 1
make: *** Deleting file `/home/dhea/omni/out/target/product/A66A/obj/PACKAGING/target_files_intermediates/omni_A66A-target_files-eng.dhea.zip'