Home Forum Blog Private Support Courses
Our courses are now on YouTube! Start Watching
Hovatek Forum OPERATING SYSTEMS Android [Tutorial] How to disable dm-verity or Android Verified Boot (AVB)

[Tutorial] How to disable dm-verity or Android Verified Boot (AVB)

[Tutorial] How to disable dm-verity or Android Verified Boot (AVB)

Pages (12): Previous 1 5 6 7 8 9 12 Next
hovatek
hovatek
hovatek
Administrator
50,853
17-05-2021, 02:42 PM
#61



(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,

chances are that you'll still end up bricking the device


(16-05-2021, 11:52 AM)suji says 0xc0010001

see https://www.hovatek.com/forum/thread-439.html

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
hans henrik
hans henrik
hans henrik
Enthusiastic Member
5
06-06-2021, 12:16 PM
#62
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?
hovatek
hovatek
hovatek
Administrator
50,853
07-06-2021, 03:20 PM
#63
(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?

i doubt it does, empty vbmeta works for some devices having the same 1.1.0 string just not all devices

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
simika
simika
simika
Newbie
4
11-06-2021, 04:01 PM
#64
(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


Follow the steps below to flash vbmeta.img to remove dm_verity

  1. Copy the vbmeta.img into your adb and fastboot folder
  2. 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


hello Hovatek
probably on my POCO m3 pro 5G i need to first upload an EMPTY vbmeta.img ( the one you provided the link for )
but my question is if something goes wrong with VBMETA.IMG can i still solve it ? ?
thank you
simika
simika
simika
Newbie
4
11-06-2021, 06:19 PM
#65

Mediatek Course Mediatek Course


dear Hovatek,

i want to thank you for the empty VBMETA.IMG
with that i could finally get access root on my Poco M3 Pro 5g !!

thank you so much for your help ! credits to you have been given on Xda for this !! thank you !!!!!!
cjgrenlund
cjgrenlund
cjgrenlund
Newbie
4
02-08-2021, 08:52 AM
#66
How do i know if my device need a signed vbmeta in order to flash an img?
hovatek
hovatek
hovatek
Administrator
50,853
02-08-2021, 02:12 PM
#67
(02-08-2021, 08:52 AM)cjgrenlund How do i know if my device need a signed vbmeta in order to flash an img?

test empty vbmeta first, if successful (i.e the device boots fine) then you don't need a custom vbmeta

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
Fred Monteiro
Fred Monteiro
Fred Monteiro
Newbie
1
08-08-2021, 11:50 PM
#68
Hello friend, very good tutorial! I have a doubt. Could you help me please.

I'm on Android stock 9. Xiaomi Mi A3 (I did method 3).

After typing the command below, I got:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

target reported max download size of 803868672 bytes
sending 'vbmeta' (4 KB)...
OK [0.005s]
writing 'vbmeta'...
OK [0.002s]
finished. total time: 0.006s

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. My device restarted normally.

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.
This post was last modified: 09-08-2021, 12:07 AM by Fred Monteiro.
hovatek
hovatek
hovatek
Administrator
50,853
09-08-2021, 05:23 PM
#69
(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.

That's not what it says but nevermind

(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.

Have you done this before on this same phone? Create a new thread for this by clicking Ask Question at the top

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
Haroun George
Haroun George
Haroun George
Enthusiastic Member
5
11-08-2021, 07:25 PM
#70
I did manage to root by flashing empty vbmeta and patchedmagisk boot.img but unstall aha games and reboot it reboot into fastboot, if i flash stock vbmeta and image it boots normal if i flash empty vbmeta it boots into fast boot, is there any way to fix this
Pages (12): Previous 1 5 6 7 8 9 12 Next
Users browsing this thread:
 3 Guest(s)
Users browsing this thread:
 3 Guest(s)
WhTlYt