Hi! So I'm trying to build Paranoid Android from source on my Linux PC. I had ran the rom-build.sh or whatever that script was called, which is a script made by the PA team to easily run all the lunch, make commands etc and it completed succesfully. I flashed the images but they did not boot properly, which might have been my USBs error. I then wanted to try a .zip file, so I ran make otapackage -j6 and I got this error: (It's not full log just last 50 or so lines before it crashed)
++++ system ++++ creating system.img... BuildImage: in_dir = /tmp/targetfiles-dUtsy7/system, out_file = /tmp/system- zSAxhf.img fs type is not ext4 Running: mkuserimg.sh -s /tmp/targetfiles-dUtsy7/system /tmp/system-zSAxhf.img ext4 system 3170938880 -T 1230786000 -C /tmp/targetfiles-dUtsy7/META/ filesystem_config.txt -B /tmp/system-blocklist-WBNwik.map -L system /tmp/ targetfiles-dUtsy7/META/file_contexts.bin make_ext4fs -s -T 1230786000 -S /tmp/targetfiles-dUtsy7/META/file_contexts.bin -C /tmp/targetfiles-dUtsy7/META/filesystem_config.txt -B /tmp/system- blocklist-WBNwik.map -L system -l 3170938880 -a system /tmp/system-zSAxhf.img /tmp/targetfiles-dUtsy7/system error: file_write: incomplete write loaded 2283 fs_config entries Creating filesystem with parameters: Size: 3170938880 Block size: 4096 Blocks per group: 32768 Inodes per group: 8080 Inode size: 256 Journal blocks: 12096 Label: system Blocks: 774155 Block groups: 24 Reserved block group size: 191 Created filesystem with 2293/193920 inodes and 307286/774155 blocks Running ['mkuserimg.sh', '-s', '/tmp/targetfiles-dUtsy7/system', '/tmp/system-zSAxhf.img', 'ext4', 'system', '3170938880', '-T', '1230786000' , '-C', '/tmp/targetfiles-dUtsy7/META/filesystem_config.txt', '-B', '/tmp/system-blocklist-WBNwik.map', '-L', 'system', '/tmp/targetfiles-dUtsy7/META/file_contexts.bin'] command, exit code = 0 build_verity_tree -A aee087a5be3b982978c923f566a94613496b417f2af592639bc80d141e34dfe7 /tmp/system -zSAxhf.img /tmp/tmpIyC9ty_verity_images/verity.img Could not build verity tree! Error: failed to write '/tmp/tmpIyC9ty_verity_images/verity.img' a39ced07ca3acc2fb957f44b62a0bfa80895336bbe3fa59d2f3ed3b668c6a40c aee087a5be3b982978c923f566a94613496b417f2af592639bc80d141e34dfe7 Error: making verity enabled image failed Traceback (most recent call last): File "./build/tools/releasetools/add_img_to_target_files", line 471, in <module> main(sys.argv[1:]) File "./build/tools/releasetools/add_img_to_target_files", line 465, in main AddImagesToTargetFiles(args[0]) File "./build/tools/releasetools/add_img_to_target_files", line 384, in AddImagesToTargetFiles boot_img=boot_image) File "./build/tools/releasetools/add_img_to_target_files", line 109, in AddSystem block_list=block_list) File "./build/tools/releasetools/add_img_to_target_files", line 118, in BuildSystem return CreateImage(input_dir, info_dict, "system", block_list=block_list) File "./build/tools/releasetools/add_img_to_target_files", line 211, in CreateImage assert succ, "build " + what + ".img image failed" AssertionError: build system.img image failed ninja: build stopped: subcommand failed. build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed make: *** [ninja_wrapper] Error 1 #### make failed to build some targets (18:39 (mm:ss)) #### Does anybody know how to fix this? Thanks :) -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.