Hi,

I noticed that a lot of flash scripts just fail because my device is
locked or in another kind of unexpected state.

I usually get this and unlock the device, but I'd also argue that this
is a tiny bug in your scripts :)

You could always do something like this:

echo "Waiting for device.."
# this blocks your shell script until adb finds the device:
adb wait-for-device


Thanks!
Freddy
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to