[Tutorial] How to disable dm-verity or Android Verified Boot (AVB)
[Tutorial] How to disable dm-verity or Android Verified Boot (AVB)
(16-05-2021, 11:52 AM)suji since bootloader not unlockable, i tried flashing boot image using write memory, but sp flash tool flashes stock boot but not the hex editor edited boot image,
(16-05-2021, 11:52 AM)suji says 0xc0010001
(06-06-2021, 12:16 PM)hans henrik the vbmeta.img from my firmware ( https://drive.google.com/drive/folders/1...kZBMsYJE3x ) contains the string "avbtool 1.1.0", while the "empty" vbmeta.img contains the string "avbtool 1.0.0", i wonder if that has any significance?
(17-03-2020, 10:29 PM)X3non This is a quick guide showing how to disable dm_verity or Android Verified Boot (AVB). Disabling dm-verity / AVB is only important if you intend .................
Method 3 - Flashing vbmeta
Requirements
- Device with /vbmeta partition
- Download empty vbmeta.img @ https://mega.nz/#!dnAS3AhD!g5PnSg-0UKFvy...pPmsH75-Bg if your device doesn't require a signed vbmeta or generate a custom signed vbmeta if it does
- Install adb and fastboot
Follow the steps below to flash vbmeta.img to remove dm_verity
- Copy the vbmeta.img into your adb and fastboot folder
- You can now flash the vbmeta.img using fastboot to remove dm_verity from your device
Code:adb devices adb reboot-bootloader fastboot devices fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
(02-08-2021, 08:52 AM)cjgrenlund How do i know if my device need a signed vbmeta in order to flash an img?
(08-08-2021, 11:50 PM)Fred Monteiro I saw you say right above that if the phone restarts normally after flash the empty vbmeta.img, then a custom vmmeta.img is not needed.
(08-08-2021, 11:50 PM)Fred Monteiro I'm trying to install a common app like system app in System/priv-app. I've always managed to do this on my Android 9 (I'm still on it, haven't changed anything, it's the same phone). I just put the apk inside Priv-app, modify some permissions and restart the phone, then the magic happens. But now, on startup, Android deletes the folder created in Priv-app.
Even after following your method I still can't install the app referred to as system app. And like I said, I always did.