Description of the problem:
I have a 4GB eMMC chip that is “broken” which causes the device (TV) to not boot.
After soldering this chip to an adapter I am able to dump it.
When comparing the dumps, I can see that there are many differences between the dumps. Some portions are completely identical though.
My hope is to use some tool to compare all of the dumps (however many I might need) and restore an image of the original firmware. This is based on my assumption that statistically (over many runs) every bit would be read correctly and would thus allow me to piece together a complete and correct image.
Is there a tool for a task like this?
I imagine that it wouldn’t be too hard to write a basic python script to do this task but maybe there is already a pre-made tool.
Also, are there good tools to visualize differences is large binary files?
More info on the eMMC: it’s a H26M31003GMR
My guess as to why it broke is that the firmware is poorly written and too much data get’s written to the eMMC causing it to fail eventually.
Here’s an example of the data:
- First dump byte: 11000000
- Second dump byte: 10000000
- Difference: 1 Bit