mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Enable metadata encryption
Bug: 26778031 Test: Boots, reboots, sector 0 of userdata encrypted Change-Id: I741f177056e1493fa5bf3e37353ca177e91d6b54
This commit is contained in:
@@ -66,7 +66,7 @@ TARGET_COPY_OUT_VENDOR := vendor
|
||||
# Install odex files into the other system image
|
||||
BOARD_USES_SYSTEM_OTHER_ODEX := true
|
||||
|
||||
BOARD_ROOT_EXTRA_FOLDERS := persist firmware
|
||||
BOARD_ROOT_EXTRA_FOLDERS := persist firmware metadata
|
||||
|
||||
BOARD_SEPOLICY_DIRS += device/google/wahoo/sepolicy
|
||||
|
||||
|
||||
@@ -203,6 +203,9 @@ on post-fs-data
|
||||
# will fail
|
||||
restart qseecomd
|
||||
|
||||
# Set indication (checked by vold) that we have finished this action
|
||||
setprop vold.post_fs_data_done 1
|
||||
|
||||
# zygote need to be started after otapreopt which will be done on post-fs-data
|
||||
on zygote-start
|
||||
# zygote is started in common init.rc
|
||||
@@ -315,10 +318,6 @@ on zygote-start
|
||||
mkdir /data/nfc/param 0770 nfc nfc
|
||||
mkdir /data/vendor/nfc 0770 nfc nfc
|
||||
|
||||
|
||||
# Set indication (checked by vold) that we have finished this action
|
||||
setprop vold.post_fs_data_done 1
|
||||
|
||||
on early-boot
|
||||
# wait for devices
|
||||
wait_for_prop sys.qcom.devup 1
|
||||
|
||||
@@ -280,3 +280,7 @@
|
||||
/persist/data(/.*)? u:object_r:persist_data_file:s0
|
||||
/persist/display(/.*)? u:object_r:persist_display_file:s0
|
||||
/persist/sensors(/.*)? u:object_r:persist_sensors_file:s0
|
||||
|
||||
/metadata u:object_r:rootfs:s0
|
||||
/metadata/.* u:object_r:vold_data_file:s0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user