summaryrefslogtreecommitdiffstats
path: root/updater (unfollow)
Commit message (Expand)AuthorFilesLines
2017-07-23Remove the obsolete reference to /file_contexts.Tao Bao1-2/+1
2017-07-21Fix a case when brotli writer fails to write last few blocks of dataTianjie Xu1-94/+81
2017-07-20recovery: replace make_ext4 with e2fsprogsJin Qian1-2/+25
2017-07-08Add support to decompress brotli compressed new dataTianjie Xu2-32/+144
2017-05-24Retry the update if ApplyBSDiffPatch | ApplyImagePatch failsTianjie Xu2-0/+6
2017-05-24kill package_extract_dirTianjie Xu1-32/+0
2017-05-12updater: Update the mkfs.f2fs argument to match f2fs-tools 1.8.0.Tao Bao1-3/+5
2017-05-03Add a default error code when updater script abortsTianjie Xu1-7/+9
2017-05-02Move sysMapFile and sysReleaseMap into MemMapping class.Tao Bao1-2/+1
2017-04-19Adding support for quiescent reboot to recoveryDmitri Plotnikov1-1/+4
2017-04-08Abort the update if there's not enough new dataTianjie Xu1-4/+26
2017-04-03Change the internal representation in RangeSet.Tao Bao2-233/+284
2017-03-31updater: Keep the parsed parameters in std::unique_ptr.Tao Bao1-160/+157
2017-03-31Move parse_range() and range_overlaps() into RangeSet.Tao Bao2-110/+113
2017-03-30updater: Don't append newline when calling uiPrint().Tao Bao2-9/+10
2017-03-29updater: Move RangeSinkWrite into RangeSinkState.Tao Bao1-164/+146
2017-03-28applypatch: Let Apply{BSDiff,Image}Patch accept std::function.Tao Bao1-75/+76
2017-03-28applypatch: Change the ssize_t length parameters to size_t.Tao Bao1-41/+40
2017-03-28updater: Clean up LoadSrcTgtVersion2().Tao Bao1-146/+143
2017-03-24updater: Remove some redundant arguments.Tao Bao1-78/+65
2017-03-24updater: Drop the support for BBOTA v1 and v2.Tao Bao1-398/+330
2017-03-23Removed C-style castsMikhail Lappo1-1/+1
2017-03-23Redundant checking of STL container elementMikhail Lappo1-3/+1
2017-03-23Fixed scanf modifierMikhail Lappo1-1/+1
2017-03-23updater: Fix the broken case for apply_patch_check().Tao Bao1-1/+1
2017-03-22Remove malloc in edify functionsTianjie Xu3-125/+173
2017-03-22Fix the permission of stashed blocks created by updaterTianjie Xu1-0/+12
2017-03-22Fix updater include generation w/installcleanDan Willemsen1-16/+4
2017-03-17Revert "Revert "Print SHA-1 in hex for corrupted blocks""Tianjie Xu1-6/+140
2017-03-16updater: Minor clean up to EnumerateStash().Tao Bao1-73/+50
2017-03-15Revert "Print SHA-1 in hex for corrupted blocks"Tao Bao1-140/+3
2017-03-13Print SHA-1 in hex for corrupted blocksTianjie Xu1-3/+140
2017-03-13updater: Remove some obsoleted functions for file-based OTA.Tao Bao1-362/+0
2017-02-03Replace _exit(-1) with _exit(EXIT_FAILURE).Tao Bao2-3/+3
2017-02-02Use bspatch from external/bsdiff.Sen Jiang1-0/+1
2017-01-24Remove '_static' suffix from libext2* references.Alex Deymo1-1/+1
2017-01-22Print with newline for ui_print.Tao Bao2-2/+0
2017-01-11Remove "_static" suffix from libsparseAlex Deymo1-1/+1
2017-01-11Remove "_static" suffix from libext4_utils.Alex Deymo1-1/+1
2017-01-09Do not inject I/O fault on a retryTianjie Xu1-1/+1
2017-01-04updater: Refactor parse_range().Tao Bao1-74/+63
2016-12-29updater: Clean up CreateStash().Tao Bao1-84/+85
2016-12-29updater: Update the header name for bootloader.h.Tao Bao1-2/+2
2016-12-14updater: Fix the operator order.Tao Bao1-1/+1
2016-12-01updater: Switch to libbase logging.Tao Bao3-993/+994
2016-11-28Remove ota_close(int) and ota_fclose(FILE*).Tao Bao1-73/+69
2016-11-18updater: Refactor set_stage() and get_stage() functions.Tao Bao2-68/+69
2016-11-18updater: Add testcase for package_extract_dir().Tao Bao1-17/+21
2016-11-18DO NOT MERGE updater: Add "write_value()" function.Tao Bao1-1/+28
2016-11-17updater: Add "write_value()" function.Tao Bao1-3/+31
2016-11-16updater: Fix the wrong return value for package_extract_file().Tao Bao1-76/+69
2016-11-15updater: Fix the wrong return value for package_extract_file().Tao Bao1-76/+69
2016-11-09updater: Add more testcase for symlink().Tao Bao1-20/+17
2016-11-08Make make_parent() to take const argumentTianjie Xu1-19/+27
2016-11-04updater: Add a testcase for RenameFn().Tao Bao1-1/+4
2016-11-04updater: Fix a bug in DeleteFn().Tao Bao1-9/+13
2016-11-03updater: Fix an off-by-1 bug in file_getprop().Tao Bao1-6/+9
2016-11-01Cleanup ReadArgs & ReadValueArgs usageTianjie Xu2-497/+411
2016-10-29applypatch: Switch the parameter of Value** to std::vector.Tao Bao1-3/+1
2016-10-18Replace minzip with libziparchiveTianjie Xu5-85/+87
2016-10-15Change StringValue to use std::stringTianjie Xu3-195/+158
2016-10-13edify: Some clean-ups to libedify.Tao Bao1-1/+0
2016-10-11updater: Kill the duplicate PrintSha1() in install.cpp.Tao Bao1-36/+19
2016-10-11Refactor libupdater into a seperate module.Tao Bao7-79/+103
2016-10-09Update the header path for ext4_utils.Tao Bao2-4/+2
2016-10-04edify: Move State.script and State.errmsg to std::string.Tao Bao1-20/+17
2016-09-30Turn on -Werror for recoveryTianjie Xu1-1/+1
2016-09-30Turn on -Werror for recoveryTianjie Xu1-1/+1
2016-09-26Switch to <android-base/properties.h>.Elliott Hughes1-12/+7
2016-09-01Switch recovery to libbase loggingTianjie Xu1-2/+3
2016-09-01Switch recovery to libbase loggingTianjie Xu1-2/+3
2016-09-01Check an edge case when read(2) returns 0Tianjie Xu1-0/+4
2016-08-06Fix references to libcrypto_utils_static.Josh Gao1-2/+2
2016-07-01updater: Fix the broken ReadFileFn.Tao Bao1-1/+1
2016-06-30Fix install.h's use of attribute printf.Elliott Hughes2-4/+3
2016-06-16Check the results from applypatchTianjie Xu1-4/+10
2016-06-11updater: Fix the broken ReadFileFn.Tao Bao1-1/+1
2016-06-10Remove obsolete MTD support.Elliott Hughes2-161/+12
2016-06-03Call ioctl before each write on retryTianjie Xu2-8/+61
2016-05-23resolve merge conflicts of 50f6417Tianjie Xu1-1/+0
2016-05-20Allow recovery to return error codesTianjie Xu3-86/+141
2016-05-16Add time and I/O info to last_installTianjie Xu1-0/+12
2016-05-06updater, minzip: Remove unnecessary O_SYNC flags.Alistair Strachan1-1/+1
2016-04-29Fix google-explicit-constructor warnings.Chih-Hung Hsieh1-1/+1
2016-04-27updater: Don't zero out CommandParameters with memset(3).Tao Bao1-2/+1
2016-04-18Fix google-runtime-int warnings.Chih-Hung Hsieh1-5/+6
2016-04-06Convert recovery to use BoringSSL instead of mincrypt.Mattias Nissler1-0/+1
2016-04-02Move selinux dependencies out of header files.Elliott Hughes3-4/+6
2016-03-29Switch to <android-base/unique_fd.h>.Elliott Hughes1-25/+17
2016-03-25Skip stashing source blocks in verify modeTianjie Xu1-8/+46
2016-03-23Skip stashing source blocks in verify modeTianjie Xu1-8/+46
2016-03-19Control fault injection with config files instead of build flagsJed Estep3-2/+4
2016-03-17Revert "DO NOT MERGE Control fault injection with config files instead of build flags"Tao Bao3-4/+2
2016-03-16DO NOT MERGE Control fault injection with config files instead of build flagsJed Estep3-2/+4
2016-03-11applypatch: use vector to store data in FileContents.Yabin Cui1-10/+11
2016-03-10Reboot and retry on I/O errorsTianjie Xu1-0/+7
2016-03-03Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES.Tao Bao1-28/+38
2016-03-03Reboot and retry on I/O errorsTianjie Xu1-0/+7
2016-02-23Control fault injection with config files instead of build flagsJed Estep3-2/+4
2016-02-12applypatch: use vector to store data in FileContents.Yabin Cui1-10/+11
2016-02-10IO fault injection for OTA packagesJed Estep3-34/+36
2016-02-04updater: fix memory leak based on static analysis.Yabin Cui1-44/+39
2016-02-04Switch from mincrypt to BoringSSL in applypatch and updater.Sen Jiang3-18/+17
2016-01-07updater: Add a function to check first blockTianjie Xu2-0/+58
2016-01-06IO fault injection for OTA packagesJed Estep3-19/+21
2015-12-18updater: Add a function to check first blockTianjie Xu2-0/+58
2015-12-15updater: Use O_SYNC and fsync() for package_extract_file().Tao Bao1-6/+13
2015-12-11updater: Output msg when recovery is calledTianjie Xu1-1/+4
2015-12-10updater: Output msg when recovery is calledTianjie Xu1-1/+4
2015-12-07updater: Replace strtok() with android::base::Split().Tao Bao1-133/+144
2015-12-05Track rename from base/ to android-base/.Elliott Hughes2-5/+5
2015-11-16updater: libapplypatch needs libbase now.Tao Bao1-1/+1
2015-11-16DO NOT MERGE recovery: Switch applypatch/ and updater/ to cpp.Tao Bao4-112/+113
2015-11-16Add error and range checks to parse_rangeSami Tolvanen1-10/+71
2015-11-16Stop using libstdc++.Dan Albert1-1/+1
2015-11-16recovery: Switch to clangTao Bao1-0/+2
2015-10-23updater: Bump up the BBOTA version to 4.Tao Bao1-1/+1
2015-10-19Error correction: Use libfec in blockimg.cpp for recoverySami Tolvanen2-1/+78
2015-09-26updater: Skip empty lines in the transfer list file.Tao Bao1-0/+4
2015-09-24updater: Use android::base::ParseInt() to parse integers.Tao Bao2-52/+37
2015-09-24Suppress some compiler warnings due to signedness.Tao Bao1-1/+1
2015-09-10updater: Fix the line breaks in ui_print commands.Tao Bao1-26/+32
2015-09-10updater: Manage buffers with std::vector.Tao Bao1-228/+168
2015-09-08updater: Replace the pointers in LoadSrcTgtVersion[1-3]() parameter.Tao Bao1-29/+26
2015-09-01updater: Clean up C codes.Tao Bao1-602/+429
2015-08-26updater: Remove the unused isunresumable in SaveStash().Tao Bao1-3/+3
2015-08-22GOOGLEGMS-749 Fix integer overflow while applying block based OTA packageShrinivas Sahukar1-46/+48
2015-08-06updater: Clean up char* with std::string.Tao Bao1-261/+141
2015-08-04udpater: Call fsync() after rename().Tao Bao1-0/+20
2015-08-04udpater: Call fsync() after rename().Tao Bao1-0/+20
2015-07-27updater: Hoist fsync() to outer loop.Tao Bao1-6/+5
2015-07-24updater: libapplypatch needs libbase now.Tao Bao1-1/+1
2015-07-17updater: libapplypatch needs libbase now.Tao Bao1-1/+1
2015-07-14recovery: Switch applypatch/ and updater/ to cpp.Tao Bao4-112/+113
2015-07-14recovery: Switch applypatch/ and updater/ to cpp.Tao Bao4-112/+113
2015-07-11Revert "Zero blocks before BLKDISCARD"Tao Bao1-17/+1
2015-07-01Revert "Zero blocks before BLKDISCARD"Tao Bao1-17/+1
2015-06-26More accurate checking for overlapped ranges.Tao Bao1-1/+1
2015-06-26More accurate checking for overlapped ranges.Tao Bao1-1/+1
2015-06-10Zero blocks before BLKDISCARDSami Tolvanen1-1/+17
2015-06-10Zero blocks before BLKDISCARDSami Tolvanen1-1/+17
2015-06-10Revert "Zero blocks before BLKDISCARD"Sami Tolvanen1-5/+9
2015-06-10Revert "Zero blocks before BLKDISCARD"Sami Tolvanen1-5/+9
2015-06-09Zero blocks before BLKDISCARDSami Tolvanen1-9/+5
2015-06-09Zero blocks before BLKDISCARDSami Tolvanen1-9/+5
2015-06-03recovery: Switch to clangTao Bao1-0/+2
2015-06-03Fix build: fprintf without modifierTao Bao1-2/+1
2015-06-03Log update outputs in orderTao Bao1-0/+6
2015-05-29Really don't use TEMP_FAILURE_RETRY with close in recovery.Elliott Hughes1-1/+1
2015-05-29Handle BLKDISCARD failuresSami Tolvanen1-2/+1
2015-05-29Really don't use TEMP_FAILURE_RETRY with close in recovery.Elliott Hughes1-1/+1
2015-05-28Handle BLKDISCARD failuresSami Tolvanen1-2/+1
2015-05-19Stop using libstdc++.Dan Albert1-1/+1
2015-05-16Don't use TEMP_FAILURE_RETRY on close in recovery.Elliott Hughes1-2/+2
2015-05-16Don't use TEMP_FAILURE_RETRY on close in recovery.Elliott Hughes1-2/+2
2015-05-15Add error and range checks to parse_rangeSami Tolvanen1-10/+71
2015-04-30Check all lseek calls succeed.Elliott Hughes1-28/+20
2015-04-30Check all lseek calls succeed.Elliott Hughes1-28/+20
2015-04-17Don't remove existing explicitly stashed blocksSami Tolvanen1-10/+28
2015-03-23Always use strerror to report errno in recovery.Elliott Hughes1-19/+20
2015-03-11updater: Check the return value from ApplyImagePatch / ApplyBSDiffPatchTao Bao1-14/+28
2015-02-27Remove more dead code from minzip.Narayan Kamath1-1/+1
2015-02-27Remove more dead code from minzip.Narayan Kamath1-1/+1
2015-02-23Fix a printf format warning.Narayan Kamath1-1/+1
2015-02-18Initialize stashbase even stash_max_blocks = 0Jesse Zhao1-1/+1
2015-02-05There's no GPL code in 'updater'.Elliott Hughes2-339/+0
2015-01-30Support resuming block based OTAsSami Tolvanen1-346/+1460
2015-01-30Add missing includes.Elliott Hughes1-0/+1
2014-12-01Fix recovery image build for 32pBruce Beare1-1/+1
2014-11-22Add support for tune2fs file operationsMichael Runge2-0/+43
2014-11-21Add support for tune2fs file operationsMichael Runge2-0/+43
2014-10-24Log mount/unmount errors to UIMichael Runge1-5/+9
2014-10-24unconditionally apply SELinux labels to symlinksNick Kralevich1-10/+9
2014-10-23Allow passing of mount args to mountFnMichael Runge1-5/+18
2014-10-23Log to UI any metadata setting errorsMichael Runge1-34/+50
2014-10-23Treat already-renamed files as having no problems.Michael Runge1-0/+3
2014-09-26support for version 2 of block image diffsDoug Zongker1-45/+209
2014-09-08support for version 2 of block image diffsDoug Zongker1-45/+209
2014-09-04fix comment in blockimg updater codeDoug Zongker1-3/+3
2014-09-04use lseek64 instead of lseekAndrew Boie1-11/+11
2014-08-26remove code for original block OTA mechanismDoug Zongker2-209/+6
2014-08-25remove code for original block OTA mechanismDoug Zongker2-209/+6
2014-08-21fix two bugs in block image updaterDoug Zongker1-18/+32
2014-08-20installer for new block OTA systemDoug Zongker6-1/+662
2014-08-19installer for new block OTA systemDoug Zongker6-1/+662
2014-08-06remove spurious parens from error messageDoug Zongker1-4/+3
2014-07-22Auto create parent directories for rename supportMichael Runge2-3/+7
2014-07-22Auto create parent directories for rename supportMichael Runge2-3/+7
2014-06-17Support F2FS for the data partitionJP Abgrall1-2/+35
2014-06-09advance progress bar during block OTA installationsDoug Zongker1-2/+23
2014-05-23disable async reboot during package installationDoug Zongker1-0/+11
2014-05-02Allow lines without = signs.Michael Runge1-5/+3
2014-03-14Recovery 64-bit compile issuesMark Salyzyn1-2/+2
2014-02-25support don't-care maps when writing the system imageDoug Zongker1-62/+172
2014-02-20add flag for GPL licenseDoug Zongker2-0/+339
2014-02-14remove remaining libminelf referencesDoug Zongker1-1/+0
2014-02-14clean up some warnings when building recoveryDoug Zongker3-5/+5
2014-02-14remove 'retouch' ASLR supportDoug Zongker1-1/+1
2014-02-13add syspatch support to updaterDoug Zongker2-14/+115
2014-01-16do verification and extraction on memory, not filesDoug Zongker1-4/+11
2013-12-14Don't abort on read_file if the file is missing.Michael Runge1-5/+3
2013-11-27add the functions for multi-stage packages to updaterDoug Zongker1-1/+106
2013-11-07Enable incremental builder to find files that moved, andMichael Runge1-0/+35
2013-09-25verifier: update to support certificates using SHA-256Doug Zongker1-1/+1
2013-09-17updater: Delete dead codeNick Kralevich1-87/+0
2013-09-11updater: Delete dead codeNick Kralevich1-87/+0
2013-09-11Don't apply permission changes to symlink.Nick Kralevich1-0/+5
2013-09-11Don't apply permission changes to symlink.Nick Kralevich1-0/+5
2013-09-10updater: introduce and set_metadata and set_metadata_recursiveNick Kralevich1-0/+274
2013-09-09Revert "Update OTA installer to understand SELinux filesystem labels"Nick Kralevich1-24/+5
2013-07-19Update OTA installer to understand SELinux filesystem labelsNick Kralevich1-5/+24
2013-07-09recovery: move log output to stdoutDoug Zongker2-48/+48
2013-04-10verifier: update to support certificates using SHA-256Doug Zongker1-1/+1
2013-04-10Add liblogYing Wang1-1/+1
2012-10-16Remove HAVE_SELINUX guardsKenny Root4-16/+1
2012-08-21add bonus data feature to imgdiff/imgpatch/applypatchDoug Zongker1-1/+1
2012-08-14Use the static version of libsparseJoe Onorato1-1/+1
2012-08-14Multiple modules with the same name are going away.Joe Onorato1-1/+4
2012-08-07fix the symlink() command to create directories if neededDoug Zongker1-3/+29
2012-07-24Use the static version of libsparseJoe Onorato1-1/+1
2012-07-22Multiple modules with the same name are going away.Joe Onorato1-1/+4
2012-07-18Link against libsparseColin Cross1-1/+1
2012-06-11Use a dependency file to replace the list file.Ying Wang1-10/+14
2012-04-03Change the format command to always take the mount point as an argument.Stephen Smalley1-13/+4
2012-03-30Extend recovery and updater to support setting file security contexts.Stephen Smalley4-8/+65
2012-03-22fail edify script if set_perm() or symlink() failsDoug Zongker1-0/+13
2012-02-28remove retouching code from updaterDoug Zongker1-118/+0
2012-01-24Add libselinux to LOCAL_STATIC_LIBRARIES wherever libext4_utils is used.Stephen Smalley1-0/+5
2011-10-31C++ class for device-specific codeDoug Zongker1-1/+2
2011-10-31C++ class for device-specific codeDoug Zongker1-1/+2
2011-10-19allow recovery packages to wipe cacheDoug Zongker1-0/+10
2011-07-15Support multiple recovery updater extensions.Michael Ward1-2/+2
2011-05-25Mute unharmful build warning at the top of the build log:Ying Wang1-1/+1
2011-04-13make write_raw_image able to take a blobDoug Zongker1-27/+40
2011-01-20Reserve the last 16 Kbytes of /data for the crypto footer.Ken Sumrall1-8/+11
2010-12-29Update arguments to make_ext4fsColin Cross1-1/+1
2010-09-16add missing sparseness parameterDoug Zongker1-1/+1
2010-09-16do not merge - update to match ext4utils apiBrian Swetland1-1/+1
2010-09-15support for ext4/EMMC filesystems in updater binaryDoug Zongker2-25/+64
2010-09-15close update package before installing; allow remountDoug Zongker1-1/+3
2010-08-14Changes to work with updated make_ext4fs tool that supports creating sparse images.Ken Sumrall1-1/+1
2010-08-02Working ASLR implementationHristo Bojinov2-2/+123
2010-07-21Mute unwanted error messageYing Wang1-1/+1
2010-07-02support for ext4/EMMC filesystems in updater binaryDoug Zongker2-25/+64
2010-02-23refactor applypatch and friendsDoug Zongker1-65/+107
2010-02-18relocate applypatch; add type system and new functions to edifyDoug Zongker2-52/+190
2010-02-03bump updater API version to 3; deprecate firmware update commandDoug Zongker3-42/+7
2010-02-01add a one-argument version of package_extract_fileDoug Zongker1-24/+69
2009-11-13eclair snapshotJean-Baptiste Queru3-4/+113
2009-09-19delete files before symlinking; log error messagesDoug Zongker1-3/+21
2009-09-10add a run_program() function to edifyDoug Zongker1-0/+49
2009-06-26remove updater from the user system imageDoug Zongker1-1/+6
2009-06-25fix off-by-one error in set_perm()Doug Zongker1-1/+1
2009-06-24improve updater progress barDoug Zongker1-3/+21
2009-06-22add device extension mechanism to updaterDoug Zongker2-1/+43
2009-06-18add file_getprop() to updaterDoug Zongker1-11/+100
2009-06-18let the "firmware" command take the file straight from the packageDoug Zongker1-3/+4
2009-06-12fixes to edify and updater scriptDoug Zongker2-67/+124
2009-06-12edify extensions for OTA package installation, part 2Doug Zongker3-7/+278
2009-06-12edify extensions for OTA package installation, part 1Doug Zongker5-0/+555