diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index ec74717..5eb07d1 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -50,8 +50,7 @@ TARGET_KERNEL_HAVE_EXFAT := true
TARGET_FS_CONFIG_GEN := $(COMMON_PATH)/config.fs
# HIDL
-DEVICE_MANIFEST_FILE := $(COMMON_PATH)/manifest.xml
-DEVICE_MATRIX_FILE := $(COMMON_PATH)/compatibility_matrix.xml
+DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest.xml
# Kernel
BOARD_KERNEL_BASE := 0x00000000
diff --git a/compatibility_matrix.xml b/compatibility_matrix.xml
deleted file mode 100644
index 3082485..0000000
--- a/compatibility_matrix.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
- android.frameworks.schedulerservice
- 1.0
-
- ISchedulingPolicyService
- default
-
-
-
- android.frameworks.sensorservice
- 1.0
-
- ISensorManager
- default
-
-
-
- android.hidl.allocator
- 1.0
-
- IAllocator
- ashmem
-
-
-
- android.hidl.manager
- 1.0
-
- IServiceManager
- default
-
-
-
- android.hidl.memory
- 1.0
-
- IMapper
- ashmem
-
-
-
- android.hidl.token
- 1.0
-
- ITokenManager
- default
-
-
-
- android.system.wifi.keystore
- 1.0
-
- IKeystore
- default
-
-
-
-
diff --git a/klte.mk b/klte.mk
index 9c3ef84..dd76589 100644
--- a/klte.mk
+++ b/klte.mk
@@ -35,11 +35,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_policy.conf:system/vendor/etc/audio_policy.conf \
$(LOCAL_PATH)/audio/mixer_paths.xml:system/vendor/etc/mixer_paths.xml
-# Bluetooth
-PRODUCT_PACKAGES += \
- android.hardware.bluetooth@1.0-impl \
- libbt-vendor
-
# Camera
PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.4-impl \
@@ -49,11 +44,6 @@ PRODUCT_PACKAGES += \
libxml2 \
Snap
-# DRM
-PRODUCT_PACKAGES += \
- android.hardware.drm@1.0-impl \
- android.hardware.drm@1.0-service
-
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
@@ -68,7 +58,6 @@ PRODUCT_PACKAGES += \
# GPS
PRODUCT_PACKAGES += \
- android.hardware.gnss@1.0-impl \
gps.msm8974
PRODUCT_COPY_FILES += \
@@ -83,20 +72,11 @@ PRODUCT_PACKAGES += \
ebtables \
ethertypes
-# IR Blaster
-PRODUCT_PACKAGES += \
- android.hardware.ir@1.0-impl \
- consumerir.msm8974
-
# Keylayouts
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
$(LOCAL_PATH)/keylayout/sec_touchkey.kl:system/usr/keylayout/sec_touchkey.kl
-# Keymaster
-PRODUCT_PACKAGES += \
- android.hardware.keymaster@3.0-impl
-
# Lights
PRODUCT_PACKAGES += \
android.hardware.light@2.0-impl \
@@ -117,7 +97,6 @@ PRODUCT_PACKAGES += \
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \
- frameworks/native/data/etc/android.hardware.consumerir.xml:system/etc/permissions/android.hardware.consumerir.xml \
frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:system/etc/permissions/android.hardware.sensor.stepcounter.xml \
@@ -141,33 +120,18 @@ PRODUCT_PACKAGES += \
init.sec.boot.sh \
ueventd.qcom.rc
-# Sensors
-PRODUCT_PACKAGES += \
- android.hardware.sensors@1.0-impl
-
# Thermal
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine-8974.conf:system/vendor/etc/thermal-engine-8974.conf
-# USB
-PRODUCT_PACKAGES += \
- android.hardware.usb@1.0-service
-
# Vibrator
PRODUCT_PACKAGES += \
android.hardware.vibrator@1.0-impl
# Wifi
PRODUCT_PACKAGES += \
- android.hardware.wifi@1.0-service \
- hostapd \
- hostapd.accept \
- hostapd.deny \
libnetcmdiface \
macloader \
- wificond \
- wpa_supplicant \
- wpa_supplicant.conf
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \
diff --git a/manifest.xml b/manifest.xml
index 897e84d..354ba97 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -1,31 +1,4 @@
-
- android.hardware.audio
- passthrough
- 2.0
-
- IDevicesFactory
- default
-
-
-
- android.hardware.audio.effect
- passthrough
- 2.0
-
- IEffectsFactory
- default
-
-
-
- android.hardware.bluetooth
- passthrough
- 1.0
-
- IBluetoothHci
- default
-
-
android.hardware.camera.provider
passthrough
@@ -35,85 +8,6 @@
legacy/0
-
- android.hardware.configstore
- hwbinder
- 1.0
-
- ISurfaceFlingerConfigs
- default
-
-
-
- android.hardware.drm
- hwbinder
- 1.0
-
- ICryptoFactory
- widevine
- default
-
-
- IDrmFactory
- widevine
- default
-
-
-
- android.hardware.gnss
- passthrough
- 1.0
-
- IGnss
- default
-
-
-
- android.hardware.graphics.allocator
- hwbinder
- 2.0
-
- IAllocator
- default
-
-
-
- android.hardware.graphics.composer
- passthrough
-
- 2.1
-
- IComposer
- default
-
-
-
- android.hardware.graphics.mapper
- passthrough
- 2.0
-
- IMapper
- default
-
-
-
- android.hardware.ir
- passthrough
- 1.0
-
- IConsumerIr
- default
-
-
-
- android.hardware.keymaster
- passthrough
- 3.0
-
- IKeymasterDevice
- default
-
-
android.hardware.light
passthrough
@@ -123,15 +17,6 @@
default
-
- android.hardware.memtrack
- passthrough
- 1.0
-
- IMemtrack
- default
-
-
android.hardware.nfc
passthrough
@@ -141,15 +26,6 @@
default
-
- android.hardware.power
- passthrough
- 1.0
-
- IPower
- default
-
-
android.hardware.radio
hwbinder
@@ -172,24 +48,6 @@
slot1
-
- android.hardware.sensors
- passthrough
- 1.0
-
- ISensors
- default
-
-
-
- android.hardware.usb
- hwbinder
- 1.0
-
- IUsb
- default
-
-
android.hardware.vibrator
passthrough
@@ -199,22 +57,4 @@
default
-
- android.hardware.wifi
- hwbinder
- 1.0
-
- IWifi
- default
-
-
-
- android.hardware.wifi.supplicant
- hwbinder
- 1.0
-
- ISupplicant
- default
-
-