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
/
recovery.cpp
(
unfollow
)
Commit message (
Expand
)
Author
Files
Lines
2016-12-14
Remove the obsolete comments for firmware update.
Tao Bao
1
-15
/
+1
2016-12-13
Add a stub recovery UI.
Sen Jiang
1
-1
/
+5
2016-12-13
recovery: Clean up the log saving while wiping.
Tao Bao
1
-95
/
+85
2016-12-10
recovery: Remove obsolete code that supports "CACHE:foo" format.
Tao Bao
1
-21
/
+1
2016-12-09
recovery: Fix the argument parsing from COMMAND_FILE.
Tao Bao
1
-2
/
+5
2016-12-05
recovery: Clean up get_args().
Tao Bao
1
-80
/
+70
2016-11-04
Cleanup the duplicates of logs rotation functions
Tianjie Xu
1
-84
/
+6
2016-11-03
Revert "Revert "Some cleanups to recovery.""
Tao Bao
1
-57
/
+53
2016-10-27
Revert "Some cleanups to recovery."
Dan Albert
1
-53
/
+57
2016-10-26
Some cleanups to recovery.
Tao Bao
1
-57
/
+53
2016-10-26
Skip update-on-boot for bootreason in blacklist
Tianjie Xu
1
-13
/
+39
2016-10-19
Verify wipe package when wiping A/B device in recovery.
Yabin Cui
1
-2
/
+71
2016-10-19
Clean up bootloader_message usage in recovery
Tianjie Xu
1
-29
/
+13
2016-10-18
Create bootloader_message static library.
Yabin Cui
1
-25
/
+38
2016-10-18
Replace minzip with libziparchive
Tianjie Xu
1
-1
/
+2
2016-10-07
No longer need android/log.h
Mark Salyzyn
1
-1
/
+0
2016-09-30
Turn on -Werror for recovery
Tianjie Xu
1
-3
/
+3
2016-09-30
Turn on -Werror for recovery
Tianjie Xu
1
-3
/
+3
2016-09-27
DO NOT MERGE Duplicate the last_install content into last_log.
Tao Bao
1
-8
/
+11
2016-09-26
Duplicate the last_install content into last_log.
Tao Bao
1
-8
/
+11
2016-09-26
Duplicate the last_install content into last_log.
Tao Bao
1
-8
/
+12
2016-09-26
Switch to <android-base/properties.h>.
Elliott Hughes
1
-12
/
+8
2016-09-01
Switch recovery to libbase logging
Tianjie Xu
1
-39
/
+60
2016-09-01
Switch recovery to libbase logging
Tianjie Xu
1
-29
/
+50
2016-08-30
minadbd: rename adb_server_main to minadbd_main.
Josh Gao
1
-1
/
+2
2016-08-18
"view recovery logs" will show /tmp/recovery.log
Tianjie Xu
1
-31
/
+36
2016-08-17
"view recovery logs" will show /tmp/recovery.log
Tianjie Xu
1
-31
/
+36
2016-08-08
Handle error from fopen_path in finish_recovery
Johan Harvyl
1
-4
/
+6
2016-07-27
Fix clang-tidy performance warnings.
Chih-Hung Hsieh
1
-1
/
+1
2016-07-12
Skip update-on-boot for bootreason in blacklist
Tianjie Xu
1
-9
/
+36
2016-06-30
Create bootloader_message static library.
Yabin Cui
1
-15
/
+29
2016-06-24
Increase EIO retry count
Tianjie Xu
1
-1
/
+2
2016-06-21
Verify wipe package when wiping A/B device in recovery.
Yabin Cui
1
-2
/
+71
2016-06-10
recovery: Track the name change for wipe_ab.
Tao Bao
1
-12
/
+12
2016-06-03
recovery: Add support to brick a device.
Tao Bao
1
-1
/
+91
2016-06-03
recovery: Add support to brick a device.
Tao Bao
1
-1
/
+91
2016-05-20
Allow recovery to return error codes
Tianjie Xu
1
-2
/
+14
2016-05-03
recovery: Always log the update attempt.
Tao Bao
1
-0
/
+4
2016-04-30
recovery: Always log the update attempt.
Tao Bao
1
-0
/
+4
2016-04-29
Add ability to show "installing security update"
Tianjie Xu
1
-0
/
+6
2016-04-18
Fix google-runtime-int warnings.
Chih-Hung Hsieh
1
-4
/
+4
2016-04-15
Update the system update animation.
Elliott Hughes
1
-1
/
+36
2016-04-02
Move selinux dependencies out of header files.
Elliott Hughes
1
-2
/
+3
2016-03-31
recovery: use __android_log_pmsg_file_write for log files
Mark Salyzyn
1
-12
/
+97
2016-03-28
recovery: use __android_log_pmsg_file_write for log files
Mark Salyzyn
1
-12
/
+97
2016-03-24
Clean up intent_file related code in recovery.cpp
Tianjie Xu
1
-23
/
+5
2016-03-10
Reboot and retry on I/O errors
Tianjie Xu
1
-1
/
+46
2016-03-04
recovery: Handle devices without /cache partition.
Tao Bao
1
-10
/
+29
2016-03-03
Reboot and retry on I/O errors
Tianjie Xu
1
-1
/
+46
2016-03-03
recovery: Handle devices without /cache partition.
Tao Bao
1
-10
/
+29
2016-02-25
Move recovery's convert_fbe folder to /tmp
Paul Lawrence
1
-4
/
+7
2016-02-23
recovery: check battery level before installing package.
Yabin Cui
1
-15
/
+84
2016-02-20
recovery: check battery level before installing package.
Yabin Cui
1
-15
/
+84
2016-01-14
recovery: Fork a process for fuse when sideloading from SD card.
Tao Bao
1
-4
/
+57
2015-12-05
Track rename from base/ to android-base/.
Elliott Hughes
1
-2
/
+2
2015-11-20
Track name change from adb_main to adb_server_main.
Elliott Hughes
1
-1
/
+1
2015-11-16
recovery: Allow "Mount /system" for system_root_image.
Tao Bao
1
-2
/
+17
2015-11-16
recovery: Switch to clang
Tao Bao
1
-6
/
+15
2015-11-13
Create convert_fbe breadcrumb file to support conversion to FBE
Paul Lawrence
1
-1
/
+23
2015-09-17
recovery: Add timestamps in update logs.
Tao Bao
1
-16
/
+98
2015-09-10
recovery: Remove redirect_stdio() when calling ShowFile().
Tao Bao
1
-3
/
+0
2015-08-07
Fix recovery image build.
Elliott Hughes
1
-1
/
+1
2015-08-05
Fix potential crash
Jeremy Compostella
1
-5
/
+9
2015-07-31
recovery: Allow "Mount /system" for system_root_image.
Tao Bao
1
-2
/
+17
2015-06-10
Split WipeData into PreWipeData and PostWipeData.
Elliott Hughes
1
-17
/
+12
2015-06-10
Split WipeData into PreWipeData and PostWipeData.
Elliott Hughes
1
-17
/
+12
2015-06-10
Unmount sdcard if no package file is selected.
caozhiyuan
1
-0
/
+1
2015-06-03
recovery: Switch to clang
Tao Bao
1
-6
/
+15
2015-05-27
Clean up the sleep()'s after poking init services
Tao Bao
1
-8
/
+11
2015-05-07
Add an alternate screen for viewing recovery logs.
Elliott Hughes
1
-4
/
+5
2015-05-07
Add an alternate screen for viewing recovery logs.
Elliott Hughes
1
-4
/
+5
2015-05-05
Keep multiple kernel logs
Tao Bao
1
-82
/
+73
2015-05-05
Keep multiple kernel logs
Tao Bao
1
-82
/
+73
2015-05-04
Turn on text display for debuggable builds
Tao Bao
1
-0
/
+7
2015-05-04
Turn on text display for debuggable builds
Tao Bao
1
-0
/
+7
2015-04-14
Move the menu header out of the menu.
Elliott Hughes
1
-10
/
+4
2015-04-13
Add missing \n after "Mounting /system." message.
Elliott Hughes
1
-1
/
+1
2015-04-11
Revert "Append kernel logs to last_log file"
Tao Bao
1
-46
/
+42
2015-04-11
Append kernel logs to last_log file
Tao Bao
1
-42
/
+46
2015-04-10
Switch minadb over to C++.
Elliott Hughes
1
-2
/
+0
2015-04-10
Fix ScreenRecoveryUI to handle devices without power/up/down.
Elliott Hughes
1
-4
/
+2
2015-04-10
Move "Mount /system" to the main menu.
Elliott Hughes
1
-5
/
+7
2015-04-10
Move the recovery image version out of the menu header.
Elliott Hughes
1
-21
/
+7
2015-04-09
Move file paging into ScreenRecoveryUI.
Elliott Hughes
1
-57
/
+6
2015-04-09
Enable printf format argument checking.
Elliott Hughes
1
-1
/
+1
2015-04-08
Rotate logs only when there are actual operations
Tao Bao
1
-9
/
+28
2015-04-02
DO NOT MERGE Revert "Erase PST partition if its marked to be erased."
Andres Morales
1
-2
/
+0
2015-03-31
Refactor the codes to call wipe_data/wipe_cache functions
Tao Bao
1
-22
/
+36
2015-03-31
Revert "Erase PST partition if its marked to be erased."
Andres Morales
1
-2
/
+0
2015-03-30
Add support to enter sideload mode directly
Tao Bao
1
-26
/
+49
2015-03-30
Revert "Erase PST partition if its marked to be erased."
Andres Morales
1
-2
/
+0
2015-03-26
Factor out the "yes/no" menu and use it for "Wipe cache" too.
Elliott Hughes
1
-60
/
+35
2015-03-25
Factor out option variables from int to bool types
Tao Bao
1
-6
/
+8
2015-03-24
Fix wipe command when using sideload in recovery
Christian Poetzsch
1
-52
/
+47
2015-03-23
Add "Apply update from sdcard" to default recovery image.
Elliott Hughes
1
-3
/
+7
2015-03-11
updater: Check the return value from ApplyImagePatch / ApplyBSDiffPatch
Tao Bao
1
-0
/
+1
2015-02-20
Kill of most of the remainder of minadbd.
Dan Albert
1
-2
/
+2
2015-02-10
recovery: Properly detect userdebug or eng builds
Elliott Hughes
1
-3
/
+6
2014-12-10
Add basic navigation controls to log viewer.
Patrick Tjin
1
-2
/
+36
2014-12-10
Save kernel logs to /cache/recovery
Patrick Tjin
1
-6
/
+60
2014-10-23
Make /cache/recovery/last_log available in recovery
Nick Kralevich
1
-4
/
+73
2014-09-24
Include reason when wiping data.
Jeff Sharkey
1
-0
/
+4
2014-08-06
Erase PST partition if its marked to be erased.
Andres Morales
1
-0
/
+2
2014-07-10
do sdcard sideloading through the fuse filesystem
Doug Zongker
1
-101
/
+9
2014-07-08
drop APPLY_CACHE and refactor APPLY_EXT
Doug Zongker
1
-63
/
+45
2014-07-02
sideload without holding the whole package in RAM
Doug Zongker
1
-2
/
+2
2014-04-01
add reboot-to-bootloader and power down options to recovery menu
Doug Zongker
1
-17
/
+38
2014-03-18
add --shutdown_after option to recovery
Doug Zongker
1
-4
/
+10
2014-03-18
add --shutdown_after option to recovery
Doug Zongker
1
-4
/
+10
2014-03-17
refactor image resource loading code in minui
Doug Zongker
1
-1
/
+1
2014-03-14
Recovery 64-bit compile issues
Mark Salyzyn
1
-2
/
+2
2014-02-14
clean up some warnings when building recovery
Doug Zongker
1
-1
/
+1
2014-01-21
log extra info for debugging
Doug Zongker
1
-1
/
+1
2013-11-27
add the functions for multi-stage packages to updater
Doug Zongker
1
-0
/
+18
2013-09-04
recovery: fix use of init reboot method
Doug Zongker
1
-1
/
+1
2013-09-03
recovery: fix use of init reboot method
Doug Zongker
1
-1
/
+1
2013-08-30
recovery: fix rebooting
Doug Zongker
1
-1
/
+1
2013-08-21
recovery: install packages in a known mount environment
Doug Zongker
1
-5
/
+0
2013-07-31
notify about pending long press
Doug Zongker
1
-8
/
+6
2013-07-09
recovery: preserve recovery logs across cache wipes
Doug Zongker
1
-2
/
+76
2013-07-09
recovery: move log output to stdout
Doug Zongker
1
-2
/
+1
2013-07-02
recovery: copy logs to cache more aggressively
Doug Zongker
1
-9
/
+17
2013-06-04
Fix the potential segmentation fault
Jin Feng
1
-1
/
+7
2013-05-21
recovery: save logs from the last few invocations of recovery
Doug Zongker
1
-1
/
+19
2013-05-21
recovery: turn on text display for install errors in debug builds
Doug Zongker
1
-2
/
+33
2013-05-16
recovery: save logs from the last few invocations of recovery
Doug Zongker
1
-1
/
+19
2013-05-16
recovery: turn on text display for install errors in debug builds
Doug Zongker
1
-2
/
+33
2013-03-07
more font improvements and cleanup
Doug Zongker
1
-1
/
+0
2012-10-16
Remove HAVE_SELINUX guards
Kenny Root
1
-2
/
+0
2012-10-09
recovery: fix failure to unmount "/cache"
Devin Kim
1
-0
/
+1
2012-09-24
display error state on OTA failure
Doug Zongker
1
-4
/
+13
2012-09-19
localization for recovery messages
Doug Zongker
1
-1
/
+2
2012-09-18
localization for recovery messages
Doug Zongker
1
-1
/
+2
2012-08-30
recovery locale handling fixes
Doug Zongker
1
-1
/
+1
2012-08-23
change recovery images to android with spinner
Doug Zongker
1
-9
/
+12
2012-08-23
add simple text to recovery UI
Doug Zongker
1
-10
/
+53
2012-04-12
minor recovery changes
Doug Zongker
1
-2
/
+6
2012-04-08
Update merge for SELinux to compile
Kenny Root
1
-1
/
+1
2012-01-18
support "sideload over ADB" mode
Doug Zongker
1
-0
/
+32
2012-01-10
support "sideload over ADB" mode
Doug Zongker
1
-0
/
+32
2011-12-14
mount cache before sideloading from external storage
Doug Zongker
1
-0
/
+4
2011-11-04
move key processing to RecoveryUI
Doug Zongker
1
-3
/
+1
2011-11-01
move key processing to RecoveryUI
Doug Zongker
1
-3
/
+1
2011-10-31
C++ class for device-specific code
Doug Zongker
1
-36
/
+34
2011-10-31
refactor ui functions into a class
Doug Zongker
1
-44
/
+51
2011-10-31
C++ class for device-specific code
Doug Zongker
1
-36
/
+34
2011-10-31
turn recovery into a C++ binary
Doug Zongker
1
-37
/
+38
2011-10-28
turn recovery into a C++ binary
Doug Zongker
1
-825
/
+0
2011-10-19
allow recovery packages to wipe cache
Doug Zongker
1
-14
/
+44
2011-06-24
Allow applying an OTA package manually from cache.
Michael Ward
1
-9
/
+31
2011-04-12
save a last_install file with the result of the last package install attempt
Doug Zongker
1
-1
/
+1
2011-03-11
Have recovery reboot using the new android_reboot() function.
Ken Sumrall
1
-3
/
+2
2011-03-01
make recovery UI images more general; allow for installation animation
Doug Zongker
1
-0
/
+3
2011-01-25
make recovery reboot after 2 minutes of no activity
Doug Zongker
1
-0
/
+10
2011-01-18
remove encrypted filesystem code from recovery
Doug Zongker
1
-63
/
+1
2010-11-01
clear recovery framebuffers on allocation; display icon right after ui_init
Doug Zongker
1
-0
/
+1
2010-09-29
save the log from recovery's last run in /cache/recovery/last_log
Doug Zongker
1
-17
/
+40
2010-09-22
handle old-style CACHE: packages
Doug Zongker
1
-2
/
+18
2010-09-22
mount sdcard only on demand; fix sideload installs
Doug Zongker
1
-3
/
+6
2010-09-21
remove the notion of "root path"; support mixed flash types
Doug Zongker
1
-76
/
+63
2010-09-21
remove the notion of "root path"; support mixed flash types (do not merge)
Doug Zongker
1
-76
/
+63
2010-09-15
support for ext4/EMMC filesystems in updater binary
Doug Zongker
1
-6
/
+6
2010-09-15
(cherry-pick) support installing any .zip file on the sdcard
Doug Zongker
1
-25
/
+140
2010-09-03
add --show_text option to recovery
Doug Zongker
1
-0
/
+2
2010-09-01
Revert 21f0f97ebabb47adcbfe8d38b02685f2019b4eb3
Ying Wang
1
-2
/
+1
2010-08-31
Fix for crespo.
Ying Wang
1
-1
/
+2
2010-08-02
don't go into file select menu when mounting external storage fails
Doug Zongker
1
-1
/
+4
2010-07-30
generalize "install from sdcard" to "install from external storage"
Doug Zongker
1
-4
/
+6
2010-07-09
make a copy of sideloaded packages in /tmp before verifying
Doug Zongker
1
-2
/
+112
2010-07-02
support for ext4/EMMC filesystems in updater binary
Doug Zongker
1
-6
/
+6
2010-04-08
support installing any .zip file on the sdcard
Doug Zongker
1
-20
/
+140
2010-04-02
DO NOT MERGE
Oscar Montemayor
1
-18
/
+18
2010-03-27
DO NOT MERGE
Oscar Montemayor
1
-43
/
+1
2010-03-15
Encrypted File Systems part 3. Recovery changes.
Oscar Montemayor
1
-18
/
+18
2010-02-03
bump updater API version to 3; deprecate firmware update command
Doug Zongker
1
-10
/
+1
2010-02-02
change log recovery to generic device_recovery_start function
Doug Zongker
1
-3
/
+3
2010-01-21
save the recovery log from before HTC firmware updates
Doug Zongker
1
-1
/
+3
2009-12-10
Recovery changes for Encrypted File Systems.
Oscar Montemayor
1
-14
/
+71
2009-11-13
eclair snapshot
Jean-Baptiste Queru
1
-94
/
+152
2009-10-06
add terminator to recovery's getopt_long options array
Doug Zongker
1
-0
/
+1
2009-09-23
confirm before wiping user data in recovery
Doug Zongker
1
-69
/
+107
2009-08-25
Not all failures to fopen_root_path() are serious.
Jay Freeman (saurik)
1
-3
/
+6
2009-08-18
do not merge: cherry-pick of c2d666bd4f6eb5f7a9f17b10435c161cb105b7c5 from master
Doug Zongker
1
-0
/
+10
2009-08-18
Recovery: When updating from SD card, update can't resume automatically
Jared Suttles
1
-0
/
+10
2009-07-15
remove amend
Doug Zongker
1
-28
/
+1
2009-06-19
add function for device-specific wipe data features
Doug Zongker
1
-2
/
+7
2009-06-18
let the "firmware" command take the file straight from the package
Doug Zongker
1
-1
/
+2
2009-06-11
split out device-specific recovery UI code into vendor directories
Doug Zongker
1
-42
/
+29
2009-06-03
remove unused permissions scheme from amend
Doug Zongker
1
-4
/
+0
2009-05-29
don't say "install complete" when it really isn't
Doug Zongker
1
-1
/
+6
2009-04-02
AI 144101: am: CL 144070 Add an option to wipe cache (only) to the recovery menu.
Doug Zongker
1
-0
/
+9
2009-04-01
AI 144070: Add an option to wipe cache (only) to the recovery menu.
Doug Zongker
1
-0
/
+9
2009-03-04
auto import from //depot/cupcake/@135843
The Android Open Source Project
1
-0
/
+471
2009-03-04
auto import from //depot/cupcake/@135843
The Android Open Source Project
1
-471
/
+0
2009-02-11
auto import from //branches/cupcake/...@130745
The Android Open Source Project
1
-23
/
+78
2009-01-10
auto import from //branches/cupcake/...@125939
The Android Open Source Project
1
-24
/
+79