Join us on Tl   Wh

Hovatek Forum DEVELOPMENT Android Unable to make custom vbmeta

Unable to make custom vbmeta

Unable to make custom vbmeta

XDA
XDA
XDA
Newbie
4
23-05-2022, 12:38 PM
#1



Hi whenever I try to create a custom vbmeta image, python always displays an error. I am using A Linux Distro
This post was last modified: 23-05-2022, 12:38 PM by XDA.
Gargoyle
Gargoyle
Gargoyle
Contributor
527
23-05-2022, 01:52 PM
#2
Screen with error, no one can advise you with an unknown error.
XDA
XDA
XDA
Newbie
4
24-05-2022, 07:12 AM
#3
(23-05-2022, 01:52 PM)Gargoyle Screen with error, no one can advise you with an unknown error.
The error I got-
I think it has some dependencies.

$ python2 avbtool extract_public_key --key rsa4096_vbmeta.pem --output rsa4096_vbmeta.bin
Traceback (most recent call last):
File "avbtool", line 4154, in <module>
tool.run(sys.argv)
File "avbtool", line 4004, in run
args.func(args)
File "avbtool", line 4015, in extract_public_key
self.avb.extract_public_key(args.key, args.output)
File "avbtool", line 2697, in extract_public_key
output.write(encode_rsa_key(key_path))
File "avbtool", line 406, in encode_rsa_key
key = RSAPublicKey(key_path)
File "avbtool", line 368, in __init__
stderr=subprocess.PIPE)
File "/data/data/com.termux/files/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/data/data/com.termux/files/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
This post was last modified: 24-05-2022, 07:21 AM by XDA.
XDA
XDA
XDA
Newbie
4
24-05-2022, 07:37 AM
#4
(24-05-2022, 07:12 AM)XDA
(23-05-2022, 01:52 PM)Gargoyle Screen with error, no one can advise you with an unknown error.
The error I got-
I think it has some dependencies.

$ python2 avbtool extract_public_key --key rsa4096_vbmeta.pem --output rsa4096_vbmeta.bin
Traceback (most recent call last):
File "avbtool", line 4154, in <module>
tool.run(sys.argv)
File "avbtool", line 4004, in run
args.func(args)
File "avbtool", line 4015, in extract_public_key
self.avb.extract_public_key(args.key, args.output)
File "avbtool", line 2697, in extract_public_key
output.write(encode_rsa_key(key_path))
File "avbtool", line 406, in encode_rsa_key
key = RSAPublicKey(key_path)
File "avbtool", line 368, in __init__
stderr=subprocess.PIPE)
File "/data/data/com.termux/files/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/data/data/com.termux/files/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I solved the issue by myself
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
Join us
WhTlYt