From 5fd741dbe00acd848b31b30d9966a88aa30c05dd Mon Sep 17 00:00:00 2001 From: Naresh Kamboju Date: Tue, 27 Jan 2015 16:56:02 +0530 Subject: prepare-device.sh: adb root should return zero 'adb root' not successful all time. prepare device script failed to complete its execution. Due to this reason test (a7_only and a15_only) modes did not setting up properly. Change-Id: Ie31ef914796d5f12c085ba313d9ddd5ee5d0d4bc 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 e32bd0e..914dc36 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 | true 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 | true 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 | true 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 | true adb connect $IPADDR:5555 - adb root adb devices echo "Waiting for device" adb wait-for-device -- cgit v1.2.3