[Solution] 1. remove sepolicy for native partition erase permission 2. remove AB partition sepolicy, leave it to Google solution MTK-Commit-Id: 0476e00269accaf247550928cc72c010f99787c1 Change-Id: I67ab4363307a69b5a94a0242c12750bc94670344 CR-Id: ALPS04840835 Feature: [Android Default] Fastboot
26 lines
492 B
Plaintext
26 lines
492 B
Plaintext
# fastbootd (used in recovery init.rc for /sbin/fastbootd)
|
|
|
|
|
|
#allow fastbootd {
|
|
# bootdevice_block_device
|
|
# cache_block_device
|
|
# logo_block_device
|
|
# para_block_device
|
|
# }:blk_file { rw_file_perms };
|
|
|
|
#allow fastbootd {
|
|
# sysfs_boot_type
|
|
#}:file { rw_file_perms };
|
|
|
|
#allowxperm fastbootd {
|
|
# bootdevice_block_device
|
|
# cache_block_device
|
|
# logo_block_device
|
|
# para_block_device
|
|
# }:blk_file ioctl {
|
|
# BLKSECDISCARD
|
|
# BLKDISCARD
|
|
# MMC_IOCTLCMD
|
|
# };
|
|
|