I’m trying to access files over usb from an android phone via kodi on a Rpi. No network available (at the cottage ). Doesn’t seem to support MTP or PTP and UMS is scrapped on newer android devices. Maybe I need a newer version of kodi or osmc?
OSMC doesn’t support MTP out of the box.
There is some information here: mtp - Debian Wiki, but there (from a quick glance) is not a simple solution that would work for most users.
Maybe UDisks can be abused to use the command line tools.