summaryrefslogtreecommitdiffstats
path: root/install/install.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2022-03-10Remove support for converting from FDE to FBEEric Biggers1-1/+1
2022-02-15Perform data wipe in recovery if ota package has powerwash setKelvin Zhang1-13/+38
2021-12-22Move package verifier from libinstall to libotautilJacky Liu1-2/+2
2021-05-19Check SPL downgrade before install OTA in recoveryKelvin Zhang1-0/+7
2021-05-17Check SPL downgrade before install OTA in recoveryKelvin Zhang1-0/+7
2020-09-18Check for overflow before allocating memory fore decompression.Kelvin Zhang1-1/+7
2020-09-16Switch to zip64 in recoveryKelvin Zhang1-4/+4
2020-06-29Add recovery support of dynamic fingerprintsKelvin Zhang1-3/+23
2020-05-20Detect non-A/B vs. A/B packages correctly.Yifan Hong1-8/+19
2020-05-08Detect non-A/B vs. A/B packages correctly.Yifan Hong1-8/+19
2020-02-13Force off-device package installation with FUSETianjie Xu1-0/+47
2020-02-13Revert "Force package installation with FUSE unless the package stores on device"Raman Tenneti1-47/+0
2020-01-22Force package installation with FUSE unless the package stores on deviceTianjie Xu1-0/+47
2020-01-21Force package installation with FUSE unless the package stores on deviceTianjie Xu1-0/+47
2019-12-18Delete VINTF compatibility check during OTA.Yifan Hong1-81/+0
2019-10-16Force package installation with FUSE unless the package stores on deviceTianjie Xu1-0/+47
2019-10-02otautil: Factor out the utils that're private to recovery.Tao Bao1-2/+2
2019-07-24Clean up some global variables in common.hTianjie Xu1-1/+4
2019-06-13InstallPackage now takes a package as parameterTianjie Xu1-43/+32
2019-06-12Use the new ziparchive Next std::string_view overload.Elliott Hughes1-1/+1
2019-05-23Move off the Next ZipString overload.Elliott Hughes1-2/+2
2019-05-09Track libziparchive API change.Elliott Hughes1-1/+1
2019-05-06Track libziparchive API change.Elliott Hughes1-10/+5
2019-04-30install: Install functions return InstallResult.Tao Bao1-13/+14
2019-04-30install: Return bool for a few check functions.Tao Bao1-33/+31
2019-04-16DO NOT MERGE: Move wipe cache|data to libinstallxunchang1-5/+13
2019-04-15Move wipe cache|data to libinstallxunchang1-5/+13
2019-03-29Move install to separate modulexunchang1-14/+18
2019-03-29Use flags = 0 to avoid fd closing for child updater processBill Peckham1-1/+3
2019-03-21Move librecovery_ui to a sub-directoryTianjie Xu1-1/+1
2019-03-21Move librecovery_ui to a sub-directoryTianjie Xu1-1/+1
2019-03-18Skip calling verify_package_compatibility when resuming.Tao Bao1-2/+2
2019-03-11Create a wrapper class for update packagexunchang1-15/+9
2019-03-01Use android::base::Pipe.Tao Bao1-61/+49
2018-12-20Clean up the arg setup for exec(3).Tao Bao1-7/+3
2018-12-19roots.cpp: convert to C++ FstabYifan Hong1-2/+2
2018-11-08Check and dump the signal info for killed updater.Tao Bao1-2/+9
2018-10-31Refactor the code to check the metadataTianjie Xu1-103/+123
2018-10-22Recovery now expects public keys in zipfileTianjie Xu1-5/+5
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-14Track the change to update_engine_sideload path.Tao Bao1-1/+1
2018-06-19Drop the dependency on AB_OTA_UPDATER flag.Tao Bao1-24/+15
2018-05-04otautil: Rename dir/sys/thermal utils.Tao Bao1-2/+2
2018-04-26Rename CacheLocation to Paths.Tao Bao1-3/+3
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-10-02roots: Fix an issue with volume_for_path().Tao Bao1-1/+1
2017-09-13Remove EXPAND/STRINGIFY macros.Tao Bao1-1/+1
2017-08-23Add missing report of error code under recoveryTianjie Xu1-0/+3
2017-08-22Allow comparison against multi serial nums for A/B packageTianjie Xu1-5/+15
2017-07-19Fix the android-cloexec-* warnings in bootable/recoveryTianjie Xu1-1/+1
2017-06-26avoid assuming build number is a 32-bit integerDaniel Micay1-13/+9
2017-06-08Fix a race condition for temperature_loggerTianjie Xu1-3/+7
2017-05-08Add a binary path param to update_binary_command().Tao Bao1-21/+23
2017-05-04Revert "Remove EXPAND/STRINGIFY macros."Tao Bao1-1/+1
2017-05-03Remove EXPAND/STRINGIFY macros.Tao Bao1-1/+1
2017-05-02Move sysMapFile and sysReleaseMap into MemMapping class.Tao Bao1-5/+1
2017-05-01recovery: Change install_package() to take std::string.Tao Bao1-69/+72
2017-04-24librecovery: Remove -Wno-unused-parameter and add -Wall.Tao Bao1-1/+1
2017-04-20Call libvintf to verify package compatibility.Tao Bao1-5/+10
2017-04-19Call libvintf to verify package compatibility.Tao Bao1-5/+10
2017-04-19Add tests for read_metadata_from_package().Tao Bao1-43/+39
2017-04-19Minor clean up to install.cpp.Tao Bao1-66/+61
2017-04-19Add tests for update_binary_command().Tao Bao1-82/+80
2017-04-18Add tests for update_binary_command().Tao Bao1-82/+80
2017-04-18Fix the double free in verify_package_compatibility().Tao Bao1-1/+0
2017-04-17Fix the double free in verify_package_compatibility().Tao Bao1-1/+0
2017-04-13Verify the package compatibility with libvintf.Tao Bao1-0/+73
2017-04-12Verify the package compatibility with libvintf.Tao Bao1-0/+73
2017-03-31Merge "Log temperature during OTA update" am: bc2c51a97f am: 1d7e500bfcTianjie Xu1-5/+47
2017-03-28Log temperature during OTA updateTianjie Xu1-5/+47
2017-03-27Skip logging the warning for uncrypt_status for devices w/o /cacheTianjie Xu1-5/+9
2017-03-26Skip logging the warning for uncrypt_status for devices w/o /cacheTianjie Xu1-5/+9
2017-03-26Skip logging the warning for uncrypt_status for devices w/o /cacheTianjie Xu1-5/+9
2017-03-21verify_file: Add constness to a few addresses.Tao Bao1-1/+1
2017-03-17Drop the dependency on 'ui' in verify_file().Tao Bao1-19/+21
2017-03-17Drop the dependency on 'ui' in verify_file().Tao Bao1-19/+21
2017-02-03Replace _exit(-1) with _exit(EXIT_FAILURE).Tao Bao1-1/+1
2017-02-03Avoid to call UI functions in child processTianjie Xu1-1/+5
2017-01-22Print with newline for ui_print.Tao Bao1-5/+1
2017-01-13recovery: Move property_get() to android::base::GetProperty().Tao Bao1-68/+66
2017-01-06recovery: Clean up try_update_binary() in install.cpp.Tao Bao1-145/+166
2016-12-14Remove the obsolete comments for firmware update.Tao Bao1-9/+0
2016-11-21Fail gracefully when we fail to fork the update binaryMatthew Bouyack1-0/+8
2016-11-20Call update_engine_sideload from recovery.Alex Deymo1-15/+178
2016-11-03Revert "Revert "Some cleanups to recovery.""Tao Bao1-2/+0
2016-10-27Revert "Some cleanups to recovery."Dan Albert1-0/+2
2016-10-26Some cleanups to recovery.Tao Bao1-2/+0
2016-10-19Verify wipe package when wiping A/B device in recovery.Yabin Cui1-25/+41
2016-10-18Replace minzip with libziparchiveTianjie Xu1-22/+23
2016-10-14Fix the prefix matching for uncrypt status.Tao Bao1-1/+1
2016-10-14Fix the prefix matching for uncrypt status.Tao Bao1-1/+1
2016-10-14Fix the prefix matching for uncrypt status.Tao Bao1-2/+2
2016-09-29Report uncrypt errors in detailsTianjie Xu1-1/+1
2016-09-29DO NOT MERGE Report uncrypt errors in detailsTianjie Xu1-1/+1
2016-09-27Report uncrypt errors in detailsTianjie Xu1-1/+1
2016-09-27DO NOT MERGE Duplicate the last_install content into last_log.Tao Bao1-31/+30
2016-09-26Duplicate the last_install content into last_log.Tao Bao1-30/+30
2016-09-26Duplicate the last_install content into last_log.Tao Bao1-30/+30
2016-09-21Fail gracefully when we fail to fork the update binaryMatthew Bouyack1-0/+8
2016-09-21Revert "DO NOT MERGE Fail gracefully when we fail to fork the update binary am: de1b53d067"Matthew Bouyack1-8/+0
2016-09-20DO NOT MERGE Fail gracefully when we fail to fork the update binaryMatthew Bouyack1-0/+8
2016-09-13Check corruption when reading uncrypt_status fileTianjie Xu1-0/+2
2016-09-13Check corruption when reading uncrypt_status fileTianjie Xu1-0/+2
2016-09-13save uncrypt status to last_installTianjie Xu1-0/+13
2016-09-13save uncrypt status to last_installTianjie Xu1-1/+13
2016-09-02Fix a typo of variable name in install.cppTianjie Xu1-6/+6
2016-09-01Switch recovery to libbase loggingTianjie Xu1-33/+30
2016-09-01Switch recovery to libbase loggingTianjie Xu1-15/+17
2016-09-01Switch recovery to libbase loggingTianjie Xu1-33/+30
2016-08-26Fix clang-tidy warnings in bootable/recovery.Chih-Hung Hsieh1-2/+2
2016-08-18Free mmaped area if keys fail to loadWiZarD1-0/+1
2016-08-12Add inttypes.h for PRIu64.Alex Deymo1-0/+1
2016-08-12Add inttypes.h for PRIu64.Alex Deymo1-0/+1
2016-08-12Call update_engine_sideload from recovery.Alex Deymo1-18/+181
2016-06-21Verify wipe package when wiping A/B device in recovery.Yabin Cui1-23/+37
2016-06-10Remove obsolete MTD support.Elliott Hughes1-2/+0
2016-06-10Log source/target build version to last_installTianjie Xu1-0/+55
2016-06-03Call ioctl before each write on retryTianjie Xu1-6/+13
2016-05-20Allow recovery to return error codesTianjie Xu1-2/+11
2016-05-16Add time and I/O info to last_installTianjie Xu1-4/+23
2016-04-14Use BoringSSL instead of mincrypt to speed up package verification.Elliott Hughes1-8/+9
2016-04-06Convert recovery to use BoringSSL instead of mincrypt.Mattias Nissler1-2/+1
2016-03-10Reboot and retry on I/O errorsTianjie Xu1-0/+6
2016-03-03Reboot and retry on I/O errorsTianjie Xu1-0/+6
2016-02-11Fix some memory leaks.Yabin Cui1-5/+5
2016-02-03recovery: Refactor verifier and verifier_test.Tao Bao1-7/+6
2015-06-03Log update outputs in orderTao Bao1-2/+2
2015-04-11Update the comments for package installer commandsTao Bao1-1/+13
2015-04-08Rotate logs only when there are actual operationsTao Bao1-0/+2
2015-03-25Factor out option variables from int to bool typesTao Bao1-5/+5
2015-01-28Add missing includes.Elliott Hughes1-0/+1
2014-07-02sideload without holding the whole package in RAMDoug Zongker1-4/+6
2014-05-23disable async reboot during package installationDoug Zongker1-0/+7
2014-01-16do verification and extraction on memory, not filesDoug Zongker1-7/+23
2013-11-18Restore default umask after forking for update-binary.Alistair Strachan1-0/+1
2013-09-25verifier: update to support certificates using SHA-256Doug Zongker1-1/+1
2013-08-21recovery: install packages in a known mount environmentDoug Zongker1-5/+10
2013-07-09recovery: move log output to stdoutDoug Zongker1-0/+1
2013-04-10verifier: update to support certificates using SHA-256Doug Zongker1-1/+1
2012-11-02move key loading to verifier codeDoug Zongker1-100/+0
2012-08-23add simple text to recovery UIDoug Zongker1-1/+1
2012-07-25support version 2 (2048-bit e=65537) keys in recoveryDoug Zongker1-1/+25
2012-04-12minor recovery changesDoug Zongker1-0/+2
2011-10-31refactor ui functions into a classDoug Zongker1-14/+20
2011-10-31turn recovery into a C++ binaryDoug Zongker1-29/+33
2011-10-28turn recovery into a C++ binaryDoug Zongker1-310/+0
2011-10-19allow recovery packages to wipe cacheDoug Zongker1-11/+12
2011-04-12save a last_install file with the result of the last package install attemptDoug Zongker1-2/+24
2010-09-21remove the notion of "root path"; support mixed flash typesDoug Zongker1-11/+4
2010-09-21remove the notion of "root path"; support mixed flash types (do not merge)Doug Zongker1-11/+4
2010-09-17remove unneeded partition rootsDoug Zongker1-13/+2
2010-09-15support for ext4/EMMC filesystems in updater binaryDoug Zongker1-1/+1
2010-09-15close update package before installing; allow remountDoug Zongker1-1/+3
2010-07-02support for ext4/EMMC filesystems in updater binaryDoug Zongker1-1/+1
2010-06-25Add __attribute__((format(printf, a, b))) to printf like functions.Nick Kralevich1-1/+1
2010-02-03bump updater API version to 3; deprecate firmware update commandDoug Zongker1-84/+7
2010-01-29fix parsing of dumpkeys outputDoug Zongker1-4/+4
2009-11-13eclair snapshotJean-Baptiste Queru1-16/+18
2009-08-17do not merge: cherry-picked 60151a295ccf726238dc47456d80b427db6d6a38 from master branchDoug Zongker1-16/+18
2009-08-15verify whole-file signature instead of jarsigner signaturesDoug Zongker1-16/+18
2009-07-15remove amendDoug Zongker1-103/+2
2009-06-24improve updater progress barDoug Zongker1-1/+13
2009-06-18let the "firmware" command take the file straight from the packageDoug Zongker1-22/+44
2009-06-12fixes to edify and updater scriptDoug Zongker1-0/+10
2009-06-12edify extensions for OTA package installation, part 2Doug Zongker1-1/+2
2009-06-12edify extensions for OTA package installation, part 1Doug Zongker1-1/+1
2009-06-05allow OTA package to provide binary instead of scriptDoug Zongker1-1/+169
2009-05-29don't say "install complete" when it really isn'tDoug Zongker1-1/+1
2009-04-02AI 144132: am: CL 144130 Don't build OTA package keys into the recovery binary; readDoug Zongker1-8/+88
2009-04-02AI 144130: Don't build OTA package keys into the recovery binary; readDoug Zongker1-8/+88
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-0/+186
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-186/+0