summaryrefslogtreecommitdiffstats
path: root/recovery.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* recovery: Print the actually required battery level.Tao Bao2018-04-271-60/+62
* Mark ui_print with __printflike.Tao Bao2018-04-261-1/+1
* Rename CacheLocation to Paths.Tao Bao2018-04-261-75/+72
* Wipe the metadata partition when we wipe data.Paul Crowley2018-04-251-5/+14
* Do not skip the update installation if it's a retryTianjie Xu2018-04-021-2/+2
* Detect interrupted update due to power offTianjie Xu2017-12-011-268/+297
* Drop -Wno-unused-parameter.Tao Bao2017-10-121-11/+10
* Revert "Revert "Move error_code.h into otautil.""Tao Bao2017-10-091-1/+1
* Revert "Move error_code.h into otautil."Tao Bao2017-10-051-1/+1
* Move error_code.h into otautil.Tao Bao2017-10-041-1/+1
* roots: Fix an issue with volume_for_path().Tao Bao2017-10-021-1/+1
* Add a new option in recovery menu to test the background textsTianjie Xu2017-09-271-0/+5
* Remove EXPAND/STRINGIFY macros.Tao Bao2017-09-131-1/+5
* Merge "screen_ui: Word-wrap menu headers."Tao Bao2017-08-161-4/+5
|\
| * screen_ui: Word-wrap menu headers.Tao Bao2017-08-161-4/+5
* | Merge "otautil: Clean up dirCreateHierarchy()."Tao Bao2017-07-311-13/+13
|\|
| * otautil: Clean up dirCreateHierarchy().Tao Bao2017-07-271-13/+13
* | Merge "recovery: Fix the flickering when turning on text mode."Tao Bao2017-07-251-9/+8
|\|
| * recovery: Fix the flickering when turning on text mode.Tao Bao2017-07-251-9/+8
* | Merge "Avoid crashing recovery with unwritable /cache."Tao Bao2017-07-221-25/+23
|\|
| * Avoid crashing recovery with unwritable /cache.Tao Bao2017-07-211-25/+23
* | Merge "Fix the android-cloexec-* warnings in bootable/recovery"Tianjie Xu2017-07-201-24/+24
|\|
| * Fix the android-cloexec-* warnings in bootable/recoveryTianjie Xu2017-07-191-24/+24
* | Fix "No file_contexts" warningJeff Vander Stoep2017-06-161-6/+3
|\ \ | |/ |/|
| * Fix "No file_contexts" warningJeff Vander Stoep2017-06-151-6/+3
| * Fix the input parameter for "set_retry_bootloader_message"Tianjie Xu2017-05-171-13/+13
| * Adding support for quiescent reboot to recoveryDmitri Plotnikov2017-04-281-6/+20
| * Merge "Add the missing sr-Latn into png files and rename the png locale header" am: 713d915636 am: dc235b5ab9Tianjie Xu2017-03-291-1/+1
* | Retry the update if ApplyBSDiffPatch | ApplyImagePatch failsTianjie Xu2017-05-241-4/+5
* | Fix the input parameter for "set_retry_bootloader_message"Tianjie Xu2017-05-171-13/+13
* | Revert "Remove EXPAND/STRINGIFY macros."Tao Bao2017-05-041-1/+1
* | Remove EXPAND/STRINGIFY macros.Tao Bao2017-05-031-1/+1
* | adb_install: Stop passing RecoveryUI as a parameter.Tao Bao2017-05-011-2/+2
* | Merge "Adding support for quiescent reboot to recovery"Treehugger Robot2017-04-281-6/+20
|\ \
| * | Adding support for quiescent reboot to recoveryDmitri Plotnikov2017-04-191-6/+20
* | | recovery: Remove the include of adb.h.Tao Bao2017-04-241-1/+0
* | | Reboot the device on user build after the install failsTianjie Xu2017-04-221-4/+12
|/ /
* | Merge "Add the missing sr-Latn into png files and rename the png locale header"Tianjie Xu2017-03-281-1/+1
|\ \ | |/ |/|
| * Add the missing sr-Latn into png files and rename the png locale headerTianjie Xu2017-03-251-1/+1
* | Merge "Fix the wrong parameter when calling read_metadata_from_package()."Tao Bao2017-03-241-37/+35
|\ \
| * | Fix the wrong parameter when calling read_metadata_from_package().Tao Bao2017-03-241-37/+35
| |/
* / Reword the wipe warning message to be more comprehensible.Paul Crowley2017-03-231-4/+6
|/
* recovery: Replace the hard-coded 1000 with AID_SYSTEM.Tao Bao2017-03-221-2/+3
* recovery: Fix the FIXME in get_menu_selection().Tao Bao2017-03-081-99/+94
* recovery: Move a few int to bool.Tao Bao2017-03-081-67/+68
* Merge "recovery: Drop the "--stages" / '-g' argument."Tao Bao2017-03-071-13/+4
|\
| * recovery: Drop the "--stages" / '-g' argument.Tao Bao2017-03-071-13/+4
* | Merge "recovery: Add SetStage() into 'Run graphics test'."Tao Bao2017-03-071-25/+37
|\ \
| * | recovery: Add SetStage() into 'Run graphics test'.Tao Bao2017-03-071-25/+37
| |/
* / recovery: Minor clean up to choose_recovery_file().Tao Bao2017-03-071-51/+35
|/
* recovery: Remember the last log position.Tao Bao2017-03-011-1/+2
* recovery: Don't show "No /cache partition found" on screen.Tao Bao2017-02-241-1/+0
* recovery: Clean up browse_directory().Tao Bao2017-02-111-92/+55
* Replace _exit(-1) with _exit(EXIT_FAILURE).Tao Bao2017-02-031-3/+3
* recovery: Move property_get() to android::base::GetProperty().Tao Bao2017-01-131-14/+12
* recovery: Fix the argument parsing.Tao Bao2017-01-091-2/+2
* recovery: Fix the broken UI text.Tao Bao2017-01-041-2/+1
* Support a "ask before wiping" boot flag.Paul Crowley2016-12-211-12/+52
* Add update_bootloader_message() to fix two-step OTAs.Tao Bao2016-12-151-11/+12
* Merge "Add a stub recovery UI."Sen Jiang2016-12-141-1/+5
|\
| * Add a stub recovery UI.Sen Jiang2016-12-131-1/+5
* | Remove the obsolete comments for firmware update.Tao Bao2016-12-141-15/+1
* | recovery: Clean up the log saving while wiping.Tao Bao2016-12-131-95/+85
|/
* recovery: Remove obsolete code that supports "CACHE:foo" format.Tao Bao2016-12-101-21/+1
* recovery: Fix the argument parsing from COMMAND_FILE.Tao Bao2016-12-091-2/+5
* recovery: Clean up get_args().Tao Bao2016-12-051-80/+70
* Merge "Cleanup the duplicates of logs rotation functions"Tianjie Xu2016-11-041-84/+6
|\
| * Cleanup the duplicates of logs rotation functionsTianjie Xu2016-11-041-84/+6
* | Revert "Revert "Some cleanups to recovery.""Tao Bao2016-11-031-57/+53
|/
* Revert "Some cleanups to recovery."Dan Albert2016-10-271-53/+57
* Some cleanups to recovery.Tao Bao2016-10-261-57/+53
* Skip update-on-boot for bootreason in blacklistTianjie Xu2016-10-261-13/+39
* Verify wipe package when wiping A/B device in recovery.Yabin Cui2016-10-191-2/+71
* Clean up bootloader_message usage in recoveryTianjie Xu2016-10-191-29/+13
* Create bootloader_message static library.Yabin Cui2016-10-181-25/+38
* Replace minzip with libziparchiveTianjie Xu2016-10-181-1/+2
* No longer need android/log.hMark Salyzyn2016-10-071-1/+0
* Turn on -Werror for recoveryTianjie Xu2016-09-301-3/+3
* Merge "Duplicate the last_install content into last_log."Tao Bao2016-09-271-8/+12
|\
| * Duplicate the last_install content into last_log.Tao Bao2016-09-261-8/+12
* | Switch to <android-base/properties.h>.Elliott Hughes2016-09-261-12/+8
|/
* Switch recovery to libbase loggingTianjie Xu2016-09-011-29/+50
* minadbd: rename adb_server_main to minadbd_main.Josh Gao2016-08-301-1/+2
* Merge ""view recovery logs" will show /tmp/recovery.log"Tianjie Xu2016-08-181-31/+36
|\
| * "view recovery logs" will show /tmp/recovery.logTianjie Xu2016-08-171-31/+36
* | Merge "Handle error from fopen_path in finish_recovery"Johan Harvyl2016-08-091-4/+6
|\|
| * Handle error from fopen_path in finish_recoveryJohan Harvyl2016-08-081-4/+6
* | Merge \"Fix clang-tidy performance warnings.\"Chih-Hung Hsieh2016-07-271-1/+1
|\|
| * Fix clang-tidy performance warnings.Chih-Hung Hsieh2016-07-271-1/+1
* | Increase EIO retry countTianjie Xu2016-06-241-1/+2
|\ \
| * | Increase EIO retry countTianjie Xu2016-06-241-1/+2
* | | resolve merge conflicts of fe8e356 to nyc-dev-plus-aospTao Bao2016-06-031-1/+91
|\ \ \ | | |/ | |/|
| * | recovery: Add support to brick a device.Tao Bao2016-06-031-1/+91
| * | recovery: Always log the update attempt.Tao Bao2016-05-031-0/+4
* | | resolve merge conflicts of 50f6417 to nyc-dev-plus-aospTianjie Xu2016-05-231-2/+14
|\ \ \ | | |/ | |/|
| * | Allow recovery to return error codesTianjie Xu2016-05-201-2/+14
* | | resolve merge conflicts of 5823dd4 to nyc-dev-plus-aospTianjie Xu2016-05-021-0/+6
|\| |
| * | Merge "Add ability to show "installing security update"" into nyc-devTianjie Xu2016-05-021-0/+6
| |\ \
| | * | Add ability to show "installing security update"Tianjie Xu2016-04-291-0/+6
* | | | recovery: Always log the update attempt.Tao Bao2016-05-021-0/+4
|\| | |
| * | | recovery: Always log the update attempt.Tao Bao2016-04-301-0/+4
| |/ /
* | | Merge "Fix google-runtime-int warnings." am: a1f4a1eChih-hung Hsieh2016-04-191-4/+4
|\ \ \ | | |/ | |/|
| * | Fix google-runtime-int warnings.Chih-Hung Hsieh2016-04-181-4/+4
* | | Merge "Update the system update animation." into nyc-devElliott Hughes2016-04-151-1/+36
|\ \ \ | | |/ | |/|
| * | Update the system update animation.Elliott Hughes2016-04-151-1/+36
| * | recovery: use __android_log_pmsg_file_write for log filesMark Salyzyn2016-03-311-12/+97
| * | Reboot and retry on I/O errorsTianjie Xu2016-03-101-1/+46
| * | recovery: Handle devices without /cache partition.Tao Bao2016-03-041-10/+29
* | | Merge "Move selinux dependencies out of header files." am: 8124750Elliott Hughes2016-04-021-2/+3
|\ \ \ | | |/ | |/|
| * | Move selinux dependencies out of header files.Elliott Hughes2016-04-021-2/+3
* | | Merge "recovery: use __android_log_pmsg_file_write for log files" am: 75da771Mark Salyzyn2016-03-311-12/+97
|\| |
| * | recovery: use __android_log_pmsg_file_write for log filesMark Salyzyn2016-03-281-12/+97
* | | Merge "Clean up intent_file related code in recovery.cpp"Tianjie Xu2016-03-251-23/+5
|\| |
| * | Clean up intent_file related code in recovery.cppTianjie Xu2016-03-241-23/+5
* | | Merge "Reboot and retry on I/O errors" am: 94dc34148cTianjie Xu2016-03-081-1/+46
|\| |
| * | Merge "Reboot and retry on I/O errors"Tianjie Xu2016-03-081-1/+46
| |\ \
| | * | Reboot and retry on I/O errorsTianjie Xu2016-03-031-1/+46
* | | | Merge "recovery: Handle devices without /cache partition." am: 479d9dc2f2Tao Bao2016-03-041-10/+29
|\| | | | |_|/ |/| |
| * | recovery: Handle devices without /cache partition.Tao Bao2016-03-031-10/+29
| |/
| * recovery: check battery level before installing package.Yabin Cui2016-02-201-15/+84
* | Move recovery's convert_fbe folder to /tmpPaul Lawrence2016-02-251-4/+7
* | recovery: check battery level before installing package.Yabin Cui2016-02-231-15/+84
* | Merge "recovery: Fork a process for fuse when sideloading from SD card." am: 37e3c71da3Tao Bao2016-01-141-4/+57
|\|
| * recovery: Fork a process for fuse when sideloading from SD card.Tao Bao2016-01-141-4/+57
* | Merge "Track rename from base/ to android-base/." am: 06ca938ce2Elliott Hughes2015-12-051-2/+2
|\|
| * Track rename from base/ to android-base/.Elliott Hughes2015-12-051-2/+2
* | Merge "Track name change from adb_main to adb_server_main." am: ee5c87eea7Elliott Hughes2015-11-201-1/+1
|\|
| * Track name change from adb_main to adb_server_main.Elliott Hughes2015-11-201-1/+1
* | Create convert_fbe breadcrumb file to support conversion to FBEPaul Lawrence2015-11-131-1/+23
|/
* recovery: Add timestamps in update logs.Tao Bao2015-09-171-16/+98
* recovery: Remove redirect_stdio() when calling ShowFile().Tao Bao2015-09-101-3/+0
* Merge "Fix potential crash"Tao Bao2015-08-111-5/+9
|\
| * Fix potential crashJeremy Compostella2015-08-051-5/+9
* | Fix recovery image build.Elliott Hughes2015-08-071-1/+1
|/
* recovery: Allow "Mount /system" for system_root_image.Tao Bao2015-07-311-2/+17
* Merge "Unmount sdcard if no package file is selected."Elliott Hughes2015-06-111-0/+1
|\
| * Unmount sdcard if no package file is selected.caozhiyuan2015-06-101-0/+1
* | Split WipeData into PreWipeData and PostWipeData.Elliott Hughes2015-06-101-17/+12
|/
* recovery: Switch to clangTao Bao2015-06-031-6/+15
* Clean up the sleep()'s after poking init servicesTao Bao2015-05-271-8/+11
* Add an alternate screen for viewing recovery logs.Elliott Hughes2015-05-071-4/+5
* Keep multiple kernel logsTao Bao2015-05-051-82/+73
* Turn on text display for debuggable buildsTao Bao2015-05-041-0/+7
* Move the menu header out of the menu.Elliott Hughes2015-04-141-10/+4
* Add missing \n after "Mounting /system." message.Elliott Hughes2015-04-131-1/+1
* Revert "Append kernel logs to last_log file"Tao Bao2015-04-111-46/+42
* Append kernel logs to last_log fileTao Bao2015-04-111-42/+46
* Switch minadb over to C++.Elliott Hughes2015-04-101-2/+0
* Fix ScreenRecoveryUI to handle devices without power/up/down.Elliott Hughes2015-04-101-4/+2
* Move "Mount /system" to the main menu.Elliott Hughes2015-04-101-5/+7
* Move the recovery image version out of the menu header.Elliott Hughes2015-04-101-21/+7
* Move file paging into ScreenRecoveryUI.Elliott Hughes2015-04-091-57/+6
* Enable printf format argument checking.Elliott Hughes2015-04-091-1/+1
* Rotate logs only when there are actual operationsTao Bao2015-04-081-9/+28
* Refactor the codes to call wipe_data/wipe_cache functionsTao Bao2015-03-311-22/+36
* Revert "Erase PST partition if its marked to be erased."Andres Morales2015-03-311-2/+0
* Add support to enter sideload mode directlyTao Bao2015-03-301-26/+49
* Factor out the "yes/no" menu and use it for "Wipe cache" too.Elliott Hughes2015-03-261-60/+35
* Factor out option variables from int to bool typesTao Bao2015-03-251-6/+8
* Fix wipe command when using sideload in recoveryChristian Poetzsch2015-03-241-52/+47
* Add "Apply update from sdcard" to default recovery image.Elliott Hughes2015-03-231-3/+7
* am 2d102225: Merge "Kill of most of the remainder of minadbd."Dan Albert2015-02-201-2/+2
|\
| * Kill of most of the remainder of minadbd.Dan Albert2015-02-201-2/+2
* | resolved conflicts for merge of 35efcd27 to lmp-mr1-dev-plus-aospElliott Hughes2015-02-111-3/+6
|\|
| * recovery: Properly detect userdebug or eng buildsElliott Hughes2015-02-101-3/+6
* | Add basic navigation controls to log viewer.Patrick Tjin2014-12-101-2/+36
* | Save kernel logs to /cache/recoveryPatrick Tjin2014-12-101-6/+60
* | Make /cache/recovery/last_log available in recoveryNick Kralevich2014-10-231-4/+73
|/
* Include reason when wiping data.Jeff Sharkey2014-09-241-0/+4
* Erase PST partition if its marked to be erased.Andres Morales2014-08-061-0/+2
* do sdcard sideloading through the fuse filesystemDoug Zongker2014-07-101-101/+9
* drop APPLY_CACHE and refactor APPLY_EXTDoug Zongker2014-07-081-63/+45
* sideload without holding the whole package in RAMDoug Zongker2014-07-021-2/+2
* add reboot-to-bootloader and power down options to recovery menuDoug Zongker2014-04-011-17/+38
* am b4bbf887: resolved conflicts for merge of 708aa238 to klp-modular-dev-plus-aospDoug Zongker2014-03-181-4/+10
|\
| * resolved conflicts for merge of 708aa238 to klp-modular-dev-plus-aospDoug Zongker2014-03-181-4/+10
| |\
| | * add --shutdown_after option to recoveryDoug Zongker2014-03-181-4/+10
* | | am 80c1a386: resolved conflicts for merge of d90da130 to klp-modular-dev-plus-aospDoug Zongker2014-03-181-1/+1
|\| |
| * | resolved conflicts for merge of d90da130 to klp-modular-dev-plus-aospDoug Zongker2014-03-181-1/+1
| |\|
| | * refactor image resource loading code in minuiDoug Zongker2014-03-171-1/+1
* | | am 4b6de1ba: am 026ebe02: Merge "Recovery 64-bit compile issues"Mark Salyzyn2014-03-141-2/+2
|\| |
| * | am 026ebe02: Merge "Recovery 64-bit compile issues"Mark Salyzyn2014-03-141-2/+2
| |\|
| | * Recovery 64-bit compile issuesMark Salyzyn2014-03-141-2/+2
* | | clean up some warnings when building recoveryDoug Zongker2014-02-141-1/+1
* | | log extra info for debuggingDoug Zongker2014-01-211-1/+1
|/ /
* / add the functions for multi-stage packages to updaterDoug Zongker2013-11-271-0/+18
|/
* recovery: fix use of init reboot methodDoug Zongker2013-09-031-1/+1
* recovery: fix rebootingDoug Zongker2013-08-301-1/+1
* recovery: install packages in a known mount environmentDoug Zongker2013-08-211-5/+0
* notify about pending long pressDoug Zongker2013-07-311-8/+6
* Merge "recovery: preserve recovery logs across cache wipes"Doug Zongker2013-07-091-2/+76
|\
| * recovery: preserve recovery logs across cache wipesDoug Zongker2013-07-091-2/+76
* | recovery: move log output to stdoutDoug Zongker2013-07-091-2/+1
|/
* recovery: copy logs to cache more aggressivelyDoug Zongker2013-07-021-9/+17
* am d51bfc9b: Merge "Fix the potential segmentation fault"Doug Zongker2013-06-041-1/+7
|\
| * Fix the potential segmentation faultJin Feng2013-06-041-1/+7
* | recovery: save logs from the last few invocations of recoveryDoug Zongker2013-05-211-1/+19
* | recovery: turn on text display for install errors in debug buildsDoug Zongker2013-05-211-2/+33
* | more font improvements and cleanupDoug Zongker2013-03-071-1/+0
|/
* resolved conflicts for merge of 78afed1c to jb-mr1-dev-plus-aospKenny Root2012-10-171-2/+0
|\
| * Remove HAVE_SELINUX guardsKenny Root2012-10-161-2/+0
* | recovery: fix failure to unmount "/cache"Devin Kim2012-10-091-0/+1
* | display error state on OTA failureDoug Zongker2012-09-241-4/+13
* | localization for recovery messagesDoug Zongker2012-09-181-1/+2
* | recovery locale handling fixesDoug Zongker2012-08-301-1/+1
* | change recovery images to android with spinnerDoug Zongker2012-08-231-9/+12
* | add simple text to recovery UIDoug Zongker2012-08-231-10/+53
|/
* am e5d5ac76: minor recovery changesDoug Zongker2012-04-121-2/+6
|\
| * minor recovery changesDoug Zongker2012-04-121-2/+6
| * support "sideload over ADB" modeDoug Zongker2012-01-181-0/+32
| * move key processing to RecoveryUIDoug Zongker2011-11-011-3/+1
| * C++ class for device-specific codeDoug Zongker2011-10-311-36/+34
| * refactor ui functions into a classDoug Zongker2011-10-291-44/+51
| * turn recovery into a C++ binaryDoug Zongker2011-10-281-0/+826
* Update merge for SELinux to compileKenny Root2012-04-081-1/+1
* resolved conflicts for merge of 0b1fee1b to masterKenny Root2012-03-311-1/+16
* support "sideload over ADB" modeDoug Zongker2012-01-101-0/+32
* mount cache before sideloading from external storageDoug Zongker2011-12-141-0/+4
* move key processing to RecoveryUIDoug Zongker2011-11-041-3/+1
* C++ class for device-specific codeDoug Zongker2011-10-311-36/+34
* refactor ui functions into a classDoug Zongker2011-10-311-44/+51
* turn recovery into a C++ binaryDoug Zongker2011-10-311-0/+826