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

Ubi reader dont extract correctly the dump #98

Open
markyy1991 opened this issue Oct 16, 2024 · 1 comment
Open

Ubi reader dont extract correctly the dump #98

markyy1991 opened this issue Oct 16, 2024 · 1 comment

Comments

@markyy1991
Copy link

-------------------------------------------------------------------------------------Error log-----------------------------------------------------------------------------

ubireader_display_info salida-1.BIN
UBI_File Warning: end_offset - start_offset length is not block aligned, could mean missing data.
Traceback (most recent call last):
File "/usr/bin/ubireader_display_info", line 132, in
ubi_obj = ubi(ufile_obj)
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/ubireader/ubi/init.py", line 146, in init
super(ubi, self).init(ubi_file)
File "/usr/lib/python3/dist-packages/ubireader/ubi/init.py", line 46, in init
self._blocks = extract_blocks(self)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/ubireader/ubi/block/init.py", line 131, in extract_blocks
blk.data_crc = (~crc32(buf[blk.ec_hdr.data_offset:blk.ec_hdr.data_offset+blk.vid_hdr.data_size]) & UBI_CRC32_INIT)
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data_size'

----------------------------------------- operating system, python version, ubireader version-----------------------------------------------------------

kali linux last version
Python 3.12.6
Ubi reader version 0.8.9

--------------------------------------------File download--------------------------------------------------------------------------------------------------------------

https://fromsmash.com/Noecc1

@markyy1991
Copy link
Author

I can upload file if is necesary

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