How to explore Android device files under FreeBSD ?

Manish Jain bourne.identity at
Sun Jul 14 20:37:08 UTC 2019

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 at 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 at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list