# Disable dm-verity Source: [https://docs.qualcomm.com/doc/80-88500-3/topic/116_Disable_dm_verity.html](https://docs.qualcomm.com/doc/80-88500-3/topic/116_Disable_dm_verity.html) To disable the `dm-verity`, do the following: ## Runtime Run the following command: adb disable-verity Copy to clipboard Disabling the `dm-verity` at runtime is intended only for debugging purpose. After the `dm-verity` is disabled and debugging is complete, it cannot be re-enabled and the system image must be reflashed. To reflash the system image, use the following commands. adb disable-verity Copy to clipboard adb rebootCopy to clipboard adb rootCopy to clipboard adb remountCopy to clipboard adb shellCopy to clipboard mount -o remount,rw /Copy to clipboard touch file.txtCopy to clipboard touch system/file.txtCopy to clipboard ## Compile time Comment as follows in the poky/meta-qti-bsp/conf/distro/include/qti-distro-base.inc file: DISTRO_FEATURES += "dm-verity”Copy to clipboard Note: Disabling the `dm-verity` at compile time is intended only for convenience during the development phase. On production builds, the `dm-verity` must not be disabled. **Parent Topic:** [Configure security settings](https://docs.qualcomm.com/doc/80-88500-3/topic/113_Configure_security_settings.html) Last Published: Sep 26, 2023 [Previous Topic Validate dm-verity](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/115_Validate_dm_verity.md) [Next Topic Configure file-based encryption partition](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/133_Configure_file_based_encryption_partition.md)