forked from CyanogenMod/android_bootable_recovery
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include backup/restore of UBOOT and recovery to maintain backup consi…
…stency Since MTK6589 BOOT partition is totally dependent on UBOOT we must make sure that the corresponding UBOOT is backed up/restored together with BOOT, otherwise device could be soft-bricked after restoration of previous backup having incompatible boot/uboot pair. Additionally, we have to make sure also recovery that is compatible with restored boot/uboot pair is restored so device is able to boot into recovery after restore. The drawback of this approach is that in specific cases newer version of recovery already present in the device will get replaced by the older one. But... This is still the better case than to end up with recovery that is totally unbootable... This change makes backups fully consistent. Change-Id: Id6ed36ae250b7b4fc54faa5c10ac327f0b623977
- Loading branch information
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters