diff options
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-x | extract-files.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/extract-files.sh b/extract-files.sh index 031451a..6b87d38 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -61,7 +61,16 @@ fi function blob_fixup() { case "${1}" in - product/lib64/libdpmframework.so) + system_ext/etc/init/dpmd.rc) + sed -i "s|/system/product/bin/|/system/system_ext/bin/|g" "${2}" + ;; + system_ext/etc/permissions/com.qti.dpmframework.xml | system_ext/etc/permissions/dpmapi.xml | system_ext/etc/permissions/telephonyservice.xml) + sed -i "s|/system/product/framework/|/system/system_ext/framework/|g" "${2}" + ;; + system_ext/etc/permissions/qcrilhook.xml) + sed -i 's|/product/framework/qcrilhook.jar|/system_ext/framework/qcrilhook.jar|g' "${2}" + ;; + system_ext/lib64/libdpmframework.so) "${PATCHELF}" --add-needed "libshim_dpmframework.so" "${2}" ;; vendor/bin/mlipayd@1.1) |