aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2015-01-18 23:39:30 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2015-01-18 23:39:30 +0530
commit8129d0a416d61c9d6ff706b9038c8019966120ed (patch)
treeca130bc427018acb5132644ed09e4693457fb18c
parent5ee46f5b4604bf4147e90fbc95a3a48f283b9f6f (diff)
adb root and remount
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-xprepare-device.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/prepare-device.sh b/prepare-device.sh
index e403718..8d9f3b2 100755
--- a/prepare-device.sh
+++ b/prepare-device.sh
@@ -53,9 +53,11 @@ fi
if [ $1 == 'hmp' ]
then
IPADDR=`cat IPADDR`
+ adb root
adb connect $IPADDR:5555
adb devices
echo "Waiting for device"
+ adb remount
adb wait-for-device
adb devices
fi