Fatboot waiting for device forever

639 views
Skip to first unread message

Hatem

unread,
Jul 25, 2009, 3:16:21 PM7/25/09
to android-platform
I have built android cupcake for dream on ubuntu 9.04 (unr), but I
have issue with fastboot.

First "fastboot flashall" is not working even if ANDROID_PRODUCT_OUT
is specified and return correct value.

I specified product with "fastboot flashall -p dream-open" but got a
waiting for device msg that last forever.

I tried to run fastboot with sudo
$sudo chwon root:root fastboot
$sudo ~/mydroid/out/host/linux-x86/bin/fastboot flashall -p dream-open
error: neither -p product specified nor ANDROID_PRODUCT_OUT set

I have also tried to switch between camera button then back button but
nothing.

Notice that adb work only with "$sudo ./adb device"

Any help

-Hatem

Jean-Baptiste Queru

unread,
Jul 25, 2009, 3:23:47 PM7/25/09
to android-...@googlegroups.com
The fact that root can access your device over adb but that your
regular user can't shows that you have an issue with your USB config
file, as the symptom indicates that your user isn't authorized to
access that USB device.

(Sorry, I'm not an expert in linux USB config)

JBQ
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Hatem

unread,
Jul 25, 2009, 4:02:14 PM7/25/09
to android-platform
Fixed

I had to make changes in udev because of the adb issue, so i removed
the changes and run fastboot with normal user. It works fine.

I found on launchpad https://bugs.launchpad.net/ubuntu/+source/hal/+bug/316215
, it's not really helpful just use sudo to run adb. udev-144 and other
workarounds seems to cause more issues than fixes.

Merci Jean !

Hatem

unread,
Jul 26, 2009, 11:40:03 AM7/26/09
to android-platform
More updates on this issue, I had a strange behaviour but it seems
when i deleted udev file that fastboot worked correctly last time. The
issue confirmed to be with udev, I created today /etc/udev/rules.d/11-
android.rules with (replace hatem with your current user) :

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c01",
MODE="0666", OWNER="hatem"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c02",
MODE="0666", OWNER="hatem"

$sudo /etc/init.d/udev restart
$fastboot flashall -p dream-open

device booted in fastboot mode and pluggued, just hit the camera
button then the back button and it was recognized.




On Jul 25, 11:02 pm, Hatem <hatem...@gmail.com> wrote:
> Fixed
>
> I had to make changes in udev because of the adb issue, so i removed
> the changes and run fastboot with normal user. It works fine.
>
> I found on launchpadhttps://bugs.launchpad.net/ubuntu/+source/hal/+bug/316215
Reply all
Reply to author
Forward
0 new messages