commit | cc8897b9b888e24f51d8f457138011103dddc582 | [log] [tgz] |
---|---|---|
author | Amit Blay <ablay@codeaurora.org> | Sun Aug 23 20:26:31 2015 +0300 |
committer | Linux Build Service Account <lnxbuild@localhost> | Wed Aug 24 08:08:23 2016 -0600 |
tree | 68b68f447e1423ebe76c489a9673c0ceae95731e | |
parent | 461ed46ccf68c0f52992667c26a1410c1762f94b [diff] |
recovery: Add support for MDTP Mobile Device Theft Protection prevents unauthorized modification of the system image, ensuring existing of an Anti-Theft solution. During FOTA, the baseline of the system image which is stored in a dedicated DIP partition (Device Integrity Partition) is updated with the baseline of the new received system image. CRs-fixed: 777015 Change-Id: Ib2ff4bb16db5a08e69432ef3d6d7af26a447dea5
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