Skip to content

Instantly share code, notes, and snippets.

@MrCarb0n
Last active July 2, 2022 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrCarb0n/c934d3597b65a54c39cc85c5814cd2bd to your computer and use it in GitHub Desktop.
Save MrCarb0n/c934d3597b65a54c39cc85c5814cd2bd to your computer and use it in GitHub Desktop.
# kill Google font
# Attempt #2
su -c '{
PM=$(which pm)
GMSF="com.google.android.gms/com.google.android.gms.fonts"
for i in $(ls /data/user); do
$PM disable --user $i "$GMSF.update.UpdateSchedulerService"
$PM disable --user $i "$GMSF.provider.FontsProvider"
done
}' 2> /dev/null
# Attempt #1
su -c '{
BB=/data/adb/magisk/busybox
GFP=/data/data/com.google.android.gms/files/fonts/opentype
[ -d $GFP ] && {
$BB chgrp -R 9999 $GFP
$BB chown -R 9999 $GFP
$BB chmod -R 0000 $GFP
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment