mbn_utils icon indicating copy to clipboard operation
mbn_utils copied to clipboard

Tool doesn't calculate checksum

Open vlw opened this issue 1 year ago • 4 comments

Hi! I tried using this tool to modify mcfg_sw.mbn and noticed that the tool does not calculate the checksum. Judging by the description, this is planned to be improved in the future. What methods are available at the moment to generate a checksum? Can this checksum be generated by yourself or by modifying android libraries?

vlw avatar Apr 26 '23 19:04 vlw

we've just published a similar mbn parsing tool that implements the mentioned checksum calculation during re-packaging: https://github.com/sbaresearch/mbn-mcfg-tools

feel free to try out our tool or take a look at our python-based source code to port the relevant codeparts to this project: https://github.com/sbaresearch/mbn-mcfg-tools/blob/611f09d6729ad27aa702592bb6f1d47887c497ef/src/mbn_mcfg_tools/mbn.py#L220

@fenrir-naru your project was very helpful during the initial phase of our implementation efforts, thanks for your insights and contribution!

GGegenhuber avatar Dec 01 '23 15:12 GGegenhuber

we've just published a similar mbn parsing tool that implements the mentioned checksum calculation during re-packaging:

Hi! Looks like links doesn't work

vlw avatar Dec 01 '23 15:12 vlw

@GGegenhuber

vlw avatar Dec 01 '23 15:12 vlw

sorry, just noticed that i forgot to make the project public (visibility was still on private). however, it should work now :)

GGegenhuber avatar Dec 01 '23 16:12 GGegenhuber