Mount MTP device

Am I correct in thinking that 15.5 does not provide software to mount an MTP device, i.e my mobile phone? Or is there a Windows application I can run under wine?

@ionmich It should, I think the device has to be configured for mass-storage, install mtp-tools or maybe simple-mtpfs and see how it goes… Might also need usb_modeswitch

With leap 15.5, I have multiple android phones mounted where I can manipulate files on the phone or put files onto the phone., etc.
Make sure phone has “developer” options activated. Looks to be different means to do this on each phone.
Set developer options for file transfer/media transfers; not just charging in the phone.
Connect phone to pc. Phone will display dialogue to “allow” file transfers.

You should see your phone as a device in whatever file manager you are using. I use caja in mate desktop. You should have ability to move files between phone and pc.

I tinker with multiple android and experimental linux phones with no issue.

tom kosvic

First attempt.

ion@localhost:~> simple-mtpfs -l
1: MeizuPro 5 Ubuntu Phone
ion@localhost:~>

ion@localhost:~> sudo simple-mtpfs ‘MeizuPro 5 Ubuntu Phone’ /mnt/in
ion@localhost:~>

No error but nothing in /mnt/in.

Unfortunately this is not an Android phone. It’s running Alpine Linux more or less, under PostmarketOS. There is no setting for “developer”.

My file browser sees the phone and reports “Unable to open MTP device “001,013””.

Can you use ssh to get access to you phone?

With ssh, I can login to linux pinephone and also pinephone pro. Using ethernet usb connection.
Just get ip address from “ip a” on the phone. I use “snowflake” ssh gui app.

tom kosvic

One additional thing. You need to have openssh installed and running on the phone. Same on the pc.

tom kosvic

Never having used ssh I would appreciate some hand holding. Here is ip a output. I presume the phone is usb0.

ion@localhost:~> ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 38:af:d7:ae:e8:97 brd ff:ff:ff:ff:ff:ff
altname enp0s31f6
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether a0:d3:7a:f1:ca:bb brd ff:ff:ff:ff:ff:ff
altname wlp2s0
inet 192.168.1.5/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
valid_lft 85146sec preferred_lft 85146sec
inet6 2a02:587:5911:22c0:f9b1:22d4:c2b0:4864/64 scope global temporary dynamic
valid_lft 601887sec preferred_lft 83052sec
inet6 2a02:587:5911:22c0:16b2:205b:e2c1:654c/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 604778sec preferred_lft 86378sec
inet6 fe80::c11e:90fe:c509:b827/64 scope link noprefixroute
valid_lft forever preferred_lft forever
5: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 5a:c9:6d:36:22:17 brd ff:ff:ff:ff:ff:ff
altname enp0s20f0u4
inet 172.16.42.2/24 brd 172.16.42.255 scope global dynamic noprefixroute usb0
valid_lft 3625872sec preferred_lft 3625872sec
inet6 fe80::e467:aded:a01c:23b1/64 scope link noprefixroute
valid_lft forever preferred_lft forever
6: wwan0: <BROADCAST,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether d2:bf:b0:bd:0d:18 brd ff:ff:ff:ff:ff:ff
altname wwp0s20f0u6c2i12
ion@localhost:~>

ssh runs on my notebook, but I can’t find it on the Pinephone under Settings or Software.

ion@localhost:~> ssh
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
[-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
[-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
[-i identity_file] [-J [user@]host[:port]] [-L address]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-Q query_option] [-R address] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] destination [command]
ion@localhost:~>

ssh is installed on my Pinephone.

If you can login with ssh from PC to Phone, you can use the fish protocol in your Filemanger dolphin or krusader

But on the Pinephone I get…

`$ sudo systemctl enable --now sshd
[sudo] password for user:
sudo: systemctl: command not found

$`

The OS you have installed on your pinephone may not use systemd and hence, no systemctl. What is your OS on the phone?

This thread has morphed into a pinephone query; not opensuse. Look also at pinephone forum, PINE64

tom kosvic

1 Like

Is this “ip a” on the phone? You need the ip addy of the phone to connect with the pc.

PostmarketOS. Mostly Alpine Linux.

No PostmarketOS support on the PINE64 link you posted. Of all the distros I have tried it is the most reliable. But you have a point about it not being an openSUSE issue any more, so feel free to let it go.

https://wiki.alpinelinux.org/wiki/Setting_up_a_SSH_server?ref=angelsanchez.me

https://wiki.postmarketos.org/wiki/SSH

PostmarketOS does not currently use systemd, but it’s been announced that it is in their roadmap.