Dm-verity and Forced Encryption Disabler

Many Android ROMs have become more and more secure. Many devices have been equipped with new system security mechanism to protect any advanced modification to the system itself. One of the known mechanism is Device Mapper Verity, also known as dm-verity. This security mechanism is basically developed to help prevent persistent rootkits that can hold onto root privileges and compromise devices. Most of the recent Android devices need to do a verified boot through the optional dm-verity kernel. This is sure can prevent malware to hide from detection programs and otherwise mask themselves. Unfortunately, for advanced Android users, it can be troublesome to a certain extent because it prevents the device to boot properly once custom recovery like TWRP is flashed.

The dm-verity feature lets you look at a block device, the underlying storage layer of the file system, and determine if it matches its expected configuration. It does this using a cryptographic hash tree. For every block (typically 4k), there is a SHA256 hash.
Source: Android.com

Previously, in order to flash TWRP on a device protected with dm-verity feature, you’ll need to first cook your own ROM modifying original ROM to disable dm-verity in its kernel. This could be so arduous for novice users. Luckily, there is a patch-like package allows you to disable dm-verity and forced encryption feature. Download the package from the link below and flash it from TWRP.

Download

File name :
no-verity-opt-encrypt-6.0.zip
Version 6.0 | 7017 downloads | Size: 657 KB
File name :
lazyflasher-no-verity-opt-encrypt.zip
Version n/a | 1915 downloads | Size: 411 KB
File name :
no-verity-opt-encrypt-5.1.zip
Version 5.1 | 4423 downloads | Size: 1 MB
File name :
no-verity-opt-encrypt-4.1.zip
Version 4.1 | 849 downloads | Size: 752 KB

You can get faster updated information on new post via our social media account. Like us on Facebook or subscribe your email to our news letter. Please do not hesitate to send us any query or write a message in the comment section below this article. Share us your opinion or your experience! Thanks..

Liked this post? Use the buttons below to share it with your friends..

  • Quocbao Chung

    Hi Frazie,

    My zenfone 3 ultra is blocked with this message when i watched youtube and all of a sudden i got this:

    “more information : DM verity in EIO mode
    Your device is corrupt
    It can’t be trusted and may not work properly
    visit this link on another device
    g.co/ABH
    g.co/placeholder
    your device will shutdown in 10 seconds”

    i tried to update from sd card with the rom downloaded from asus web, it didn’t work even update from adb 1.0.32 adb sideload??? i downloaded the zip file here but i don’t know what to do???

    i’d be grateful if you can guide me step by step as i’m a newbie.
    Thanks a lot in advance!!!

    CHUNG

    https://uploads.disquscdn.com/images/001be6a307bab0c3550863a3bbe414d21e3c61d502b6dce5bff98433b6e8baf0.jpg

    https://uploads.disquscdn.com/images/641e16bff9d5cda9336b0443bdb5389aff725f7377427155f304ef9d52a285ea.gif

    • Fariez NA

      The zip file here needs to be flashed through custom recovery. You have to firstly install it (TWRP/RWRP). I am not quite sure which one is available for your device.

      Anyway, in case of your device, since it has been messed up with dm-verity encryption, you will only need to reinstall the firmware / system file despite it needs some arduous works.

      These articles may help you:
      https://tny.xyz/a4dIr
      https://tny.xyz/arZAE

      • Quocbao Chung

        Hi Frazie again,

        good news! i’m downloading TWRP for my zenfone ultra .img
        would you please tell me what i have to do???
        thanks a lot!!

        CHUNG

        Hi Frazie,

        First of all, i want to thank you very much for your quick reply, i still don’t know yet where i can download TWRP/RWRP for my zenfone 3 ultra???
        i have file UL-ASUS_A001-WW-14.1010.171…
        and file zip you tell me to download no-verity-opt-encrypt-6.0.zip
        file adb 1.0.32
        can you please tell me step by step?

        Let me sum up what i did
        i wipe data/factory reset and cache partition, and then reboot system
        it always blocks at asus logo and then message: start continue reboot “more information : DM verity in EIO mode
        Your device is corrupt
        It can’t be trusted and may not work properly
        visit this link on another device
        g.co/ABH
        g.co/placeholder
        your device will shutdown in 10 seconds”

        i did adb sideload with the rom above through my computer on my zenfone but only see 95% and finished (i’ll enclose the pictures here) it installed successfully anyway on my phone, reboot system, it still blocks at asus logo

        i try to search the solution on internet, saying that i have to fastboot boot.img recovery.img (i don’t know to have them)

        i need your help, thanks again for your time i really appreciate it!!!

        Cordially

        CHUNG

  • Quocbao Chung

    My email: [email protected]
    please help me!!! Many thanks!!!

  • Quocbao Chung

    Hi Frazie,

    First of all, i want to thank you very much for your quick reply, i still don’t know yet where i can download TWRP/RWRP for my zenfone 3 ultra???
    i have file UL-ASUS_A001-WW-14.1010.1711.64-user.zip
    and file zip you tell me to download no-verity-opt-encrypt-6.0.zip
    file adb 1.0.32
    can you please tell me step by step?

    Let me sum up what i did
    i wipe data/factory reset and cache partition, and then reboot system
    it always blocks at asus logo and then message: start continue reboot “more information : DM verity in EIO mode
    Your device is corrupt
    It can’t be trusted and may not work properly
    visit this link on another device
    g.co/ABH
    g.co/placeholder
    your device will shutdown in 10 seconds”

    i did adb sideload with the rom above through my computer on my zenfone but only see 95% and finished (i’ll enclose the pictures here) it installed successfully anyway on my phone, reboot system, it still blocks at asus logo

    i try to search the solution on internet, saying that i have to fastboot boot.img recovery.img (i don’t know to have them)

    i need your help, thanks again for your time i really appreciate it!!!

    Cordially

    CHUNG https://uploads.disquscdn.com/images/dd60dc6585000007af2a8e1cb4f5ddf3fe1063f37b286f4be832fd59b8c6bc88.jpg

    https://uploads.disquscdn.com/images/6a3338dae7b69ba5ca2e81297d91257d7d9f8de5b4ee012f10a1f67cf451c3e4.jpg

  • Quocbao Chung

    Hi Frazie again,

    good news! i’m downloading TWRP for my zenfone ultra .img
    would you please tell me what i have to do???
    thanks a lot!!

    CHUNG

  • Quocbao Chung

    https://uploads.disquscdn.com/images/7f7a615cc7e8272cd004fd196810c6a7accf746a70af5700737a7f82c6793763.jpg https://uploads.disquscdn.com/images/044729372bd14dc46a86ba9027f584e21a490848750bf99c8ade8752fc210661.jpg https://uploads.disquscdn.com/images/5fb4eeaf839dede36c4e1ce0454240ceef54809222772743a8de2f7656d2533f.jpg https://uploads.disquscdn.com/images/7c321f3632ee0d137a8654f4342b5937cd391bf62673d9a225bb71edf02bd166.jpg update pictures that i did install TWRP and File Zip no-verity-opt-encrypt-6.0.zip, install rom UL-ASUS_A001-WW-14.1010.1711.64-user.zip
    Nothing changed still got the message DM, but no more message No command, and TWRP sometimes comes back???
    Do you have any idea? i’m eager to have your reply, thanks a lot!!!

    Cordially,

    CHUNG

    • Fariez NA

      As far as I know, installing and using custom recovery (TWRP) can only be done properly on a device with “Unlocked bootloader”. So if the bootloader of your phone is still locked then TWRP will not be able to work flawlessly.

      Also, the dm-verity file above is to avoid bootloop which can only be flashed on TWRP installed on an unlocked-bootloader device.

      In case of your device, actually I am not quite sure. If it was on a Xiaomi device, it could be done by flashing the firmware/ROM file via Test-point method (because the bootloader is still locked). But again, I am not quite sure about Asus device.

      • Quocbao Chung

        Thanks for your time, really complicated, the warranty is expired, i don’t know how much the repair costs…
        I’m trying to browse…
        keep you updated

        CHUNG

Get more stuff like this
faster in your inbox

New tips, tricks, interesting apps and tools. No spammy messages. Give it a try, you can unsubscribe anytime.

Thank you for subscribing.

Something went wrong.