diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index efe3616..8282552 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -104,6 +104,12 @@ TARGET_USES_QCOM_DISPLAY_BSP := true
TARGET_USES_QTI_MAPPER_2_0 := true
TARGET_USES_QTI_MAPPER_EXTENSIONS_1_1 := true
+# HIDL
+DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
+ vendor/lineage/config/device_framework_matrix.xml
+DEVICE_MATRIX_FILE := $(COMMON_PATH)/compatibility_matrix.xml
+DEVICE_MANIFEST_FILE := $(COMMON_PATH)/manifest.xml
+
# Metadata
BOARD_USES_METADATA_PARTITION := true
diff --git a/compatibility_matrix.xml b/compatibility_matrix.xml
new file mode 100644
index 0000000..8c2c0bf
--- /dev/null
+++ b/compatibility_matrix.xml
@@ -0,0 +1,109 @@
+
+
+
+ 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
+
+
+
+ vendor.qti.hardware.qccsyshal
+ 1.0
+
+ IQccsyshal
+ qccsyshal
+
+
+
+ vendor.qti.hardware.sigma_miracast
+ 1.0
+
+ Isigma_miracast
+ sigmahal
+
+
+
+ vendor.qti.hardware.wifi.keystore
+ 1.0
+
+ IKeystoreExt
+ default
+
+
+
diff --git a/manifest.xml b/manifest.xml
new file mode 100644
index 0000000..1f4dd86
--- /dev/null
+++ b/manifest.xml
@@ -0,0 +1,647 @@
+
+
+ android.hardware.audio
+ hwbinder
+ 6.0
+
+ IDevicesFactory
+ default
+
+
+
+ android.hardware.audio.effect
+ hwbinder
+ 6.0
+
+ IEffectsFactory
+ default
+
+
+
+ android.hardware.authsecret
+ hwbinder
+ 1.0
+
+ IAuthSecret
+ default
+
+
+
+ android.hardware.biometrics.fingerprint
+ hwbinder
+ 2.1
+
+ IBiometricsFingerprint
+ default
+
+
+
+ android.hardware.bluetooth
+ hwbinder
+ 1.0
+
+ IBluetoothHci
+ default
+
+
+
+ android.hardware.bluetooth.audio
+ hwbinder
+ 2.0
+
+ IBluetoothAudioProvidersFactory
+ default
+
+
+
+ android.hardware.camera.provider
+ hwbinder
+ 2.4
+
+ ICameraProvider
+ legacy/0
+
+
+
+ android.hardware.drm
+ hwbinder
+ @1.3::ICryptoFactory/widevine
+ @1.3::IDrmFactory/widevine
+
+
+ android.hardware.drm
+ hwbinder
+ @1.3::ICryptoFactory/wfdhdcp
+ @1.3::IDrmFactory/wfdhdcp
+
+
+ android.hardware.gatekeeper
+ hwbinder
+ 1.0
+
+ IGatekeeper
+ default
+
+
+
+ android.hardware.keymaster
+ hwbinder
+ @4.1::IKeymasterDevice/default
+
+
+ android.hardware.media.omx
+ hwbinder
+ 1.0
+
+ IOmx
+ default
+
+
+ IOmxStore
+ default
+
+
+
+ android.hardware.memtrack
+ hwbinder
+ 1.0
+
+ IMemtrack
+ default
+
+
+
+ android.hardware.nfc
+ hwbinder
+ 1.2
+
+ INfc
+ default
+
+
+
+ android.hardware.radio
+ hwbinder
+ @1.2::ISap/slot1
+ @1.5::IRadio/slot1
+
+
+ android.hardware.radio.config
+ hwbinder
+ 1.1
+
+ IRadioConfig
+ default
+
+
+
+ android.hardware.secure_element
+ hwbinder
+ 1.2
+
+ ISecureElement
+ SIM1
+
+
+
+ android.hardware.soundtrigger
+ hwbinder
+ 2.3
+
+ ISoundTriggerHw
+ default
+
+
+
+ android.hardware.tetheroffload.config
+ hwbinder
+ 1.0
+
+ IOffloadConfig
+ default
+
+
+
+ android.hardware.tetheroffload.control
+ hwbinder
+ 1.0
+
+ IOffloadControl
+ default
+
+
+
+ com.motorola.hardware.biometric.fingerprint
+ hwbinder
+ 1.0
+
+ IMotoFingerPrint
+ default
+
+
+ IMotoFingerPrintSensorTest
+ default
+
+
+
+ com.motorola.hardware.display.panel
+ hwbinder
+ 1.1
+
+ IDisplayPanel
+ default
+
+
+
+ com.motorola.hardware.display.touch
+ hwbinder
+ 1.1
+
+ IMotTouch
+ default
+
+
+
+ com.qualcomm.qti.dpm.api
+ hwbinder
+ 1.0
+
+ IdpmQmi
+ dpmQmiService
+
+
+
+ com.qualcomm.qti.imscmservice
+ hwbinder
+ 2.2
+
+ IImsCmService
+ qti.ims.connectionmanagerservice
+
+
+
+ com.qualcomm.qti.uceservice
+ hwbinder
+ 2.3
+
+ IUceService
+ com.qualcomm.qti.uceservice
+
+
+
+ motorola.hardware.audio.adspd
+ hwbinder
+
+
+ motorola.hardware.camera.desktop
+ hwbinder
+ 1.0
+ 2.0
+
+ ICameraDesktop
+ default
+
+
+
+ motorola.hardware.camera.imgtuner
+ hwbinder
+ 1.0
+
+ IImageTuning
+ default
+
+
+
+ motorola.hardware.fdrcontrol
+ hwbinder
+ 1.2
+
+ IFdrControl
+ default
+
+
+
+ motorola.hardware.health
+ hwbinder
+ 2.0
+
+ IMotHealth
+ default
+
+
+
+ motorola.hardware.vibrator
+ hwbinder
+ 1.0
+
+ IMotVibrator
+ default
+
+
+
+ motorola.hardware.wifi.supplicant
+ hwbinder
+ 1.1
+
+ ISupplicantMot
+ default
+
+
+
+ motorola.hardware.wireless.powershare
+ hwbinder
+
+
+ vendor.qti.data.factory
+ hwbinder
+ 2.2
+
+ IFactory
+ default
+
+
+
+ vendor.qti.hardware.alarm
+ hwbinder
+ 1.0
+
+ IAlarm
+ default
+
+
+
+ vendor.qti.hardware.bluetooth_audio
+ hwbinder
+ 2.0
+
+ IBluetoothAudioProvidersFactory
+ default
+
+
+
+ vendor.qti.hardware.bluetooth_sar
+ hwbinder
+ 1.1
+
+ IBluetoothSar
+ default
+
+
+
+ vendor.qti.hardware.btconfigstore
+ hwbinder
+ 2.0
+
+ IBTConfigStore
+ default
+
+
+
+ vendor.qti.hardware.cacert
+ hwbinder
+ 1.0
+
+ IService
+ default
+
+
+
+ vendor.qti.hardware.camera.postproc
+ hwbinder
+ 1.0
+
+ IPostProcService
+ camerapostprocservice
+
+
+
+ vendor.qti.hardware.capabilityconfigstore
+ hwbinder
+ 1.0
+
+ ICapabilityConfigStore
+ default
+
+
+
+ vendor.qti.hardware.data.connection
+ hwbinder
+ 1.1
+
+ IDataConnection
+ slot1
+
+
+
+ vendor.qti.hardware.data.iwlan
+ hwbinder
+ 1.0
+
+ IIWlan
+ slot1
+
+
+
+ vendor.qti.hardware.data.latency
+ hwbinder
+ 1.0
+
+ ILinkLatency
+ default
+
+
+
+ vendor.qti.hardware.dsp
+ hwbinder
+ 1.0
+
+ IDspService
+ dspservice
+
+
+
+ vendor.qti.hardware.embmssl
+ hwbinder
+ 1.1
+
+ IEmbms
+ embmsslServer0
+
+
+
+ vendor.qti.hardware.fm
+ hwbinder
+ 1.0
+
+ IFmHci
+ default
+
+
+
+ vendor.qti.hardware.iop
+ hwbinder
+ 2.0
+
+ IIop
+ default
+
+
+
+ vendor.qti.hardware.mwqemadapter
+ hwbinder
+ 1.0
+
+ IMwqemAdapter
+ MwqemAdapter
+
+
+
+ vendor.qti.hardware.perf
+ hwbinder
+ 2.2
+
+ IPerf
+ default
+
+
+
+ vendor.qti.hardware.radio.am
+ hwbinder
+ 1.0
+
+ IQcRilAudio
+ slot1
+
+
+
+ vendor.qti.hardware.radio.ims
+ hwbinder
+ 1.6
+
+ IImsRadio
+ imsradio0
+
+
+
+ vendor.qti.hardware.radio.internal.deviceinfo
+ hwbinder
+ 1.0
+
+ IDeviceInfo
+ deviceinfo
+
+
+
+ vendor.qti.hardware.radio.lpa
+ hwbinder
+ 1.0
+
+ IUimLpa
+ UimLpa0
+
+
+
+ vendor.qti.hardware.radio.qcrilhook
+ hwbinder
+ 1.0
+
+ IQtiOemHook
+ oemhook0
+
+
+
+ vendor.qti.hardware.radio.qtiradio
+ hwbinder
+ 1.0
+
+ IQtiRadio
+ slot1
+
+
+
+ vendor.qti.hardware.radio.qtiradio
+ hwbinder
+ 2.4
+
+ IQtiRadio
+ slot1
+
+
+
+ vendor.qti.hardware.radio.uim
+ hwbinder
+ 1.2
+
+ IUim
+ Uim0
+
+
+
+ vendor.qti.hardware.radio.uim_remote_client
+ hwbinder
+ 1.0
+
+ IUimRemoteServiceClient
+ uimRemoteClient0
+
+
+
+ vendor.qti.hardware.radio.uim_remote_server
+ hwbinder
+ 1.0
+
+ IUimRemoteServiceServer
+ uimRemoteServer0
+
+
+
+ vendor.qti.hardware.sensorscalibrate
+ hwbinder
+ 1.0
+
+ ISensorsCalibrate
+ default
+
+
+
+ vendor.qti.hardware.soter
+ hwbinder
+ 1.0
+
+ ISoter
+ default
+
+
+
+ vendor.qti.hardware.tui_comm
+ hwbinder
+ 1.0
+
+ ITuiComm
+ default
+
+
+
+ vendor.qti.hardware.vpp
+ hwbinder
+ 1.3
+
+ IHidlVppService
+ vppService
+
+
+
+ vendor.qti.hardware.wifi.wifilearner
+ hwbinder
+ 1.0
+
+ IWifiStats
+ wifiStats
+
+
+
+ vendor.qti.hardware.wifidisplaysession
+ hwbinder
+ 1.0
+
+ IWifiDisplaySession
+ wifidisplaysession
+
+
+ IWifiDisplaySessionAudioTrack
+ wifidisplaysessionaudiotrack
+
+
+ IWifiDisplaySessionImageTrack
+ wifidisplaysessionimagetrack
+
+
+ IWifiDisplaySessionVideoTrack
+ wifidisplaysessionvideotrack
+
+
+
+ vendor.qti.ims.callinfo
+ hwbinder
+ 1.0
+
+ IService
+ default
+
+
+
+ vendor.qti.ims.factory
+ hwbinder
+ 1.0
+
+ IImsFactory
+ default
+
+
+
+ vendor.qti.imsrtpservice
+ hwbinder
+ 3.0
+
+ IRTPService
+ imsrtpservice
+
+
+
+ vendor.qti.power.pasrmanager
+ hwbinder
+
+
+ vendor.qti.qspmhal
+ hwbinder
+ 1.0
+
+ IQspmhal
+ default
+
+
+
+ 30.0
+
+
+