commit | 68fc81e860ab58a5147a48093e57daab38ee84a3 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Sat Sep 24 15:31:34 2016 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Thu Sep 29 11:27:46 2016 -0700 |
tree | a2e264ba51c1e6848306371a1123d4bd79fe7a85 | |
parent | b0d0ee3c7db0dcbfc822935540c90cfd01cbf270 [diff] |
Report uncrypt errors in details Add the error codes for uncrypt and report the failure details in uncrypt_status. Test: uncrypt_error logs correctly in last_install Bug: 31603820 Change-Id: I8e0de845ce1707b6f8f5ae84564c5e93fd5f5ef5 (cherry picked from commit 0c68675f5ae80cd669e0bf014a69689b6fe08eee)
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