Created
May 16, 2016 09:50
-
-
Save saidie/3fc2ad8d5a1a9b69d3e272420051c109 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
adb push hosts /data/local/tmp | |
adb shell "su -c 'mount -orw,remount /system'" | |
adb shell "su -c 'cp /data/local/tmp/hosts /system/etc/hosts'" | |
adb shell "su -c 'mount -oro,remount /system'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment