mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-04-29 02:37:19 +09:00
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:
parent
5191fd4cfd
commit
76c08d115f
@ -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 \
|
||||
|
@ -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
|
||||
|
BIN
widevine/32bit_libcpion_curtana.so
Normal file
BIN
widevine/32bit_libcpion_curtana.so
Normal file
Binary file not shown.
BIN
widevine/32bit_liboemcrypto_curtana.so
Normal file
BIN
widevine/32bit_liboemcrypto_curtana.so
Normal file
Binary file not shown.
BIN
widevine/64bit_libcpion_curtana.so
Normal file
BIN
widevine/64bit_libcpion_curtana.so
Normal file
Binary file not shown.
BIN
widevine/64bit_liboemcrypto_curtana.so
Normal file
BIN
widevine/64bit_liboemcrypto_curtana.so
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user