Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You will become rich and famous unless you don't.


comp / comp.mobile.android / Re: Accessing Files on Android Device With Linux

SubjectAuthor
* Accessing Files on Android Device With Linuxtb
+- Re: Accessing Files on Android Device With LinuxHarry S Robins
+- Re: Accessing Files on Android Device With LinuxCarlos E.R.
`* Re: Accessing Files on Android Device With LinuxSiard
 `* Re: Accessing Files on Android Device With LinuxJoerg Walther
  +- Re: Accessing Files on Android Device With LinuxGelato
  `* Re: Accessing Files on Android Device With LinuxSiard
   `- Re: Accessing Files on Android Device With LinuxGelato

1
Subject: Accessing Files on Android Device With Linux
From: tb
Newsgroups: comp.mobile.android
Organization: A noiseless patient Spider
Date: Sun, 22 Sep 2024 23:59 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@example.invalid (tb)
Newsgroups: comp.mobile.android
Subject: Accessing Files on Android Device With Linux
Date: Sun, 22 Sep 2024 18:59:59 -0500
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <vcqb1v$2d1fl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 23 Sep 2024 02:00:00 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d79294ac138cf67d67f360211c9efbe8";
logging-data="2524661"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18AAZFkgdrSQxD/vI6cZOeD"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:PpNNa5zhXRAu2wmL4mIrTmjwuZs=
Content-Language: en-US
View all headers

I have an ASUS Zenfone Max Plus 1 with Android 8.1.0.
I also have MX Linux 21.3 on a PC.
With the PC I am trying to access the folder in the phone where pictures
are stored. So I plugged the phone using a USB cable into a port of my
PC but nothing happened.
I used my PC's File Manager to see if the phone would show up as a
plugged in device but it did not.
Is it even possible to access files on an Android device using Linux? I
would think so since Android is a derivative of Linux, but one never
knows...
Thanks.
--
tb

Subject: Re: Accessing Files on Android Device With Linux
From: Harry S Robins
Newsgroups: comp.mobile.android
Organization: 2.0
Date: Mon, 23 Sep 2024 03:01 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.ovh!news.usenet.ovh!.POSTED!not-for-mail
From: stanleyrobins@nothere.uk (Harry S Robins)
Newsgroups: comp.mobile.android
Subject: Re: Accessing Files on Android Device With Linux
Date: Sun, 22 Sep 2024 22:01:22 -0500
Organization: 2.0
Message-ID: <vcqlm2$2gngl$1@news.usenet.ovh>
References: <vcqb1v$2d1fl$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 23 Sep 2024 03:01:23 -0000 (UTC)
Injection-Info: news.usenet.ovh; posting-account="stanley";
logging-data="2645525"; mail-complaints-to="abuse@usenet.ovh"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4
Cancel-Lock: sha256:wIBzNiy+JsZ/ysteYTxKrkUWJvQY3+hMpI2Z05wlsaA=
View all headers

On Sun, 22 Sep 2024 18:59:59 -0500, tb wrote:

> I have an ASUS Zenfone Max Plus 1 with Android 8.1.0.
> I also have MX Linux 21.3 on a PC.
> With the PC I am trying to access the folder in the phone where pictures
> are stored. So I plugged the phone using a USB cable into a port of my
> PC but nothing happened.
> I used my PC's File Manager to see if the phone would show up as a
> plugged in device but it did not.
> Is it even possible to access files on an Android device using Linux? I
> would think so since Android is a derivative of Linux, but one never
> knows...

A lot depends on the version of Android and how it's set up, but most will
work with Linux if you're willing to use the command line to mount it.

The first step is to find out which transfer protocol the phone is set to.
https://wiki.archlinux.org/title/Media_Transfer_Protocol

http://www.webupd8.org/2012/12/how-to-mount-android-40-ubuntu-go-mtpfs.html

Mounting an Android 4.0+ device in Ubuntu is pretty tricky, but there is a
FUSE filesystem called Go-mtpfs, created by a Google employee because
"mtpfs was very unstable" for him, which works great. Read on to find out
how to use it and easily install it in Ubuntu using a PPA!

https://github.com/hanwen/go-mtpfs

Go-mtpfs is a simple FUSE filesystem for mounting Android devices as a MTP
device. It will expose all storage areas of a device in the mount, and only
reads file metadata as needed, making it mount quickly. It uses Android
extensions to read/write partial data, so manipulating large files requires
no extra space in /tmp. It has been tested on various flagship devices
(Galaxy Nexus, Xoom, Nexus 7). As of Jan. 2013, it uses a pure Go
implementation of MTP, which is based on libusb.

Subject: Re: Accessing Files on Android Device With Linux
From: Dave Royal
Newsgroups: comp.mobile.android
Organization: news.eternal-september.org
Date: Thu, 1 Jan 1970 00:00 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dave@dave123royal.com (Dave Royal)
Newsgroups: comp.mobile.android
Subject: Re: Accessing Files on Android Device With Linux
Date: Mon, 23 Sep 2024 08:15:20 +0100 (GMT+01:00)
Organization: news.eternal-september.org
Lines: 37
Message-ID: <vcr4ib$2k8fc$1@dont-email.me>
References: <vcqb1v$2d1fl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 23 Sep 2024 09:15:23 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ccd203894edefa4e6a8371eaae2f6589";
logging-data="2761196"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WPsTH63UuK9c2EgNPAmkA"
Cancel-Lock: sha1:RRgGNqwPVpiaHXN8v7Ikb4KIStQ=
X-Newsreader: Mod.PiaoHong.Usenet.Client:2.02.M16
View all headers

tb <nospam@example.invalid> Wrote in message:

> I have an ASUS Zenfone Max Plus 1 with Android 8.1.0.
> I also have MX Linux 21.3 on a PC.
> With the PC I am trying to access the folder in the phone where pictures
> are stored. So I plugged the phone using a USB cable into a port of my
> PC but nothing happened.
> I used my PC's File Manager to see if the phone would show up as a
> plugged in device but it did not.
> Is it even possible to access files on an Android device using Linux? I
> would think so since Android is a derivative of Linux, but one never
> knows...
> Thanks.

Every device and Android version I've had has behaved slightly
differently. It could be hit-and-miss in the past but these days
it's pretty easy. But there are tricks.

Get the phone to use MTP when a usb cable is plugged in. It will
probably default to charging (and there is PTP too but I've not
seen it recently). That may be in settings. I've known it to be
in advanced settings, and even in developer mode. It you don't
find that nothing will work. Try different USB ports: one I had
preferred USB 2 ones.

When you plug in the cable for the first time make sure the phone
is on and you're looking at it! Mine (Android 13) puts up a
momentary access permission request. Past devices have put a usb
icon top-left which I had to pull down and select MTP. One asked
whether to trust the PC in future.

On my Linux (SUSE) and if MTP is selected a Samsung desktop icon
appears . I click to mount and open a window (it's using FUSE)
but I don't see any files until I've granted permission on the
phone. I then have to refresh to see them.
--
Remove numerics from my email address.

Subject: Re: Accessing Files on Android Device With Linux
From: Carlos E.R.
Newsgroups: comp.mobile.android
Date: Mon, 23 Sep 2024 07:43 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: comp.mobile.android
Subject: Re: Accessing Files on Android Device With Linux
Date: Mon, 23 Sep 2024 09:43:59 +0200
Lines: 28
Message-ID: <vqi7skxjl5.ln2@Telcontar.valinor>
References: <vcqb1v$2d1fl$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 9MXahSrcp/45n8HZsybqAQU+I0ZYTtHSRocOgoiVSkRq84sLu8
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:AOe6A1ONzaQOEE0ggM5gb6gDEiM= sha256:/IpKQ+npcpaZdTietujfQ3U4pUAG6pjePST41z/uAQk=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <vcqb1v$2d1fl$1@dont-email.me>
View all headers

On 2024-09-23 01:59, tb wrote:
> I have an ASUS Zenfone Max Plus 1 with Android 8.1.0.
> I also have MX Linux 21.3 on a PC.
> With the PC I am trying to access the folder in the phone where pictures
> are stored.  So I plugged the phone using a USB cable into a port of my
> PC but nothing happened.
> I used my PC's File Manager to see if the phone would show up as a
> plugged in device but it did not.
> Is it even possible to access files on an Android device using Linux?  I
> would think so since Android is a derivative of Linux, but one never
> knows...

Basically you have to tell Android to share files via USB cable.
Normally the phone will ask on plugin what for you want to use the USB
connection. Power, share photos, share files. You have to tap one of the
two later options. This activates MTP protocol.

On ancient Android a different method was used, the
filesystem was disconnected from Android and the
computer saw a normal USB filesystem.

Once MTP is activated, the desktop will see the phone files, using the
graphical file browser: Nautilus, Thunar, Dolphin... or the CLI.

--
Cheers, Carlos.

Subject: Re: Accessing Files on Android Device With Linux
From: Siard
Newsgroups: comp.mobile.android
Organization: rommelig
Date: Mon, 23 Sep 2024 09:02 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: xx@xx.invalid (Siard)
Newsgroups: comp.mobile.android
Subject: Re: Accessing Files on Android Device With Linux
Date: Mon, 23 Sep 2024 11:02:43 +0200
Organization: rommelig
Lines: 11
Message-ID: <llcp6uFgoo5U1@mid.individual.net>
References: <vcqb1v$2d1fl$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Trace: individual.net TzAHDOZJCXtJpom18RRBygVPoh0FurgeifMvN+D73WhEcvl9rn
Cancel-Lock: sha1:tGjpiXE+DfXKch04cRFJPQEVnjA= sha256:hxSYg/UtlQOcTLxYj/aq5Jr1ccQ037+MeagcN1adu6I=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-suse-linux-gnu)
X-Operating-System: OpenSUSE Tumbleweed
View all headers

On Sun, 22 Sep 2024 18:59:59 -0500, tb wrote:
> Is it even possible to access files on an Android device using Linux?

Apart from using a USB cable, there is another easy way to access files
from Linux or any other OS.

Install an FTP server on your phone. I have this one: "WiFi FTP Server"
https://play.google.com/store/apps/details?id=com.medhaapps.wififtpserver&hl=en

Then from your PC, you can access the files with an FTP program, such as
gftp or FileZilla. It is lightning fast.

Subject: Re: Accessing Files on Android Device With Linux
From: Joerg Walther
Newsgroups: comp.mobile.android
Organization: Easynews - www.easynews.com
Date: Mon, 23 Sep 2024 14:38 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!193.141.40.65.MISMATCH!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx35.iad.POSTED!not-for-mail
From: joerg.walther@magenta.de (Joerg Walther)
Newsgroups: comp.mobile.android
Subject: Re: Accessing Files on Android Device With Linux
Message-ID: <d9v2fjhgqer30o52oi1g62qs05j2hpl6hc@joergwalther.my-fqdn.de>
References: <vcqb1v$2d1fl$1@dont-email.me> <llcp6uFgoo5U1@mid.individual.net>
X-Newsreader: Forte Agent 6.00/32.1186
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 11
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 23 Sep 2024 16:38:49 +0200
X-Received-Bytes: 1182
View all headers

Siard wrote:

>Install an FTP server on your phone. I have this one: "WiFi FTP Server"
>https://play.google.com/store/apps/details?id=com.medhaapps.wififtpserver&hl=en

Seconded. I use the same app, but on my Linux notebook I used Double
Commander to access the files on my mobile.

-jw-
--
And now for something completely different...

Subject: Re: Accessing Files on Android Device With Linux
From: Gelato
Newsgroups: comp.mobile.android
Organization: <http://pasdenom.info/news.html>
Date: Mon, 23 Sep 2024 15:40 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!fdn.fr!usenet-fr.net!pasdenom.info!.POSTED.public-nat-07.vpngate.v4.open.ad.jp!not-for-mail
From: gelato@.is.invalid (Gelato)
Newsgroups: comp.mobile.android
Subject: Re: Accessing Files on Android Device With Linux
Date: Mon, 23 Sep 2024 11:40:00 -0400
Organization: <http://pasdenom.info/news.html>
Message-ID: <vcs24g$ktp$1@rasp.pasdenom.info>
References: <vcqb1v$2d1fl$1@dont-email.me> <llcp6uFgoo5U1@mid.individual.net> <d9v2fjhgqer30o52oi1g62qs05j2hpl6hc@joergwalther.my-fqdn.de>
Injection-Date: Mon, 23 Sep 2024 15:40:00 -0000 (UTC)
Injection-Info: rasp.pasdenom.info; posting-account="gelatiamenta@usenet"; posting-host="public-nat-07.vpngate.v4.open.ad.jp:219.100.37.239";
logging-data="21433"; mail-complaints-to="abuse@pasdenom.info"
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.10.19-200.fc33.x86_64 (x86_64))
Cancel-Lock: sha1:7rMUHqxes15tLRfaes0siut1DoQ= sha256:oEIULOzgMswNh7UVy9/2/LzblQgfPikTUVv1Tivigvo=
sha1:GG+aStoy88gGtodyRlKknUb5CYw= sha256:Ptp7AVzd98dWlRk/VHyQUXhPmR4fkH8GcRJGZPS/P6I=
View all headers

On Mon, 23 Sep 2024 16:38:49 +0200, Joerg Walther wrote:

> Siard wrote:
>
>>Install an FTP server on your phone. I have this one: "WiFi FTP Server"
>>https://play.google.com/store/apps/details?id=com.medhaapps.wififtpserver&hl=en
>
> Seconded. I use the same app, but on my Linux notebook I used Double
> Commander to access the files on my mobile.

Tripled, where on a Windoze PC I use FTP servers to mount the Android too!
https://www.ferrobackup.com/map-ftp-as-disk.html

Subject: Re: Accessing Files on Android Device With Linux
From: Siard
Newsgroups: comp.mobile.android
Organization: rommelig
Date: Mon, 23 Sep 2024 19:34 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: xx@xx.invalid (Siard)
Newsgroups: comp.mobile.android
Subject: Re: Accessing Files on Android Device With Linux
Date: Mon, 23 Sep 2024 21:34:28 +0200
Organization: rommelig
Lines: 10
Message-ID: <lldu89Fm8lhU1@mid.individual.net>
References: <vcqb1v$2d1fl$1@dont-email.me>
<llcp6uFgoo5U1@mid.individual.net>
<d9v2fjhgqer30o52oi1g62qs05j2hpl6hc@joergwalther.my-fqdn.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Trace: individual.net XLztv1Gwd4/cKwtLyEXV7gHkGxD6Osz9HMT7N3GAE8DehnoJf0
Cancel-Lock: sha1:b68KcD4qok2j9A7I8lZX67ORmN8= sha256:oisCP9XLC22MxtqvkdQWx0n8CDTgt++VqfszqKnaz/A=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-suse-linux-gnu)
X-Operating-System: OpenSUSE Tumbleweed
View all headers

Joerg Walther wrote:
> Siard wrote:
>
> > Install an FTP server on your phone. I have this one: "WiFi FTP Server"
> > https://play.google.com/store/apps/details?id=com.medhaapps.wififtpserver&hl=en
>
> Seconded. I use the same app, but on my Linux notebook I used Double Commander
> to access the files on my mobile.

Yes, file managers usually have an option to connect via FTP as well.

Subject: Re: Accessing Files on Android Device With Linux
From: Gelato
Newsgroups: comp.mobile.android
Organization: <http://pasdenom.info/news.html>
Date: Mon, 23 Sep 2024 20:10 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!pasdenom.info!.POSTED.public-nat-07.vpngate.v4.open.ad.jp!not-for-mail
From: gelato@.is.invalid (Gelato)
Newsgroups: comp.mobile.android
Subject: Re: Accessing Files on Android Device With Linux
Date: Mon, 23 Sep 2024 16:10:40 -0400
Organization: <http://pasdenom.info/news.html>
Message-ID: <vcsi00$khp$1@rasp.pasdenom.info>
References: <vcqb1v$2d1fl$1@dont-email.me> <llcp6uFgoo5U1@mid.individual.net> <d9v2fjhgqer30o52oi1g62qs05j2hpl6hc@joergwalther.my-fqdn.de> <lldu89Fm8lhU1@mid.individual.net>
Injection-Date: Mon, 23 Sep 2024 20:10:41 -0000 (UTC)
Injection-Info: rasp.pasdenom.info; posting-account="gelatiamenta@usenet"; posting-host="public-nat-07.vpngate.v4.open.ad.jp:219.100.37.239";
logging-data="21049"; mail-complaints-to="abuse@pasdenom.info"
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.10.19-200.fc33.x86_64 (x86_64))
Cancel-Lock: sha1:8p7US4bI5b0ryenlW5Hbm02YIT0= sha256:J4fhpIfLVst+gF9EGmGQxQzNjU+GF7jRJ6BVzC8JmIM=
sha1:UGQFKW+l3dh2daZn4B7arM13bcA= sha256:1f+jD2E4WtpDK5G8D8lDQM5w3CcXwnrL4m3GC6vHC+I=
View all headers

On Mon, 23 Sep 2024 21:34:28 +0200, Siard wrote:

>>> Install an FTP server on your phone. I have this one: "WiFi FTP Server"
>>> https://play.google.com/store/apps/details?id=com.medhaapps.wififtpserver&hl=en
>>
>> Seconded. I use the same app, but on my Linux notebook I used Double Commander
>> to access the files on my mobile.
>
> Yes, file managers usually have an option to connect via FTP as well.

Better for file managers to connect to http or webdav servers, isn't it?

1

rocksolid light 0.9.8
clearnet tor