commit | 29dd6b6c01295222fee5ef2fc70692b2ecb12504 | [log] [tgz] |
---|---|---|
author | Johan Harvyl <johan.harvyl@sonymobile.com> | Mon Aug 08 12:37:56 2016 +0200 |
committer | Johan Redestig <johan.redestig@sonymobile.com> | Fri Aug 12 16:13:50 2016 +0200 |
tree | a84d7ca8e180f33b2297063fb3e827aa08741b6b | |
parent | 8a4333f3b9e512796d3f9488d80a7815c0c29ac5 [diff] |
Format formattable partitions if mount fails If mount fails and the partition has the formattable flag set in fstab it is formatted and another attempt at the mount is made. Change-Id: I44edafac7d7ff663489072c66b7e210466316b14
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