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 | |
if [ $# -gt 0 ]; then | |
adb root | |
sleep 1 | |
adb remount | |
sleep 1 | |
for i in "$@" | |
do | |
adb shell sync | |
adb shell rm -rf /"$i" |
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 | |
#sudo ./adb kill-server | |
#sleep 2 | |
#sudo ./adb start-server | |
#sleep 3 | |
#sudo ./adb root | |
#sudo ./adb remount | |
sudo adb devices | |
sudo adb reboot-bootloader | |
sleep 3 |
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
#!/usr/bin/env python3 | |
""" | |
How to use this script? | |
----------------------- | |
Prerequisites: | |
1. python3, git and Beyond Compare/meld should be installed. | |
LINUX: | |
1. Create a directory ~/bin in your home directory. |
OlderNewer