I'm building AOSP from source code, and I want to be able to flash a Google Apps package onto the ROM. However, when the phone reboots, the google apps are not applied, and someone has said that it might be because of DM-Verity.
I want to know how to disable this DM-Verity protection, which should be able to be disabled in the kernel source code. How can I get started on doing this?
I know there is an ADB command "adb disable-verity" which works, but I want my build to have dm-verity disabled by default.
Can someone help me with this? Thanks :)