commit | a029c9a45888141a2fa382e0b1868e55db1f36d2 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Feb 18 11:32:10 2016 -0800 |
committer | Yabin Cui <yabinc@google.com> | Thu Feb 18 14:07:36 2016 -0800 |
tree | 1ee2461dbe4fa8711298ce4ad36ae3c49640afae | |
parent | 4b327342fca49ec4ae4ee01437641244a9ac20d2 [diff] |
Fix integer overflows in recovery procedure. Bug: 26960931 Change-Id: Ieae45caccfb4728fcf514f0d920976585d8e6caf
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