summaryrefslogtreecommitdiffstats
path: root/updater (follow)
Commit message (Expand)AuthorAgeFilesLines
* Create stash dir recursively.Yifan Hong2019-01-121-1/+2
* Merge "Use dynamically linked f2fs executables."Tao Bao2019-01-081-4/+5
|\
| * Use dynamically linked f2fs executables.Tao Bao2018-12-201-4/+5
* | updater: erase ignores EOPNOTSUPP for BLKDISCARDYifan Hong2019-01-051-11/+10
|/
* Clean up the arg setup for exec(3).Tao Bao2018-12-201-54/+34
* make_f2fs: use -g android by defaultJaegeuk Kim2018-11-211-5/+1
* updater: Error out on underrun during patching.Tao Bao2018-11-051-1/+4
* Use only signed/unsigned numbers with ParseInt/ParseUint respectivelyTom Cherry2018-10-051-1/+1
* applypatch: Refactor applypatch().Tao Bao2018-08-311-69/+57
* Enable c++17 in recovery_defaults.Tao Bao2018-08-281-23/+23
* Remove otafaultTianjie Xu2018-08-285-110/+64
* updater: Add TransferList class.Tao Bao2018-08-172-0/+118
* updater: Add SourceInfo::{ReadAll,DumpBuffer,Overlaps}.Tao Bao2018-08-162-0/+96
* tests: Move to Android.bp.Tao Bao2018-08-151-16/+25
* Merge "updater: Move libupdater to Soong."Tao Bao2018-08-142-31/+75
|\
| * updater: Move libupdater to Soong.Tao Bao2018-08-132-31/+75
* | Merge "Add the hash_tree_info class in Command"Tianjie Xu2018-08-142-1/+93
|\ \ | |/ |/|
| * Add the hash_tree_info class in CommandTianjie Xu2018-08-142-1/+93
* | Merge "Add an updater function to compute hash tree"Tianjie Xu2018-08-074-18/+132
|\|
| * Add an updater function to compute hash treeTianjie Xu2018-08-064-18/+132
* | Merge "applypatch: Consolidate CacheSizeCheck() and MakeFreeSpaceOnCache()."Tao Bao2018-07-132-4/+4
|\|
| * applypatch: Consolidate CacheSizeCheck() and MakeFreeSpaceOnCache().Tao Bao2018-07-132-4/+4
* | Merge "updater: Let read_file() return Value::Type::STRING."Tao Bao2018-07-101-5/+5
|\|
| * updater: Let read_file() return Value::Type::STRING.Tao Bao2018-07-101-5/+5
* | Merge "edify: Rename parse_string to ParseString and let it take std::string."Tao Bao2018-07-101-1/+1
|\|
| * Merge "edify: Rename parse_string to ParseString and let it take std::string."Tao Bao2018-07-101-1/+1
| |\
| | * edify: Rename parse_string to ParseString and let it take std::string.Tao Bao2018-07-101-1/+1
* | | Merge "edify: Remove VAL_INVALID and move ValueType into Value class."Tao Bao2018-07-102-21/+22
|\| |
| * | edify: Remove VAL_INVALID and move ValueType into Value class.Tao Bao2018-07-102-21/+22
| |/
* | Merge "updater: Remove the support for sha1_check()."Tao Bao2018-07-101-49/+1
|\|
| * updater: Remove the support for sha1_check().Tao Bao2018-07-091-49/+1
* | Merge "updater: Add ABORT command."Tao Bao2018-07-093-1/+35
|\|
| * updater: Add ABORT command.Tao Bao2018-07-073-1/+35
* | Merge "No longer print hash for stashed blocks during verification of retry"Tianjie Xu2018-07-031-1/+3
|\|
| * No longer print hash for stashed blocks during verification of retryTianjie Xu2018-07-031-1/+3
* | Merge "updater: Check the number of args in Command::Parse."Tao Bao2018-06-261-9/+16
|\|
| * updater: Check the number of args in Command::Parse.Tao Bao2018-06-251-9/+16
* | Merge "updater: Add Command parsing codes."Tao Bao2018-06-263-17/+521
|\|
| * updater: Add Command parsing codes.Tao Bao2018-06-253-17/+521
* | Merge "applypatch: {Load,Save}FileContents and ParseSha1 take std::string."Tao Bao2018-06-251-1/+1
|\|
| * Merge "applypatch: {Load,Save}FileContents and ParseSha1 take std::string."Tao Bao2018-06-251-1/+1
| |\
| | * applypatch: {Load,Save}FileContents and ParseSha1 take std::string.Tao Bao2018-06-201-1/+1
* | | Merge "e2fsdroid and mke2fs are dynamic executable in recovery partition"Jiyong Park2018-06-211-4/+4
|\| |
| * | Merge "e2fsdroid and mke2fs are dynamic executable in recovery partition"Treehugger Robot2018-06-211-4/+4
| |\ \ | | |/ | |/|
| | * e2fsdroid and mke2fs are dynamic executable in recovery partitionJiyong Park2018-06-201-4/+4
* | | Merge "updater: Defer the creation of the new data writer."Tao Bao2018-06-201-24/+24
|\| |
| * | updater: Defer the creation of the new data writer.Tao Bao2018-06-181-24/+24
| |/
* | Merge "updater: Drop the 'overlap' parameter in LoadSrcTgtVersion3()."Tao Bao2018-06-091-12/+10
|\|
| * updater: Drop the 'overlap' parameter in LoadSrcTgtVersion3().Tao Bao2018-06-081-12/+10
* | Merge "Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master" into stage-aosp-masterXin Li2018-06-091-6/+4
|\ \ | |/ |/|
| * Merge "updater: Replace the reference arguments with pointers." am: cef8431fedTao Bao2018-06-071-102/+101
| |\
| * \ Merge "tests: Add ResumableUpdaterTest." am: a21a63bf56Tao Bao2018-06-051-0/+1
| |\ \
| * \ \ Merge "updater: Drop the 'blocks' parameter in LoadStash()." am: 0b80ba14d7Tao Bao2018-06-011-15/+8
| |\ \ \
| * \ \ \ Merge "updater: Add Commmand class to manage BBOTA commands." am: a488bd992fTao Bao2018-05-294-63/+133
| |\ \ \ \
| * \ \ \ \ Merge "updater: Use a bool to indicate if allowed to skip a command." am: 3a8b348936Tao Bao2018-05-221-22/+17
| |\ \ \ \ \
| * \ \ \ \ \ Merge "updater: Clean up the header lines computation." am: a5735e9b5fTao Bao2018-05-221-6/+4
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge "Last command file should be updated after a command finishes" am: 6dfc54cae1Tianjie Xu2018-05-171-11/+7
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge "updater: Skip an updated partition on retry." am: 0ffe13b56fTao Bao2018-05-081-39/+77
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge "updater: Fix an issue when resuming an update." am: 1dc9e2ddefTao Bao2018-05-081-3/+6
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge changes I1cc5d702,I32ab9854 am: 420f7f8df4android-build-prod (mdb)2018-05-042-9/+5
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge "Merge libmounts into libotautil." am: 686353215fandroid-build-prod (mdb)2018-04-282-8/+5
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merge "Rename CacheLocation to Paths." am: 49c7f1cec3android-build-prod (mdb)2018-04-262-18/+13
| |\ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge "updater: Remove an unneeded strdup()." am: ab3c24bd51android-build-prod (mdb)2018-04-251-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge "applypatch: Drop the SHA_CTX parameter in Apply{BSDiff,Image}Patch." am: bcb015239cTao Bao2018-04-201-3/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | recovery: enable fsverity feature bitJaegeuk Kim2018-04-061-6/+4
| * | | | | | | | | | | | | | | install: mkfs.f2fs: specify sector size for target image sizeJaegeuk Kim2018-04-051-0/+2
| * | | | | | | | | | | | | | | Set the update locations to default in CacheLocation's constructorTianjie Xu2018-03-081-4/+0
* | | | | | | | | | | | | | | | updater: Remove the redundant check on line count.Tao Bao2018-06-071-9/+3
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | updater: Replace the reference arguments with pointers.Tao Bao2018-06-051-102/+101
| |_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | tests: Add ResumableUpdaterTest.Tao Bao2018-06-041-0/+1
| |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | |
* | | | | | | | | | | | | updater: Drop the 'blocks' parameter in LoadStash().Tao Bao2018-05-311-15/+8
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | |
* | | | | | | | | | | | updater: Add Commmand class to manage BBOTA commands.Tao Bao2018-05-264-63/+133
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | |
* | | | | | | | | | | updater: Use a bool to indicate if allowed to skip a command.Tao Bao2018-05-221-22/+17
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | |
* | | | | | | | | | updater: Clean up the header lines computation.Tao Bao2018-05-211-6/+4
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Last command file should be updated after a command finishesTianjie Xu2018-05-161-11/+7
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Merge "updater: Skip an updated partition on retry."Tao Bao2018-05-081-39/+77
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | updater: Skip an updated partition on retry.Tao Bao2018-05-081-39/+77
| | |_|_|_|_|/ | |/| | | | |
* / | | | | | updater: Fix an issue when resuming an update.Tao Bao2018-05-081-3/+6
|/ / / / / /
* | | | | | Move reboot() from common.h into otautil/sysutil.h.Tao Bao2018-05-041-6/+2
* | | | | | otautil: Rename dir/sys/thermal utils.Tao Bao2018-05-042-3/+3
| |_|_|_|/ |/| | | |
* | | | | Merge libmounts into libotautil.Tao Bao2018-04-282-8/+5
| |_|_|/ |/| | |
* | | | Rename CacheLocation to Paths.Tao Bao2018-04-262-18/+13
| |_|/ |/| |
* | | updater: Remove an unneeded strdup().Tao Bao2018-04-251-1/+1
| |/ |/|
* | applypatch: Drop the SHA_CTX parameter in Apply{BSDiff,Image}Patch.Tao Bao2018-04-201-3/+2
* | install: mkfs.f2fs: specify sector size for target image sizeJaegeuk Kim2018-04-051-0/+2
* | Set the update locations to default in CacheLocation's constructorTianjie Xu2018-03-081-4/+0
|/
* Add a singleton CacheLocation to replace the hard coded locationsTianjie Xu2018-02-283-5/+10
* Fix the behavior of undefined commands in BlockImageVerifyTianjie Xu2018-02-281-2/+4
* Reorder the functions in updater/install.cppTianjie Xu2018-02-121-239/+244
* Log the last command to cacheTianjie Xu2018-02-072-9/+175
* Avoid overwrite of the error message in AbortFnTianjie Xu2018-01-292-15/+15
* add sload.f2fs for recovery formatJaegeuk Kim2017-12-051-0/+9
* Detect interrupted update due to power offTianjie Xu2017-12-011-1/+5
* recovery: format f2fs with encrypt/quotaJaegeuk Kim2017-11-131-4/+10
* applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch.Tao Bao2017-11-101-2/+2
* otautil: Remove the aborts in RangeSet::Parse().Tao Bao2017-11-071-1/+19
* recovery: remove make_ext4fs from updaterJin Qian2017-11-031-9/+2
* Finish the new data receiver when update failsTianjie Xu2017-10-201-16/+41
* Drop -Wno-unused-parameter.Tao Bao2017-10-121-2/+0
* Move rangeset.h and print_sha1.h into otautil.Tao Bao2017-10-112-4/+4
* Revert "Revert "Move error_code.h into otautil.""Tao Bao2017-10-093-3/+3
* Don't include "error_code.h" in edify/expr.h.Tao Bao2017-10-051-0/+1
* Revert "Move error_code.h into otautil."Tao Bao2017-10-052-2/+2
* Move error_code.h into otautil.Tao Bao2017-10-042-2/+2
* otafault: Move headers under otafault/.Tao Bao2017-09-293-3/+3
* Turn on -Wall for recovery modulesTianjie Xu2017-08-291-0/+2
* Merge "Move Image/ImageChunk/PatchChunk declaration into header files"Tianjie Xu2017-08-192-279/+1
|\
| * Move Image/ImageChunk/PatchChunk declaration into header filesTianjie Xu2017-08-192-279/+1
* | Merge "Add implemention of SortedRangeSet"Tianjie Xu2017-08-011-1/+115
|\|
| * Add implemention of SortedRangeSetTianjie Xu2017-08-011-1/+115
* | Merge "updater: Remove dead make_parents()."Tao Bao2017-07-251-28/+0
|\|
| * updater: Remove dead make_parents().Tao Bao2017-07-251-28/+0
* | Merge "Remove the obsolete reference to /file_contexts."Tao Bao2017-07-231-2/+1
|\|
| * Remove the obsolete reference to /file_contexts.Tao Bao2017-07-231-2/+1
* | Merge "Fix a case when brotli writer fails to write last few blocks of data"Tianjie Xu2017-07-211-94/+81
|\|
| * Merge "Fix a case when brotli writer fails to write last few blocks of data"Tianjie Xu2017-07-211-94/+81
| |\
| | * Fix a case when brotli writer fails to write last few blocks of dataTianjie Xu2017-07-211-94/+81
* | | Merge "recovery: replace make_ext4 with e2fsprogs"Jin Qian2017-07-211-2/+25
|\| |
| * | recovery: replace make_ext4 with e2fsprogsJin Qian2017-07-201-2/+25
| |/
* | Merge "Add support to decompress brotli compressed new data"Tianjie Xu2017-07-112-32/+144
|\|
| * Add support to decompress brotli compressed new dataTianjie Xu2017-07-082-32/+144
* | Fix "No file_contexts" warningJeff Vander Stoep2017-06-161-3/+3
|\ \ | |/ |/|
| * Fix "No file_contexts" warningJeff Vander Stoep2017-06-151-3/+3
| * Adding support for quiescent reboot to recoveryDmitri Plotnikov2017-04-281-1/+4
* | Merge "kill package_extract_dir"Tianjie Xu2017-05-311-32/+0
|\ \
| * | kill package_extract_dirTianjie Xu2017-05-241-32/+0
* | | Retry the update if ApplyBSDiffPatch | ApplyImagePatch failsTianjie Xu2017-05-242-0/+6
|/ /
* | updater: Update the mkfs.f2fs argument to match f2fs-tools 1.8.0.Tao Bao2017-05-121-3/+5
* | Merge "Add a default error code when updater script aborts"Tianjie Xu2017-05-031-7/+9
|\ \
| * | Add a default error code when updater script abortsTianjie Xu2017-05-031-7/+9
* | | Move sysMapFile and sysReleaseMap into MemMapping class.Tao Bao2017-05-021-2/+1
* | | Adding support for quiescent reboot to recoveryDmitri Plotnikov2017-04-191-1/+4
|/ /
* | Abort the update if there's not enough new dataTianjie Xu2017-04-081-4/+26
* | Change the internal representation in RangeSet.Tao Bao2017-04-032-233/+284
* | updater: Keep the parsed parameters in std::unique_ptr.Tao Bao2017-03-311-160/+157
* | Move parse_range() and range_overlaps() into RangeSet.Tao Bao2017-03-312-110/+113
* | Merge "updater: Move RangeSinkWrite into RangeSinkState."Tao Bao2017-03-311-164/+146
|\ \
| * | updater: Move RangeSinkWrite into RangeSinkState.Tao Bao2017-03-291-164/+146
* | | updater: Don't append newline when calling uiPrint().Tao Bao2017-03-302-9/+10
|/ /
* | applypatch: Let Apply{BSDiff,Image}Patch accept std::function.Tao Bao2017-03-281-75/+76
* | applypatch: Change the ssize_t length parameters to size_t.Tao Bao2017-03-281-41/+40
* | updater: Clean up LoadSrcTgtVersion2().Tao Bao2017-03-281-146/+143
|/
* Merge "updater: Remove some redundant arguments."Tao Bao2017-03-261-78/+65
|\
| * updater: Remove some redundant arguments.Tao Bao2017-03-241-78/+65
* | Merge "updater: Drop the support for BBOTA v1 and v2."Tao Bao2017-03-251-398/+330
|\|
| * updater: Drop the support for BBOTA v1 and v2.Tao Bao2017-03-241-398/+330
* | Merge "Removed C-style casts"Tao Bao2017-03-241-1/+1
|\ \ | |/ |/|
| * Removed C-style castsMikhail Lappo2017-03-231-1/+1
* | Merge "Redundant checking of STL container element"Tao Bao2017-03-231-3/+1
|\ \ | |/ |/|
| * Redundant checking of STL container elementMikhail Lappo2017-03-231-3/+1
* | Merge "Fixed scanf modifier"Tao Bao2017-03-231-1/+1
|\|
| * Fixed scanf modifierMikhail Lappo2017-03-231-1/+1
* | updater: Fix the broken case for apply_patch_check().Tao Bao2017-03-231-1/+1
|/
* Remove malloc in edify functionsTianjie Xu2017-03-223-125/+173
* Merge "Fix the permission of stashed blocks created by updater"Tianjie Xu2017-03-221-0/+12
|\
| * Fix the permission of stashed blocks created by updaterTianjie Xu2017-03-221-0/+12
* | Fix updater include generation w/installcleanDan Willemsen2017-03-221-16/+4
|/
* Revert "Revert "Print SHA-1 in hex for corrupted blocks""Tianjie Xu2017-03-171-6/+140
* updater: Minor clean up to EnumerateStash().Tao Bao2017-03-161-73/+50
* Revert "Print SHA-1 in hex for corrupted blocks"Tao Bao2017-03-151-140/+3
* Merge "updater: Remove some obsoleted functions for file-based OTA."Tao Bao2017-03-141-362/+0
|\
| * updater: Remove some obsoleted functions for file-based OTA.Tao Bao2017-03-131-362/+0
* | Print SHA-1 in hex for corrupted blocksTianjie Xu2017-03-131-3/+140
|/
* Merge "Use bspatch from external/bsdiff."Sen Jiang2017-02-161-0/+1
|\
| * Use bspatch from external/bsdiff.Sen Jiang2017-02-021-0/+1
* | Replace _exit(-1) with _exit(EXIT_FAILURE).Tao Bao2017-02-032-3/+3
|/
* Merge "Remove '_static' suffix from libext2* references."Alex Deymo2017-01-261-1/+1
|\
| * Remove '_static' suffix from libext2* references.Alex Deymo2017-01-241-1/+1
* | Print with newline for ui_print.Tao Bao2017-01-222-2/+0
|/
* Merge changes from topic 'host_suffix_cleanup'Alex Deymo2017-01-121-2/+2
|\
| * Remove "_static" suffix from libsparseAlex Deymo2017-01-111-1/+1
| * Remove "_static" suffix from libext4_utils.Alex Deymo2017-01-111-1/+1
* | Do not inject I/O fault on a retryTianjie Xu2017-01-091-1/+1
|/
* Merge "updater: Clean up CreateStash()."Tao Bao2017-01-051-83/+84
|\
| * updater: Clean up CreateStash().Tao Bao2016-12-291-84/+85
* | updater: Refactor parse_range().Tao Bao2017-01-041-74/+63
* | updater: Update the header name for bootloader.h.Tao Bao2016-12-291-2/+2
|/
* updater: Fix the operator order.Tao Bao2016-12-141-1/+1
* updater: Switch to libbase logging.Tao Bao2016-12-013-993/+994
* Remove ota_close(int) and ota_fclose(FILE*).Tao Bao2016-11-281-73/+69
* updater: Refactor set_stage() and get_stage() functions.Tao Bao2016-11-182-68/+69
* updater: Add testcase for package_extract_dir().Tao Bao2016-11-181-17/+21
* updater: Add "write_value()" function.Tao Bao2016-11-171-3/+31
* updater: Fix the wrong return value for package_extract_file().Tao Bao2016-11-151-76/+69
* updater: Add more testcase for symlink().Tao Bao2016-11-091-20/+17
* Make make_parent() to take const argumentTianjie Xu2016-11-081-19/+27
* updater: Add a testcase for RenameFn().Tao Bao2016-11-041-1/+4
* updater: Fix a bug in DeleteFn().Tao Bao2016-11-041-9/+13
* updater: Fix an off-by-1 bug in file_getprop().Tao Bao2016-11-031-6/+9
* Cleanup ReadArgs & ReadValueArgs usageTianjie Xu2016-11-012-497/+411
* applypatch: Switch the parameter of Value** to std::vector.Tao Bao2016-10-291-3/+1
* Replace minzip with libziparchiveTianjie Xu2016-10-185-85/+87
* Change StringValue to use std::stringTianjie Xu2016-10-153-195/+158
* edify: Some clean-ups to libedify.Tao Bao2016-10-131-1/+0
* updater: Kill the duplicate PrintSha1() in install.cpp.Tao Bao2016-10-111-36/+19
* Refactor libupdater into a seperate module.Tao Bao2016-10-117-79/+103
* Update the header path for ext4_utils.Tao Bao2016-10-092-4/+2
* edify: Move State.script and State.errmsg to std::string.Tao Bao2016-10-041-20/+17
* Turn on -Werror for recoveryTianjie Xu2016-09-301-1/+1
* Switch to <android-base/properties.h>.Elliott Hughes2016-09-261-12/+7
* Merge "Switch recovery to libbase logging"Tianjie Xu2016-09-021-2/+3
|\
| * Switch recovery to libbase loggingTianjie Xu2016-09-011-2/+3
* | Check an edge case when read(2) returns 0Tianjie Xu2016-09-011-0/+4
|/
* Merge "Fix references to libcrypto_utils_static."Josh Gao2016-08-081-2/+2
|\
| * Fix references to libcrypto_utils_static.Josh Gao2016-08-061-2/+2
* | Merge \"Fix install.h\'s use of attribute printf.\"Elliott Hughes2016-06-302-4/+3
|\|
| * Fix install.h's use of attribute printf.Elliott Hughes2016-06-302-4/+3
* | Check the results from applypatchTianjie Xu2016-06-161-4/+10
|\ \
| * | Check the results from applypatchTianjie Xu2016-06-161-4/+10
* | | resolve merge conflicts of 179c0d8 to stage-aosp-masterElliott Hughes2016-06-162-161/+12
|\ \ \ | | |/ | |/|
| * | Merge "Remove obsolete MTD support."Elliott Hughes2016-06-152-161/+12
| |\ \
| | * | Remove obsolete MTD support.Elliott Hughes2016-06-102-161/+12
* | | | Merge \\"updater: Fix the broken ReadFileFn.\\" am: 4ddd5edf31Tao Bao2016-06-111-1/+1
|\| | |
| * | | updater: Fix the broken ReadFileFn.Tao Bao2016-06-111-1/+1
| |/ /
* | | resolve merge conflicts of 7ce287d to nyc-dev-plus-aospTianjie Xu2016-06-042-8/+61
|\ \ \ | | |/ | |/|
| * | Call ioctl before each write on retryTianjie Xu2016-06-032-8/+61
* | | resolve merge conflicts of 50f6417Tianjie Xu2016-05-231-1/+0
* | | resolve merge conflicts of 50f6417 to nyc-dev-plus-aospTianjie Xu2016-05-233-87/+143
|\| |
| * | Allow recovery to return error codesTianjie Xu2016-05-203-86/+141
* | | Add time and I/O info to last_installTianjie Xu2016-05-181-0/+12
|\| | | |/ |/|
| * Add time and I/O info to last_installTianjie Xu2016-05-161-0/+12
| * Skip stashing source blocks in verify modeTianjie Xu2016-03-231-8/+46
| * DO NOT MERGE Control fault injection with config files instead of build flagsJed Estep2016-03-163-2/+4
| * applypatch: use vector to store data in FileContents.Yabin Cui2016-03-111-10/+11
| * Reboot and retry on I/O errorsTianjie Xu2016-03-101-0/+7
| * Merge "updater: fix memory leak based on static analysis." am: e50d447692Yabin Cui2016-02-051-44/+39
| |\
| * \ resolve merge conflicts of 7b6027dde4 to master.Tao Bao2016-02-043-18/+17
| |\ \
| * \ \ Merge "IO fault injection for OTA packages"Jed Estep2016-01-093-19/+21
| |\ \ \
| | * | | IO fault injection for OTA packagesJed Estep2016-01-063-19/+21
| * | | | updater: Add a function to check first blockTianjie Xu2015-12-182-0/+58
| |/ / /
* | | | updater, minzip: Remove unnecessary O_SYNC flags.Alistair Strachan2016-05-061-1/+1
* | | | Merge "Fix google-explicit-constructor warnings."Chih-hung Hsieh2016-04-301-1/+1
|\ \ \ \
| * | | | Fix google-explicit-constructor warnings.Chih-Hung Hsieh2016-04-291-1/+1
* | | | | updater: Don't zero out CommandParameters with memset(3).Tao Bao2016-04-271-2/+1
|/ / / /
* | | | Fix google-runtime-int warnings.Chih-Hung Hsieh2016-04-181-5/+6
* | | | Convert recovery to use BoringSSL instead of mincrypt.Mattias Nissler2016-04-061-0/+1
* | | | Move selinux dependencies out of header files.Elliott Hughes2016-04-023-4/+6
* | | | Switch to <android-base/unique_fd.h>.Elliott Hughes2016-03-291-25/+17
* | | | Skip stashing source blocks in verify modeTianjie Xu2016-03-251-8/+46
* | | | Merge "Reboot and retry on I/O errors"Tianjie Xu2016-03-081-0/+7
|\ \ \ \
| * | | | Reboot and retry on I/O errorsTianjie Xu2016-03-031-0/+7
* | | | | Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES.Tao Bao2016-03-031-28/+38
|/ / / /
* | | | Control fault injection with config files instead of build flagsJed Estep2016-02-233-2/+4
* | | | applypatch: use vector to store data in FileContents.Yabin Cui2016-02-121-10/+11
* | | | IO fault injection for OTA packagesJed Estep2016-02-103-34/+36
| |_|/ |/| |
* | | updater: fix memory leak based on static analysis.Yabin Cui2016-02-041-44/+39
| |/ |/|
* | Switch from mincrypt to BoringSSL in applypatch and updater.Sen Jiang2016-02-043-18/+17
* | updater: Add a function to check first blockTianjie Xu2016-01-072-0/+58
|/
* updater: Use O_SYNC and fsync() for package_extract_file().Tao Bao2015-12-151-6/+13
* updater: Output msg when recovery is calledTianjie Xu2015-12-111-1/+4
* updater: Replace strtok() with android::base::Split().Tao Bao2015-12-071-133/+144
* Track rename from base/ to android-base/.Elliott Hughes2015-12-052-5/+5
* updater: Bump up the BBOTA version to 4.Tao Bao2015-10-231-1/+1
* Error correction: Use libfec in blockimg.cpp for recoverySami Tolvanen2015-10-192-1/+78
* updater: Skip empty lines in the transfer list file.Tao Bao2015-09-261-0/+4
* updater: Use android::base::ParseInt() to parse integers.Tao Bao2015-09-242-52/+37
* Suppress some compiler warnings due to signedness.Tao Bao2015-09-241-1/+1
* Merge "updater: Manage buffers with std::vector."Tao Bao2015-09-161-228/+168
|\
| * updater: Manage buffers with std::vector.Tao Bao2015-09-101-228/+168
* | updater: Fix the line breaks in ui_print commands.Tao Bao2015-09-101-26/+32
|/
* updater: Replace the pointers in LoadSrcTgtVersion[1-3]() parameter.Tao Bao2015-09-081-29/+26
* updater: Clean up C codes.Tao Bao2015-09-011-602/+429
* updater: Remove the unused isunresumable in SaveStash().Tao Bao2015-08-261-3/+3
* GOOGLEGMS-749 Fix integer overflow while applying block based OTA packageShrinivas Sahukar2015-08-221-46/+48
* updater: Clean up char* with std::string.Tao Bao2015-08-061-261/+141
* udpater: Call fsync() after rename().Tao Bao2015-08-041-0/+20
* updater: Hoist fsync() to outer loop.Tao Bao2015-07-271-6/+5
* updater: libapplypatch needs libbase now.Tao Bao2015-07-241-1/+1
* recovery: Switch applypatch/ and updater/ to cpp.Tao Bao2015-07-144-112/+113
* Revert "Zero blocks before BLKDISCARD"Tao Bao2015-07-111-17/+1
* More accurate checking for overlapped ranges.Tao Bao2015-06-261-1/+1
* Zero blocks before BLKDISCARDSami Tolvanen2015-06-101-1/+17
* Revert "Zero blocks before BLKDISCARD"Sami Tolvanen2015-06-101-5/+9
* Zero blocks before BLKDISCARDSami Tolvanen2015-06-091-9/+5
* recovery: Switch to clangTao Bao2015-06-031-0/+2
* Fix build: fprintf without modifierTao Bao2015-06-031-2/+1
* Merge "Log update outputs in order"Tao Bao2015-06-031-0/+6
|\
| * Log update outputs in orderTao Bao2015-06-031-0/+6
* | Merge "Really don't use TEMP_FAILURE_RETRY with close in recovery."Elliott Hughes2015-05-291-1/+1
|\ \
| * | Really don't use TEMP_FAILURE_RETRY with close in recovery.Elliott Hughes2015-05-291-1/+1
| |/
* / Handle BLKDISCARD failuresSami Tolvanen2015-05-281-2/+1
|/
* Stop using libstdc++.Dan Albert2015-05-191-1/+1
* Merge "Add error and range checks to parse_range"Sami Tolvanen2015-05-181-10/+71
|\
| * Add error and range checks to parse_rangeSami Tolvanen2015-05-151-10/+71
* | Don't use TEMP_FAILURE_RETRY on close in recovery.Elliott Hughes2015-05-161-2/+2
|/
* Check all lseek calls succeed.Elliott Hughes2015-04-301-28/+20
* Don't remove existing explicitly stashed blocksSami Tolvanen2015-04-171-10/+28
* Always use strerror to report errno in recovery.Elliott Hughes2015-03-231-19/+20
* Remove more dead code from minzip.Narayan Kamath2015-02-271-1/+1
* Initialize stashbase even stash_max_blocks = 0Jesse Zhao2015-02-181-1/+1
* am 42b09d25: am 6a0d2fbc: Merge "There\'s no GPL code in \'updater\'."Elliott Hughes2015-02-092-339/+0
|\
| * am 6a0d2fbc: Merge "There\'s no GPL code in \'updater\'."Elliott Hughes2015-02-072-339/+0
| |\
| | * There's no GPL code in 'updater'.Elliott Hughes2015-02-052-339/+0
* | | Merge "Support resuming block based OTAs"Sami Tolvanen2015-02-061-346/+1460
|\ \ \ | |/ / |/| |
| * | Support resuming block based OTAsSami Tolvanen2015-01-301-346/+1460
* | | am aeecac54: Merge "Add missing includes."Elliott Hughes2015-01-301-0/+1
|\ \ \ | |/ / |/| / | |/
| * Add missing includes.Elliott Hughes2015-01-301-0/+1
* | am c43b17f0: Merge "Fix recovery image build for 32p"Ying Wang2014-12-021-1/+1
|\|
| * Fix recovery image build for 32pBruce Beare2014-12-011-1/+1
* | am b278c252: Add support for tune2fs file operationsMichael Runge2014-11-242-0/+43
|\ \
| * | Add support for tune2fs file operationsMichael Runge2014-11-212-0/+43
* | | am 5ddf4293: Log mount/unmount errors to UIMichael Runge2014-10-251-5/+9
|\| |
| * | Log mount/unmount errors to UIMichael Runge2014-10-241-5/+9
* | | am 68802416: unconditionally apply SELinux labels to symlinksNick Kralevich2014-10-241-10/+9
|\| |
| * | unconditionally apply SELinux labels to symlinksNick Kralevich2014-10-241-10/+9
* | | am 168f7778: Allow passing of mount args to mountFnMichael Runge2014-10-231-5/+18
|\| |
| * | Allow passing of mount args to mountFnMichael Runge2014-10-231-5/+18
* | | am 473967d8: Merge "Log to UI any metadata setting errors" into lmp-devBrian Carlstrom2014-10-231-34/+50
|\| |
| * | Merge "Log to UI any metadata setting errors" into lmp-devBrian Carlstrom2014-10-231-34/+50
| |\ \
| | * | Log to UI any metadata setting errorsMichael Runge2014-10-231-34/+50
| | |/
* | | am 2f0ef730: Treat already-renamed files as having no problems.Michael Runge2014-10-231-0/+3
|\| |
| * | Treat already-renamed files as having no problems.Michael Runge2014-10-231-0/+3
| |/
* / support for version 2 of block image diffsDoug Zongker2014-09-261-45/+209
|/
* Merge "fix comment in blockimg updater code" into lmp-devDoug Zongker2014-09-041-3/+3
|\
| * fix comment in blockimg updater codeDoug Zongker2014-09-041-3/+3
* | use lseek64 instead of lseekAndrew Boie2014-09-041-11/+11
|/
* remove code for original block OTA mechanismDoug Zongker2014-08-262-209/+6
* fix two bugs in block image updaterDoug Zongker2014-08-211-18/+32
* installer for new block OTA systemDoug Zongker2014-08-206-1/+662
* remove spurious parens from error messageDoug Zongker2014-08-061-4/+3
* Auto create parent directories for rename supportMichael Runge2014-07-222-3/+7
* Support F2FS for the data partitionJP Abgrall2014-06-171-2/+35
* advance progress bar during block OTA installationsDoug Zongker2014-06-091-2/+23
* disable async reboot during package installationDoug Zongker2014-05-231-0/+11
* Allow lines without = signs.Michael Runge2014-05-021-5/+3
* am 4b6de1ba: am 026ebe02: Merge "Recovery 64-bit compile issues"Mark Salyzyn2014-03-141-2/+2
|\
| * am 026ebe02: Merge "Recovery 64-bit compile issues"Mark Salyzyn2014-03-141-2/+2
| |\
| | * Recovery 64-bit compile issuesMark Salyzyn2014-03-141-2/+2
* | | support don't-care maps when writing the system imageDoug Zongker2014-02-251-62/+172
* | | add flag for GPL licenseDoug Zongker2014-02-202-0/+339
* | | Merge "clean up some warnings when building recovery"Doug Zongker2014-02-183-5/+5
|\ \ \
| * | | clean up some warnings when building recoveryDoug Zongker2014-02-143-5/+5
* | | | remove remaining libminelf referencesDoug Zongker2014-02-141-1/+0
|/ / /
* | | remove 'retouch' ASLR supportDoug Zongker2014-02-141-1/+1
* | | add syspatch support to updaterDoug Zongker2014-02-132-14/+115
* | | do verification and extraction on memory, not filesDoug Zongker2014-01-161-4/+11
|/ /
* | am f9dd42de: Merge "Don\'t abort on read_file if the file is missing." into klp-devMichael Runge2013-12-271-5/+3
|\ \
| * | Don't abort on read_file if the file is missing.Michael Runge2013-12-141-5/+3
* | | am c87bab10: add the functions for multi-stage packages to updaterDoug Zongker2013-11-271-1/+106
|\| | | |/ |/|
| * add the functions for multi-stage packages to updaterDoug Zongker2013-11-271-1/+106
* | am c64e76c7: Merge "Enable incremental builder to find files that moved, and try to process them via patch + rename, instead of delete + add." into klp-devMichael Runge2013-11-081-0/+35
|\|
| * Enable incremental builder to find files that moved, andMichael Runge2013-11-071-0/+35
* | updater: Delete dead codeNick Kralevich2013-09-171-87/+0
|/
* Don't apply permission changes to symlink.Nick Kralevich2013-09-111-0/+5
* updater: introduce and set_metadata and set_metadata_recursiveNick Kralevich2013-09-101-0/+274
* Revert "Update OTA installer to understand SELinux filesystem labels"Nick Kralevich2013-09-091-24/+5
* Update OTA installer to understand SELinux filesystem labelsNick Kralevich2013-07-191-5/+24
* recovery: move log output to stdoutDoug Zongker2013-07-092-48/+48
* Merge "verifier: update to support certificates using SHA-256"Doug Zongker2013-04-121-1/+1
|\
| * verifier: update to support certificates using SHA-256Doug Zongker2013-04-101-1/+1
* | Add liblogYing Wang2013-04-101-1/+1
|/
* resolved conflicts for merge of 78afed1c to jb-mr1-dev-plus-aospKenny Root2012-10-174-16/+1
|\
| * Remove HAVE_SELINUX guardsKenny Root2012-10-164-16/+1
* | add bonus data feature to imgdiff/imgpatch/applypatchDoug Zongker2012-08-211-1/+1
* | am 3733d218: Merge changes I664f8dc7,I4154db06,I5e1df90fJoe Onorato2012-08-171-1/+4
|\|
| * Use the static version of libsparseJoe Onorato2012-07-241-1/+1
| * Multiple modules with the same name are going away.Joe Onorato2012-07-221-1/+4
* | fix the symlink() command to create directories if neededDoug Zongker2012-08-071-3/+29
|/
* Link against libsparseColin Cross2012-07-181-1/+1
* am 6d60667d: Merge "Use a dependency file to replace the list file."Ying Wang2012-06-121-10/+14
|\
| * Use a dependency file to replace the list file.Ying Wang2012-06-111-10/+14
* | am 78911bdf: am 2a4ab824: Merge "Change the format command to always take the mount point as an argument."Kenny Root2012-04-071-13/+4
|\|
| * Change the format command to always take the mount point as an argument.Stephen Smalley2012-04-031-13/+4
* | resolved conflicts for merge of 0b1fee1b to masterKenny Root2012-03-314-7/+69
|\|
| * Extend recovery and updater to support setting file security contexts.Stephen Smalley2012-03-304-8/+65
| * Add libselinux to LOCAL_STATIC_LIBRARIES wherever libext4_utils is used.Stephen Smalley2012-01-241-0/+5
* | fail edify script if set_perm() or symlink() failsDoug Zongker2012-03-221-0/+13
* | remove retouching code from updaterDoug Zongker2012-02-281-118/+0
* | C++ class for device-specific codeDoug Zongker2011-10-311-1/+2
|/
* allow recovery packages to wipe cacheDoug Zongker2011-10-191-0/+10
* Support multiple recovery updater extensions.Michael Ward2011-07-151-2/+2
* make write_raw_image able to take a blobDoug Zongker2011-04-131-27/+40
* Reserve the last 16 Kbytes of /data for the crypto footer.Ken Sumrall2011-01-201-8/+11
* Update arguments to make_ext4fsColin Cross2010-12-291-1/+1
* add missing sparseness parameterDoug Zongker2010-09-161-1/+1
* resolved conflicts for merge of 9f89b0e4 to masterDoug Zongker2010-09-161-1/+1
|\
| * support for ext4/EMMC filesystems in updater binaryDoug Zongker2010-09-152-25/+64
* | am 858f0a76: am 8e5e4dad: close update package before installing; allow remountDoug Zongker2010-09-161-1/+3
|\|
| * close update package before installing; allow remountDoug Zongker2010-09-151-1/+3
* | Changes to work with updated make_ext4fs tool that supports creating sparse images.Ken Sumrall2010-08-141-1/+1
* | Working ASLR implementationHristo Bojinov2010-08-022-2/+123
* | Mute unwanted error messageYing Wang2010-07-211-1/+1
* | support for ext4/EMMC filesystems in updater binaryDoug Zongker2010-07-022-25/+64
|/
* refactor applypatch and friendsDoug Zongker2010-02-231-65/+107
* relocate applypatch; add type system and new functions to edifyDoug Zongker2010-02-182-52/+190
* bump updater API version to 3; deprecate firmware update commandDoug Zongker2010-02-033-42/+7
* add a one-argument version of package_extract_fileDoug Zongker2010-02-011-24/+69
* delete files before symlinking; log error messagesDoug Zongker2009-09-191-3/+21
* add a run_program() function to edifyDoug Zongker2009-09-101-0/+49
* am d8f7c9b8: Merge change 5545 into donutAndroid (Google) Code Review2009-06-301-1/+6
|\
| * Merge change 5545 into donutAndroid (Google) Code Review2009-06-261-1/+6
| |\
| | * remove updater from the user system imageDoug Zongker2009-06-261-1/+6
* | | am 0bbfe3d9: fix off-by-one error in set_perm()Doug Zongker2009-06-251-1/+1
|\| |
| * | fix off-by-one error in set_perm()Doug Zongker2009-06-251-1/+1
| |/
* | am fbf3c10e: improve updater progress barDoug Zongker2009-06-251-3/+21
|\|
| * improve updater progress barDoug Zongker2009-06-241-3/+21
* | add device extension mechanism to updaterDoug Zongker2009-06-222-1/+43
|/
* add file_getprop() to updaterDoug Zongker2009-06-181-11/+100
* let the "firmware" command take the file straight from the packageDoug Zongker2009-06-181-3/+4
* fixes to edify and updater scriptDoug Zongker2009-06-122-67/+124
* edify extensions for OTA package installation, part 2Doug Zongker2009-06-123-7/+278
* edify extensions for OTA package installation, part 1Doug Zongker2009-06-125-0/+555