commit | ccb0ba908a40df2d97afcaa9c7bf1bd7efa8fcfd | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Sat Jun 11 03:56:38 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Thu Jun 30 17:04:12 2016 -0700 |
tree | e6c5499d7bc8135c740889ee6bf6e969cf089e74 | |
parent | 2f272c0551f984e83bc5abaf240e0dddb38a3326 [diff] |
updater: Fix the broken ReadFileFn. Was accidentally broken by the CL in [1]. [1]: commit d6c93afcc28cc65217ba65eeb646009c4f15a2ad Bug: 29767315 Change-Id: I851e13ccea6f5be6fcd47f712cc95867245f9934 (cherry picked from commit efacd80364c7ed42d56310949790d89febaf3444)
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