Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2018 08:10:05 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        freebsd-usb@freebsd.org
Subject:   Re: Android Debug Bridge (adb) on FreeBSD && smartphone BQ E4.5
Message-ID:  <1e7ba4e7-a8ef-b51c-8a2b-fdabf4d37a32@selasky.org>
In-Reply-To: <20181120054609.GA2728@c720-r314251>
References:  <20181120054609.GA2728@c720-r314251>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/20/18 6:46 AM, Matthias Apitz wrote:
> 
> Hello,
> 
> Normally I enter into my Ubuntu smartphone BQ E4.5 via Wifi and SSH. But due to a
> system damage and factory reset of the phone I have had to use the ADB via USB cable and
> this did not work.
> 
> Attaching the phone gives in messages:
> 
> Nov 20 06:26:11 c720-r314251 kernel: ugen0.5: <BQ AquarisE4.5> at usbus0
> Nov 20 06:26:11 c720-r314251 root: Unknown USB device: vendor 0x2a47 product 0x2008 bus uhub0
> 
> And the adb says in trace mode:
> 
> # uname -a
> FreeBSD c720-r314251 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r314251M: Fri Jun 30 08:50:03 CEST 2017     guru@c720-r314251:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> # export ADB_TRACE=all
> 
> 
> # adb start-server
> adb I  2236 100330 adb_trace.cpp:169] Android Debug Bridge version 1.0.36
> adb I  2236 100330 adb_trace.cpp:169] Revision 5cf8bbd5b29d-android
> adb I  2236 100330 adb_trace.cpp:169]
> adb I  2236 100330 adb_client.cpp:135] _adb_connect: host:version
> adb I  2236 100330 adb_client.cpp:187] adb_connect: service host:start-server
> * daemon not running. starting it now on port 5037 *
> adb I  2237 100191 adb_trace.cpp:169] Android Debug Bridge version 1.0.36
> adb I  2237 100191 adb_trace.cpp:169] Revision 5cf8bbd5b29d-android
> adb I  2237 100191 adb_trace.cpp:169]
> adb I  2237 100191 transport.cpp:572] socketpair: (3,5)
> adb I  2237 100191 fdevent.cpp:152] fdevent_install (fdevent 5 A)
> adb I  2237 100191 fdevent.cpp:198] fdevent_set: (fdevent 5 AR), events = 1
> adb I  2237 100191 usb_libusb.cpp:587] usb_init(): started
> adb I  2237 100191 usb_libusb.cpp:587] usb_init(): started
> adb I  2237 100191 usb_libusb.cpp:543] scan_usb_devices(): started
> adb I  2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 1bcf:2c67
> adb I  2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, address: 3
> adb I  2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface have not 2 endpoints, ignoring
> adb I  2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface have not 2 endpoints, ignoring
> adb I  2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 0489:e056
> adb I  2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, address: 4
> adb I  2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface have not 2 endpoints, ignoring
> adb I  2237 100191 usb_libusb.cpp:268] check_usb_interface(): Endpoint (1) is not bulk (2), ignoring
> adb I  2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 076b:6632
> adb I  2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, address: 2
> adb I  2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface have not 2 endpoints, ignoring
> adb I  2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 2a47:2008
>                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> adb I  2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, address: 5
> adb I  2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface have not 2 endpoints, ignoring
>                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> adb I  2237 100191 usb_libusb.cpp:614] usb_init(): finished
> adb I  2237 100191 transport_local.cpp:315] transport: local client init
> adb I  2237 100191 adb_auth_host.cpp:431] adb_auth_init
> adb I  2237 100191 adb_auth_host.cpp:292] home '/root'
> adb I  2237 100357 usb_libusb.cpp:569] device_poll_thread(): Created USB scan thread
> adb I  2237 100358 transport_local.cpp:132] transport: client_socket_thread() starting
> adb I  2237 100191 adb_auth_host.cpp:322] user key '/root/.android/adbkey'
> adb I  2237 100191 adb_auth_host.cpp:265] read_key '/root/.android/adbkey'
> adb I  2237 100191 fdevent.cpp:152] fdevent_install (fdevent 17 A)
> adb I  2237 100191 fdevent.cpp:198] fdevent_set: (fdevent 17 AR), events = 1
> * daemon started successfully *
> 
> And of course, no adb command works. Any help would be highly appreciated.
> 
> 	matthias
> 
> 

Did you enable developer mode on your phone?

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1e7ba4e7-a8ef-b51c-8a2b-fdabf4d37a32>