summaryrefslogtreecommitdiffstats
path: root/updater (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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