diff --git a/device.mk b/device.mk index 97307d1..6f3e0f7 100644 --- a/device.mk +++ b/device.mk @@ -52,3 +52,10 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/thermal/thermal-engine-map-joyeuse.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-map-joyeuse.conf \ $(LOCAL_PATH)/thermal/thermal-engine-normal-joyeuse.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-normal-joyeuse.conf \ $(LOCAL_PATH)/thermal/thermal-engine-camera-joyeuse.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-camera-joyeuse.conf + +# 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 diff --git a/rootdir/etc/init.device.rc b/rootdir/etc/init.device.rc index 09a1ce3..c3b4398 100644 --- a/rootdir/etc/init.device.rc +++ b/rootdir/etc/init.device.rc @@ -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 diff --git a/widevine/32bit_libcpion_curtana.so b/widevine/32bit_libcpion_curtana.so new file mode 100644 index 0000000..4c955b1 Binary files /dev/null and b/widevine/32bit_libcpion_curtana.so differ diff --git a/widevine/32bit_liboemcrypto_curtana.so b/widevine/32bit_liboemcrypto_curtana.so new file mode 100644 index 0000000..d79001e Binary files /dev/null and b/widevine/32bit_liboemcrypto_curtana.so differ diff --git a/widevine/64bit_libcpion_curtana.so b/widevine/64bit_libcpion_curtana.so new file mode 100644 index 0000000..4016234 Binary files /dev/null and b/widevine/64bit_libcpion_curtana.so differ diff --git a/widevine/64bit_liboemcrypto_curtana.so b/widevine/64bit_liboemcrypto_curtana.so new file mode 100644 index 0000000..8ba9556 Binary files /dev/null and b/widevine/64bit_liboemcrypto_curtana.so differ