commit | 99ad9dac6a393bf3bd6004185f4b14f3205dd086 | [log] [tgz] |
---|---|---|
author | Ameya Thakur <ameyat@codeaurora.org> | Tue Jan 19 12:43:32 2016 -0800 |
committer | Ameya Thakur <ameyat@codeaurora.org> | Tue Nov 22 11:47:25 2016 -0800 |
tree | 06ba5a114ede7396d11e1ae81db61a129feee3ae | |
parent | 9944e10643034bb9efcbe86b198a40516e7c5aea [diff] |
recovery: Reboot the device after recovery/FDR Fix a issue seen on userdebug or eng builds where the device would show the UI with the recovery logs after a successful FDR or recovery. We now correctly reboot to normal mode after recovery. Change-Id: I7e8090da88b3d4b953b0fa5426161b9ce8be6c1a
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