hello
Im still noobs in Artix Linux and OpenRC init system.
So I'm still not familiar with the OpenRC init system and want to learn more about it.
However, I have a problem with Transfer files from Android to PC how do you transfer files from Android to PC?
because I'm not using DE, just use the windows manager bspwm (I'm also still learning).
I'm using :
- Artix kernel 5.10.4-artix2-1
-Artix with OpenRC init system
-Laptop ASUS TUF FX505DY
-wm = bspwm
All I know is mtp and simple-mtpfs to read android devices, but my Samsung Galaxy smartphone cannot be detected on Linux Artix.
I've tried with
$ mtp-detect
libmtp version: 1.1.18
Listing raw device(s)
No raw devices found.
can you help me?
Thanks.
hi, what have to do openrc and mtp protocol? nothing! ;-)
https://wiki.archlinux.org/index.php/Media_Transfer_Protocol
https://wiki.archlinux.org/index.php/Android#Transferring_files
https://archlinux.org/packages/community/x86_64/android-file-transfer/ a program for transferig
if you are going to use gvfs-mtp make sure you have proper dbus session running for your WM.
There also other solutions like simple-mtpfs (AUR) and more if you look carefully.
I was able to access a Fire OS (Android based) tablet, using OpenRC too, with these installed:
$ pacman -Qs mtp
local/android-file-transfer 4.2-1
Android MTP client with minimalistic UI
local/gmtp 1.3.11-2
A simple MP3 player client for MTP based devices
local/gvfs-gphoto2 1.46.2-1 (gnome)
Virtual filesystem implementation for GIO (gphoto2 backend; PTP camera, MTP media player)
local/gvfs-mtp 1.46.2-1 (gnome)
Virtual filesystem implementation for GIO (MTP backend; Android, media player)
local/libcddb 1.3.2-6
Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. http://freedb.org).
local/libmtp 1.1.18-1
Library implementation of the Media Transfer Protocol
local/mtpfs 1.1-4
A FUSE filesystem that supports reading and writing from any MTP device
Haven't done it recently though, so I can't remember exactly what I did, but it worked then.
its really long time since i was messing with android and linux (cause usually it just works..)
when it does not, start with checking so the computer finds the usb connection, and that the phone is in correct usb mode
start with running "lsusb" in terminal:
usually it will list a shitload of stuff i just took a few lines.. it depends on how much usb stuff you got.. but the phone should be there when connected with usb.
usually the problem is in udev configuration, it should pretty much work with any window manager, but i usually use KDE or Enlightenment, so i cant answer for the one you use.
but if you read here: https://wiki.archlinux.org/index.php/Media_Transfer_Protocol#gvfs-mtp
and pick only the parts you need (udev) you should be able to get it to find the phone (when its in correct usb mode selected on phone screen i think i got like 3 or 4 modes to choose from on my Samsung, one works with MTP.)
this should get you started...