commit | 03ca853a1c8b974152b7c56cb887ac2f36cfd833 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Mon Feb 29 16:08:06 2016 -0800 |
committer | Tianjie Xu <xunchang@google.com> | Thu Jul 14 14:31:39 2016 -0700 |
tree | be1b3df3ec0b90264aecbeaddaacb95d5f679395 | |
parent | 6d089a955f53ddeacdfa1396ad99f0c00d406175 [diff] |
Touch blocks in care_map in update_verifier Read all blocks in system and vendor partition during boot time so that dm-verity could verify this partition is properly flashed. Bug: 27175949 Change-Id: I38ff7b18ee4f2733e639b89633d36f5ed551c989
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