Wiki Table of Contents

Working with Android

Sharing files with an Android device.

Many phones up to Android 8.xx include mtp capability, and you can use the following procedure.

  • Connect phone, and make sure storage option is set to mtp.
  • Open Thunar.
  • When the upper left pane (Devices) shows your phone’s name (or: Storage), click on it.
  • If you don’t see it, reboot the phone.
  • Navigate to the location you are looking for.
  • Some files can be viewed and managed with MX Linux applications: click on Device in the left pane, then double-click CD Drive if necessary.


  • Music: use Clementine
  • Pictures: use the default Nomacs or install Shotwell


If you run into problems, Android phones can be accessed via a web browser by installing an app from Google’s Play Store such as AirDroid or one of its alternatives.

With the introduction of Android 9 ‘Pie’, there is no MTP mode available. It has been replaced by ‘File Transfer’, but that does not work out of the box in Linux. Connecting the phone via USB, swiping down, then selecting File Transfer creates an icon together with the spinning ‘mounting’ wheel in Thunar, but nothing else happens. Eventually, Thunar locks up, needing to be killed to regain control.

This is an Android problem, possibly related to permissions, and can be overcome in the following way. (Note that various phone makers customise Android in different ways, and the method described is the most generic I could devise from information online.)

It is necessary to put the phone in Developer mode. To do this, open Settings and search for ‘Build Number’. Once found, tap Build Number several times, and a countdown will begin. Once the correct number of taps is made, you will be asked for credentials – PIN, or pattern lock. The phone will now be in Developer mode, giving access to additional settings. Note that changing some of these settings may give undesired results, so don’t change anything you don’t understand. It is not necessary to make any Settings changes to connect to Thunar; just changing to Developer mode will enable this.

Connecting the phone, swiping down to change the USB mode, then selecting File Transfer should now work correctly, enabling files on the phone to be browsed from Thunar.

The phone can be left in Developer mode if desired. Otherwise, go to Settings and search for ‘developer’. At the top is a toggle to turn Developer Mode back off.

Even with Developer Mode off, the phone will now connect correctly to Thunar, both on the original Linux machine used, or on others.

This was tested using MX Linux 18, and a Motorola Moto(g6) with Android build number PPS29.55-24.

Leave a Comment

Do NOT follow this link or you will be banned from the site!