Merge "Update the instruction for building recovery image on Pixels." am: 2d6e8f2ea8
am: 41c46448a6
am: 78df66969b
Change-Id: I586524f8a2083e2957de030ede3a972fcaed9596
This commit is contained in:
commit
04783ac8e4
1 changed files with 20 additions and 6 deletions
26
README.md
26
README.md
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue