commit | fa12b9737dd4ab36c3b4abaf25eb79f692e6eba6 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Fri Feb 05 18:25:58 2016 -0800 |
committer | Tianjie Xu <xunchang@google.com> | Thu Mar 10 11:50:28 2016 -0800 |
tree | e05c8721f0961c963391ea5a0cdb56609304eb8e | |
parent | 1731f2980bfadb29105ffd566dd78885889501d8 [diff] |
Reboot and retry on I/O errors When I/O error happens, reboot and retry installation two times before we abort this OTA update. Bug: 25633753 Change-Id: Iba6d4203a343a725aa625a41d237606980d62f69 (cherry picked from commit 3c62b67faf8a25f1dd1c44dc19759c3997fdfd36)
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