miatoll: dynamically load widevine blobs for curtana

due to some miatoll devices not having a11 fw which leads to them being L3, this should load a11 blobs for a11 devices (currently only curtana) while the default is a10 blobs, temporary
This commit is contained in:
Ramii Ahmed 2021-04-10 15:57:13 +02:00 committed by Aryan Gupta
parent 5191fd4cfd
commit 76c08d115f
6 changed files with 13 additions and 0 deletions

View File

@ -439,6 +439,13 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
vndk_package
# Widevine
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/widevine/32bit_libcpion_curtana.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcpion_curtana.so \
$(LOCAL_PATH)/widevine/32bit_liboemcrypto_curtana.so:$(TARGET_COPY_OUT_VENDOR)/lib/liboemcrypto_curtana.so \
$(LOCAL_PATH)/widevine/64bit_libcpion_curtana.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcpion_curtana.so \
$(LOCAL_PATH)/widevine/64bit_liboemcrypto_curtana.so:$(TARGET_COPY_OUT_VENDOR)/lib64/liboemcrypto_curtana.so
# WiFi
PRODUCT_PACKAGES += \
android.hardware.wifi@1.0-service \

View File

@ -19,6 +19,12 @@ on boot && property:ro.product.vendor.device=*
mount none /vendor/etc/thermal-engine-map-${ro.product.vendor.device}.conf /vendor/etc/thermal-engine-map.conf bind
start thermal-engine
on init && property:ro.boot.hwname=curtana
mount none /vendor/lib/libcpion_curtana.so /vendor/lib/libcpion.so bind
mount none /vendor/lib/liboemcrypto_curtana.so /vendor/lib/liboemcrypto.so bind
mount none /vendor/lib64/libcpion_curtana.so /vendor/lib64/libcpion.so bind
mount none /vendor/lib64/liboemcrypto_curtana.so /vendor/lib64/liboemcrypto.so bind
on init && property:ro.boot.hwname=joyeuse
setprop ro.boot.product.hardware.sku joyeuse
start vendor.nfc_hal_service

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.