diff --git a/phh-on-data.sh b/phh-on-data.sh index 371fdfb..23506b7 100644 --- a/phh-on-data.sh +++ b/phh-on-data.sh @@ -14,3 +14,10 @@ if [ "$vndk" = 27 ] && getprop init.svc.mediacodec |grep -q restarting;then mount /system/lib64/vndk-27/libminijail.so /vendor/lib64/libminijail_vendor.so mount /system/lib/vndk-27/libminijail.so /vendor/lib/libminijail_vendor.so fi + +if [ "$vndk" = 28 ] && getprop |grep init.svc | grep media |grep -q restarting;then + mount /system/lib64/vndk-27/libminijail.so /vendor/lib64/libminijail_vendor.so + mount /system/lib/vndk-27/libminijail.so /vendor/lib/libminijail_vendor.so + mount /system/lib64/vndk-27/libminijail.so /system/lib64/vndk-28/libminijail.so + mount /system/lib/vndk-27/libminijail.so /system/lib/vndk-28/libminijail.so +fi