So a complete restoration plan could be:
- Boot into diags mode; restore mainkern.bin and mainsys.bin with dd.
- Boot into main mode; restore diagkern.bin and diagsys.bin with dd.
Questions:
- When to restore prefix.bin? (complete /dev/mmcblk0 partitioned area prefix)
- When to restore localsys.bin?
- How to restore /proc/config.gz if not by copying it back? If it can't be restored, why mkbackup.sh backs it up?