https://stackoverflow.com/questions/3634041/detect-when-android-emulator-is-fully-booted
while [ "`adb shell getprop sys.boot_completed | tr -d '\r' `" != "1" ] ; do sleep 1; done