Date: Sun, 14 Jul 2019 20:37:03 +0000 From: Manish Jain <bourne.identity@hotmail.com> To: "Lena@lena.kiev.ua" <Lena@lena.kiev.ua>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: How to explore Android device files under FreeBSD ? Message-ID: <AM0PR03MB4594F64F2F97BE444B6F3EAEF6CC0@AM0PR03MB4594.eurprd03.prod.outlook.com> In-Reply-To: <20190714130014.GG787@lena.kiev> References: <mailman.83.1563105601.71453.freebsd-questions@freebsd.org> <20190714130014.GG787@lena.kiev>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Lena/others, I tried following your simplistic solution. But instead of a directory named Cameras, I get this: LIBUSB_FUNCTION: libusb_bulk_transfer leave your device may be locked or does not have any storage available I do not know what that means. I have 'OEM unlocking' enabled in Developer Options, and 'USB debugging' enabled in Settings. So how do I unlock the phone ? My phone is a Motorola phone purchased roughly 5 years back. Thank you & Regards, Manish Jain On 2019-07-14 18:30, Lena@lena.kiev.ua wrote: >> Somebody has asked me for some images on my Android phone. >> So I first need to download those files from the phone to my FreeBSD box > pkg install android-file-transfer > > In /etc/devfs.rules allow your usual user access to USB: > > [localrules=10] > add path 'ugen*' mode 0660 group yourgroup > add path 'usb?*' mode 0660 group yourgroup > add path 'usb/*' mode 0660 group yourgroup > > As that user: > aft-mtp-cli "cd DCIM" "get Camera" > > That creates directory 'Camera' and downloads photos into it. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AM0PR03MB4594F64F2F97BE444B6F3EAEF6CC0>
