Talk with a Hovatek Engineer/Developer. Start Now

Learn Mediatek Software Repairs Online! Enroll




Unable to make custom vbmeta
#1

Post: 1 by XDA



Hi whenever I try to create a custom vbmeta image, python always displays an error. I am using A Linux Distro

find Reply
#2

Post: 2 by Gargoyle

Screen with error, no one can advise you with an unknown error.
find Reply
#3

Post: 3 by XDA

(23-05-2022, 01:52 PM)Gargoyle Wrote:  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
find Reply
#4

Post: 4 by XDA

(24-05-2022, 07:12 AM)XDA Wrote:  
(23-05-2022, 01:52 PM)Gargoyle Wrote:  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
find Reply




Users browsing this thread: 1 Guest(s)
YouTubeWhatsappTelegram

© 2023. Powered by Hovatek...just a button away! Software by MyBB.