Disable DM-Verity or Android Verified Boot without TWRP

In this article, we will be offering to you all how to Disable DM-Verity or Android Verified Boot without TWRP. Android’s Open source nature makes it simpler for tech nerds to redo and adjust their gadgets as per their requirements. This comes as one can Root Android to acquire administrator level admittance to their gadget.

They can likewise introduce custom recuperations like TWRP Recovery, OrangeFox recuperation, etc. Presumably such customizations offer a lot of freedom to the client and yet, they make your gadget defenseless against numerous malignant applications.

Presently albeit numerous clients can choose for themselves by essentially not introducing such clear guilty party applications yet Google has thought of a defend to the issue.

With the end goal of Security, Google has thought of Device Mapper Verity or DM Verity. This instrument goes without such applications that could be unsafe to your gadget from leading any interaction.

Presently despite the fact that this is a grateful advance, most of the established clients know quite well what’s benefit and what isn’t for them. The entire DM Verity measure just cutoff points Advanced clients further.

In spite of the fact that TWRP is perhaps everything thing one can manage on their gadget, there are likewise alternate ways utilizing which they can play out these undertakings. For instance, let us take – one can likewise Root their gadget without TWRP Recovery. So in the event that so numerous cycles can be completed without utilizing TWRP recuperation, why not debilitating dm-verity without TWRP?

In the event that you are pondering, indeed, you can without much of a stretch debilitate dm-verity for example incapacitate Android confirmed boot without TWRP utilizing the beneath manage. Basically follow further.

Also See – Fix TWRP Error 7 (While Flashing Custom ROM via TWRP)

What is dm-verity encryption?

DM is the truncation for Device Mapper. This Linux Kernel system confirms the trustworthiness of each gadget block by perusing from the circle. In less complex words, dm-verity encryption checks malignant assaults.

Since you understand what dm-verity encryption implies, you can likewise sidestep dm-verity encryption utilizing the underneath direct.

How to Disable DM-Verity without TWRP

In the event that we are to talk generally, the majority of the customization measures for the most part relied upon the most mainstream custom recuperation of the time – TWRP Recovery.

In any case, on account of our designers, the situation presently is by all accounts changing as numerous cycles would now be able to be followed without TWRP Recovery. Allow us to take, for instance, you would now be able to Root without TWRP Recovery.

So on the off chance that you root a gadget without TWRP Recovery, you can without a doubt perform different activities without utilizing it.

Given beneath is a bit by bit control on the best way to handicap DM Verity or AVB without TWRP Recovery. Try to follow each of the underneath steps in a similar given succession and with most extreme consideration.

Step 1 Get Stock Boot Image file

In order to get the Stock Boot img file, you will have to first download the stock firmware for your device which you will find on the official website of your device.

That is it. You are done here. You have effectively incapacitated DM-Verity or AVB without utilizing TWRP Recovery.

Note – Just make sure that the firmware version corresponds to the version of your device.

Once you have downloaded the stock firmware, extract the file using WinRAR or WinZip. And you will get the Stock Boot Img file. You can then proceed to the next steps. For Xiaomi device and its GZ Format, you can rename it to TGZ and then extract the file using 7ZIP.

Step 2 Install Android SDK Platform-tools and Install Magisk Manager

Using the link given below, install ADB and Fastboot tools on your PC. These tools will give you the necessary ADB and Fastboot binary files.

Download And Install ADB and Fastboot on Windows, Linux, Mac.

Next, you will also have to install Magisk Manager. For this, you can use the below link –

Download Magisk zip and Magisk Manager

Step 3 Enable USB Debugging

To proceed further, you will have to Enable USB Debugging on your Android device.

For this, you can go to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging.

Step 4 Disable Preserve AVB 2.0/dm-verity

  • To disable Preserve AVB 2.0/dm-verityopen the Magisk Manager app on your device.
  • In the app, tap on Advanced Settings and then untick Preserve AVB 2.0/dm-verity. This will disable Preserve AVB 2.0.

  • Once you have followed this step, you can proceed further to the next step.

Step 5 Patch Stock Boot Image file – Disable DM-Verity

Next is to patch stock boot.img file using Magisk. For this, follow the below steps

  • To start with, move the stock boot.img file which you downloaded in step 1 to your device.
  • Then, open Magisk Manager.
  • On the main menu, tap on the Install option
  • A pop-up will appear on the screen. Again tap on the Install option from it.

  • A new pop-up asking you to Select Method will appear on the screen.
  • Choose Select and Patch a file.
  • Now go to the stock boot.img file and choose it.
  • For Samsung devices, this file will be in the form of a .tar file.
  • The patching process by Magisk should now begin.

  • In a few minutes the process will be finished and Magisk_patched.img. file will be saved in the Internal Storage > Downloads. 
  • Lastly, move this file to the Platform Tools folder and proceed with step 6.

Step 6 Flash Patched BOOT IMG File/ Disable DM Verity

Now in order to disable DM Verity or Android Verified Boot (AVB) without TWRP Recovery, we will have to flash the Patched boot img file. We will be doing this using  Fastboot Commands. Simply follow the below steps.

  • Connect your device to the PC with the help of USB Cables.
  • Next, make sure that you have Enabled USB Debugging.
  • On your PC, go to the Platform Tools folder and enter cmd in the address bar. This will open a command prompt.

  • Enter the below command to boot into fastboot mode on your device and then hit the enter key to execute the command
adb reboot bootloader
  • Enter the below command to flash Patched magisk boot img and hit enter key.
fastboot flash boot magisk_patched.img
  • Using the below command you can now reboot your device –
fastboot reboot

Closing Words

I trust all of you could undoubtedly Disable DM-Verity or Android Verified Boot without TWRP. In spite of the fact that Device Mapper or DM Verity is a security instrument which is utilized to forestall rootkits which can utilize root advantages and bargain gadgets.

Particularly in the event that you are a beginner, this security component comes accommodating. Be that as it may, those with enough establishing information and a feeling of good and bad root applications may discover this security component very irritating and wish to sidestep dm-verity without TWRP.

On the off chance that there is any progression at which you are stuck in the above cycle, don’t stop for a second to ask us in the remark segment underneath. We will hit you up at the earliest opportunity.

Additionally, on the off chance that you wish to get all the more such enlightening articles on any Android-related points, your ideas are generally welcome.

Leave a Comment