From Colossal Mockingjay, 4 Years ago, written in Plain Text.
Embed
  1. #https://www.reddit.com/r/LineageOS/comments/jqgbbk/cannot_sign_apks/
  2.  
  3. [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
  4. 2020-11-08 19:06:50 - common.py - WARNING : Failed to read VENDOR/build.prop
  5. 2020-11-08 19:06:50 - common.py - WARNING : Failed to read VENDOR/etc/build.prop
  6. 2020-11-08 19:06:50 - common.py - WARNING : Failed to read PRODUCT_SERVICES/build.prop
  7. 2020-11-08 19:06:50 - common.py - WARNING : Failed to read PRODUCT_SERVICES/etc/build.prop
  8. 2020-11-08 19:06:50 - common.py - WARNING : Failed to read ODM/build.prop
  9. 2020-11-08 19:06:50 - common.py - WARNING : Failed to read ODM/etc/build.prop
  10. Traceback (most recent call last):
  11.   File "./build/tools/releasetools/sign_target_files_apks", line 1232, in <module>
  12.     main(sys.argv[1:])
  13.   File "./build/tools/releasetools/sign_target_files_apks", line 1189, in main
  14.     misc_info = common.LoadInfoDict(input_zip)
  15.   File "/mnt/1TB/Android/LineageOS/android/lineage/build/make/tools/releasetools/common.py", line 448, in LoadInfoDict
  16.     d["avb_salt"] = sha256(fp).hexdigest()
  17. TypeError: Unicode-objects must be encoded before hashing
captcha