commit | 53e7a0628f4acc95481f556ba51800df4a1de37d | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Feb 17 12:21:52 2016 -0800 |
committer | Yabin Cui <yabinc@google.com> | Fri Feb 19 18:08:09 2016 -0800 |
tree | 143a555184ff9e68c7ecf546554e8da6c4de8707 | |
parent | b30663b4a7d70886c5e8cdfce7307f0271e34de8 [diff] |
recovery: check battery level before installing package. Bug: 26879394 Change-Id: I63dce5bc50c2e104129f1bcab7d3cad5682bf45d
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