-
Notifications
You must be signed in to change notification settings - Fork 22
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
AssertionError: Logical partition metadata has invalid geometry magic signature. #83
Comments
Looks like an older version? Try to update |
Older version of what? Python or dumpyara? I installed it with pip3 install dumpyara |
|
Similar issue. failed to unsparse the super.img.lz4 file extracted from a samloader-bifrost firmware dump of the A146P device. The error occurs during step 2 ("Preparing partition images"):
Steps to Reproduce: Acquire firmware for A146P using samloader-bifrost. Dumpyara should successfully unsparse the super.img.lz4 file without errors, allowing for further analysis of the firmware partitions. Actual Behavior: The AssertionError is raised, indicating that dumpyara cannot correctly interpret the partition layout within the super.img.lz4 file. Environment: Operating System: Ubuntu 24.04LTS (Noble Numbat) The AssertionError suggests an issue with the way dumpyara handles multipartition super.img files. |
Minor workaround for handling the multipartition super img, the issue above. However, ran into more problems down the line. Two errors threw during the extraction of boot.img and recovery.img due to a ModuleNotFoundError: No module named distutils. Regading the above "ModuleNotFoundError" error: No module named 'distutils'. The fix is straightforward since Python 3.12 doesn't package distutils by default Solution: Just install setuptools within the virt. environment :
This will automatically make distutils available, resolving the error during the extraction process. Might be beneficial to add setuptools as a dependency to the project - @SebaUbuntu For reference, log file of the dump. |
Im having this error
The text was updated successfully, but these errors were encountered: