From owner-freebsd-questions@freebsd.org Mon Jul 15 00:06:09 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7DC2FABB3F for ; Mon, 15 Jul 2019 00:06:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) (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 9FEF36D0FF for ; Mon, 15 Jul 2019 00:06:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.163.113]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPA (Nemesis) id 1MfpGR-1iNp9Q0X4T-00gKmT; Mon, 15 Jul 2019 02:05:57 +0200 Date: Mon, 15 Jul 2019 02:05:55 +0200 From: Polytropon To: RW Cc: RW via freebsd-questions Subject: Re: How to explore Android device files under FreeBSD ? Message-Id: <20190715020555.08e161eb.freebsd@edvax.de> In-Reply-To: <20190715003435.49ada1a3@gumby.homeunix.com> References: <13b9dc8e-f489-afaf-4b2c-e08277e2ecbd@gmail.com> <20190714194416.6948d301.freebsd@edvax.de> <20190715003435.49ada1a3@gumby.homeunix.com> 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:f+EiNK1rU5VtfsXFrJw1R0bNhbGEA02M1ezGzgTvPL8wg6iRF3H RVXt0NJR4r+5XXApN+2BWMArcp6HDMqDAqtv3n88+H5s5jB5C2houmRFTT9CxqoDHjBoct6 XncriSsKzlLWT4boSKaLGiNoU1rKqac8L+ZDM6Zbc6UmMy2S3W0MaMrbNcp/zbmxqMevKIL NzVvWY0BTevNU8ZJS+vPA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:8R9Uqc1Mqhc=:8T5lWU+s+Jp43rcgj6tmdo A37y8F2LPoZWCCT+ERHAjjwZYgG8SdkNfk4BNbXAqZavqM+a5JuqiSiSHCK32hsXZIytTLNfm hdfzScfsBd5jhp3lsBRjDxz9sAdFaMvfcm/kOyL4i+KFo799GarJ9YRAXWRJpJcYos5UAbTCt aPoJUQ/P89LrQtDhM8P9cBO6564oJP90XgW8LxWBbozmBCHYMvBi6/ALLziJZ7E3KhT+rIPkB 3rmaSLnMLFpz8e+AoB3A/NBlTMYip7bu6hMxuVhQfcfnmfuXl+1nbUv2pSjYqPyoUz2IiJt2t JUtnUoVEGVOeZh+KJ7e72C6Fl4UQLgVCP3Q/fpWJgIrfmNdfUg3QORsV8lntsZ3dDA0lSMrNu 5dgto1RFlp1u5oub6sZJSu8QMWnLaA6qb3CXTjYVgmvDxyTDCzG9hXvoV9sCS3nrL9P+KW+nK gD2Q48SAPCm1vGkjK8+xjX5sOZ9bE6G+nhKRFKWIYfiPJXqjRYaaEVxceR4KsA75idPxw8uGc E/g8dS2+H4I+8WxQLQ9vJPTBHfwaHd9+OWfMeVcOlH9IAoy2oaEISXSPRrcKZDFqxbtCLVYhQ 9hRL02SfZVjeYj7Ho61vX8rgCZEvZX9nIWf9Ugl1WmQcTQNNQLWELsmuMXz+QUyyT4yOOJm/i qdYPu/+xTF3a2C47jliv2xF4ncgsDdFaxVZhQ5jBFiS4peKwRL2TUtoG6B6C33FxOiwswNptH Nq22NXTKVuKnja2OhJbg2xc1ZPdEmNRHYAnDwW3wKy/S2ACsrdA9uijmirI= X-Rspamd-Queue-Id: 9FEF36D0FF X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [6.01 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mx01.schlund.de]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[googlemail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[113.163.223.94.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.98)[0.982,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.54)[0.542,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999,0]; RCVD_IN_DNSWL_NONE(0.00)[24.17.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.10)[ip: (-0.48), ipnet: 212.227.0.0/16(-1.43), asn: 8560(2.39), country: DE(-0.01)] X-Spam: Yes 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: Mon, 15 Jul 2019 00:06:09 -0000 On Mon, 15 Jul 2019 00:34:35 +0100, RW via freebsd-questions wrote: > On Sun, 14 Jul 2019 19:44:16 +0200 > Polytropon wrote: > > > > Why doesn't it seem to occur to people that this sounds entirely > > wrong? It's not that it is impossible, or doesn't work - but > > shouldn't it be much easier to copy _your_ photos from _your_ phone > > without requiring a 3rd party app, registering for a crappy cloud > > service, or mess with "developer settings"? > > You shouldn't need to do that. "developer settings" is probably a > misunderstanding. The term "development settings" is my (sloppy) translation of the menu item I had to check in order to be able to use the adb program; the german language version calls it "Entwicklung", which means development. > > In my opinion, it should be as easy as attaching the USB cable and > > then immediately having access to a direct access mass storage, as > > per the standard. > > There's no good reason to support that when MTP does it better and is > widely supported. I didn't say anything against MTP. In fact, that's how I got files from an iPad. There is absolutely nothing wrong with MTP, as there are convenient tools, both for CLI and GUI use. I just don't think it is good reasoning to assume that you have to install some app or register to some cloud service just to get your photos from your smarthone. Maybe those aren't that smart after all? ;-) > > Mount it, copy your files, unmount it, done. No > > need for apps and cloud nonsense. Of course, using an MTP interface > > is also easy, and with GUI tools like gtkam, access is super easy. > > It should work that way by default, with cable. > > You can do that, but some people prefer to do it wirelessly. Again, no problem if it works wirelessly in a similar easy manner. However, using a cable is the idea that says "most simple way", because that's how you did it with any previous device that didn't have wireless functionality (for example, cameras). > Most Android file managers support sftp (as well as ftp and ftps), but > I've never got any of them to work with FreeBSD. I get > > sshd[77936]: error: PAM: Authentication error for from > 192.168.1.65 > > It's strange because FileZilla works from Windows, and I can get ssh > terminal access from Android and Windows. Username and password are > pure ASCII. In that case, use Wireshark to examine the traffic. An alternative is of course FTP, which you should only use on trusted networks, because it doesn't have encryption of access credentials (which you could easily see in Wireshark). > > Why do manufacturers think it's okay to make things needlessly > > complicated? > > In my experience they haven't. You must be glad to have purchased a smartphone that does everything according to your expectations. Sadly, that doesn't seem to be the default, especially when you exit the "supported ecosystem" and want to do something with your everyday FreeBSD-based tools... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...