summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2019-07-31Simulator: add the argument to keep the updated imagesTianjie Xu1-1/+8
2019-05-22Some clean ups to the updaterTianjie Xu1-1/+4
2019-05-21Add UpdaterRuntime classTianjie Xu1-102/+65
2019-05-09Add Updater class and remove UpdaterInfoTianjie Xu1-47/+21
2019-05-06Track libziparchive API change.Elliott Hughes1-4/+2
2019-04-29Consolidate the codes that handle reboot/shutdown.Tao Bao1-1/+1
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-08-31applypatch: Refactor applypatch().Tao Bao1-69/+57
2018-08-28Remove otafaultTianjie Xu1-30/+15
2018-07-13applypatch: Consolidate CacheSizeCheck() and MakeFreeSpaceOnCache().Tao Bao1-1/+1
2018-07-10updater: Let read_file() return Value::Type::STRING.Tao Bao1-5/+5
2018-07-10edify: Remove VAL_INVALID and move ValueType into Value class.Tao Bao1-11/+11
2018-07-09updater: Remove the support for sha1_check().Tao Bao1-49/+1
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-05-04Move reboot() from common.h into otautil/sysutil.h.Tao Bao1-6/+2
2018-05-04otautil: Rename dir/sys/thermal utils.Tao Bao1-1/+1
2018-04-28Merge libmounts into libotautil.Tao Bao1-1/+1
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-02-12Reorder the functions in updater/install.cppTianjie Xu1-239/+244
2018-01-29Avoid overwrite of the error message in AbortFnTianjie Xu1-6/+6
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-03recovery: remove make_ext4fs from updaterJin Qian1-9/+2
2017-11-02recovery: remove make_ext4fs from updaterJin Qian1-9/+2
2017-10-11Move rangeset.h and print_sha1.h into otautil.Tao Bao1-2/+2
2017-10-09Revert "Revert "Move error_code.h into otautil.""Tao Bao1-1/+1
2017-10-05Revert "Move error_code.h into otautil."Tao Bao1-1/+1
2017-10-04Move error_code.h into otautil.Tao Bao1-1/+1
2017-09-29otafault: Move headers under otafault/.Tao Bao1-1/+1
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-20recovery: replace make_ext4 with e2fsprogsJin Qian1-2/+25
2017-07-13Remove the obsolete reference to /file_contexts.Tao Bao1-2/+1
2017-06-27recovery: replace make_ext4 with e2fsprogsJin Qian1-2/+25
2017-06-19recovery: replace make_ext4 with e2fsprogsJin Qian1-2/+25
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-04-28Adding support for quiescent reboot to recoveryDmitri Plotnikov1-1/+4
2017-04-19Adding support for quiescent reboot to recoveryDmitri Plotnikov1-1/+4
2017-03-30updater: Don't append newline when calling uiPrint().Tao Bao1-8/+8
2017-03-23updater: Fix the broken case for apply_patch_check().Tao Bao1-1/+1
2017-03-22Remove malloc in edify functionsTianjie Xu1-111/+131
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 Bao1-2/+2
2017-01-22Print with newline for ui_print.Tao Bao1-1/+0
2016-12-29updater: Update the header name for bootloader.h.Tao Bao1-2/+2
2016-12-01updater: Switch to libbase logging.Tao Bao1-742/+742
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 Bao1-68/+67
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 Xu1-467/+387
2016-10-29applypatch: Switch the parameter of Value** to std::vector.Tao Bao1-3/+1
2016-10-18Replace minzip with libziparchiveTianjie Xu1-15/+23
2016-10-15Change StringValue to use std::stringTianjie Xu1-110/+81
2016-10-11updater: Kill the duplicate PrintSha1() in install.cpp.Tao Bao1-36/+19
2016-10-11Refactor libupdater into a seperate module.Tao Bao1-26/+26
2016-10-09Update the header path for ext4_utils.Tao Bao1-3/+2
2016-10-07Update the header path for ext4_utils.Tao Bao1-3/+2
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-07-01updater: Fix the broken ReadFileFn.Tao Bao1-1/+1
2016-06-30Fix install.h's use of attribute printf.Elliott Hughes1-2/+1
2016-06-11updater: Fix the broken ReadFileFn.Tao Bao1-1/+1
2016-06-10Remove obsolete MTD support.Elliott Hughes1-157/+11
2016-05-23resolve merge conflicts of 50f6417Tianjie Xu1-1/+0
2016-05-20Allow recovery to return error codesTianjie Xu1-59/+70
2016-05-06updater, minzip: Remove unnecessary O_SYNC flags.Alistair Strachan1-1/+1
2016-04-18Fix google-runtime-int warnings.Chih-Hung Hsieh1-5/+6
2016-04-02Move selinux dependencies out of header files.Elliott Hughes1-1/+2
2016-03-19Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-03-17Revert "DO NOT MERGE Control fault injection with config files instead of build flags"Tao Bao1-1/+1
2016-03-16DO NOT MERGE Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-03-11applypatch: use vector to store data in FileContents.Yabin Cui1-10/+11
2016-02-23Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-02-20Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-02-12applypatch: use vector to store data in FileContents.Yabin Cui1-10/+11
2016-02-10IO fault injection for OTA packagesJed Estep1-21/+22
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 Jiang1-7/+7
2016-01-06IO fault injection for OTA packagesJed Estep1-12/+13
2015-12-15updater: Use O_SYNC and fsync() for package_extract_file().Tao Bao1-6/+13
2015-12-05Track rename from base/ to android-base/.Elliott Hughes1-3/+3
2015-11-16DO NOT MERGE recovery: Switch applypatch/ and updater/ to cpp.Tao Bao1-91/+83
2015-07-14recovery: Switch applypatch/ and updater/ to cpp.Tao Bao1-1630/+0
2015-07-14recovery: Switch applypatch/ and updater/ to cpp.Tao Bao1-1630/+0
2015-06-03Fix build: fprintf without modifierTao Bao1-2/+1
2015-06-03Log update outputs in orderTao Bao1-0/+6
2015-02-27Remove more dead code from minzip.Narayan Kamath1-1/+1
2015-02-27Remove more dead code from minzip.Narayan Kamath1-1/+1
2014-11-22Add support for tune2fs file operationsMichael Runge1-0/+33
2014-11-21Add support for tune2fs file operationsMichael Runge1-0/+33
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-08-26remove code for original block OTA mechanismDoug Zongker1-207/+6
2014-08-25remove code for original block OTA mechanismDoug Zongker1-207/+6
2014-08-20installer for new block OTA systemDoug Zongker1-1/+1
2014-08-19installer for new block OTA systemDoug Zongker1-1/+1
2014-08-06remove spurious parens from error messageDoug Zongker1-4/+3
2014-07-22Auto create parent directories for rename supportMichael Runge1-3/+5
2014-07-22Auto create parent directories for rename supportMichael Runge1-3/+5
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-14clean up some warnings when building recoveryDoug Zongker1-3/+3
2014-02-14remove 'retouch' ASLR supportDoug Zongker1-1/+1
2014-02-13add syspatch support to updaterDoug Zongker1-14/+113
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 Zongker1-36/+36
2013-04-10verifier: update to support certificates using SHA-256Doug Zongker1-1/+1
2012-10-16Remove HAVE_SELINUX guardsKenny Root1-4/+0
2012-08-21add bonus data feature to imgdiff/imgpatch/applypatchDoug Zongker1-1/+1
2012-08-07fix the symlink() command to create directories if neededDoug Zongker1-3/+29
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 Smalley1-7/+39
2012-03-22fail edify script if set_perm() or symlink() failsDoug Zongker1-0/+13
2012-02-28remove retouching code from updaterDoug Zongker1-118/+0
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-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 Zongker1-24/+57
2010-08-14Changes to work with updated make_ext4fs tool that supports creating sparse images.Ken Sumrall1-1/+1
2010-08-02Working ASLR implementationHristo Bojinov1-2/+122
2010-07-02support for ext4/EMMC filesystems in updater binaryDoug Zongker1-24/+57
2010-02-23refactor applypatch and friendsDoug Zongker1-65/+107
2010-02-18relocate applypatch; add type system and new functions to edifyDoug Zongker1-52/+184
2010-02-03bump updater API version to 3; deprecate firmware update commandDoug Zongker1-39/+0
2010-02-01add a one-argument version of package_extract_fileDoug Zongker1-24/+69
2009-11-13eclair snapshotJean-Baptiste Queru1-3/+70
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-25fix off-by-one error in set_perm()Doug Zongker1-1/+1
2009-06-24improve updater progress barDoug Zongker1-3/+21
2009-06-18add file_getprop() to updaterDoug Zongker1-11/+100
2009-06-12fixes to edify and updater scriptDoug Zongker1-62/+104
2009-06-12edify extensions for OTA package installation, part 2Doug Zongker1-3/+272
2009-06-12edify extensions for OTA package installation, part 1Doug Zongker1-0/+370