Initial commit for the re-code

This commit is contained in:
DjBushido
2014-07-04 21:16:52 -04:00
commit 0c383c088a
715 changed files with 10847 additions and 0 deletions

17
wait_for_emulator Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
bootanim=""
failcounter=0
until [[ "$bootanim" =~ "stopped" ]]; do
bootanim=`adb -e shell getprop init.svc.bootanim 2>&1`
echo "$bootanim"
if [[ "$bootanim" =~ "not found" ]]; then
let "failcounter += 1"
if [[ $failcounter -gt 3 ]]; then
echo "Failed to start emulator"
exit 1
fi
fi
sleep 1
done
echo "Done"