Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41c46448 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "Update the instruction for building recovery image on Pixels."

am: 2d6e8f2e

Change-Id: I4f009637f8a75996a43a400a5ceaed193e0e54ab
parents 97fee1c3 2d6e8f2e
Loading
Loading
Loading
Loading
+20 −6
Original line number Diff line number Diff line
@@ -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:
      # 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