From owner-freebsd-usb@freebsd.org Tue Nov 20 05:46:21 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54DAC113F19C for ; Tue, 20 Nov 2018 05:46:21 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 81BE07AF5F for ; Tue, 20 Nov 2018 05:46:20 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.97.47] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gOyrS-0004J9-TE; Tue, 20 Nov 2018 06:46:11 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id wAK5kAG5002789 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 20 Nov 2018 06:46:10 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id wAK5k9Xu002788; Tue, 20 Nov 2018 06:46:09 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 20 Nov 2018 06:46:09 +0100 From: Matthias Apitz To: freebsd-usb@freebsd.org Subject: Android Debug Bridge (adb) on FreeBSD && smartphone BQ E4.5 Message-ID: <20181120054609.GA2728@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.97.47 X-Rspamd-Queue-Id: 81BE07AF5F X-Spamd-Result: default: False [-1.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[mail.unixarea.de]; SIGNED_PGP(-2.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; RECEIVED_SPAMHAUS_PBL(0.00)[47.97.217.88.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.886,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.92)[-0.921,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.00)[country: DE(-0.01)]; NEURAL_SPAM_SHORT(0.83)[0.825,0]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 05:46:21 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, Normally I enter into my Ubuntu smartphone BQ E4.5 via Wifi and SSH. But du= e 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: at usbus0 Nov 20 06:26:11 c720-r314251 root: Unknown USB device: vendor 0x2a47 produc= t 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=3Dall # 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]=20 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-serv= er * 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]=20 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 =3D= 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 1= bcf:2c67 adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, addre= ss: 3 adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface hav= e not 2 endpoints, ignoring adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface hav= e not 2 endpoints, ignoring adb I 2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 0= 489:e056 adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, addre= ss: 4 adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface hav= e 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 0= 76b:6632 adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, addre= ss: 2 adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface hav= e not 2 endpoints, ignoring adb I 2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 2= a47:2008 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^ adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, addre= ss: 5 adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface hav= e 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 sc= an 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 = =3D 1 * daemon started successfully * And of course, no adb command works. Any help would be highly appreciated. matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, = Druschba instead of Nazis, to live instead of to survive. --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlvzn54ACgkQR8z35Hb+ nRGIFBAAk75smObTkn3BHyaumz3DBukzRNMD+hzoUhpAsPkRx8vw+9js3vZlBP87 DBaq/0h+EA8QvsNYVTIGEyiYW/IedVc2D5GptgjBPMwMj9hzaJQxcapV6+37hOP2 gHTu7gYBC2IZXz/sqHYQVYivAB7STdPUHDOA3hZ3lUI8UTnFH4kDwgRjKAyiYwHh +3DDQ5OeK9yJ6HMCeOMMM7jA4H8ux/dL7dGqP6K6jh0PYs/L4R1a6HCDctUzHrEM KnNE8zPc7Ngn0F3KOhg39DkpX9Gci9rrM+JSJnM77bT8kRFGNGjVKCk8bBSFHx9Y 7u8uf+hG2r+L4DqHwZLMc9BZ3IuSJD+Y04HDWwBZpIWjQN3+3RTVN2OvrNmsbw+0 DQqrVqPD+d6XMakwRRSRTlHgfqOJnB3lIqWl0D+BedDUGgdlPvZRoZUTlVUmSUHk YA4H9ttdal4nSCf/IA2e1K5AWmPM0C5H+Bgt7+oIOSF5m+JNa0cI/9D+2gZLwvZl CM0A/W7LouqtdolzkaHyh5veS+JQ6GTfqnWuxwZdX2cEf976iCFh4A44aP1XFYDZ 7o/46zbROccKrfyWyGEkezIB397VxEwmYMiggXyLgQ+nh29OsCLoV6Ks+nRvfctz TqSqhOJsY8/28tGuCtWqNn6U4y3oXyadf1HIliHEiQcVYa6JCeQ= =dJUs -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--