Sami Tolvanen 0a7b47397d Error correction: Use libfec in blockimg.cpp for recovery
Add block_image_recover function to rewrite corrupted blocks on the
partition. This can be attempted if block_image_verify fails.

Note that we cannot use libfec during block_image_update as it may
overwrite blocks required for error correction. A separate recovery
pass in case the image is corrupted is the only viable option.

Bug: 21893453
Change-Id: I6ff25648fff68d5f50b41a601c95c509d1cc5bce
2015-10-19 10:04:38 +01:00
2015-08-20 12:11:04 -07:00
2013-03-07 13:34:24 -08:00
2015-07-16 22:12:32 -07:00
2013-10-10 14:19:19 -07:00
2015-06-03 11:30:03 -07:00
2015-04-29 21:14:56 -07:00
2015-06-03 11:30:03 -07:00
2015-07-20 11:57:40 -07:00
2015-01-28 12:09:05 -08:00
2014-04-25 15:47:34 -07:00
2015-06-02 22:15:40 -07:00
2015-06-02 22:15:40 -07:00
2015-06-02 22:15:40 -07:00
2015-06-02 22:15:40 -07:00
2015-01-28 12:09:05 -08:00

The Recovery Image

Quick turn-around testing

mm -j && m ramdisk-nodeps && m recoveryimage-nodeps

# To boot into the new recovery image
# without flashing the recovery partition:
adb reboot bootloader
fastboot boot $ANDROID_PRODUCT_OUT/recovery.img
Description
No description provided
Readme 102 MiB
Languages
C++ 50.2%
C 43.6%
Makefile 1.9%
Java 1.8%
Roff 1%
Other 1.4%