How to transfer pictures from a Xiaomi Redmi 9T to NixOS 26.05?

Hi everybody,

I’m just starting with NixOS 26.05 (Yarara) which works really well, but I can’t transfer pictures from my phone Xiaomi Redmi 9T (mtp - Mtpfs files). With Debian I used Gigolo but it doesn’t work with NixOs.

My phone is recognized by NixOs (I use Gnome 50 desktop) but when I click on “transfer pictures”, the phone icon disappears on NixOs :frowning:

Any idea how I could transfer my pictures ?

Thanks in advance :slight_smile:

How did you enable gnome in your config? as well as gigolo?

not the answer you might look for, but here it goes.

Install service.syncthing on nixos
install the syncthing app on android.

If you’re interested I could share some of the config.

1 Like

Which Gnome application has the “transfer pictures” button? Can you run it from the command line and collect the logs?

I was finally to transfer the pictures via Gigolo after clicking on another option on my phone (“Files transfer/Android Auto”). It was very simple after all :slight_smile:

@/waffle8946 I had enabled Gnome and Gigolo as default.

@/Wheelo Thanks! I didn’t know syncthing app :slight_smile:

@/twoolie The app/option wasn’t on GNOME but on my phone. But it works now, so I’m happy.

Thanks to everyone :slight_smile:

For the record, while it’s ok for one-off transfers sometimes, the whole MTP thing has always been a huge hack adopted from early digital cameras and is barely maintained, both in Android and Linux.

Transfer speeds are slow, and subject to file name encoding issues. People just don’t use USB for file transfers anymore, and the software for that has atrophied accordingly.

Local network transfer (like with syncthing) is almost definitely going to be faster and more likely to work. Modern wifi can reach gigabit speeds, while MTP is such a bottleneck that you’ll be happy to see Mbs.

Wonder if there’s a market for an app that exposes a network share via ethernet-over-USB-C. Guess it’d be possible to hack that together with some dhcp magic.

It is a pity that I can not connect my phone, nor my camera as an external HDD or SDcard reader anymore…