commit | 2be10be7d0721ecbff3d0270c5f3026456902b6a | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Tue Feb 23 23:00:48 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Feb 23 23:00:48 2016 +0000 |
tree | d10f18f1a15c719694e4cc4b94a21c5943ee3435 | |
parent | cc5372006f6e423e4c3f68b3dc81694fd92a7046 [diff] | |
parent | 99281df8e2eb6a302ccbcfd790a6889392541264 [diff] |
recovery: check battery level before installing package. am: 99281df8e2 * commit '99281df8e2eb6a302ccbcfd790a6889392541264': recovery: check battery level before installing package.
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