From 9628c45613275c62e9314d708ff701396c604944 Mon Sep 17 00:00:00 2001 From: Naresh Kamboju Date: Tue, 27 Jan 2015 08:07:38 +0530 Subject: prepare-device.sh: adb connect and then adb root Change-Id: I2f36464455032d599f87f6aeb4e4f9d001cf732f Signed-off-by: Naresh Kamboju --- prepare-device.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prepare-device.sh b/prepare-device.sh index ebeb257..e32bd0e 100755 --- a/prepare-device.sh +++ b/prepare-device.sh @@ -29,8 +29,8 @@ then # disable IKS IPADDR=`cat IPADDR` echo "Disable IKS for $IPADDR" - adb root adb connect $IPADDR:5555 + adb root adb devices echo "Waiting for device" adb wait-for-device @@ -44,8 +44,8 @@ then # enable IKS IPADDR=`cat IPADDR` echo "Enable IKS for $IPADDR" - adb root adb connect $IPADDR:5555 + adb root adb devices echo "Waiting for device" adb wait-for-device @@ -59,8 +59,8 @@ then # disable IKS IPADDR=`cat IPADDR` echo "Disable IKS for $IPADDR" - adb root adb connect $IPADDR:5555 + adb root adb devices echo "Waiting for device" adb wait-for-device @@ -77,8 +77,8 @@ then # disable IKS IPADDR=`cat IPADDR` echo "Disable IKS for $IPADDR" - adb root adb connect $IPADDR:5555 + adb root adb devices echo "Waiting for device" adb wait-for-device -- cgit v1.2.3