Go to the “command line tools only” part and download the sdk-tools-windows-4333796.zip package.
Note: Is recommended to store 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:
Then 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 an 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.
See your connected devices.
You should see your device and the serial number that is assigned to the device.
Then, enter into 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.
If you do not see any device, go to Appendix A of the document.
Finally, Unlock and reboot the board.
Unlock the dm-verity option.
After the board rebooted. Start again the adb server
Then root the board
After rooting the board, disable the dm-verity option
After disabling the verity option, it will request you to reboot your board. Just reboot your board.
With that, you should have successfully disabled the verity option on 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 manager 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.
Appendix B connects your Android device to a Linux computer through ADB.
You could face some adb problems if you want to connect your Android device to a Linux computer. If you want to use adb, the Android image does not allow you due to a permission problem. To make it work, you need to create a new rule for a plug device.
To make the new rule, create a document inside the /etc/udev/rules.d named 51-android.rules. Inside the document write the following: