I see that simple-mtpfs is installed automatically but can't seem to mount my android phone, help!
Thanks
MTP
Re: MTP
No it does not, you need to run the command but make sure to run before
Code: Select all
sudo simple-mtpfs /media/samsong -o allow_other
Code: Select all
mkdir /media/samsong
Re: MTP
Thanks, Eric,
Here's what I get:
Still no mount.
Here's what I get:
Code: Select all
ward@beanthecat ~> sudo simple-mtpfs /media/phone/ -o allow_other
fuse: failed to open fuse device: No such file or directory
Re: MTP
Yes
Code: Select all
ward@beanthecat ~> ls -la /media/
total 64
dr-xr-xr-x 4 root wheel 512 Aug 16 11:38 .
drwxr-xr-x 21 root wheel 1024 Aug 16 11:21 ..
-rw-r--r-- 1 root wheel 82 Aug 16 11:22 .hal-mtab
-rw------- 1 root wheel 0 Aug 16 11:22 .hal-mtab-lock
drwx------ 1 ward wheel 16384 Dec 31 1979 619
drwxr-xr-x 2 root wheel 512 Aug 16 11:38 phone
Last edited by ward on Thu Mar 09, 2017 12:03 pm, edited 1 time in total.
Re: MTP
That worked, thank you. Not sure what was wrong before...
Code: Select all
[wardbones@mysteryMachine ~]$ ls -la /media
total 88
dr-xr-xr-x 4 root wheel 512 Mar 9 07:52 .
drwxr-xr-x 21 root wheel 1024 Mar 9 06:31 ..
-rw-r--r-- 1 root wheel 63 Mar 9 06:44 .hal-mtab
-rw------- 1 root wheel 0 Mar 9 06:44 .hal-mtab-lock
drwx------ 1 wardbones wheel 32768 Dec 31 1979 disk
drwxrwxr-x 2 wardbones wheel 0 Dec 31 1969 mtp
-
- Posts: 207
- Joined: Sat Nov 12, 2016 5:44 pm
Re: MTP connection using android-file-transfer
Install either one or both android-file-transfer , android-file-transfer-qt5
https://github.com/whoozle/android-file-transfer-linux This is the original software base. Use your Software Station to download the verison for GhostBSD.
Until I figure this out or you figure out. Its much easier to install and use "android-file-transfer-qt5" GUI Version
To start the GUI Version
Ghostbsd Menu Applications --->System Tools ---> Android File Transfer (MTP)
Open GhostBSD Menu and start Software Station
System ---> Administration ---> Software Station
android-file-transfer Click check box install and apply button Version 4.2 Android MTP client with minimalistic UI
Confirm installation button
After installation click the upper right hand corner red ball circle button to close "Software Station"
Optionally you can install the GUI tool version, "android-file-transfer-qt5" in place of/ or in addition with "android-file-transfer"
Make a directory to mount your phone's file system into.
sudo mkdir -p /media/phone
Password:
Attach usb cable to cellphone. Attach usb cable to computer. have phone top screen open. Swipe down to open message memo. Go to the bottom and find the "Android Systems * USB Charging" Menu. Tap to open, change select USB for file transfer or photo transfer.
https://www.computerworld.com/article/3 ... puter.html Has a demo video using android-file-transfer and some explanations
https://www.techadvisory.org/2018/01/an ... usb-cable/
https://support.apple.com/en-us/HT205063
https://github.com/whoozle/android-file-transfer-linux This is the original software base. Use your Software Station to download the verison for GhostBSD.
Until I figure this out or you figure out. Its much easier to install and use "android-file-transfer-qt5" GUI Version
To start the GUI Version
Ghostbsd Menu Applications --->System Tools ---> Android File Transfer (MTP)
Open GhostBSD Menu and start Software Station
System ---> Administration ---> Software Station
android-file-transfer Click check box install and apply button Version 4.2 Android MTP client with minimalistic UI
Confirm installation button
After installation click the upper right hand corner red ball circle button to close "Software Station"
Optionally you can install the GUI tool version, "android-file-transfer-qt5" in place of/ or in addition with "android-file-transfer"
Make a directory to mount your phone's file system into.
sudo mkdir -p /media/phone
Password:
Attach usb cable to cellphone. Attach usb cable to computer. have phone top screen open. Swipe down to open message memo. Go to the bottom and find the "Android Systems * USB Charging" Menu. Tap to open, change select USB for file transfer or photo transfer.
https://www.computerworld.com/article/3 ... puter.html Has a demo video using android-file-transfer and some explanations
https://www.techadvisory.org/2018/01/an ... usb-cable/
https://support.apple.com/en-us/HT205063
Last edited by wb7odyfred on Mon Jan 25, 2021 12:27 am, edited 1 time in total.
-
- Posts: 207
- Joined: Sat Nov 12, 2016 5:44 pm
Re: MTP connection using android-file-transfer
Android file transfers for Chrome OS computers, use as example for FreeBSD
https://www.youtube.com/watch?v=N4SBkaC6Wpo Video showing files being transfered from phone to FreeBSD
You'd expect file transfers between Android phones and Chromebooks to be as simple as can be, considering that Google's the driving force behind both of those operating systems — and by golly, you'd be absolutely right.
Just like on a Windows system, all you've gotta do to connect your Android phone to a Chromebook is plug it into any open USB port, then tap the USB charging notification on the phone and select either "Transfer files" or "File transfer" from the prompt that appears — or select "Transfer photos" or "PTP" if you want your phone to be treated like a camera, with a focus exclusively on multimedia files.
Once you do that, the Chrome OS Files app should automatically appear on your Chromebook with your phone present as one of the storage options. The system will probably even prompt you to back up all of your phone's media files to Google Drive; you can allow that, if you'd like, or dismiss it and simply drag and drop files in either direction as needed.
https://www.freebsdsoftware.org/sysutil ... nsfer.html Bare information about FreeBSD version. Reference "aft-mtp-cli" command line tool.
https://www.freshports.org/sysutils/and ... e-transfer FreeBSD FreshPorts information
https://github.com/whoozle/android-file-transfer-linux GitHub.com sources
https://github.com/whoozle/android-file ... ter/FAQ.md FAQ in markdown format
FUSE interface
mkdir ~/my-device
./aft-mtp-mount ~/my-device
aft-mtp-cli Command line invocation
aft-mtp-cli
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
selected storage 65537 Internal shared storage
android file transfer for linux version v4.2
motorola moto e5 play 1.0
extensions: microsoft.com: 1.0; android.com: 1.0; mot-mobility.com/DSU: 1.2
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
motorola moto e5 play [71%]:Internal shared storage>
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
motorola moto e5 play [71%]:Internal shared storage>