From owner-freebsd-questions@freebsd.org Sat Jul 13 23:10:26 2019 Return-Path: Delivered-To: freebsd-questions@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 D060415CFBDA for ; Sat, 13 Jul 2019 23:10:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B44873805 for ; Sat, 13 Jul 2019 23:10:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.34.221]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPA (Nemesis) id 1Mof1D-1iFRK01LYn-00p85B; Sun, 14 Jul 2019 01:10:13 +0200 Date: Sun, 14 Jul 2019 01:10:13 +0200 From: Polytropon To: Manish Jain Cc: "freebsd-questions@freebsd.org" Subject: Re: How to explore Android device files under FreeBSD ? Message-Id: <20190714011013.ffd240ce.freebsd@edvax.de> In-Reply-To: References: <20190713224753.f5e51166.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:6gG8inSw47LnCY+6H0PvP3d379Cpkm39v9rrKT1OW7ZDkdYkbiy DOkBnuMx9PWYxvoNqrA8L9Oi4k2rGCg8cwrYN8FNjW0AXPchUcH5NbitviFEdXvqd8npi/A JHI42+Zlt9t2rWdgEWHiyYXOil+zi9xTqH0IhranUvFEo6wyH0vspww0WIeJiu/dvygvLs0 sFoQn7Z7R9FMNA08qoTrA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Jc0vTxCojv0=:SzNmKNnE5wZVTZgPZnGGBY Fb7/y0VQQKqexgYJUDOBpSeU9W3/eWdQJkHRRWxYgbp0zwbDNshDZjZ/aARMiIVDdl/nsJrWy VTw0QBYn8I+1Y6KDICTFCO+4xcLKZCB7R16Tw2QQ43xsaPvLkvxD4TOoWkCZzojrGQjmNHHaz Z8Uy0TKBGEYPqQyaaxYKpfn5sphMXv/svB7iEL+X4rWT6zipJky9ESri4bin9XjQdez0Vn8mw rZwk4+VgFsxCCKntB3HK0BGJSMXeR0hPmY3rFT0a51dO2utrSngIkEa18UkPCo0QNta4iEZ/w 2wwVtpsp4l+klXOIawH2MAI9FOAJiJHxeurLSr3jRWDInAE+pzqxc6sF4vzcIxIhEIwb59As6 xsREujNXV4shdA6SH82D0GjMZsUN/v0n3VurPuT0XYQzVrYr4Q8FdB+TfKq9XsY7Rc4tr8qyi T9LAy4zSuQCNRVR6qylrZTuWxqNe6MJOjMLwgf73+vwfTO5YheqNPKzHLqEqBbYJuvvKoOH9n wK7Dq0dc52mBqa/zKW3H8tmgmjEb4bKnQX5uwxqgPbHP8awQbjO4GmCFdYjUwbBdtC2pTfZ2z 22krF+YKPzSkmyWk8Y0o11V0TUY/nBHhW3QVrFVVM/+1DcUYNXjed39Oe7kHsRApA7GxWLoaC 38+zqQhX6so2fWvBhA4VXVoSwur2qyrvnTmFx8uzYCcRqzJA3TT5hsFUUWl907uXPYCa9HmwP MycYuYeFlq4xfQMAA0n8nSYcqIF6nClOzk/3FdErDPB719702+Go1Nc3oz4= X-Rspamd-Queue-Id: 7B44873805 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.33 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; MX_GOOD(-0.01)[cached: mx00.schlund.de]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[hotmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[221.34.12.178.zen.spamhaus.org : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.86)[0.859,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.13)[0.127,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.991,0]; RCVD_IN_DNSWL_NONE(0.00)[10.17.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[10.17.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.03)[ip: (-1.13), ipnet: 212.227.0.0/16(-1.43), asn: 8560(2.40), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jul 2019 23:10:26 -0000 On Sat, 13 Jul 2019 22:41:12 +0000, Manish Jain wrote: > No matter how hard I try, no da0 turns up. Does _nothing_ turn up? Maybe you need to enable USB on the phone first. Check your settings. In some cases, the device files are being created after a specific interaction on the phone, i. e., it detects that some USB contact has been established, and then asks as if USB mass storage or MTP compatible device is desired; after making that selection, the appropriate devices are being created according to the "self-identification" of the phone. > I found a couple of solutions, both Linux based : > > > 1) Connect with USB and put your phone in PTM (Picture Tranfer) mode > rather than the default MTP. > > Now you can download the pictures. This is possible on FreeBSD with programs based on libgphoto2, the gphoto2 CLI and gtkam GUI tool. Just make sure you have the device permissions set (or call the program with "sudo"); this of course requires a /dev/ugen* entry, and sometimes you need to enable / set this in the phone, too: they can act both as USB mass storage (/dev/da* device(s)) or MTP device (/dev/ugen* device). Again, check the phone's settings. It's possible that all USB access has been turned off. > 2) Send the files over Bluetooth. Does your system have BT capabilities? Personally, I find it a lot easier to deal with a real cable connection, no stupid apps, 3rd party "cloud" services and other nonsense... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...