index
:
anonymous/android_bootable_recovery
android-11
android-14.0
android-4.3
android-4.4
android-5.0
android-5.1
android-6.0
android-7.0
android-7.1
android-8.0
android-8.1
android-9.0
Team Win Recovery Project (TWRP)
mirror
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
install
/
install.cpp
(
unfollow
)
Commit message (
Expand
)
Author
Files
Lines
2022-03-10
Remove support for converting from FDE to FBE
Eric Biggers
1
-1
/
+1
2022-02-15
Perform data wipe in recovery if ota package has powerwash set
Kelvin Zhang
1
-13
/
+38
2021-12-22
Move package verifier from libinstall to libotautil
Jacky Liu
1
-2
/
+2
2021-05-19
Check SPL downgrade before install OTA in recovery
Kelvin Zhang
1
-0
/
+7
2021-05-17
Check SPL downgrade before install OTA in recovery
Kelvin Zhang
1
-0
/
+7
2020-09-18
Check for overflow before allocating memory fore decompression.
Kelvin Zhang
1
-1
/
+7
2020-09-16
Switch to zip64 in recovery
Kelvin Zhang
1
-4
/
+4
2020-06-29
Add recovery support of dynamic fingerprints
Kelvin Zhang
1
-3
/
+23
2020-05-20
Detect non-A/B vs. A/B packages correctly.
Yifan Hong
1
-8
/
+19
2020-05-08
Detect non-A/B vs. A/B packages correctly.
Yifan Hong
1
-8
/
+19
2020-02-13
Force off-device package installation with FUSE
Tianjie Xu
1
-0
/
+47
2020-02-13
Revert "Force package installation with FUSE unless the package stores on device"
Raman Tenneti
1
-47
/
+0
2020-01-22
Force package installation with FUSE unless the package stores on device
Tianjie Xu
1
-0
/
+47
2020-01-21
Force package installation with FUSE unless the package stores on device
Tianjie Xu
1
-0
/
+47
2019-12-18
Delete VINTF compatibility check during OTA.
Yifan Hong
1
-81
/
+0
2019-10-16
Force package installation with FUSE unless the package stores on device
Tianjie Xu
1
-0
/
+47
2019-10-02
otautil: Factor out the utils that're private to recovery.
Tao Bao
1
-2
/
+2
2019-07-24
Clean up some global variables in common.h
Tianjie Xu
1
-1
/
+4
2019-06-13
InstallPackage now takes a package as parameter
Tianjie Xu
1
-43
/
+32
2019-06-12
Use the new ziparchive Next std::string_view overload.
Elliott Hughes
1
-1
/
+1
2019-05-23
Move off the Next ZipString overload.
Elliott Hughes
1
-2
/
+2
2019-05-09
Track libziparchive API change.
Elliott Hughes
1
-1
/
+1
2019-05-06
Track libziparchive API change.
Elliott Hughes
1
-10
/
+5
2019-04-30
install: Install functions return InstallResult.
Tao Bao
1
-13
/
+14
2019-04-30
install: Return bool for a few check functions.
Tao Bao
1
-33
/
+31
2019-04-16
DO NOT MERGE: Move wipe cache|data to libinstall
xunchang
1
-5
/
+13
2019-04-15
Move wipe cache|data to libinstall
xunchang
1
-5
/
+13
2019-03-29
Move install to separate module
xunchang
1
-14
/
+18
2019-03-29
Use flags = 0 to avoid fd closing for child updater process
Bill Peckham
1
-1
/
+3
2019-03-21
Move librecovery_ui to a sub-directory
Tianjie Xu
1
-1
/
+1
2019-03-21
Move librecovery_ui to a sub-directory
Tianjie Xu
1
-1
/
+1
2019-03-18
Skip calling verify_package_compatibility when resuming.
Tao Bao
1
-2
/
+2
2019-03-11
Create a wrapper class for update package
xunchang
1
-15
/
+9
2019-03-01
Use android::base::Pipe.
Tao Bao
1
-61
/
+49
2018-12-20
Clean up the arg setup for exec(3).
Tao Bao
1
-7
/
+3
2018-12-19
roots.cpp: convert to C++ Fstab
Yifan Hong
1
-2
/
+2
2018-11-08
Check and dump the signal info for killed updater.
Tao Bao
1
-2
/
+9
2018-10-31
Refactor the code to check the metadata
Tianjie Xu
1
-103
/
+123
2018-10-22
Recovery now expects public keys in zipfile
Tianjie Xu
1
-5
/
+5
2018-10-04
DO NOT MERGE: Initialize the ZipArchive to zero before parsing
Tianjie Xu
1
-1
/
+1
2018-09-08
DO NOT MERGE: Initialize the ZipArchive to zero before parsing
Tianjie Xu
1
-1
/
+1
2018-09-08
DO NOT MERGE: Initialize the ZipArchive to zero before parsing
Tianjie Xu
1
-1
/
+1
2018-08-14
Track the change to update_engine_sideload path.
Tao Bao
1
-1
/
+1
2018-06-19
Drop the dependency on AB_OTA_UPDATER flag.
Tao Bao
1
-24
/
+15
2018-05-04
otautil: Rename dir/sys/thermal utils.
Tao Bao
1
-2
/
+2
2018-04-26
Rename CacheLocation to Paths.
Tao Bao
1
-3
/
+3
2017-10-09
Revert "Revert "Move error_code.h into otautil.""
Tao Bao
1
-1
/
+1
2017-10-05
Revert "Move error_code.h into otautil."
Tao Bao
1
-1
/
+1
2017-10-04
Move error_code.h into otautil.
Tao Bao
1
-1
/
+1
2017-10-02
roots: Fix an issue with volume_for_path().
Tao Bao
1
-1
/
+1
2017-09-13
Remove EXPAND/STRINGIFY macros.
Tao Bao
1
-1
/
+1
2017-08-23
Add missing report of error code under recovery
Tianjie Xu
1
-0
/
+3
2017-08-22
Allow comparison against multi serial nums for A/B package
Tianjie Xu
1
-5
/
+15
2017-07-19
Fix the android-cloexec-* warnings in bootable/recovery
Tianjie Xu
1
-1
/
+1
2017-06-26
avoid assuming build number is a 32-bit integer
Daniel Micay
1
-13
/
+9
2017-06-08
Fix a race condition for temperature_logger
Tianjie Xu
1
-3
/
+7
2017-05-08
Add a binary path param to update_binary_command().
Tao Bao
1
-21
/
+23
2017-05-04
Revert "Remove EXPAND/STRINGIFY macros."
Tao Bao
1
-1
/
+1
2017-05-03
Remove EXPAND/STRINGIFY macros.
Tao Bao
1
-1
/
+1
2017-05-02
Move sysMapFile and sysReleaseMap into MemMapping class.
Tao Bao
1
-5
/
+1
2017-05-01
recovery: Change install_package() to take std::string.
Tao Bao
1
-69
/
+72
2017-04-24
librecovery: Remove -Wno-unused-parameter and add -Wall.
Tao Bao
1
-1
/
+1
2017-04-20
Call libvintf to verify package compatibility.
Tao Bao
1
-5
/
+10
2017-04-19
Call libvintf to verify package compatibility.
Tao Bao
1
-5
/
+10
2017-04-19
Add tests for read_metadata_from_package().
Tao Bao
1
-43
/
+39
2017-04-19
Minor clean up to install.cpp.
Tao Bao
1
-66
/
+61
2017-04-19
Add tests for update_binary_command().
Tao Bao
1
-82
/
+80
2017-04-18
Add tests for update_binary_command().
Tao Bao
1
-82
/
+80
2017-04-18
Fix the double free in verify_package_compatibility().
Tao Bao
1
-1
/
+0
2017-04-17
Fix the double free in verify_package_compatibility().
Tao Bao
1
-1
/
+0
2017-04-13
Verify the package compatibility with libvintf.
Tao Bao
1
-0
/
+73
2017-04-12
Verify the package compatibility with libvintf.
Tao Bao
1
-0
/
+73
2017-03-31
Merge "Log temperature during OTA update" am: bc2c51a97f am: 1d7e500bfc
Tianjie Xu
1
-5
/
+47
2017-03-28
Log temperature during OTA update
Tianjie Xu
1
-5
/
+47
2017-03-27
Skip logging the warning for uncrypt_status for devices w/o /cache
Tianjie Xu
1
-5
/
+9
2017-03-26
Skip logging the warning for uncrypt_status for devices w/o /cache
Tianjie Xu
1
-5
/
+9
2017-03-26
Skip logging the warning for uncrypt_status for devices w/o /cache
Tianjie Xu
1
-5
/
+9
2017-03-21
verify_file: Add constness to a few addresses.
Tao Bao
1
-1
/
+1
2017-03-17
Drop the dependency on 'ui' in verify_file().
Tao Bao
1
-19
/
+21
2017-03-17
Drop the dependency on 'ui' in verify_file().
Tao Bao
1
-19
/
+21
2017-02-03
Replace _exit(-1) with _exit(EXIT_FAILURE).
Tao Bao
1
-1
/
+1
2017-02-03
Avoid to call UI functions in child process
Tianjie Xu
1
-1
/
+5
2017-01-22
Print with newline for ui_print.
Tao Bao
1
-5
/
+1
2017-01-13
recovery: Move property_get() to android::base::GetProperty().
Tao Bao
1
-68
/
+66
2017-01-06
recovery: Clean up try_update_binary() in install.cpp.
Tao Bao
1
-145
/
+166
2016-12-14
Remove the obsolete comments for firmware update.
Tao Bao
1
-9
/
+0
2016-11-21
Fail gracefully when we fail to fork the update binary
Matthew Bouyack
1
-0
/
+8
2016-11-20
Call update_engine_sideload from recovery.
Alex Deymo
1
-15
/
+178
2016-11-03
Revert "Revert "Some cleanups to recovery.""
Tao Bao
1
-2
/
+0
2016-10-27
Revert "Some cleanups to recovery."
Dan Albert
1
-0
/
+2
2016-10-26
Some cleanups to recovery.
Tao Bao
1
-2
/
+0
2016-10-19
Verify wipe package when wiping A/B device in recovery.
Yabin Cui
1
-25
/
+41
2016-10-18
Replace minzip with libziparchive
Tianjie Xu
1
-22
/
+23
2016-10-14
Fix the prefix matching for uncrypt status.
Tao Bao
1
-1
/
+1
2016-10-14
Fix the prefix matching for uncrypt status.
Tao Bao
1
-1
/
+1
2016-10-14
Fix the prefix matching for uncrypt status.
Tao Bao
1
-2
/
+2
2016-09-29
Report uncrypt errors in details
Tianjie Xu
1
-1
/
+1
2016-09-29
DO NOT MERGE Report uncrypt errors in details
Tianjie Xu
1
-1
/
+1
2016-09-27
Report uncrypt errors in details
Tianjie Xu
1
-1
/
+1
2016-09-27
DO NOT MERGE Duplicate the last_install content into last_log.
Tao Bao
1
-31
/
+30
2016-09-26
Duplicate the last_install content into last_log.
Tao Bao
1
-30
/
+30
2016-09-26
Duplicate the last_install content into last_log.
Tao Bao
1
-30
/
+30
2016-09-21
Fail gracefully when we fail to fork the update binary
Matthew Bouyack
1
-0
/
+8
2016-09-21
Revert "DO NOT MERGE Fail gracefully when we fail to fork the update binary am: de1b53d067"
Matthew Bouyack
1
-8
/
+0
2016-09-20
DO NOT MERGE Fail gracefully when we fail to fork the update binary
Matthew Bouyack
1
-0
/
+8
2016-09-13
Check corruption when reading uncrypt_status file
Tianjie Xu
1
-0
/
+2
2016-09-13
Check corruption when reading uncrypt_status file
Tianjie Xu
1
-0
/
+2
2016-09-13
save uncrypt status to last_install
Tianjie Xu
1
-0
/
+13
2016-09-13
save uncrypt status to last_install
Tianjie Xu
1
-1
/
+13
2016-09-02
Fix a typo of variable name in install.cpp
Tianjie Xu
1
-6
/
+6
2016-09-01
Switch recovery to libbase logging
Tianjie Xu
1
-33
/
+30
2016-09-01
Switch recovery to libbase logging
Tianjie Xu
1
-15
/
+17
2016-09-01
Switch recovery to libbase logging
Tianjie Xu
1
-33
/
+30
2016-08-26
Fix clang-tidy warnings in bootable/recovery.
Chih-Hung Hsieh
1
-2
/
+2
2016-08-18
Free mmaped area if keys fail to load
WiZarD
1
-0
/
+1
2016-08-12
Add inttypes.h for PRIu64.
Alex Deymo
1
-0
/
+1
2016-08-12
Add inttypes.h for PRIu64.
Alex Deymo
1
-0
/
+1
2016-08-12
Call update_engine_sideload from recovery.
Alex Deymo
1
-18
/
+181
2016-06-21
Verify wipe package when wiping A/B device in recovery.
Yabin Cui
1
-23
/
+37
2016-06-10
Remove obsolete MTD support.
Elliott Hughes
1
-2
/
+0
2016-06-10
Log source/target build version to last_install
Tianjie Xu
1
-0
/
+55
2016-06-03
Call ioctl before each write on retry
Tianjie Xu
1
-6
/
+13
2016-05-20
Allow recovery to return error codes
Tianjie Xu
1
-2
/
+11
2016-05-16
Add time and I/O info to last_install
Tianjie Xu
1
-4
/
+23
2016-04-14
Use BoringSSL instead of mincrypt to speed up package verification.
Elliott Hughes
1
-8
/
+9
2016-04-06
Convert recovery to use BoringSSL instead of mincrypt.
Mattias Nissler
1
-2
/
+1
2016-03-10
Reboot and retry on I/O errors
Tianjie Xu
1
-0
/
+6
2016-03-03
Reboot and retry on I/O errors
Tianjie Xu
1
-0
/
+6
2016-02-11
Fix some memory leaks.
Yabin Cui
1
-5
/
+5
2016-02-03
recovery: Refactor verifier and verifier_test.
Tao Bao
1
-7
/
+6
2015-06-03
Log update outputs in order
Tao Bao
1
-2
/
+2
2015-04-11
Update the comments for package installer commands
Tao Bao
1
-1
/
+13
2015-04-08
Rotate logs only when there are actual operations
Tao Bao
1
-0
/
+2
2015-03-25
Factor out option variables from int to bool types
Tao Bao
1
-5
/
+5
2015-01-28
Add missing includes.
Elliott Hughes
1
-0
/
+1
2014-07-02
sideload without holding the whole package in RAM
Doug Zongker
1
-4
/
+6
2014-05-23
disable async reboot during package installation
Doug Zongker
1
-0
/
+7
2014-01-16
do verification and extraction on memory, not files
Doug Zongker
1
-7
/
+23
2013-11-18
Restore default umask after forking for update-binary.
Alistair Strachan
1
-0
/
+1
2013-09-25
verifier: update to support certificates using SHA-256
Doug Zongker
1
-1
/
+1
2013-08-21
recovery: install packages in a known mount environment
Doug Zongker
1
-5
/
+10
2013-07-09
recovery: move log output to stdout
Doug Zongker
1
-0
/
+1
2013-04-10
verifier: update to support certificates using SHA-256
Doug Zongker
1
-1
/
+1
2012-11-02
move key loading to verifier code
Doug Zongker
1
-100
/
+0
2012-08-23
add simple text to recovery UI
Doug Zongker
1
-1
/
+1
2012-07-25
support version 2 (2048-bit e=65537) keys in recovery
Doug Zongker
1
-1
/
+25
2012-04-12
minor recovery changes
Doug Zongker
1
-0
/
+2
2011-10-31
refactor ui functions into a class
Doug Zongker
1
-14
/
+20
2011-10-31
turn recovery into a C++ binary
Doug Zongker
1
-29
/
+33
2011-10-28
turn recovery into a C++ binary
Doug Zongker
1
-310
/
+0
2011-10-19
allow recovery packages to wipe cache
Doug Zongker
1
-11
/
+12
2011-04-12
save a last_install file with the result of the last package install attempt
Doug Zongker
1
-2
/
+24
2010-09-21
remove the notion of "root path"; support mixed flash types
Doug Zongker
1
-11
/
+4
2010-09-21
remove the notion of "root path"; support mixed flash types (do not merge)
Doug Zongker
1
-11
/
+4
2010-09-17
remove unneeded partition roots
Doug Zongker
1
-13
/
+2
2010-09-15
support for ext4/EMMC filesystems in updater binary
Doug Zongker
1
-1
/
+1
2010-09-15
close update package before installing; allow remount
Doug Zongker
1
-1
/
+3
2010-07-02
support for ext4/EMMC filesystems in updater binary
Doug Zongker
1
-1
/
+1
2010-06-25
Add __attribute__((format(printf, a, b))) to printf like functions.
Nick Kralevich
1
-1
/
+1
2010-02-03
bump updater API version to 3; deprecate firmware update command
Doug Zongker
1
-84
/
+7
2010-01-29
fix parsing of dumpkeys output
Doug Zongker
1
-4
/
+4
2009-11-13
eclair snapshot
Jean-Baptiste Queru
1
-16
/
+18
2009-08-17
do not merge: cherry-picked 60151a295ccf726238dc47456d80b427db6d6a38 from master branch
Doug Zongker
1
-16
/
+18
2009-08-15
verify whole-file signature instead of jarsigner signatures
Doug Zongker
1
-16
/
+18
2009-07-15
remove amend
Doug Zongker
1
-103
/
+2
2009-06-24
improve updater progress bar
Doug Zongker
1
-1
/
+13
2009-06-18
let the "firmware" command take the file straight from the package
Doug Zongker
1
-22
/
+44
2009-06-12
fixes to edify and updater script
Doug Zongker
1
-0
/
+10
2009-06-12
edify extensions for OTA package installation, part 2
Doug Zongker
1
-1
/
+2
2009-06-12
edify extensions for OTA package installation, part 1
Doug Zongker
1
-1
/
+1
2009-06-05
allow OTA package to provide binary instead of script
Doug Zongker
1
-1
/
+169
2009-05-29
don't say "install complete" when it really isn't
Doug Zongker
1
-1
/
+1
2009-04-02
AI 144132: am: CL 144130 Don't build OTA package keys into the recovery binary; read
Doug Zongker
1
-8
/
+88
2009-04-02
AI 144130: Don't build OTA package keys into the recovery binary; read
Doug Zongker
1
-8
/
+88
2009-03-04
auto import from //depot/cupcake/@135843
The Android Open Source Project
1
-0
/
+186
2009-03-04
auto import from //depot/cupcake/@135843
The Android Open Source Project
1
-186
/
+0