commit | a54f75ede8f5404c2c55b4f928e73fe9c908298e | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Wed Aug 17 12:02:46 2016 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Wed Aug 17 12:35:22 2016 -0700 |
tree | 572c607950ac07d51aa958d5c142c6371fb95037 | |
parent | cb76857147522402a1202ea84c63da3c7452fcd6 [diff] |
"view recovery logs" will show /tmp/recovery.log For A/B devices, "view recovery logs" doesn't work due to the lack of cache partition. To help debugging, we'll show /tmp/recovery.log instead if /cache is not found. Change-Id: Idb77c3a4c30388148a210b38d732a7b27e757bba Test: Tested on an A/B device and /tmp/recovery.log showed up. Bug: 30905700
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