commit | 99281df8e2eb6a302ccbcfd790a6889392541264 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Feb 17 12:21:52 2016 -0800 |
committer | Yabin Cui <yabinc@google.com> | Tue Feb 23 11:03:10 2016 -0800 |
tree | 2126fe6de4564bea444d6514ef75a8d71769b1d4 | |
parent | 089fe38ac5a3f12588cc5728ee11a1b0c6f436f3 [diff] |
recovery: check battery level before installing package. Bug: 26879394 Change-Id: I63dce5bc50c2e104129f1bcab7d3cad5682bf45d (cherry picked from commit 53e7a0628f4acc95481f556ba51800df4a1de37d)
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