commit | 37c45027bbecfdf3aee6e0ca3a499d869cfb65e1 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Fri Apr 29 15:37:05 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Mon May 02 21:27:43 2016 -0700 |
tree | ccaaa366f6b536cb7cbf287f1b1392114c3d0b0f | |
parent | fafa6a65314a5550a045c96768f595567db7bc2d [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 (cherry picked from commit 568700189528c69a6cdd7a246127ce01463e033d)
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