dre: Update blobs to Android 12 (DE2117_11.C.15)

Change-Id: Ie768fe44ebb2c09218a805de674e45f96ab7d12b
This commit is contained in:
Albert Tang 2022-06-12 17:57:08 -05:00
parent 689ab738cb
commit b0d5291408
9 changed files with 674 additions and 684 deletions

View file

@ -40,6 +40,12 @@ $(DSP_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)
ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT)
ACDBDATA_SYMLINKS := $(TARGET_OUT_ODM)/etc/acdbdata
$(ACDBDATA_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "Creating acdbdata symlinks: $@"
@mkdir -p $@
$(hide) ln -sf /vendor/etc/acdbdata/adsp_avs_config.acdb $@/adsp_avs_config.acdb
RFS_MSM_ADSP_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/adsp/
$(RFS_MSM_ADSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "Creating RFS MSM ADSP folder structure: $@"
@ -95,5 +101,5 @@ $(WIFI_FIRMWARE_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
$(hide) ln -sf /mnt/vendor/persist/WCNSS_qcom_cfg.ini $@/WCNSS_qcom_cfg.ini
$(hide) ln -sf /mnt/vendor/persist/wlan_mac.bin $@/wlan_mac.bin
ALL_DEFAULT_INSTALLED_MODULES += $(RFS_MSM_ADSP_SYMLINKS) $(RFS_MSM_CDSP_SYMLINKS) $(RFS_MSM_MPSS_SYMLINKS) $(RFS_MSM_SLPI_SYMLINKS) $(WIFI_FIRMWARE_SYMLINKS)
ALL_DEFAULT_INSTALLED_MODULES += $(ACDBDATA_SYMLINKS) $(RFS_MSM_ADSP_SYMLINKS) $(RFS_MSM_CDSP_SYMLINKS) $(RFS_MSM_MPSS_SYMLINKS) $(RFS_MSM_SLPI_SYMLINKS) $(WIFI_FIRMWARE_SYMLINKS)
endif

View file

@ -202,7 +202,7 @@ CUSTOM_APNS_FILE := $(DEVICE_PATH)/configs/apns-conf.xml
ENABLE_VENDOR_RIL_SERVICE := true
# Security patch level
VENDOR_SECURITY_PATCH := 2022-03-01
VENDOR_SECURITY_PATCH := 2022-05-05
# SEPolicy
include device/qcom/sepolicy_vndr/SEPolicy.mk

View file

@ -1,32 +0,0 @@
libAlgoInterface.so
libAlgoProcess.so
vendor.qti.hardware.camera.postproc@1.0.so
libPolarrRender.so
libapsexif.so
libapsjpeg.so
libmpbase.so
libarcsoft_high_dynamic_range.so 64
libarcsoft_low_light_hdr.so 64
libarcsoft_hdr_couple_api.so 64
libarcsoft_high_dynamic_range_couple.so 64
libCOppLceTonemapAPI.so
libVDSuperPhotoAPI.so
libFaceBeautyCap.so
libstface_fd_api.so
libVDDualCameraBlurlessAPI.so 64
libSNPE.so 64
libc++_shared.so 64
libstdc++.so
libarcsoft_dualcam_bokeh_api.so 64
libPlatformValidatorShared.so 64
libcvface_api.so
libsnpe_dsp_domains_v3.so 64
libPolarrRender.so
libXDocProcessSDK.so
libqti-perfd-client.so
libadsprpc.so
libcdsprpc.so
libsdsprpc.so
libfastcvopt.so
liblistensoundmodel2.so
libOpenCL.so

View file

@ -35,10 +35,6 @@ $(call inherit-product, vendor/oneplus/dre/dre-vendor.mk)
# Set product shipping level
PRODUCT_SHIPPING_API_LEVEL := 30
# Additional native libraries
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
@ -143,7 +139,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
# Authsecret
@ -224,10 +219,6 @@ PRODUCT_PACKAGES += \
vendor.oem_ftm_svc_disable.rc \
vendor_modprobe.sh
# Device ID Attestation
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml
# Display
PRODUCT_PACKAGES += \
android.hardware.graphics.common-V1-ndk_platform.vendor \
@ -237,7 +228,7 @@ PRODUCT_PACKAGES += \
android.hardware.memtrack@1.0-service \
init.qti.display_boot.sh \
libdisplayconfig.qti \
libdisplayconfig.qti.vendor \
libdisplayconfig.system.qti \
libmemutils \
libqdMetaData \
libsdmcore \
@ -263,7 +254,6 @@ PRODUCT_PACKAGES += \
vendor.display.config@1.15.vendor \
vendor.display.config@2.0 \
vendor.display.config@2.0.vendor \
vendor.oneplus.hardware.display@1.0.vendor \
vendor.qti.hardware.display.allocator-service \
vendor.qti.hardware.display.composer-service \
vendor.qti.hardware.display.mapper@1.0.vendor \
@ -378,7 +368,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
libavservices_minijail \
libavservices_minijail.vendor \
libavservices_minijail_vendor \
libcodec2_hidl@1.0.vendor
# Net
@ -479,12 +468,20 @@ PRODUCT_SOONG_NAMESPACES += \
# Telephony
PRODUCT_PACKAGES += \
extphonelib \
extphonelib-product \
extphonelib.xml \
extphonelib_product.xml \
ims-ext-common \
ims_ext_common.xml \
qti-telephony-hidl-wrapper \
qti-telephony-hidl-wrapper-prd \
qti_telephony_hidl_wrapper.xml \
qti_telephony_hidl_wrapper_prd.xml \
qti-telephony-utils \
qti-telephony-utils-prd \
qti_telephony_utils.xml \
qti_telephony_utils_prd.xml \
telephony-ext
PRODUCT_BOOT_JARS += \
@ -563,8 +560,10 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml

View file

@ -1,60 +1,12 @@
<compatibility-matrix version="2.0" type="framework">
<hal format="aidl" optional="true">
<name>vendor.aac.hardware.richtap.vibrator</name>
<interface>
<name>IRichtapVibrator</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.dolby.hardware.dms</name>
<version>2.0</version>
<interface>
<name>IDms</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.goodix3626.hardware.biometrics.fingerprint</name>
<version>2.1</version>
<interface>
<name>IGoodixFingerprintDaemon</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.nxp.eventprocessor</name>
<version>1.0</version>
<interface>
<name>INxpEseEvtProcessor</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.nxp.hardware.nfc</name>
<version>1.0-1</version>
<version>2.0</version>
<interface>
<name>INqNfc</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.nxp.nxpese</name>
<version>1.0</version>
<interface>
<name>INxpEse</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.nxp.nxpnfc</name>
<version>1.0</version>
<interface>
<name>INxpNfc</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.nxp.nxpnfclegacy</name>
<version>1.0</version>
@ -79,116 +31,39 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>vendor.oneplus.fingerprint.extension</name>
<hal format="hidl" optional="true">
<name>vendor.oplus.hardware.appradio</name>
<version>1.0</version>
<interface>
<name>IVendorFingerprintExtensions</name>
<name>IOplusAppRadio</name>
<instance>oplus_app_slot1</instance>
<instance>oplus_app_slot2</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.oplus.hardware.biometrics.fingerprint</name>
<version>2.1</version>
<interface>
<name>IBiometricsFingerprint</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.oneplus.hardware.CameraMDMHIDL</name>
<name>vendor.oplus.hardware.ims</name>
<version>1.0</version>
<interface>
<name>IOnePlusCameraMDM</name>
<instance>default</instance>
<name>IOplusImsRadio</name>
<instance>oplusimsradio0</instance>
<instance>oplusimsradio1</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.oneplus.hardware.camera</name>
<version>1.0</version>
<name>vendor.oplus.hardware.radio</name>
<version>1.0-1</version>
<interface>
<name>IOnePlusCameraProvider</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.oneplus.hardware.cwb</name>
<version>1.0</version>
<interface>
<name>ICwbService</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>vendor.oneplus.hardware.display</name>
<version>1.0</version>
<interface>
<name>IOneplusDisplay</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>vendor.oneplus.hardware.drmkey</name>
<version>1.0</version>
<interface>
<name>IOneplusDrmKey</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.oneplus.hardware.hdcpkey</name>
<version>1.0</version>
<interface>
<name>IOneplusHdcpKey</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.oneplus.hardware.hypnus</name>
<version>1.0</version>
<interface>
<name>IHypnusUtil</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>vendor.oneplus.hardware.ifaa</name>
<version>2.0</version>
<interface>
<name>IOneplusIfaa</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.oneplus.hardware.lmvibrator</name>
<version>1.0</version>
<interface>
<name>ILinearMotorVibrator</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.oneplus.hardware.motorcontrol</name>
<version>1.0</version>
<interface>
<name>IOPMotorControl</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>vendor.oneplus.hardware.param</name>
<version>1.0</version>
<interface>
<name>IOneplusParam</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>vendor.oneplus.hardware.rpmb</name>
<version>1.0</version>
<interface>
<name>IOneplusRpmb</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="false">
<name>vendor.oneplus.hardware.wifi</name>
<version>1.1</version>
<interface>
<name>IOneplusWifi</name>
<instance>default</instance>
<name>IOplusRadio</name>
<instance>oplus_slot1</instance>
<instance>oplus_slot2</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
@ -207,12 +82,4 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.rongcard.hardware.eid</name>
<version>1.0</version>
<interface>
<name>IEidDevice</name>
<instance>default</instance>
</interface>
</hal>
</compatibility-matrix>

View file

@ -58,9 +58,6 @@ function blob_fixup() {
system_ext/lib64/libwfdnative.so)
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}"
;;
vendor/lib64/hw/fingerprint.qcom.so)
sed -i "s/goodix\.3626/fingerprint/g" "${2}"
;;
esac
}

View file

@ -33,8 +33,8 @@ PRODUCT_MODEL := DE2117
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="OnePlusN200-user 11 release-keys" \
PRIVATE_BUILD_DESC="OnePlusN200-user 12 SKQ1.210216.001 202205192251 release-keys" \
TARGET_DEVICE=OnePlusN200 \
TARGET_PRODUCT=OnePlusN200
BUILD_FINGERPRINT := OnePlus/OnePlusN200/OnePlusN200:11/RKQ1.201217.002/2203021418:user/release-keys
BUILD_FINGERPRINT := OnePlus/OnePlusN200/OnePlusN200:12/SKQ1.210216.001/R.202205192251:user/release-keys

View file

@ -1,5 +1,4 @@
<manifest version="2.0" type="device" target-level="5">
<kernel target-level="5"/>
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
@ -69,16 +68,6 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IComponentStore</name>
<instance>default</instance>
<instance>software</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.media.omx</name>
<transport>hwbinder</transport>
@ -113,8 +102,8 @@
<hal format="hidl">
<name>android.hardware.radio</name>
<transport>hwbinder</transport>
<fqname>@1.2::ISap/slot1</fqname>
<fqname>@1.5::IRadio/slot1</fqname>
<fqname>@1.2::ISap/slot1</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.radio.config</name>
@ -188,123 +177,6 @@
<instance>com.qualcomm.qti.uceservice</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.goodix3626.hardware.biometrics.fingerprint</name>
<transport>hwbinder</transport>
<version>2.1</version>
<interface>
<name>IGoodixFingerprintDaemon</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.engnative.engineer</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IEngineer</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.faceunlock.hal</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IFaceUnlockNativeService</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.fingerprint.extension</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IVendorFingerprintExtensions</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.hardware.CameraMDMHIDL</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOnePlusCameraMDM</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.hardware.camera</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOnePlusCameraProvider</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.hardware.display</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOneplusDisplay</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.hardware.drmkey</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOneplusDrmKey</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.hardware.hypnus</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IHypnusUtil</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.hardware.ifaa</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IOneplusIfaa</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.hardware.param</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOneplusParam</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.hardware.rpmb</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOneplusRpmb</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.oneplus.hardware.wifi</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IOneplusWifi</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.qti.data.factory</name>
<transport>hwbinder</transport>
@ -314,15 +186,6 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.qti.esepowermanager</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IEsePowerManager</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.alarm</name>
<transport>hwbinder</transport>
@ -394,8 +257,8 @@
<name>IDataConnection</name>
<instance>slot1</instance>
</interface>
</hal>
<hal format="hidl">
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.data.iwlan</name>
<transport>hwbinder</transport>
<version>1.0</version>
@ -516,15 +379,6 @@
<instance>deviceinfo</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.radio.lpa</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IUimLpa</name>
<instance>UimLpa0</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.radio.qcrilhook</name>
<transport>hwbinder</transport>
@ -672,14 +526,5 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.rongcard.hardware.eid</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IEidDevice</name>
<instance>default</instance>
</interface>
<fqname>@1.0::IEidDevice/default</fqname>
</hal>
<kernel target-level="5"/>
</manifest>

File diff suppressed because it is too large Load diff