Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when creating avb key on Lineage 18.1 #3

Open
steadfasterX opened this issue Mar 5, 2024 · 0 comments
Open

error when creating avb key on Lineage 18.1 #3

steadfasterX opened this issue Mar 5, 2024 · 0 comments

Comments

@steadfasterX
Copy link
Collaborator

>> [Sat Mar  2 15:50:19 CET 2024] Generating AVB (pk8 | 4096/sha256)...
setting rsa-4096
setting sha256
creating android/signing-keys/avb.pk8 with no password

... android/signing-keys/avb.x509.der created
... android/signing-keys/avb.pem created
  File "android/lineage-18.1/external/avb/avbtool", line 416
    b = 2L**32  # pylint: disable=long-suffix
        ^
SyntaxError: invalid decimal literal

reason: the script avbtool was made at a time where python2 was still active and so there are 2 possible workarounds:

  1. switch to python2 (virtualenv)
  2. get external/avb from LOS 19.1

both would fix that issue but are not ideal..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant