- 28 Oct, 2015 2 commits
- 23 Oct, 2015 2 commits
-
-
Tao Bao authored
-
- 19 Oct, 2015 2 commits
-
-
Sami Tolvanen authored
-
Sami Tolvanen authored
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
-
- 30 Sep, 2015 5 commits
- 26 Sep, 2015 1 commit
-
-
Tao Bao authored
We have the last line being empty as a result of android::base::Split("a\nb\n"), which leads to "missing command" warnings in the update. Just skip all the empty lines. Bug: 24373789 Change-Id: I5827e4600bd5cf0418d95477e4592fec47bbd3a9
-
- 25 Sep, 2015 2 commits
-
-
Tao Bao authored
* changes: updater: Use android::base::ParseInt() to parse integers. Suppress some compiler warnings due to signedness.
- 24 Sep, 2015 2 commits
- 23 Sep, 2015 3 commits
- 18 Sep, 2015 2 commits
-
-
Tao Bao authored
- 17 Sep, 2015 1 commit
-
-
Tao Bao authored
Fork a logger process and send over the log lines through a pipe. Prepend a timestamp to each line for debugging purpose. Timestamps are relative to the start of the logger. Example lines with the change in this CL: [ 445.948393] Verifying update package... [ 446.279139] I:comment is 1738 bytes; signature 1720 bytes from end [ 449.463652] I:whole-file signature verified against RSA key 0 [ 449.463704] I:verify_file returned 0 Change-Id: I139d02ed8f2e944c1618c91d5cc43282efd50b99
-
- 16 Sep, 2015 2 commits
-
-
Tao Bao authored
- 14 Sep, 2015 2 commits
-
-
David Pursell authored
* commit 'ee17242f': minadbd: update service_to_fd() signature.
-
David Pursell authored
-
- 12 Sep, 2015 2 commits
-
-
Tao Bao authored
- 10 Sep, 2015 5 commits
-
-
Tao Bao authored
When calling ScreenRecoveryUI::ShowFile(), the only thing that gets inadequately logged is the progress bar. Replace the call to ScreenRecoveryUI::Print() with ScreenRecoveryUI::PrintOnScreenOnly() for the progress bar, so we can avoid calling redirect_stdio(). Change-Id: I4d7c5d5b39bebe0d5880a99d7a72cee4f0b8f325
-
Tao Bao authored
-
Tao Bao authored
When processing ui_print commands in the updater, it misses a line break when printing to the recovery log. Also clean up uiPrintf() and UIPrintFn() with std::string's. Change-Id: Ie5dbbfbc40b024929887d3c3ccd3a334249a8c9d
-
Tao Bao authored
Change-Id: Ide489e18dd8daf161b612f65b28921b61cdd8d8d
-
- 09 Sep, 2015 2 commits
-
-
Tao Bao authored
- 08 Sep, 2015 4 commits
-
-
Tao Bao authored
And inline the call to LoadSrcTgtVersion1() into SaveStash(). Change-Id: Ibf4ef2bfa2cc62df59c4e8de99fd7d8039e71ecf
-
Tao Bao authored
-
Jeremy Compostella authored
mkstemp() allocates a file description that is never released. If MakePatch() is called too many time, imgdiff reaches the Operating System EMFILE (too many open files) limit. Change-Id: Icbe1399f6f6d32cfa1830f879cacf7d75bbd9fc3 Signed-off-by:
Jeremy Compostella <jeremy.compostella@intel.com> Signed-off-by:
Gaelle Nassiet <gaellex.nassiet@intel.com>
-
- 04 Sep, 2015 1 commit
-
-
Tom Cherry authored
* commit 'f8c303f9': move uncrypt from init.rc to uncrypt.rc
-