Re: Flashing multiple devices with Fastboot

1,856 views
Skip to first unread message

sashidher gundogi

unread,
Apr 6, 2015, 10:27:49 AM4/6/15
to android-...@googlegroups.com
I am also trying to do same but with no success.

Could you please let me know, How to use flock?

On Monday, February 4, 2013 at 3:43:37 PM UTC-5, Tyler Baker wrote:
The trick was to use flock, and flock every fastboot call.

On Wednesday, January 30, 2013 7:21:55 AM UTC-8, Tyler Baker wrote:
Does anyone know if it is possible to flash using fastboot two devices at the same time? I have setup a automated test environment to flash platform builds, however if the test server tries to flash two devices at the same time all the fastboot processes hang.

In dmesg, I get flooded with these messages:

usb 1-5: usbfs: USBDEVFS_CONTROL failed cmd fastboot rqt 128 rq 6 len 256 ret -71

Thinking this might be a USB driver issues, I have tried this on three different machines, same result. Even build and installed the 3.6 and 3.7 kernels, no dice there.

After all of this I think I need to put some resource protection on fastboot binary, any thoughts?

Tyler

Marcel Hell

unread,
Apr 28, 2015, 4:49:05 PM4/28/15
to android-...@googlegroups.com
Did anyone find a solution on how to flash multiple connected devices with fastboot and is willing to share the steps or at leastmore insights?

Abdul Haseeb

unread,
Apr 28, 2015, 5:10:10 PM4/28/15
to android-...@googlegroups.com

Write a script with all fastboot commands adding device serial numbers in an array.

fastboot -s <@Serial number>

On Apr 28, 2015 13:49, "Marcel Hell" <marcel...@gmail.com> wrote:
Did anyone find a solution on how to flash multiple connected devices with fastboot and is willing to share the steps or at leastmore insights?

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages