commit | da654af606d700c0a467c27025fb7f6ef745936d | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Fri Jul 15 16:15:42 2016 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Fri Jul 15 16:30:12 2016 -0700 |
tree | 0183f143286807666961eeb31435c3ad858d861c | |
parent | 4bbe0c93c80789891d54a74424731caffda0d0db [diff] |
Skip update verification if care_map is not found Recently flashed devices may not have care_map.txt in /data/ota_package. This leads to a failure of update-verifier and prevents boot success flag from being set. So, we need to skip verification in case the file is not found. Error message: ... I update_verifier: Started with arg 1: nonencrypted ... I update_verifier: Booting slot 1: isSlotMarkedSuccessful=0 ... E update_verifier: Care map /data/ota_package/care_map.txt not found. ... E update_verifier: Failed to verify all blocks in care map file Bug: 30156449 Change-Id: Ia15f5f3e7ca2ea6981d49678e799b9f70d134faa
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