diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index a594444..79256ca 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -25,6 +25,10 @@ TARGET_2ND_CPU_VARIANT_RUNTIME := kryo385 TARGET_BOOTLOADER_BOARD_NAME := kona TARGET_NO_BOOTLOADER := true +# HIDL +DEVICE_MATRIX_FILE := $(COMMON_PATH)/compatibility_matrix.xml +DEVICE_MANIFEST_FILE := $(COMMON_PATH)/manifest.xml + # Kernel BOARD_BOOT_HEADER_VERSION := 2 BOARD_KERNEL_BASE := 0x00000000 diff --git a/compatibility_matrix.xml b/compatibility_matrix.xml new file mode 100644 index 0000000..7c505a8 --- /dev/null +++ b/compatibility_matrix.xml @@ -0,0 +1,82 @@ + + + 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..c1d94a2 --- /dev/null +++ b/manifest.xml @@ -0,0 +1,801 @@ + + + android.hardware.audio + hwbinder + 6.0 + + IDevicesFactory + default + + @6.0::IDevicesFactory/default + + + android.hardware.audio.effect + hwbinder + 6.0 + + IEffectsFactory + default + + @6.0::IEffectsFactory/default + + + android.hardware.bluetooth + hwbinder + 1.0 + + IBluetoothHci + default + + @1.0::IBluetoothHci/default + + + android.hardware.bluetooth.audio + hwbinder + 2.0 + + IBluetoothAudioProvidersFactory + default + + @2.0::IBluetoothAudioProvidersFactory/default + + + android.hardware.camera.provider + hwbinder + 2.4 + + ICameraProvider + legacy/0 + + @2.4::ICameraProvider/legacy/0 + + + android.hardware.configstore + hwbinder + 1.1 + + ISurfaceFlingerConfigs + default + + @1.1::ISurfaceFlingerConfigs/default + + + android.hardware.drm + hwbinder + @1.3::ICryptoFactory/wfdhdcp + @1.3::IDrmFactory/wfdhdcp + + + android.hardware.gatekeeper + hwbinder + 1.0 + + IGatekeeper + default + + @1.0::IGatekeeper/default + + + android.hardware.gnss + hwbinder + 1.1 + + IGnss + default + + @1.0::IGnss/gnss_vendor + @1.1::IGnss/default + + + android.hardware.ir + hwbinder + 1.0 + + IConsumerIr + default + + @1.0::IConsumerIr/default + + + android.hardware.keymaster + hwbinder + 4.0 + + IKeymasterDevice + default + + @4.0::IKeymasterDevice/default + + + android.hardware.media.omx + hwbinder + 1.0 + + IOmx + default + + + IOmxStore + default + + @1.0::IOmx/default + @1.0::IOmxStore/default + + + android.hardware.memtrack + hwbinder + 1.0 + + IMemtrack + default + + @1.0::IMemtrack/default + + + android.hardware.nfc + hwbinder + 1.2 + + INfc + default + + @1.2::INfc/default + + + android.hardware.radio + hwbinder + @1.2::ISap/slot1 + @1.2::ISap/slot2 + @1.5::IRadio/slot1 + @1.5::IRadio/slot2 + + + android.hardware.radio.config + hwbinder + 1.1 + + IRadioConfig + default + + @1.1::IRadioConfig/default + + + android.hardware.secure_element + hwbinder + 1.2 + + ISecureElement + SIM1 + eSE1 + + @1.2::ISecureElement/SIM1 + @1.2::ISecureElement/eSE1 + + + android.hardware.sensors + hwbinder + 1.0 + + ISensors + default + + @1.0::ISensors/default + + + android.hardware.soundtrigger + hwbinder + 2.3 + + ISoundTriggerHw + default + + @2.3::ISoundTriggerHw/default + + + android.hardware.tetheroffload.config + hwbinder + 1.0 + + IOffloadConfig + default + + @1.0::IOffloadConfig/default + + + android.hardware.tetheroffload.control + hwbinder + 1.0 + + IOffloadControl + default + + @1.0::IOffloadControl/default + + + com.qualcomm.qti.bluetooth_audio + hwbinder + 1.0 + + IBluetoothAudio + default + + @1.0::IBluetoothAudio/default + + + com.qualcomm.qti.dpm.api + hwbinder + 1.0 + + IdpmQmi + dpmQmiService + + @1.0::IdpmQmi/dpmQmiService + + + vendor.goodix.hardware.biometrics.fingerprint + hwbinder + 2.1 + + IGoodixFingerprintDaemon + default + + @2.1::IGoodixFingerprintDaemon/default + + + vendor.nxp.hardware.nfc + hwbinder + 2.0 + + INqNfc + default + + @2.0::INqNfc/default + + + vendor.qti.data.factory + hwbinder + 2.1 + + IFactory + default + + @2.1::IFactory/default + + + vendor.qti.esepowermanager + hwbinder + 1.1 + + IEsePowerManager + default + + @1.1::IEsePowerManager/default + + + vendor.qti.gnss + hwbinder + 1.2 + + ILocHidlGnss + gnss_vendor + + @1.2::ILocHidlGnss/gnss_vendor + + + vendor.qti.gnss + hwbinder + 2.1 + + ILocHidlGnss + gnss_vendor + + @2.1::ILocHidlGnss/gnss_vendor + + + vendor.qti.hardware.alarm + hwbinder + 1.0 + + IAlarm + default + + @1.0::IAlarm/default + + + vendor.qti.hardware.audiohalext + hwbinder + 1.0 + + IAudioHalExt + default + + @1.0::IAudioHalExt/default + + + vendor.qti.hardware.bluetooth_audio + hwbinder + 2.0 + + IBluetoothAudioProvidersFactory + default + + @2.0::IBluetoothAudioProvidersFactory/default + + + vendor.qti.hardware.bluetooth_sar + hwbinder + 1.1 + + IBluetoothSar + default + + @1.1::IBluetoothSar/default + + + vendor.qti.hardware.btconfigstore + hwbinder + 1.0 + + IBTConfigStore + default + + @1.0::IBTConfigStore/default + + + vendor.qti.hardware.cacert + hwbinder + 1.0 + + IService + default + + @1.0::IService/default + + + vendor.qti.hardware.camera.postproc + hwbinder + 1.0 + + IPostProcService + camerapostprocservice + + @1.0::IPostProcService/camerapostprocservice + + + vendor.qti.hardware.capabilityconfigstore + hwbinder + 1.0 + + ICapabilityConfigStore + default + + @1.0::ICapabilityConfigStore/default + + + vendor.qti.hardware.data.connection + hwbinder + 1.1 + + IDataConnection + slot1 + slot2 + + @1.1::IDataConnection/slot1 + @1.1::IDataConnection/slot2 + + + vendor.qti.hardware.data.iwlan + hwbinder + 1.0 + + IIWlan + slot1 + slot2 + + @1.0::IIWlan/slot1 + @1.0::IIWlan/slot2 + + + vendor.qti.hardware.data.latency + hwbinder + 1.0 + + ILinkLatency + default + + @1.0::ILinkLatency/default + + + vendor.qti.hardware.dsp + hwbinder + 1.0 + + IDspService + dspservice + + @1.0::IDspService/dspservice + + + vendor.qti.hardware.factory + hwbinder + 1.1 + + IFactory + default + + @1.1::IFactory/default + + + vendor.qti.hardware.iop + hwbinder + 2.0 + + IIop + default + + @2.0::IIop/default + + + vendor.qti.hardware.perf + hwbinder + 2.2 + + IPerf + default + + @2.2::IPerf/default + + + vendor.qti.hardware.qccvndhal + hwbinder + 1.0 + + IQccvndhal + qccvndhal + + @1.0::IQccvndhal/qccvndhal + + + vendor.qti.hardware.qseecom + hwbinder + 1.0 + + IQSEECom + default + + @1.0::IQSEECom/default + + + vendor.qti.hardware.qteeconnector + hwbinder + 1.0 + + IAppConnector + default + + + IGPAppConnector + default + + @1.0::IAppConnector/default + @1.0::IGPAppConnector/default + + + vendor.qti.hardware.radio.am + hwbinder + 1.0 + + IQcRilAudio + slot1 + slot2 + + @1.0::IQcRilAudio/slot1 + @1.0::IQcRilAudio/slot2 + + + vendor.qti.hardware.radio.ims + hwbinder + 1.6 + + IImsRadio + imsradio0 + imsradio1 + + @1.6::IImsRadio/imsradio0 + @1.6::IImsRadio/imsradio1 + + + vendor.qti.hardware.radio.internal.deviceinfo + hwbinder + 1.0 + + IDeviceInfo + deviceinfo + + @1.0::IDeviceInfo/deviceinfo + + + vendor.qti.hardware.radio.lpa + hwbinder + 1.0 + + IUimLpa + UimLpa0 + UimLpa1 + + @1.0::IUimLpa/UimLpa0 + @1.0::IUimLpa/UimLpa1 + + + vendor.qti.hardware.radio.qcrilhook + hwbinder + 1.0 + + IQtiOemHook + oemhook0 + oemhook1 + + @1.0::IQtiOemHook/oemhook0 + @1.0::IQtiOemHook/oemhook1 + + + vendor.qti.hardware.radio.qtiradio + hwbinder + 1.0 + + IQtiRadio + slot1 + slot2 + + @1.0::IQtiRadio/slot1 + @1.0::IQtiRadio/slot2 + + + vendor.qti.hardware.radio.qtiradio + hwbinder + 2.4 + + IQtiRadio + slot1 + slot2 + + @2.4::IQtiRadio/slot1 + @2.4::IQtiRadio/slot2 + + + vendor.qti.hardware.radio.uim + hwbinder + 1.2 + + IUim + Uim0 + Uim1 + + @1.2::IUim/Uim0 + @1.2::IUim/Uim1 + + + vendor.qti.hardware.radio.uim_remote_client + hwbinder + 1.0 + + IUimRemoteServiceClient + uimRemoteClient0 + uimRemoteClient1 + + @1.0::IUimRemoteServiceClient/uimRemoteClient0 + @1.0::IUimRemoteServiceClient/uimRemoteClient1 + + + vendor.qti.hardware.radio.uim_remote_server + hwbinder + 1.0 + + IUimRemoteServiceServer + uimRemoteServer0 + uimRemoteServer1 + + @1.0::IUimRemoteServiceServer/uimRemoteServer0 + @1.0::IUimRemoteServiceServer/uimRemoteServer1 + + + vendor.qti.hardware.sensorscalibrate + hwbinder + 1.0 + + ISensorsCalibrate + default + + @1.0::ISensorsCalibrate/default + + + vendor.qti.hardware.slmadapter + hwbinder + 1.0 + + ISlmAdapter + SlmAdapter + + @1.0::ISlmAdapter/SlmAdapter + + + vendor.qti.hardware.soter + hwbinder + 1.0 + + ISoter + default + + @1.0::ISoter/default + + + vendor.qti.hardware.trustedui + hwbinder + 1.0 + + ITrustedInput + default + + + ITrustedUI + default + + @1.0::ITrustedInput/default + @1.0::ITrustedUI/default + + + vendor.qti.hardware.tui_comm + hwbinder + 1.0 + + ITuiComm + default + + @1.0::ITuiComm/default + + + vendor.qti.hardware.vpp + hwbinder + 1.3 + + IHidlVppService + vppService + + @1.3::IHidlVppService/vppService + + + vendor.qti.hardware.wifi.wifilearner + hwbinder + 1.0 + + IWifiStats + wifiStats + + @1.0::IWifiStats/wifiStats + + + vendor.qti.hardware.wifidisplaysession + hwbinder + 1.0 + + IWifiDisplaySession + wifidisplaysession + + + IWifiDisplaySessionAudioTrack + wifidisplaysessionaudiotrack + + + IWifiDisplaySessionImageTrack + wifidisplaysessionimagetrack + + + IWifiDisplaySessionVideoTrack + wifidisplaysessionvideotrack + + @1.0::IWifiDisplaySession/wifidisplaysession + @1.0::IWifiDisplaySessionAudioTrack/wifidisplaysessionaudiotrack + @1.0::IWifiDisplaySessionImageTrack/wifidisplaysessionimagetrack + @1.0::IWifiDisplaySessionVideoTrack/wifidisplaysessionvideotrack + + + vendor.qti.imsrtpservice + hwbinder + 3.0 + + IRTPService + imsrtpservice + + @3.0::IRTPService/imsrtpservice + + + vendor.qti.qspmhal + hwbinder + 1.0 + + IQspmhal + default + + @1.0::IQspmhal/default + + + vendor.qti.sla.service + hwbinder + 1.0 + + ISlaService + default + + @1.0::ISlaService/default + + + vendor.xiaomi.hardware.batterylife + hwbinder + 1.0 + + IBatteryLife + default + + @1.0::IBatteryLife/default + + + vendor.xiaomi.hardware.citsensorservice + hwbinder + 1.1 + + ICitSensorService + default + + @1.1::ICitSensorService/default + + + vendor.xiaomi.hardware.citvendorservice + hwbinder + 1.0 + + ICitVendorService + default + + @1.0::ICitVendorService/default + + + vendor.xiaomi.hardware.displayfeature + hwbinder + 1.0 + + IDisplayFeature + default + + @1.0::IDisplayFeature/default + + + vendor.xiaomi.hardware.fingerprintextension + hwbinder + 1.0 + + IXiaomiFingerprint + default + + @1.0::IXiaomiFingerprint/default + + + vendor.xiaomi.hardware.motor + hwbinder + 1.0 + + IMotor + default + + @1.0::IMotor/default + + + vendor.xiaomi.hardware.touchfeature + hwbinder + 1.0 + + ITouchFeature + default + + @1.0::ITouchFeature/default + +