commit | c37c5c3410b1cae1d62e344b9b5db6d191db6235 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Thu Jun 23 16:52:17 2016 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Thu Jun 23 17:15:25 2016 -0700 |
tree | 590b35ad3b195c22e9b630733c9e821e2b437e37 | |
parent | 31f8cc84cfc14eecdd96c6ca8eb411aa8610db22 [diff] |
Increase EIO retry count Increase the number of attempts of an OTA update from 3 to 5 in case an I/O error happened. This should increase the success rate of the update. Bug: 29619468 Change-Id: I88a067d9debd55a07be22ed981f395f6e47ec28f
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