summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2021-07-27 04:34:04 +0000
committerJohn Stultz <john.stultz@linaro.org>2021-07-27 04:35:44 +0000
commit03c11dfce22a389404b492ed9475adc3441774dc (patch)
tree0a47edba4a3ab2de40bb1ba2abab2b9031fbc5fe /build
parentaa4874ddc8cbf666b5c6a8d7e03fa2d237066bb6 (diff)
downloadhikey-03c11dfce22a389404b492ed9475adc3441774dc.tar.gz
HiKey960: Enable metadata encryption
This fully enables metadata encryption on hikey960 by following the instructions here: https://source.android.com/security/encryption/metadata?hl=en Mostly just adding --early/--late mountall arguments in the init.rc and the "latemount" and "keydirectory=/metadata/vold/metadata_encryption" options to the userdata fstab line. Note: You will likely need to flash new userdata (and possibly reflash metadata as well) after applying this. Use the flashall script if you are having any trouble. Test: atest vts_kernel_encryption_test Reported-by: YongQin Liu <yongqin.liu@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: Idd57774ac21ca1535259e679fc92f127e1e710e0
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions