Test Fix Root 3.1

This commit is contained in:
ostajic 2020-11-01 17:36:02 +01:00
parent d7f49a29bc
commit 9118aa848d
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ object PackageHelper {
{
if(Shell.su("""echo "#!/system/bin/sh\nwhile [ '\${"$"}(getprop sys.boot_completed)' != 1 ];\ndo sleep 1;\ndone;\nmount -o bind $apkFPath $path" > /data/adb/service.d/vanced.sh""").exec().isSuccess)
{
Shell.su("""while read line; do echo \${"$"}{line} | grep youtube | awk '{print \${'$'}2}' | xargs umount -l; done< /proc/mounts > /data/adb/post-fs-data.d/vanced.sh""").exec()
Shell.su("""echo "#!/system/bin/sh\nwhile read line; do echo \${"$"}{line} | grep youtube | awk '{print \${'$'}2}' | xargs umount -l; done< /proc/mounts" > /data/adb/post-fs-data.d/vanced.sh""").exec()
return Shell.su("chmod 744 /data/adb/service.d/vanced.sh").exec().isSuccess
}
return false