Re: mount phone for file transfer?

From: Mark G. <fbsd.questions_at_palaceofretention.ca>
Date: Sat, 25 Oct 2025 22:19:52 UTC
On 10/19/25 10:13, Gary Aitken wrote:
> Hi all,
> 
> How does one mount a phone (android) to transfer files?
> I can do this on a lynix system but can't figure out how on my fbsd 13.5.
> I have urndis loaded:
> 

[snip]

Hello,

I'm a bit late to the party, but didn't see android-file-transfer mentioned.
I use this on 14.3, so you may have different results on 13.5.

loader.conf settings that are likely related:

# usb android phone/tethering
if_urndis_load="YES"
if_cdce_load="YES"
if_ipheth_load="YES"

Package information.

% pkg info android-file-transfer

android-file-transfer-4.5
Name           : android-file-transfer
Version        : 4.5
Installed on   : Wed Sep  3 00:24:06 2025 PDT
Origin         : sysutils/android-file-transfer
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : sysutils
Licenses       : LGPL21
Maintainer     : tiago.gasiba@gmail.com
WWW            : https://github.com/whoozle/android-file-transfer-linux
Comment        : Android MTP client with minimalistic UI
Options        :
	CLI            : on
	FUSE           : off
	OPENSSL        : on
	TAGLIB         : on
Shared Libs required:
	libc++.so.1
	libc.so.7
	libcrypto.so.30
	libcxxrt.so.1
	libgcc_s.so.1
	libm.so.5
	libmagic.so.4
	libtag.so.2
	libthr.so.3
	libusb.so.3
	libz.so.6
Annotations    :
	FreeBSD_version: 1403000
	build_timestamp: 2025-09-03T07:23:18+0000
	built_by       : poudriere-git-3.4.3
	port_checkout_unclean: no
	port_git_hash  : 567605906
	ports_top_checkout_unclean: no
	ports_top_git_hash: 42f4872b7
	repo_type      : binary
	repository     : Poudriere
Flat size      : 513KiB
Description    :
Android File Transfer for Linux - reliable MTP client with
minimalistic UI similar to Android File Transfer for Mac.

Features:
* Simple Qt UI with progress dialogs.
* FUSE wrapper (If you'd prefer mounting your device), supporting
   partial read/writes, allowing instant access to your files.
* No file size limits.
* Automatically renames album cover to make it visible from media player.
* No extra dependencies (e.g., libptp/libmtp).
* Available as static/shared library.
* Command line tool (aft-mtp-cli)