commit | 28c1e5d3aa9610db6e141380b1435937fc7f07db | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Thu Jun 30 15:31:51 2016 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Thu Jun 30 19:46:01 2016 -0700 |
tree | 1402910f85af3b8ea245a08751b61418588cfede | |
parent | fb1dca351d680ae6dab0fe483717a53d6e02b063 [diff] |
Allow uncrypt to work without socket communication It was inconvenient to uncrypt a update package under adb shell because the uncrypt executable required a socket to start its job. Add a workaround to allow uncrypt executes without socket communication. Test: run uncrypt under adb shell, and the block map generates successfully Bug: 29906218 Change-Id: Ibc328b31636d925dc429ede8dcec7392a721dd53
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