commit | 568700189528c69a6cdd7a246127ce01463e033d | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Fri Apr 29 15:37:05 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Fri Apr 29 15:41:25 2016 -0700 |
tree | 231b692efe6b179f765df0db82b65ec0920cf30b | |
parent | 343eb722ddd0146e5c752419b3ff9537cfa2d31d [diff] |
recovery: Always log the update attempt. An OTA may be skipped due to low battery. But we should always log it to understand why an update _fails_ to apply. Bug: 27893175 Change-Id: I50a3fbbb3e51035e0ac5f1cca150e283852825c3
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