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

UnicodeDecodeError: invalid start byte #191

Open
4accccc opened this issue Feb 6, 2024 · 2 comments
Open

UnicodeDecodeError: invalid start byte #191

4accccc opened this issue Feb 6, 2024 · 2 comments
Labels
broken recovery OEMs doing strange stuff bug Something isn't working

Comments

@4accccc
Copy link

4accccc commented Feb 6, 2024

TWRP device tree generator
Version 3.0.0

[INFO] Cloning AIK...
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/4a/.local/lib/python3.10/site-packages/twrpdtgen/main.py", line 11, in
main()
File "/home/4a/.local/lib/python3.10/site-packages/twrpdtgen/main.py", line 37, in main
device_tree = DeviceTree(image=args.image)
File "/home/4a/.local/lib/python3.10/site-packages/twrpdtgen/device_tree.py", line 64, in init
self.build_prop.import_props(build_prop)
File "/home/4a/.local/lib/python3.10/site-packages/sebaubuntu_libs/libandroid/props/init.py", line 40, in import_props
text = file.read_text(encoding="utf-8")
File "/usr/lib/python3.10/pathlib.py", line 1135, in read_text
return f.read()
File "/usr/lib/python3.10/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 4205: invalid start byte

this is the recovery image which was dumped by me using mtkclient.
recovery.zip

someone plz help me!

@SebaUbuntu SebaUbuntu added bug Something isn't working broken recovery OEMs doing strange stuff labels Feb 11, 2024
@duarteoficialhp

This comment was marked as spam.

@duarteoficialhp

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken recovery OEMs doing strange stuff bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants