Wait for device before running adb root [shallow_flash.sh].

fix #234
`Restarting`