summaryrefslogtreecommitdiffstats
path: root/updater (unfollow)
Commit message (Expand)AuthorFilesLines
2021-04-20Use gtest_prod_headers.Elliott Hughes2-2/+5
2021-02-17updater: Do not null terminate mount_flags_list arrayAlessandro Astone1-22/+18
2021-02-14[LSC] Add LOCAL_LICENSE_KINDS to bootable/recoveryBob Badour2-0/+12
2020-09-18Check for overflow before allocating memory fore decompression.Kelvin Zhang3-1/+19
2020-09-16Switch to zip64 in recoveryKelvin Zhang4-10/+10
2020-07-23Fix some wording to comply with respectful-codeTianjie1-2/+1
2020-05-20Add slot suffix to DAP opsYifan Hong1-57/+70
2020-05-20Add add_slot_suffix function.Yifan Hong5-0/+28
2020-05-08Add slot suffix to DAP opsYifan Hong1-57/+70
2020-05-08Add add_slot_suffix function.Yifan Hong5-0/+28
2020-03-18Add libavb as a dependencyTianjie Xu2-0/+2
2020-03-18Consolidate the wait in recovery's rebootTianjie Xu1-1/+0
2020-03-18Add more mounting options to updater mount function.Hongguang Chen1-2/+58
2020-03-18Add more mounting options to updater mount function.Hongguang Chen1-2/+58
2020-03-14Consolidate the wait in recovery's rebootTianjie Xu1-1/+0
2020-03-08Address the warnings in recovery codeTianjie Xu1-1/+1
2020-02-28Add libavb as a dependencyTianjie Xu2-0/+2
2020-01-15Convert update_host_simulator to Android.bpDan Willemsen2-35/+37
2019-10-06Run BORINGSSL_self_test() in updater_mainTianjie Xu1-7/+14
2019-10-01Move mounts.cpp from libotautil into libupdater.Tao Bao6-3/+110
2019-09-23Use libcrypto_static instead of libcryptoColin Cross1-2/+1
2019-09-23applypatch: Add backup_source parameter to PatchPartition.Tao Bao1-1/+1
2019-09-13Link libcrypto dynamically for recovery unit tests.Pete Bentley1-1/+4
2019-09-06Set LOCAL_INJECT_BSSL_HASH for updaterColin Cross1-0/+1
2019-08-14updater: Fix build for new CreateLogicalPartition signature.David Anderson1-2/+9
2019-07-31Simulator: add the argument to keep the updated imagesTianjie Xu4-5/+38
2019-07-16Add command line parser for simulatorTianjie Xu3-10/+97
2019-07-12Drop the device specific support for update host simulatorTianjie Xu1-13/+2
2019-07-10Change the symlink to system_extJustin Yun1-1/+1
2019-07-08Add a GetMappedPackageLength to UpdaterRobin Lee1-1/+3
2019-06-28Rename product_services to system_extJustin Yun2-3/+3
2019-06-28Add unit tests for simulatorTianjie Xu1-0/+5
2019-06-24Fix build for API change to DestroyLogicalPartition().David Anderson1-1/+1
2019-06-24Implement updater runtime for dynamic partitionsTianjie Xu7-304/+388
2019-06-19Revert "libprocessgroup users use libcutils"Zhijun He1-2/+0
2019-06-19Revert "libprocessgroup users use libcutils"Zhijun He1-2/+0
2019-06-18libprocessgroup users use libcutilsSteven Moreland1-0/+2
2019-06-01Implement the TargetFile and BuildInfoTianjie Xu8-25/+513
2019-05-30Disable building simulator for macTianjie Xu2-0/+13
2019-05-29Implement an update simulator to verify BB OTA packages on hostTianjie Xu8-25/+417
2019-05-22Some clean ups to the updaterTianjie Xu5-13/+13
2019-05-21Add UpdaterRuntime classTianjie Xu8-155/+354
2019-05-09Skip hashtree computation during block image verifyTianjie Xu1-1/+1
2019-05-09Add Updater class and remove UpdaterInfoTianjie Xu8-248/+333
2019-05-06Track libziparchive API change.Elliott Hughes3-8/+5
2019-04-29Consolidate the codes that handle reboot/shutdown.Tao Bao1-1/+1
2019-01-17Fix potential size overflow in blockimg.cppxunchang1-3/+5
2019-01-14updater: add functions to modify dynamic partition metadataYifan Hong7-9/+534
2019-01-12Create stash dir recursively.Yifan Hong1-1/+2
2019-01-05updater: erase ignores EOPNOTSUPP for BLKDISCARDYifan Hong1-11/+10
2018-12-20Use dynamically linked f2fs executables.Tao Bao1-4/+5
2018-12-20Clean up the arg setup for exec(3).Tao Bao1-54/+34
2018-11-21make_f2fs: use -g android by defaultJaegeuk Kim1-5/+1
2018-11-05updater: Error out on underrun during patching.Tao Bao1-1/+4
2018-10-05Use only signed/unsigned numbers with ParseInt/ParseUint respectivelyTom Cherry1-1/+1
2018-10-04DO NOT MERGE: Initialize the ZipArchive to zero before parsingTianjie Xu1-1/+1
2018-09-08DO NOT MERGE: Initialize the ZipArchive to zero before parsingTianjie Xu1-1/+1
2018-09-08DO NOT MERGE: Initialize the ZipArchive to zero before parsingTianjie Xu1-1/+1
2018-08-31applypatch: Refactor applypatch().Tao Bao1-69/+57
2018-08-28Enable c++17 in recovery_defaults.Tao Bao1-23/+23
2018-08-28Remove otafaultTianjie Xu5-110/+64
2018-08-17updater: Add TransferList class.Tao Bao2-0/+118
2018-08-16updater: Add SourceInfo::{ReadAll,DumpBuffer,Overlaps}.Tao Bao2-0/+96
2018-08-15tests: Move to Android.bp.Tao Bao1-16/+25
2018-08-14Add the hash_tree_info class in CommandTianjie Xu2-1/+93
2018-08-13updater: Move libupdater to Soong.Tao Bao2-31/+75
2018-08-06Add an updater function to compute hash treeTianjie Xu4-18/+132
2018-07-13applypatch: Consolidate CacheSizeCheck() and MakeFreeSpaceOnCache().Tao Bao2-4/+4
2018-07-10updater: Let read_file() return Value::Type::STRING.Tao Bao1-5/+5
2018-07-10edify: Rename parse_string to ParseString and let it take std::string.Tao Bao1-1/+1
2018-07-10edify: Remove VAL_INVALID and move ValueType into Value class.Tao Bao2-21/+22
2018-07-09updater: Remove the support for sha1_check().Tao Bao1-49/+1
2018-07-07updater: Add ABORT command.Tao Bao3-1/+35
2018-07-03No longer print hash for stashed blocks during verification of retryTianjie Xu1-1/+3
2018-06-25updater: Check the number of args in Command::Parse.Tao Bao1-9/+16
2018-06-25updater: Add Command parsing codes.Tao Bao3-17/+521
2018-06-20applypatch: {Load,Save}FileContents and ParseSha1 take std::string.Tao Bao1-1/+1
2018-06-20e2fsdroid and mke2fs are dynamic executable in recovery partitionJiyong Park1-4/+4
2018-06-18updater: Defer the creation of the new data writer.Tao Bao1-24/+24
2018-06-08updater: Drop the 'overlap' parameter in LoadSrcTgtVersion3().Tao Bao1-12/+10
2018-06-07updater: Remove the redundant check on line count.Tao Bao1-9/+3
2018-06-05updater: Replace the reference arguments with pointers.Tao Bao1-102/+101
2018-06-04tests: Add ResumableUpdaterTest.Tao Bao1-0/+1
2018-05-31updater: Drop the 'blocks' parameter in LoadStash().Tao Bao1-15/+8
2018-05-26updater: Add Commmand class to manage BBOTA commands.Tao Bao4-63/+133
2018-05-22updater: Use a bool to indicate if allowed to skip a command.Tao Bao1-22/+17
2018-05-21updater: Clean up the header lines computation.Tao Bao1-6/+4
2018-05-16Last command file should be updated after a command finishesTianjie Xu1-11/+7
2018-05-08updater: Fix an issue when resuming an update.Tao Bao1-3/+6
2018-05-08updater: Skip an updated partition on retry.Tao Bao1-39/+77
2018-05-04Move reboot() from common.h into otautil/sysutil.h.Tao Bao1-6/+2
2018-05-04otautil: Rename dir/sys/thermal utils.Tao Bao2-3/+3
2018-04-28Merge libmounts into libotautil.Tao Bao2-8/+5
2018-04-26Rename CacheLocation to Paths.Tao Bao2-18/+13
2018-04-25updater: Remove an unneeded strdup().Tao Bao1-1/+1
2018-04-20applypatch: Drop the SHA_CTX parameter in Apply{BSDiff,Image}Patch.Tao Bao1-3/+2
2018-04-06recovery: enable fsverity feature bitJaegeuk Kim1-6/+4
2018-04-05install: mkfs.f2fs: specify sector size for target image sizeJaegeuk Kim1-0/+2
2018-04-05install: mkfs.f2fs: specify sector size for target image sizeJaegeuk Kim1-0/+2
2018-03-08Set the update locations to default in CacheLocation's constructorTianjie Xu1-4/+0
2018-03-08Set the update locations to default in CacheLocation's constructorTianjie Xu1-4/+0
2018-02-28Add a singleton CacheLocation to replace the hard coded locationsTianjie Xu3-5/+10
2018-02-28Fix the behavior of undefined commands in BlockImageVerifyTianjie Xu1-2/+4
2018-02-12Reorder the functions in updater/install.cppTianjie Xu1-239/+244
2018-02-07Log the last command to cacheTianjie Xu2-9/+175
2018-01-29Avoid overwrite of the error message in AbortFnTianjie Xu2-15/+15
2017-12-05add sload.f2fs for recovery formatJaegeuk Kim1-0/+9
2017-12-01Detect interrupted update due to power offTianjie Xu1-1/+5
2017-11-13recovery: format f2fs with encrypt/quotaJaegeuk Kim1-4/+10
2017-11-10applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch.Tao Bao1-2/+2
2017-11-07otautil: Remove the aborts in RangeSet::Parse().Tao Bao1-1/+19
2017-11-03recovery: remove make_ext4fs from updaterJin Qian1-9/+2
2017-11-02recovery: remove make_ext4fs from updaterJin Qian1-9/+2
2017-10-20Finish the new data receiver when update failsTianjie Xu1-16/+41
2017-10-12Drop -Wno-unused-parameter.Tao Bao1-2/+0
2017-10-11Move rangeset.h and print_sha1.h into otautil.Tao Bao2-4/+4
2017-10-09Revert "Revert "Move error_code.h into otautil.""Tao Bao3-3/+3
2017-10-05Don't include "error_code.h" in edify/expr.h.Tao Bao1-0/+1
2017-10-05Revert "Move error_code.h into otautil."Tao Bao2-2/+2
2017-10-04Move error_code.h into otautil.Tao Bao2-2/+2
2017-09-29otafault: Move headers under otafault/.Tao Bao3-3/+3
2017-08-29Turn on -Wall for recovery modulesTianjie Xu1-0/+2
2017-08-19Move Image/ImageChunk/PatchChunk declaration into header filesTianjie Xu2-279/+1
2017-08-01Add implemention of SortedRangeSetTianjie Xu1-1/+115
2017-07-25updater: Remove dead make_parents().Tao Bao1-28/+0
2017-07-23Remove the obsolete reference to /file_contexts.Tao Bao1-2/+1
2017-07-22Fix a case when brotli writer fails to write last few blocks of dataTianjie Xu1-94/+81
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-13Remove the obsolete reference to /file_contexts.Tao Bao1-2/+1
2017-07-08Add support to decompress brotli compressed new dataTianjie Xu2-32/+144
2017-06-27recovery: replace make_ext4 with e2fsprogsJin Qian1-2/+25
2017-06-19recovery: replace make_ext4 with e2fsprogsJin Qian1-2/+25
2017-06-15Fix "No file_contexts" warningJeff Vander Stoep1-3/+3
2017-06-15Fix "No file_contexts" warningJeff Vander Stoep1-3/+3
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-28Adding support for quiescent reboot to recoveryDmitri Plotnikov1-1/+4
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: Fix inconsistent code.Tao Bao1-1/+3
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-07Update the header path for ext4_utils.Tao Bao2-4/+2
2016-10-05edify: Move State.script and State.errmsg to std::string.Tao Bao1-20/+17
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-24Switch 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-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-20Control fault injection with config files instead of build flagsJed Estep3-2/+4
2016-02-18Fix integer overflows in recovery procedure.Yabin Cui1-7/+6
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