AnsweredAssumed Answered

Possible to build Android 9 with dm-verity unlocked by default?

Question asked by Tomas Brännström on Sep 25, 2019
Latest reply on Oct 18, 2019 by Tomas Brännström


I've been tackling this issue for a while so I thought I'd ask here. To be able to remount the root partition on Android 9 you can follow the steps from the Android Users Guide pdf by toggling OEM unlock in the settings GUI, unlocking the bootloader and finally disabling dm-verity. However I would like the bootloader to be unlocked by default and have dm-verity be disabled by default.


Is this possible to achieve when building the Android source, maybe through updating some Makefile or similar? Or is it more complicated?


This is for i.MX 8M-Quad, using the P9.0.0_1.0.0_GA_ANDROID_SOURCE package, built as an "eng" build.