Clone this repo:


  1. e53ecc4 recovery:updater: Changes to support 32->64 bit upgrades by padarshr · 7 years ago n
  2. 49e7b89 recovery: Update to match change with fs_mgr & BoringSSL by Hriday Sharma · 6 years ago
  3. 5c81cc1 recovery: Prevent mounting system image if MDTP is activated by Amit Blay · 6 years ago
  4. cc8897b recovery: Add support for MDTP by Amit Blay · 7 years ago
  5. 461ed46 merge in nyc-release history after reset to nyc-dev by The Android Automerger · 6 years ago

The Recovery Image

Quick turn-around testing

mm -j && m ramdisk-nodeps && m recoveryimage-nodeps

# To boot into the new recovery image
# without flashing the recovery partition:
adb reboot bootloader
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.
adb root
adb sync data

# 32-bit device
adb shell /data/nativetest/recovery_unit_test/recovery_unit_test
adb shell /data/nativetest/recovery_component_test/recovery_component_test

# Or 64-bit device
adb shell /data/nativetest64/recovery_unit_test/recovery_unit_test
adb shell /data/nativetest64/recovery_component_test/recovery_component_test