aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprepare-device.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/prepare-device.sh b/prepare-device.sh
index 0c479af..ebeb257 100755
--- a/prepare-device.sh
+++ b/prepare-device.sh
@@ -29,6 +29,7 @@ then
# disable IKS
IPADDR=`cat IPADDR`
echo "Disable IKS for $IPADDR"
+ adb root
adb connect $IPADDR:5555
adb devices
echo "Waiting for device"
@@ -43,6 +44,7 @@ then
# enable IKS
IPADDR=`cat IPADDR`
echo "Enable IKS for $IPADDR"
+ adb root
adb connect $IPADDR:5555
adb devices
echo "Waiting for device"
@@ -57,6 +59,7 @@ then
# disable IKS
IPADDR=`cat IPADDR`
echo "Disable IKS for $IPADDR"
+ adb root
adb connect $IPADDR:5555
adb devices
echo "Waiting for device"
@@ -74,6 +77,7 @@ then
# disable IKS
IPADDR=`cat IPADDR`
echo "Disable IKS for $IPADDR"
+ adb root
adb connect $IPADDR:5555
adb devices
echo "Waiting for device"