platform_bootable_recovery/updater
Tianjie Xu bb0cd75a0e Print SHA-1 in hex for corrupted blocks
It will be helpful for debug if we know which blocks are corrupted after
a verification failure. This CL prints the SHA-1 for each source block
in a transfer command if these blocks don't have an expected hash. And
along with the correct SHA-1, we will catch the corrupted blocks.

Bug: 21124445
Test: Printed the mismatched SHA-1 for bullhead during an update.
Change-Id: I683d4bdaf9a335035045b3f532b3a265b2fcbbfc
2017-03-13 11:32:56 -07:00
..
include/updater Replace minzip with libziparchive 2016-10-17 17:41:51 -07:00
Android.mk Use bspatch from external/bsdiff. 2017-02-02 14:41:05 -08:00
blockimg.cpp Print SHA-1 in hex for corrupted blocks 2017-03-13 11:32:56 -07:00
install.cpp Replace _exit(-1) with _exit(EXIT_FAILURE). 2017-02-03 14:11:11 -08:00
updater.cpp Print with newline for ui_print. 2017-01-21 20:43:45 -08:00