0% found this document useful (0 votes)
369 views

Unlock DM Verity

This document provides steps to disable the Android dm-verity option: 1. Download the Android SDK platform-tools and connect your Android device to the computer via a USB cable. 2. Unlock your Android device by enabling OEM unlock in the developer settings. 3. Use ADB and fastboot tools from the command line to reboot your device to bootloader mode, unlock it, disable dm-verity, and reboot. 4. If your computer does not recognize the device in bootloader mode, update the USB driver.

Uploaded by

Javier Traver
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
369 views

Unlock DM Verity

This document provides steps to disable the Android dm-verity option: 1. Download the Android SDK platform-tools and connect your Android device to the computer via a USB cable. 2. Unlock your Android device by enabling OEM unlock in the developer settings. 3. Use ADB and fastboot tools from the command line to reboot your device to bootloader mode, unlock it, disable dm-verity, and reboot. 4. If your computer does not recognize the device in bootloader mode, update the USB driver.

Uploaded by

Javier Traver
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

How to Disable the DM-Verity option in your Android device.

To disable the Android dm-verity in the new devices you should have the below.

• A Window/Linux computer
• The Android SDK platform-packages tools.

Download the Android Packages tool.

To use the Android kernel or give root access to your Android device, is needed to have some tools from
the Android SDK like ADB or fastboot. To download those tools just go to below web-page:

https://developer.android.com/studio#downloads

Go to the “command line tools only” part and download the sdk-tools-windows-4333796.zip package.

Note: Is recommended to storage the content of the zip file in path that you could find without any
problem, since the Android SDK tools can only be run by the terminal console.

Unlock your Android device.

On the Android GUI go to Settings -> systems -> About Phone


At the bottom you should see the build number of your Android device. Tap it multiple times until
appears on the screen that you are a developer now.

Go to the developer options and search for the OEM unlock option. You need to activate that option.

Open the power-shell terminal and go to the path where you stored the zip file.
Example for Windows:

cd C:\users\diego\Documents\platform-tools

The you will use the ADB tool (Adroid Debug Bridge). To use it you need to run adb.exe in your power-
shell terminal. To run a executable in the Windows terminal is just with .\.

Connect the serial download cable to the host computer (the Type C for the i.MX8M and i.MX8MM. The
OTG for the i.M6 SabreSD boards).

Open the adb server.

.\adb.exe start-server

See your connected devices.

.\adb.exe devices

You should see your device and the serial number that is assigned to the device.

Then, enter Bootloader mode.

.\adb.exe reboot bootloader


Note to see if your board successfully entered to Bootloader mode. In your serial terminal, you should
see that you are in Bootloader mode.

Once inside the Bootloader mode, using fastboot you can unlock your phone.

First see if your computer recognizes your board once inside the Bootloader mode.

.\fastboot.exe devices

If you do not see any device, go to the final section of the document.

Finally, Unlock and reboot the board.

.\fastboot.exe oem-unlock

.\fastboot.exe reboot
Unlock the dm-verity option.

After the board rebooted. Start again the adb server

.\adb.exe start-server

.\adb.exe devices

Then root the board

.\adb.exe root

After rooting the board, disable the dm-verity option

.\adb.exe disable-verity

After disabling the verity option, it will request you to reboot your board. Just reboot your board.

.\adb.exe reboot

With that, you should have successfully disabled the verity option in your board.
Appendix A Update the USB driver (For Windows only)

If your computer does not recognize once you are inside the bootloader mode. What you need to do is
update the USB driver. To update the driver, follow the below steps.

First open your device manger and locate the Universal Serial Bus devices -> USB download gadget.

Then press the right click and select the update driver option.
Select the “Browse my computer for driver software” option.

Select the “Let me pick from a list of available drivers on my computer” option.
Select the ADB Device Model.

And accept to install the driver. After that your computer should recognize the board being into
Bootloader mode.

You might also like