Created
May 20, 2016 08:50
-
-
Save dietercastel/6c003ae3bd911dd503d0c38f57c898fb to your computer and use it in GitHub Desktop.
Run adb as root and execute the script.
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/bash | |
#run adb as root | |
adb root | |
cat $1 | while read line; do adb shell "$line"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment