Skip to content

Patch Android vbmeta image and disable verification flags inside

License

Notifications You must be signed in to change notification settings

Botless-Net/vbmeta-disable-verification

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

vbmeta-disable-verification

Patch Android vbmeta image and disable verification flags inside.

Usage

Get prebuilts from releases.

$ ./vbmeta-disable-verification vbmeta.img 
Successfully disabled verification on the provided vbmeta image.

Give it a vbmeta image and then verification will be disabled on it.

This should be equal to fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img. The only difference is that it directly patch the image file. Fastboot doesn't provide the ability to generate an image with verification disabled, but sometimes I need it :) .

Building

It's easy to build it with Android NDK.

$ export PATH="/path/to/your/ndk:${PATH}"
$ git clone https://github.com/libxzr/vbmeta-disable-verification
......
$ cd vbmeta-disable-verification
$ ndk-build
......
$ tree libs          
libs
├── arm64-v8a
│   └── vbmeta-disable-verification
├── armeabi-v7a
│   └── vbmeta-disable-verification
├── x86
│   └── vbmeta-disable-verification
└── x86_64
    └── vbmeta-disable-verification

References

License

MIT

About

Patch Android vbmeta image and disable verification flags inside

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 88.0%
  • Makefile 12.0%