Sanders : add firmware/image to BOARD_ROOT_EXTRA_SYMLINKS

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
sai4041412
2019-09-28 21:33:00 +01:00
committed by ronaxdevil
parent df2d407404
commit 5432a7009a
4 changed files with 10 additions and 0 deletions

View File

@@ -278,3 +278,6 @@ WPA_SUPPLICANT_VERSION := VER_0_8_X
# Security patch level
VENDOR_SECURITY_PATCH := 2019-04-01
BOARD_ROOT_EXTRA_SYMLINKS := \
/vendor/firmware_mnt/image:firmware/image

View File

@@ -39,6 +39,7 @@ on early-init
# create symlink for vendor mount points
symlink /vendor/firmware_mnt /firmware
symlink /vendor/dsp /dsp
symlink /vendor/firmware_mnt /firmware/image
chown root system /dev/kmsg
chmod 0620 /dev/kmsg

View File

@@ -31,6 +31,9 @@ type wapi_supplicant_data_file, file_type, data_file_type, core_data_file_type;
# RIL
type netmgr_data_file, file_type, data_file_type, core_data_file_type;
#test firmware
type firmware_file, file_type;
# sysfs
#type sysfs_adsp, fs_type, sysfs_type;
type sysfs_homebutton, fs_type, sysfs_type, mlstrustedobject;

View File

@@ -135,3 +135,6 @@
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service.sanders u:object_r:hal_light_default_exec:s0
/sys/devices/soc/1a00000.qcom,mdss_mdp/1a00000.qcom,mdss_mdp:qcom,mdss_fb_primary/leds/lcd-backlight/brightness u:object_r:sysfs_leds:s0
/sys/devices/soc/leds-atc-20/leds/charging/brightness u:object_r:sysfs_leds:s0
# files in firmware
/firmware(/.*)? u:object_r:firmware_file:s0