summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/envsetup.sh b/envsetup.sh
index f7810b7..c572c16 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -1627,6 +1627,7 @@ function installboot()
fi
fi
adb start-server
+ adb wait-for-online
adb root
sleep 1
adb wait-for-online shell mount /system 2>&1 > /dev/null
@@ -1671,6 +1672,7 @@ function installrecovery()
fi
fi
adb start-server
+ adb wait-for-online
adb root
sleep 1
adb wait-for-online shell mount /system 2>&1 >> /dev/null