commit | e30a5b3a44c6c2134750e28a88efd5876a28bfac | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Thu Oct 13 16:04:07 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Thu Oct 13 17:17:16 2016 -0700 |
tree | 2eb12fdfc95a0f3bd4a8efec0102364fb3b4cbf5 | |
parent | 5f3982056d7ea7695faf94d592d60b73dbc7f992 [diff] |
Fix the prefix matching for uncrypt status. Also change its logging statement from PLOG to LOG, since android::base::StartsWith() doesn't set errno. Test: Build and reboot into recovery image. Check last_log. Change-Id: I55ac7eec24228db76a13580958b4a4330b06cf57 (cherry picked from commit ee9b95544a7af548e98f2b7a080e2eb7abaaf981)
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