update interfaces
This commit is contained in:
parent
b0acb38d06
commit
ba47993bbc
@ -30,6 +30,7 @@ TARGET_NO_RADIOIMAGE := true
|
||||
|
||||
# Platform
|
||||
TARGET_BOARD_PLATFORM := msm8974
|
||||
TARGET_BOARD_PLATFORM_GPU := qcom-adreno330
|
||||
|
||||
# Architecture
|
||||
TARGET_ARCH := arm
|
||||
@ -105,9 +106,6 @@ TARGET_USERIMAGES_USE_F2FS := true
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200
|
||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
|
||||
# Extended Filesystem Support
|
||||
TARGET_EXFAT_DRIVER := sdfat
|
||||
|
||||
# Filesystem
|
||||
TARGET_FS_CONFIG_GEN := $(LOCAL_PATH)/config.fs
|
||||
|
||||
@ -185,6 +183,11 @@ TARGET_RECOVERY_FSTAB := $(LOCAL_PATH)/rootdir/etc/fstab.qcom
|
||||
# SELinux
|
||||
include $(LOCAL_PATH)/sepolicy/sepolicy.mk
|
||||
|
||||
SELINUX_IGNORE_NEVERALLOWS := true
|
||||
|
||||
# Sensors
|
||||
TARGET_NO_SENSOR_PERMISSION_CHECK := true
|
||||
|
||||
# Wifi
|
||||
BOARD_HAS_QCOM_WLAN := true
|
||||
BOARD_WLAN_DEVICE := qcwcn
|
||||
|
12
config.fs
12
config.fs
@ -7,6 +7,12 @@ value:2951
|
||||
[AID_VENDOR_RFS_SHARED]
|
||||
value:2952
|
||||
|
||||
[efs/]
|
||||
mode: 0771
|
||||
user: AID_SYSTEM
|
||||
group: AID_RADIO
|
||||
caps: 0
|
||||
|
||||
[firmware/]
|
||||
mode: 0771
|
||||
user: AID_SYSTEM
|
||||
@ -18,9 +24,3 @@ mode: 0771
|
||||
user: AID_SYSTEM
|
||||
group: AID_SYSTEM
|
||||
caps: 0
|
||||
|
||||
[misc/]
|
||||
mode: 0771
|
||||
user: AID_SYSTEM
|
||||
group: AID_SYSTEM
|
||||
caps: 0
|
||||
|
15
device.mk
15
device.mk
@ -105,7 +105,6 @@ PRODUCT_COPY_FILES += \
|
||||
# Bluetooth
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.bluetooth@1.0-impl \
|
||||
android.hardware.bluetooth@1.0-service \
|
||||
libbt-vendor
|
||||
|
||||
# Display
|
||||
@ -113,9 +112,8 @@ PRODUCT_PACKAGES += \
|
||||
android.hardware.graphics.allocator@2.0-impl \
|
||||
android.hardware.graphics.allocator@2.0-service \
|
||||
android.hardware.graphics.composer@2.1-impl \
|
||||
android.hardware.graphics.mapper@2.0-impl \
|
||||
android.hardware.graphics.mapper@2.0-impl-2.1 \
|
||||
android.hardware.memtrack@1.0-impl \
|
||||
android.hardware.memtrack@1.0-service \
|
||||
copybit.msm8974 \
|
||||
gralloc.msm8974 \
|
||||
hwcomposer.msm8974 \
|
||||
@ -179,15 +177,14 @@ PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/keylayout/sec_touchscreen.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/sec_touchscreen.kl \
|
||||
$(LOCAL_PATH)/keylayout/ue_rf4ce_remote.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/ue_rf4ce_remote.kl
|
||||
|
||||
# Keymaster
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.keymaster@3.0-impl
|
||||
|
||||
# Lights
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.light@2.0-service.samsung
|
||||
|
||||
# Keymaster
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.keymaster@3.0-impl \
|
||||
android.hardware.keymaster@3.0-service
|
||||
|
||||
# LiveDisplay
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.lineage.livedisplay@2.0-service.samsung-qcom
|
||||
@ -278,7 +275,7 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
# Vibrator
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.vibrator@1.0-service.lineage
|
||||
android.hardware.vibrator@1.0-impl
|
||||
|
||||
# Vendor properties
|
||||
-include $(LOCAL_PATH)/system_prop.mk
|
||||
|
19
manifest.xml
19
manifest.xml
@ -19,7 +19,7 @@
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.bluetooth</name>
|
||||
<transport>hwbinder</transport>
|
||||
<transport arch="32">passthrough</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IBluetoothHci</name>
|
||||
@ -115,7 +115,7 @@
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.keymaster</name>
|
||||
<transport>hwbinder</transport>
|
||||
<transport arch="32">passthrough</transport>
|
||||
<version>3.0</version>
|
||||
<interface>
|
||||
<name>IKeymasterDevice</name>
|
||||
@ -137,7 +137,7 @@
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.memtrack</name>
|
||||
<transport>hwbinder</transport>
|
||||
<transport arch="32">passthrough</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IMemtrack</name>
|
||||
@ -155,7 +155,7 @@
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.renderscript</name>
|
||||
<transport arch="32+64">passthrough</transport>
|
||||
<transport arch="32">passthrough</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IDevice</name>
|
||||
@ -261,11 +261,20 @@
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.vibrator</name>
|
||||
<transport>hwbinder</transport>
|
||||
<transport arch="32">passthrough</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IVibrator</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.lineage.touch</name>
|
||||
<transport arch="32">passthrough</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IGloveMode</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
||||
|
@ -33,23 +33,14 @@ on early-init
|
||||
chmod 0755 /sys/kernel/debug
|
||||
|
||||
# Increase max readahead size to 512 KB
|
||||
restorecon --recursive /sys/block/mmcblk0/queue
|
||||
write /sys/block/mmcblk0/queue/read_ahead_kb 512
|
||||
write /sys/block/mmcblk0/queue/scheduler noop
|
||||
|
||||
write /sys/block/zram0/comp_algorithm lz4
|
||||
|
||||
mkdir /firmware 0771 system system
|
||||
mkdir /firmware-modem 0771 system system
|
||||
|
||||
mkdir /efs 0771 system radio
|
||||
|
||||
symlink /data/tombstones /tombstones
|
||||
|
||||
on init
|
||||
# Support legacy paths
|
||||
symlink /sdcard /storage/sdcard0
|
||||
|
||||
write /proc/sys/vm/page-cluster 0
|
||||
|
||||
on fs
|
||||
@ -65,6 +56,9 @@ on fs
|
||||
write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1
|
||||
write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059
|
||||
|
||||
# GnssConfiguration doesn't actually look at gps.conf, just the debug file
|
||||
mount none /system/etc/gps.conf /system/etc/gps_debug.conf bind
|
||||
|
||||
on post-fs
|
||||
# for controlling write performance boosting
|
||||
chown system radio /sys/block/mmcblk0/bkops_en
|
||||
@ -74,14 +68,9 @@ on post-fs-data
|
||||
mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
|
||||
|
||||
# Create the directories used by the Wireless subsystem
|
||||
mkdir /data/misc/wifi 0770 wifi wifi
|
||||
chmod 0660 /data/misc/wifi/wpa_supplicant.conf
|
||||
mkdir /data/misc/wifi/sockets 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi/wpa 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi/wpa/sockets 0770 wifi wifi
|
||||
mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
|
||||
mkdir /data/misc/dhcp 0775 dhcp dhcp
|
||||
|
||||
# Create the directories used by CnE subsystem
|
||||
mkdir /data/connectivity 0771 system system
|
||||
@ -928,11 +917,8 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
|
||||
-g@android:wpa_wlan0
|
||||
interface android.hardware.wifi.supplicant@1.0::ISupplicant default
|
||||
interface android.hardware.wifi.supplicant@1.1::ISupplicant default
|
||||
interface android.hardware.wifi.supplicant@1.2::ISupplicant default
|
||||
interface android.hardware.wifi.supplicant@1.3::ISupplicant default
|
||||
class main
|
||||
socket wpa_wlan0 dgram 660 wifi wifi
|
||||
group system wakelock
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user