summaryrefslogtreecommitdiffstats
path: root/install.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
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
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