Skip to main content

Posts

Showing posts with the label verity

Manually disabling dm verity in the boot img

Manually disabling dm verity in the boot img While it is often the case that dm-verity can be disabled via an Android Kitchen, such as SuperRs, occasionally this process can fail if the filenames / formats are not what is expected. In such cases we have to perform this operation manually. In this post I will describe now to manually disable dm-verity using SuperRs kitchen to unpack the boot.img. Note that other unpacking options are available, such as bootimg-master. Unpack the boot.img In the Kitchen: 7) Boot/Recovery Tools 1) Unpack boot.img Option 4 is usually used to disable dm-verity, but if this does not work then we have to perform the change manually. Locate the fstab files 1. Inside the project folder, navigate to bootimg/ramdisk 2. There should be at least one file whose name starts with fstab 3. Change the permissions of these files in a Terminal sudo chmod 777 <filename> 4. Open the file(s) up in gedit and find lines which resemble the following: /dev/block/bootd...