commit | ac9d94d19c5f0e8c769d2368790df679c665ea34 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Thu Nov 03 11:37:15 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Thu Nov 03 11:57:46 2016 -0700 |
tree | f6121362d8836f34d5e05aca8f7bd9d89d278365 | |
parent | 4011bb161a60fb04fb0d4c4c3e1090d43fcdd9e4 [diff] |
Revert "Revert "Some cleanups to recovery."" This reverts commit 8584fcf677dd45b30121bd0490b06297e6be1871. This CL re-lands commit c0319b60f56d445c2d1c74f551e01f069b028fe6. The "stage" and "reason" variables are now declared as global by dropping the static qualifier, because they may be used by vendor recovery libraries. Test: lunch aosp_angler-userdebug; mmma bootable/recovery Test: lunch aosp_dragon-userdebug; mmma bootable/recovery Change-Id: I252c346f450079478cff22bbff01590b8ab2e2b3
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
# 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