4
EMULATOR_DIR=${EMULATOR_DIR-`pwd`/emulator}
10
killall emulator-arm || true
20
adb shell sudo -i -u phablet status unity8 | grep -q start/running && break 2
23
echo "Error: Emulator failed to fully boot"
25
[ "$j" = "3" ] && { echo "Error: Giving up"; exit 1; }