diff options
author | Tao Bao <tbao@google.com> | 2019-09-13 19:08:37 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-09-13 19:08:37 +0200 |
commit | 2d6e8f2ea8e5ab1ce549f9a6bf9af86ea9eff2a6 (patch) | |
tree | a53297d23d2524342dbcdd082fc8b8ea4055e4f2 /README.md | |
parent | Merge "Link libcrypto dynamically for recovery unit tests." (diff) | |
parent | Update the instruction for building recovery image on Pixels. (diff) | |
download | android_bootable_recovery-2d6e8f2ea8e5ab1ce549f9a6bf9af86ea9eff2a6.tar android_bootable_recovery-2d6e8f2ea8e5ab1ce549f9a6bf9af86ea9eff2a6.tar.gz android_bootable_recovery-2d6e8f2ea8e5ab1ce549f9a6bf9af86ea9eff2a6.tar.bz2 android_bootable_recovery-2d6e8f2ea8e5ab1ce549f9a6bf9af86ea9eff2a6.tar.lz android_bootable_recovery-2d6e8f2ea8e5ab1ce549f9a6bf9af86ea9eff2a6.tar.xz android_bootable_recovery-2d6e8f2ea8e5ab1ce549f9a6bf9af86ea9eff2a6.tar.zst android_bootable_recovery-2d6e8f2ea8e5ab1ce549f9a6bf9af86ea9eff2a6.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 20 insertions, 6 deletions
@@ -4,19 +4,33 @@ The Recovery Image Quick turn-around testing ------------------------- - mm -j && m ramdisk-nodeps && m recoveryimage-nodeps +* Devices using recovery-as-boot (e.g. Pixels, which set BOARD\_USES\_RECOVERY\_AS\_BOOT) - # To boot into the new recovery image - # without flashing the recovery partition: - adb reboot bootloader - fastboot boot $ANDROID_PRODUCT_OUT/recovery.img + # After setting up environment and lunch. + m -j bootimage + adb reboot bootloader + + # Pixel devices don't support booting into recovery mode with `fastboot boot`. + fastboot flash boot + + # Manually choose `Recovery mode` from bootloader menu. + +* Devices with a separate recovery image (e.g. Nexus) + + # After setting up environment and lunch. + mm -j && m ramdisk-nodeps && m recoveryimage-nodeps + adb reboot bootloader + + # To boot into the new recovery image without flashing the recovery partition: + fastboot boot $ANDROID_PRODUCT_OUT/recovery.img Running the tests ----------------- + # After setting up environment and lunch. mmma -j bootable/recovery - # Running the tests on device. + # Running the tests on device (under normal boot). adb root adb sync data |