diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2015-01-20 15:40:16 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2015-01-20 15:40:16 +0530 |
commit | 665ece94334a77d7d1a58155bbcad955e3f7164d (patch) | |
tree | f37ddd46a39d6d5199887a8c40111ff3391c5663 | |
parent | 61d304031ad91af2d9ff93a7add126da5ced2b81 (diff) |
prepare-device.sh: adb root
With the latest version of Android 5.0.x, the device has to be connected
with adb root and followed by adb connect $IP-ADDR to have root access.
Change-Id: I53957c141d76bf5e69c96bb4c643203fe3e86e71
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-x | prepare-device.sh | 4 |
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" |