sm7325-common: Add support for dubai (Edge 30)
Also decommonize a kernel cmdline Change-Id: Id5aa4a5b2b893bd43531fa7bd0c1b9391705b430
This commit is contained in:
parent
bd19a02fbd
commit
782cc6aa56
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
ifneq ($(filter berlin,$(TARGET_DEVICE)),)
|
ifneq ($(filter berlin dubai,$(TARGET_DEVICE)),)
|
||||||
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
|
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
|
||||||
$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
|
$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ BOARD_KERNEL_CMDLINE += service_locator.enable=1 androidboot.usbcontroller=a6000
|
|||||||
BOARD_KERNEL_CMDLINE += swiotlb=0 loop.max_part=7 cgroup.memory=nokmem,nosocket
|
BOARD_KERNEL_CMDLINE += swiotlb=0 loop.max_part=7 cgroup.memory=nokmem,nosocket
|
||||||
BOARD_KERNEL_CMDLINE += pcie_ports=compat loop.max_part=7 iptable_raw.raw_before_defrag=1
|
BOARD_KERNEL_CMDLINE += pcie_ports=compat loop.max_part=7 iptable_raw.raw_before_defrag=1
|
||||||
BOARD_KERNEL_CMDLINE += ip6table_raw.raw_before_defrag=1 androidboot.hab.csv=0
|
BOARD_KERNEL_CMDLINE += ip6table_raw.raw_before_defrag=1 androidboot.hab.csv=0
|
||||||
BOARD_KERNEL_CMDLINE += androidboot.hab.product=berlin androidboot.hab.cid=50
|
BOARD_KERNEL_CMDLINE += androidboot.hab.cid=50
|
||||||
BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware_mnt/image
|
BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware_mnt/image
|
||||||
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
|
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
|
||||||
BOARD_KERNEL_IMAGE_NAME := Image
|
BOARD_KERNEL_IMAGE_NAME := Image
|
||||||
|
2
sepolicy/vendor/file_contexts
vendored
2
sepolicy/vendor/file_contexts
vendored
@ -38,6 +38,7 @@
|
|||||||
/(mnt/vendor/persist|persist)/fps(/.*)? u:object_r:vendor_persist_fps_file:s0
|
/(mnt/vendor/persist|persist)/fps(/.*)? u:object_r:vendor_persist_fps_file:s0
|
||||||
/(vendor|system/vendor)/bin/fpc_ident u:object_r:hal_fingerprint_default_exec:s0
|
/(vendor|system/vendor)/bin/fpc_ident u:object_r:hal_fingerprint_default_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.berlin u:object_r:hal_fingerprint_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.berlin u:object_r:hal_fingerprint_default_exec:s0
|
||||||
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.dubai u:object_r:hal_fingerprint_default_exec:s0
|
||||||
/data/vendor/.fps(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
/data/vendor/.fps(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||||
/data/vendor/fpc(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
/data/vendor/fpc(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||||
/data/vendor/gf_data(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
/data/vendor/gf_data(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||||
@ -69,6 +70,7 @@
|
|||||||
|
|
||||||
# Touch
|
# Touch
|
||||||
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.berlin u:object_r:hal_lineage_touch_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.berlin u:object_r:hal_lineage_touch_default_exec:s0
|
||||||
|
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.dubai u:object_r:hal_lineage_touch_default_exec:s0
|
||||||
|
|
||||||
# Thermal
|
# Thermal
|
||||||
/dev/mmi_sys_temp u:object_r:vendor_thermal_device:s0
|
/dev/mmi_sys_temp u:object_r:vendor_thermal_device:s0
|
||||||
|
@ -25,7 +25,7 @@ source "${HELPER}"
|
|||||||
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true
|
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true
|
||||||
|
|
||||||
# Warning headers and guards
|
# Warning headers and guards
|
||||||
write_headers "berlin"
|
write_headers "berlin dubai"
|
||||||
|
|
||||||
# The standard common blobs
|
# The standard common blobs
|
||||||
write_makefiles "${MY_DIR}/proprietary-files.txt" true
|
write_makefiles "${MY_DIR}/proprietary-files.txt" true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user