Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2025 10:54:35 -0700
From:      "Jin Guojun[VFF]" <jguojun@gmail.com>
To:        freebsd@dreamchaser.org, questions@freebsd.org
Subject:   Re: mount phone for file transfer?
Message-ID:  <b127f8cd-7d8f-4ca6-94a4-237364d415d4@gmail.com>
In-Reply-To: <90a7d95a-b76e-4aef-b5d1-a1bd4c1c5222@dreamchaser.org>
References:  <68fecabb-1b86-4533-9766-8fe3f86c875a@dreamchaser.org> <a919c4b4-8d42-4856-8d12-89369c9a226b@gmail.com> <90a7d95a-b76e-4aef-b5d1-a1bd4c1c5222@dreamchaser.org>

index | next in thread | previous in thread | raw e-mail

On 10/19/25 20:40, Gary Aitken wrote:
> On 10/19/25 11:47, Jin Guojun[VFF] wrote:
>> On 10/19/25 10:13, Gary Aitken wrote:
>
>>> 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:
> ...
>> # kldload fusefs.ko
>>
>> # jmtpfs -o allow_other /mnt
>>
>> Make sure the phone is allowed other device to access its storage:
>> usually, the phone will ask this permission when  jmtpfs command is
>> issued.
>
>
> # jmtpfs -o allow_other /mnt/memstick
> Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
> # ls -l /mnt/memstick
> ls: /mnt/memstick: Input/output error
> # umount /mnt/memstick
>
> It acted like it worked...
>   phone dinged when plugged in
> The phone is set to:
>   Use USB for: Transferring files/AndroidAuto
>   USB controlled by: This device (I can't seem to change it)
>
> Once or twice I saw the notice for Allow/Disallow access and allowed,
> but always after things didn't work; now I can't find it:
>   plug in phone
>   ding
>   ... no dialog, even with no apps on screen
> Swipe up, down, left, right... nada
> Swipe down, I see "USB for file transfer", as if it's ok as is / 
> already allowed,
> but ls still fails.
> Thoughts?
> Samsung Galaxy A15
>
> Thanks,
>
> Gary

This is a setting issue cross different phones, even between Samsung 
phones, who is controlling the File Transfer (F/T).

To make things simpler, ignore who controls the F/T and repeat the same 
process twice with a umount in between.

#  jmtpfs -o allow_other /mnt                 ; mount may fail due to 
the phone is not ready to do F/T

wait for phone to ask Allow/Deny and press Allow

# ls /mnt may see nothing but Input/output error because mounting 
process was done before phone allows F/T

# umount /mnt

#  jmtpfs -o allow_other /mnt              ; this time mount should be 
successful

if phone asks Allow/Deny again due to some kind timing issue, try to do 
umount and jmtpfs mount one more time.




help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b127f8cd-7d8f-4ca6-94a4-237364d415d4>