Skip to content

Instantly share code, notes, and snippets.

@TwizzyIndy
Created March 3, 2017 19:22
Show Gist options
  • Save TwizzyIndy/843ec5d9c75dc51996d0cdce2c77a236 to your computer and use it in GitHub Desktop.
Save TwizzyIndy/843ec5d9c75dc51996d0cdce2c77a236 to your computer and use it in GitHub Desktop.
NotoSansKiller
#!/system/bin/sh
#author : TwizzyIndy
#created on : 11/2016
su -c busybox mount -o remount,rw /system
cd /system/fonts
for font in NotoSansMyanmar*
do
fontName=`echo $font|cut -f 1 -d '.'`
echo "Backuping " $fontName ".."
cp $font $fontName.bak
echo "Replacing " $fontName ".."
dd if=/data/local/tmp/zg.ttf of=$font
echo "Changing permission .."
chmod 644 $font
done
echo Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment