Questions tagged [dm-verity]
The dm-verity tag has no usage guidance.
14
questions
1
vote
0
answers
67
views
Flash avb_custom_key using EDL
As documented here, many bootloaders will allow flashing a custom verity key to the avb_custom_key partition using fastboot. This then allows a custom chain of trust so the device will boot a custom ...
1
vote
1
answer
776
views
Infinix Hot 12i can't boot due to dm-verity corruption
My Infinix Hot 12i on Android 11 is having this dm-verity corruption. The phone turned itself off and it can't boot.
I tried to flash, but it's saying no command. Nothing is working. The phone can't ...
1
vote
0
answers
1k
views
Repacked modified super.img - can't see new files
I got a Chinese phone with an MTK6761 SoC, running Android 13 (has the virtual A/B partition and DM-verity/AVB enabled). I managed to unlock the bootloader and root it through Magisk and MTKClient ...
1
vote
0
answers
492
views
dm-verity corruption after slot switching Android 11
I tried to create a service for slot switching in Android 11. I have used the API from Bootctrl HAL to check the other slot availability and valid image in it. I have updated both the slots a and b ...
1
vote
0
answers
2k
views
Disable avb/dm-verity manually on super partition
my doogee s96, with the TWRP no more able to boot, probably due to the dm-verity check.
I tried several things, install Magisk or patching boot.img, but I always failed. The phone starts and suddendly ...
3
votes
1
answer
3k
views
How to properly ENABLE dm-verity and FEC for /system on Motorola X4 with LineageOS 17.1?
I have built LineageOS 17.1 for Motorola X4 / payton with unlocked bootloader with reverted commit 81cc203c06596878d2beb62ab6e07f36e278018e.
The common question is how to disable dm-verity, but I want ...
1
vote
0
answers
894
views
If I generate my own custom key and sign a custom ROM, then will I be able to have root access after locking the bootloader?
So what I want to do is boot into my own custom ROM with a locked bootloader. I have a OnePlus 6T so it's possible, but can I have root access after I boot with a locked bootloader? If I replace my ...
1
vote
1
answer
2k
views
Changing /system/build.prop issues on fully rooted and DM-verity removed device
SO, I have an MT6739 dveice with Android 8.1, it's not A/B seamless, and it is not TREBLE.
I have used a tried and tested method to remove DM-Verity. On this device it was in the DTB, in the boot ...
3
votes
1
answer
1k
views
How does update_engine validate a differential update-image with dm-verity enabled?
I am working with Android 8, Android verified boot with dm-verity, and block-based differential seamless A/B updates. To my understanding, the Android update_engine performs some validations of the ...
8
votes
2
answers
49k
views
How to disable dm-verity on Android with "user" build type ROM?
I have One Plus 6T Android device which has a ROM of build type user. This device is rooted with Magisk and I want to disable dm-verity on this device. I have tried to run adb disable-verity but I got ...
3
votes
1
answer
1k
views
How does android dm-verity protection validate blocks with hash tree
I am learning about android dm-verity protection and I try to understand how does the android dm-verity uses the hash tree for validation of "single block".
https://source.android.com/security/...
1
vote
1
answer
4k
views
how to check if i have successfully disabled dm-verity?
my phone has dm verity enabled by default. I read about ways to disable it. After that, is there any way with which can i verify if dm-verity is disabled?
1
vote
1
answer
648
views
How to deal with dm-verity on a Samsung S7 Edge when installing a custom recovery like TWRP
I'm just starting to explore how to customize my Samsung S7 Edge and I'm interested in moving an application over to the system partition. It's currently running Android 8.0. I've been doing a lot of ...
3
votes
1
answer
22k
views
Install Magisk in TWRP, with "Keep DM-Verity/AVB 2.0" option?
I want to flash the Magisk ZIP while keeping dm-verity and AVB 2.0.
The Magisk ZIP detects my encrypted /data partition and keeps force encryption, but always disables dm-verity and AVB 2.0 when ...