summaryrefslogtreecommitdiffstats
path: root/recovery.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2016-11-04Cleanup the duplicates of logs rotation functionsTianjie Xu1-84/+6
2016-11-03Revert "Revert "Some cleanups to recovery.""Tao Bao1-57/+53
2016-10-27Revert "Some cleanups to recovery."Dan Albert1-53/+57
2016-10-26Some cleanups to recovery.Tao Bao1-57/+53
2016-10-26Skip update-on-boot for bootreason in blacklistTianjie Xu1-13/+39
2016-10-19Verify wipe package when wiping A/B device in recovery.Yabin Cui1-2/+71
2016-10-19Clean up bootloader_message usage in recoveryTianjie Xu1-29/+13
2016-10-18Create bootloader_message static library.Yabin Cui1-25/+38
2016-10-18Replace minzip with libziparchiveTianjie Xu1-1/+2
2016-10-07No longer need android/log.hMark Salyzyn1-1/+0
2016-09-30Turn on -Werror for recoveryTianjie Xu1-3/+3
2016-09-30Turn on -Werror for recoveryTianjie Xu1-3/+3
2016-09-27DO NOT MERGE Duplicate the last_install content into last_log.Tao Bao1-8/+11
2016-09-26Duplicate the last_install content into last_log.Tao Bao1-8/+11
2016-09-26Duplicate the last_install content into last_log.Tao Bao1-8/+12
2016-09-26Switch to <android-base/properties.h>.Elliott Hughes1-12/+8
2016-09-01Switch recovery to libbase loggingTianjie Xu1-39/+60
2016-09-01Switch recovery to libbase loggingTianjie Xu1-29/+50
2016-08-30minadbd: rename adb_server_main to minadbd_main.Josh Gao1-1/+2
2016-08-18"view recovery logs" will show /tmp/recovery.logTianjie Xu1-31/+36
2016-08-17"view recovery logs" will show /tmp/recovery.logTianjie Xu1-31/+36
2016-08-08Handle error from fopen_path in finish_recoveryJohan Harvyl1-4/+6
2016-07-27Fix clang-tidy performance warnings.Chih-Hung Hsieh1-1/+1
2016-07-12Skip update-on-boot for bootreason in blacklistTianjie Xu1-9/+36
2016-06-30Create bootloader_message static library.Yabin Cui1-15/+29
2016-06-24Increase EIO retry countTianjie Xu1-1/+2
2016-06-21Verify wipe package when wiping A/B device in recovery.Yabin Cui1-2/+71
2016-06-10recovery: Track the name change for wipe_ab.Tao Bao1-12/+12
2016-06-03recovery: Add support to brick a device.Tao Bao1-1/+91
2016-06-03recovery: Add support to brick a device.Tao Bao1-1/+91
2016-05-20Allow recovery to return error codesTianjie Xu1-2/+14
2016-05-03recovery: Always log the update attempt.Tao Bao1-0/+4
2016-04-30recovery: Always log the update attempt.Tao Bao1-0/+4
2016-04-29Add ability to show "installing security update"Tianjie Xu1-0/+6
2016-04-18Fix google-runtime-int warnings.Chih-Hung Hsieh1-4/+4
2016-04-15Update the system update animation.Elliott Hughes1-1/+36
2016-04-02Move selinux dependencies out of header files.Elliott Hughes1-2/+3
2016-03-31recovery: use __android_log_pmsg_file_write for log filesMark Salyzyn1-12/+97
2016-03-28recovery: use __android_log_pmsg_file_write for log filesMark Salyzyn1-12/+97
2016-03-24Clean up intent_file related code in recovery.cppTianjie Xu1-23/+5
2016-03-10Reboot and retry on I/O errorsTianjie Xu1-1/+46
2016-03-04recovery: Handle devices without /cache partition.Tao Bao1-10/+29
2016-03-03Reboot and retry on I/O errorsTianjie Xu1-1/+46
2016-03-03recovery: Handle devices without /cache partition.Tao Bao1-10/+29
2016-02-25Move recovery's convert_fbe folder to /tmpPaul Lawrence1-4/+7
2016-02-23recovery: check battery level before installing package.Yabin Cui1-15/+84
2016-02-20recovery: check battery level before installing package.Yabin Cui1-15/+84
2016-01-14recovery: Fork a process for fuse when sideloading from SD card.Tao Bao1-4/+57
2015-12-05Track rename from base/ to android-base/.Elliott Hughes1-2/+2
2015-11-20Track name change from adb_main to adb_server_main.Elliott Hughes1-1/+1
2015-11-16recovery: Allow "Mount /system" for system_root_image.Tao Bao1-2/+17
2015-11-16recovery: Switch to clangTao Bao1-6/+15
2015-11-13Create convert_fbe breadcrumb file to support conversion to FBEPaul Lawrence1-1/+23
2015-09-17recovery: Add timestamps in update logs.Tao Bao1-16/+98
2015-09-10recovery: Remove redirect_stdio() when calling ShowFile().Tao Bao1-3/+0
2015-08-07Fix recovery image build.Elliott Hughes1-1/+1
2015-08-05Fix potential crashJeremy Compostella1-5/+9
2015-07-31recovery: Allow "Mount /system" for system_root_image.Tao Bao1-2/+17
2015-06-10Split WipeData into PreWipeData and PostWipeData.Elliott Hughes1-17/+12
2015-06-10Split WipeData into PreWipeData and PostWipeData.Elliott Hughes1-17/+12
2015-06-10Unmount sdcard if no package file is selected.caozhiyuan1-0/+1
2015-06-03recovery: Switch to clangTao Bao1-6/+15
2015-05-27Clean up the sleep()'s after poking init servicesTao Bao1-8/+11
2015-05-07Add an alternate screen for viewing recovery logs.Elliott Hughes1-4/+5
2015-05-07Add an alternate screen for viewing recovery logs.Elliott Hughes1-4/+5
2015-05-05Keep multiple kernel logsTao Bao1-82/+73
2015-05-05Keep multiple kernel logsTao Bao1-82/+73
2015-05-04Turn on text display for debuggable buildsTao Bao1-0/+7
2015-05-04Turn on text display for debuggable buildsTao Bao1-0/+7
2015-04-14Move the menu header out of the menu.Elliott Hughes1-10/+4
2015-04-13Add missing \n after "Mounting /system." message.Elliott Hughes1-1/+1
2015-04-11Revert "Append kernel logs to last_log file"Tao Bao1-46/+42
2015-04-11Append kernel logs to last_log fileTao Bao1-42/+46
2015-04-10Switch minadb over to C++.Elliott Hughes1-2/+0
2015-04-10Fix ScreenRecoveryUI to handle devices without power/up/down.Elliott Hughes1-4/+2
2015-04-10Move "Mount /system" to the main menu.Elliott Hughes1-5/+7
2015-04-10Move the recovery image version out of the menu header.Elliott Hughes1-21/+7
2015-04-09Move file paging into ScreenRecoveryUI.Elliott Hughes1-57/+6
2015-04-09Enable printf format argument checking.Elliott Hughes1-1/+1
2015-04-08Rotate logs only when there are actual operationsTao Bao1-9/+28
2015-04-02DO NOT MERGE Revert "Erase PST partition if its marked to be erased."Andres Morales1-2/+0
2015-03-31Refactor the codes to call wipe_data/wipe_cache functionsTao Bao1-22/+36
2015-03-31Revert "Erase PST partition if its marked to be erased."Andres Morales1-2/+0
2015-03-30Add support to enter sideload mode directlyTao Bao1-26/+49
2015-03-30Revert "Erase PST partition if its marked to be erased."Andres Morales1-2/+0
2015-03-26Factor out the "yes/no" menu and use it for "Wipe cache" too.Elliott Hughes1-60/+35
2015-03-25Factor out option variables from int to bool typesTao Bao1-6/+8
2015-03-24Fix wipe command when using sideload in recoveryChristian Poetzsch1-52/+47
2015-03-23Add "Apply update from sdcard" to default recovery image.Elliott Hughes1-3/+7
2015-03-11updater: Check the return value from ApplyImagePatch / ApplyBSDiffPatchTao Bao1-0/+1
2015-02-20Kill of most of the remainder of minadbd.Dan Albert1-2/+2
2015-02-10recovery: Properly detect userdebug or eng buildsElliott Hughes1-3/+6
2014-12-10Add basic navigation controls to log viewer.Patrick Tjin1-2/+36
2014-12-10Save kernel logs to /cache/recoveryPatrick Tjin1-6/+60
2014-10-23Make /cache/recovery/last_log available in recoveryNick Kralevich1-4/+73
2014-09-24Include reason when wiping data.Jeff Sharkey1-0/+4
2014-08-06Erase PST partition if its marked to be erased.Andres Morales1-0/+2
2014-07-10do sdcard sideloading through the fuse filesystemDoug Zongker1-101/+9
2014-07-08drop APPLY_CACHE and refactor APPLY_EXTDoug Zongker1-63/+45
2014-07-02sideload without holding the whole package in RAMDoug Zongker1-2/+2
2014-04-01add reboot-to-bootloader and power down options to recovery menuDoug Zongker1-17/+38
2014-03-18add --shutdown_after option to recoveryDoug Zongker1-4/+10
2014-03-18add --shutdown_after option to recoveryDoug Zongker1-4/+10
2014-03-17refactor image resource loading code in minuiDoug Zongker1-1/+1
2014-03-14Recovery 64-bit compile issuesMark Salyzyn1-2/+2
2014-02-14clean up some warnings when building recoveryDoug Zongker1-1/+1
2014-01-21log extra info for debuggingDoug Zongker1-1/+1
2013-11-27add the functions for multi-stage packages to updaterDoug Zongker1-0/+18
2013-09-04recovery: fix use of init reboot methodDoug Zongker1-1/+1
2013-09-03recovery: fix use of init reboot methodDoug Zongker1-1/+1
2013-08-30recovery: fix rebootingDoug Zongker1-1/+1
2013-08-21recovery: install packages in a known mount environmentDoug Zongker1-5/+0
2013-07-31notify about pending long pressDoug Zongker1-8/+6
2013-07-09recovery: preserve recovery logs across cache wipesDoug Zongker1-2/+76
2013-07-09recovery: move log output to stdoutDoug Zongker1-2/+1
2013-07-02recovery: copy logs to cache more aggressivelyDoug Zongker1-9/+17
2013-06-04Fix the potential segmentation faultJin Feng1-1/+7
2013-05-21recovery: save logs from the last few invocations of recoveryDoug Zongker1-1/+19
2013-05-21recovery: turn on text display for install errors in debug buildsDoug Zongker1-2/+33
2013-05-16recovery: save logs from the last few invocations of recoveryDoug Zongker1-1/+19
2013-05-16recovery: turn on text display for install errors in debug buildsDoug Zongker1-2/+33
2013-03-07more font improvements and cleanupDoug Zongker1-1/+0
2012-10-16Remove HAVE_SELINUX guardsKenny Root1-2/+0
2012-10-09recovery: fix failure to unmount "/cache"Devin Kim1-0/+1
2012-09-24display error state on OTA failureDoug Zongker1-4/+13
2012-09-19localization for recovery messagesDoug Zongker1-1/+2
2012-09-18localization for recovery messagesDoug Zongker1-1/+2
2012-08-30recovery locale handling fixesDoug Zongker1-1/+1
2012-08-23change recovery images to android with spinnerDoug Zongker1-9/+12
2012-08-23add simple text to recovery UIDoug Zongker1-10/+53
2012-04-12minor recovery changesDoug Zongker1-2/+6
2012-04-08Update merge for SELinux to compileKenny Root1-1/+1
2012-01-18support "sideload over ADB" modeDoug Zongker1-0/+32
2012-01-10support "sideload over ADB" modeDoug Zongker1-0/+32
2011-12-14mount cache before sideloading from external storageDoug Zongker1-0/+4
2011-11-04move key processing to RecoveryUIDoug Zongker1-3/+1
2011-11-01move key processing to RecoveryUIDoug Zongker1-3/+1
2011-10-31C++ class for device-specific codeDoug Zongker1-36/+34
2011-10-31refactor ui functions into a classDoug Zongker1-44/+51
2011-10-31C++ class for device-specific codeDoug Zongker1-36/+34
2011-10-31turn recovery into a C++ binaryDoug Zongker1-37/+38
2011-10-28turn recovery into a C++ binaryDoug Zongker1-825/+0
2011-10-19allow recovery packages to wipe cacheDoug Zongker1-14/+44
2011-06-24Allow applying an OTA package manually from cache.Michael Ward1-9/+31
2011-04-12save a last_install file with the result of the last package install attemptDoug Zongker1-1/+1
2011-03-11Have recovery reboot using the new android_reboot() function.Ken Sumrall1-3/+2
2011-03-01make recovery UI images more general; allow for installation animationDoug Zongker1-0/+3
2011-01-25make recovery reboot after 2 minutes of no activityDoug Zongker1-0/+10
2011-01-18remove encrypted filesystem code from recoveryDoug Zongker1-63/+1
2010-11-01clear recovery framebuffers on allocation; display icon right after ui_initDoug Zongker1-0/+1
2010-09-29save the log from recovery's last run in /cache/recovery/last_logDoug Zongker1-17/+40
2010-09-22handle old-style CACHE: packagesDoug Zongker1-2/+18
2010-09-22mount sdcard only on demand; fix sideload installsDoug Zongker1-3/+6
2010-09-21remove the notion of "root path"; support mixed flash typesDoug Zongker1-76/+63
2010-09-21remove the notion of "root path"; support mixed flash types (do not merge)Doug Zongker1-76/+63
2010-09-15support for ext4/EMMC filesystems in updater binaryDoug Zongker1-6/+6
2010-09-15(cherry-pick) support installing any .zip file on the sdcardDoug Zongker1-25/+140
2010-09-03add --show_text option to recoveryDoug Zongker1-0/+2
2010-09-01Revert 21f0f97ebabb47adcbfe8d38b02685f2019b4eb3Ying Wang1-2/+1
2010-08-31Fix for crespo.Ying Wang1-1/+2
2010-08-02don't go into file select menu when mounting external storage failsDoug Zongker1-1/+4
2010-07-30generalize "install from sdcard" to "install from external storage"Doug Zongker1-4/+6
2010-07-09make a copy of sideloaded packages in /tmp before verifyingDoug Zongker1-2/+112
2010-07-02support for ext4/EMMC filesystems in updater binaryDoug Zongker1-6/+6
2010-04-08support installing any .zip file on the sdcardDoug Zongker1-20/+140
2010-04-02DO NOT MERGEOscar Montemayor1-18/+18
2010-03-27DO NOT MERGEOscar Montemayor1-43/+1
2010-03-15Encrypted File Systems part 3. Recovery changes.Oscar Montemayor1-18/+18
2010-02-03bump updater API version to 3; deprecate firmware update commandDoug Zongker1-10/+1
2010-02-02change log recovery to generic device_recovery_start functionDoug Zongker1-3/+3
2010-01-21save the recovery log from before HTC firmware updatesDoug Zongker1-1/+3
2009-12-10Recovery changes for Encrypted File Systems.Oscar Montemayor1-14/+71
2009-11-13eclair snapshotJean-Baptiste Queru1-94/+152
2009-10-06add terminator to recovery's getopt_long options arrayDoug Zongker1-0/+1
2009-09-23confirm before wiping user data in recoveryDoug Zongker1-69/+107
2009-08-25Not all failures to fopen_root_path() are serious.Jay Freeman (saurik)1-3/+6
2009-08-18do not merge: cherry-pick of c2d666bd4f6eb5f7a9f17b10435c161cb105b7c5 from masterDoug Zongker1-0/+10
2009-08-18Recovery: When updating from SD card, update can't resume automaticallyJared Suttles1-0/+10
2009-07-15remove amendDoug Zongker1-28/+1
2009-06-19add function for device-specific wipe data featuresDoug Zongker1-2/+7
2009-06-18let the "firmware" command take the file straight from the packageDoug Zongker1-1/+2
2009-06-11split out device-specific recovery UI code into vendor directoriesDoug Zongker1-42/+29
2009-06-03remove unused permissions scheme from amendDoug Zongker1-4/+0
2009-05-29don't say "install complete" when it really isn'tDoug Zongker1-1/+6
2009-04-02AI 144101: am: CL 144070 Add an option to wipe cache (only) to the recovery menu.Doug Zongker1-0/+9
2009-04-01AI 144070: Add an option to wipe cache (only) to the recovery menu.Doug Zongker1-0/+9
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-0/+471
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-471/+0
2009-02-11auto import from //branches/cupcake/...@130745The Android Open Source Project1-23/+78
2009-01-10auto import from //branches/cupcake/...@125939The Android Open Source Project1-24/+79