summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-12-14 20:01:43 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-12-14 20:01:43 +0100
commit4a9fe8e1d210438f23513b529e13ac8ea42adff2 (patch)
treeb8505ee459d422f782138b2d818ad2e83c4402d3 /recovery.cpp
parentMerge "Add tests for setup-bcb and clear-bcb via uncrypt." am: 4e48a6c1a1 am: af62097c08 am: b1e8150c44 (diff)
parentMerge "Remove the obsolete comments for firmware update." am: 833ecb03f2 am: 527f08ed0b (diff)
downloadandroid_bootable_recovery-4a9fe8e1d210438f23513b529e13ac8ea42adff2.tar
android_bootable_recovery-4a9fe8e1d210438f23513b529e13ac8ea42adff2.tar.gz
android_bootable_recovery-4a9fe8e1d210438f23513b529e13ac8ea42adff2.tar.bz2
android_bootable_recovery-4a9fe8e1d210438f23513b529e13ac8ea42adff2.tar.lz
android_bootable_recovery-4a9fe8e1d210438f23513b529e13ac8ea42adff2.tar.xz
android_bootable_recovery-4a9fe8e1d210438f23513b529e13ac8ea42adff2.tar.zst
android_bootable_recovery-4a9fe8e1d210438f23513b529e13ac8ea42adff2.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 5213301c9..f53e20c8c 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -169,21 +169,7 @@ struct selabel_handle* sehandle;
* -- after this, rebooting will (try to) restart the main system --
* 7. ** if install failed **
* 7a. prompt_and_wait() shows an error icon and waits for the user
- * 7b; the user reboots (pulling the battery, etc) into the main system
- * 8. main() calls maybe_install_firmware_update()
- * ** if the update contained radio/hboot firmware **:
- * 8a. m_i_f_u() writes BCB with "boot-recovery" and "--wipe_cache"
- * -- after this, rebooting will reformat cache & restart main system --
- * 8b. m_i_f_u() writes firmware image into raw cache partition
- * 8c. m_i_f_u() writes BCB with "update-radio/hboot" and "--wipe_cache"
- * -- after this, rebooting will attempt to reinstall firmware --
- * 8d. bootloader tries to flash firmware
- * 8e. bootloader writes BCB with "boot-recovery" (keeping "--wipe_cache")
- * -- after this, rebooting will reformat cache & restart main system --
- * 8f. erase_volume() reformats /cache
- * 8g. finish_recovery() erases BCB
- * -- after this, rebooting will (try to) restart the main system --
- * 9. main() calls reboot() to boot main system
+ * 7b. the user reboots (pulling the battery, etc) into the main system
*/
// open a given path, mounting partitions as necessary