1 The Recovery Image 2 ================== 3 4 Quick turn-around testing 5 ------------------------- 6 7 mm -j && m ramdisk-nodeps && m recoveryimage-nodeps 8 9 # To boot into the new recovery image 10 # without flashing the recovery partition: 11 adb reboot bootloader 12 fastboot boot $ANDROID_PRODUCT_OUT/recovery.img 13 14 Running the tests 15 ----------------- 16 # After setting up environment and lunch. 17 mmma -j bootable/recovery 18 19 # Running the tests on device. 20 adb root 21 adb sync data 22 23 # 32-bit device 24 adb shell /data/nativetest/recovery_unit_test/recovery_unit_test 25 adb shell /data/nativetest/recovery_component_test/recovery_component_test 26 27 # Or 64-bit device 28 adb shell /data/nativetest64/recovery_unit_test/recovery_unit_test 29 adb shell /data/nativetest64/recovery_component_test/recovery_component_test 30