commit | 3c62b67faf8a25f1dd1c44dc19759c3997fdfd36 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Fri Feb 05 18:25:58 2016 -0800 |
committer | Tianjie Xu <xunchang@google.com> | Wed Mar 02 17:31:05 2016 -0800 |
tree | 5b5de8d81fe220d4331cc2284c87686708283d7a | |
parent | 5ffc038be6cffd9155fce4f2212ff351415ee7ba [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
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