pil-squasher icon indicating copy to clipboard operation
pil-squasher copied to clipboard

convert mbn to bin format

Open coolirc opened this issue 6 years ago • 3 comments

Hello can you provide a script that does the conversion from mbn format to bin format ? thanks for help

coolirc avatar Jul 29 '19 16:07 coolirc

Which "bin" format are you referring to?

andersson avatar Sep 28 '20 15:09 andersson

Hello Andersson , it's glad to see that you replied to my 2019 question in 2020 :) but anyway . i was talking about .bin files similar to ZTE devices firmwares like in this repo https://github.com/forth32/qtools/tree/master/loaders you see all patched loaders are in bin format but in original firmware package we find the same loader unpatched in .mbn format . so in order to patch the loader i think it must be in .bin format but as i had replies from other forum it's already in the bin format .

coolirc avatar Sep 28 '20 15:09 coolirc

I guess this can be closed then?

z3ntu avatar Oct 24 '22 14:10 z3ntu

@coolirc Mind closing this issue? I've indeed also seen manually squashed .mbn files also duplicated as .elf (not quite .bin but close enough I think) files (sha256sums match on both) on my OnePlus 5 firmware partitions, example being a540_zap.elf vs a540_zap.{mdt,b*} on the vendor (/dev/sdf6) partition.

JamiKettunen avatar Jan 16 '23 02:01 JamiKettunen

Solved ! thanks

coolirc avatar Jan 16 '23 07:01 coolirc