#https://www.reddit.com/r/LineageOS/comments/jqgbbk/cannot_sign_apks/ [david@david-laptop /mnt/1TB/Android/LineageOS/android/lineage]$ ./build/tools/releasetools/sign_target_files_apks -o -d /mnt/1TB/Android/LineageOS/android/android-certs $OUT/obj/PACKAGING/target_files_intermediates/*-target_files-*.zip signed-target_files.zip 2020-11-08 19:06:50 - common.py - WARNING : Failed to read VENDOR/build.prop 2020-11-08 19:06:50 - common.py - WARNING : Failed to read VENDOR/etc/build.prop 2020-11-08 19:06:50 - common.py - WARNING : Failed to read PRODUCT_SERVICES/build.prop 2020-11-08 19:06:50 - common.py - WARNING : Failed to read PRODUCT_SERVICES/etc/build.prop 2020-11-08 19:06:50 - common.py - WARNING : Failed to read ODM/build.prop 2020-11-08 19:06:50 - common.py - WARNING : Failed to read ODM/etc/build.prop Traceback (most recent call last): File "./build/tools/releasetools/sign_target_files_apks", line 1232, in main(sys.argv[1:]) File "./build/tools/releasetools/sign_target_files_apks", line 1189, in main misc_info = common.LoadInfoDict(input_zip) File "/mnt/1TB/Android/LineageOS/android/lineage/build/make/tools/releasetools/common.py", line 448, in LoadInfoDict d["avb_salt"] = sha256(fp).hexdigest() TypeError: Unicode-objects must be encoded before hashing