Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

RIP is irrelevant. Spoofing is futile. Your routes will be aggregated. -- Alex Yuriev


computers / alt.os.linux.slackware / mounting a motorola moto-g phone

SubjectAuthor
* mounting a motorola moto-g phoneJohn Forkosh
`* Re: mounting a motorola moto-g phoneHenrik Carlqvist
 `* Re: mounting a motorola moto-g phoneJohn Forkosh
  `* Re: mounting a motorola moto-g phoneJohn Forkosh
   +- Re: mounting a motorola moto-g phoneHenrik Carlqvist
   `* Re: mounting a motorola moto-g phoneNotReal
    `- Re: mounting a motorola moto-g phoneJohn Forkosh

1
mounting a motorola moto-g phone

<sjbtiq$o39$1@reader1.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=711&group=alt.os.linux.slackware#711

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: forkosh@panix.com (John Forkosh)
Newsgroups: alt.os.linux.slackware
Subject: mounting a motorola moto-g phone
Date: Sun, 3 Oct 2021 09:36:26 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <sjbtiq$o39$1@reader1.panix.com>
Injection-Date: Sun, 3 Oct 2021 09:36:26 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="24681"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (NetBSD/9.2 (amd64))
 by: John Forkosh - Sun, 3 Oct 2021 09:36 UTC

Tried the ubuntu directions at
codeyarns.com/tech/2013-12-23-how-to-mount-moto-g-on-ubuntu-using-mtp.html
which seemed to work as advertised...

# mtp-detect showed, in part,
-----------------------------------------------------------
libmtp version: 1.1.18

Listing raw device(s)
Device 0 (VID=22b8 and PID=2e82) is a Motorola Moto G (ID2).
Found 1 device(s):
Motorola: Moto G (ID2) (22b8:2e82) @ bus 2, dev 6
Attempting to connect device(s)
Android device detected, assigning default bug flags
USB low-level info:
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 22b8
idProduct: 2e82
(then lots more stuff)
-----------------------------------------------------------

jmtpfs -o allow_other /media/motog/ output on stdout
-----------------------------------------------------------
Device 0 (VID=22b8 and PID=2e82) is a Motorola Moto G (ID2).
Android device detected, assigning default bug flags
-----------------------------------------------------------
(note: the webpage says mtpfs, but slackware has /bin/jmtpfs
which seems to be the same thing as far as I can tell)

But after mounting ls -al under /media shows that motog directory as
d????????? ? ? ? ? ? motog
And it's totally inaccessible.

$ fusermount -u /media/motog/ works, and then ls -al shows
drwxrwxrwx 2 root root 4096 Oct 3 05:00 motog
as expected.

Any ideas what I'm doing wrong and how to do it right?
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )

Re: mounting a motorola moto-g phone

<sje3tr$ggo$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=713&group=alt.os.linux.slackware#713

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Henrik.Carlqvist@deadspam.com (Henrik Carlqvist)
Newsgroups: alt.os.linux.slackware
Subject: Re: mounting a motorola moto-g phone
Date: Mon, 4 Oct 2021 05:36:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <sje3tr$ggo$1@dont-email.me>
References: <sjbtiq$o39$1@reader1.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 4 Oct 2021 05:36:59 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2a3808b2e4c855681fa21f10d7024011";
logging-data="16920"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+YU8oBq5ErqF8JXWphI1dO"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:fbPoXflycsOgT3I5oQwFz/MtTQ8=
 by: Henrik Carlqvist - Mon, 4 Oct 2021 05:36 UTC

On Sun, 03 Oct 2021 09:36:26 +0000, John Forkosh wrote:
> Any ideas what I'm doing wrong and how to do it right?

Do you need to mount it? Usually I access mpt devices using gphoto2
instead. I don't have any Moto G myself, but it seems to be supported by
gphoto2:

gphoto2 --list-cameras | grep -i "moto g"
"Motorola Moto G (ID1)"
"Motorola Moto G (ID2)"
"Motorola Moto G (XT1032)"

regards Henrik

Re: mounting a motorola moto-g phone

<sje6rj$b52$1@reader1.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=714&group=alt.os.linux.slackware#714

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: forkosh@panix.com (John Forkosh)
Newsgroups: alt.os.linux.slackware
Subject: Re: mounting a motorola moto-g phone
Date: Mon, 4 Oct 2021 06:26:59 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <sje6rj$b52$1@reader1.panix.com>
References: <sjbtiq$o39$1@reader1.panix.com> <sje3tr$ggo$1@dont-email.me>
Injection-Date: Mon, 4 Oct 2021 06:26:59 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="11426"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (NetBSD/9.2 (amd64))
 by: John Forkosh - Mon, 4 Oct 2021 06:26 UTC

Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> wrote:
> On Sun, 03 Oct 2021 09:36:26 +0000, John Forkosh wrote:
>> Any ideas what I'm doing wrong and how to do it right?
>
> Do you need to mount it? Usually I access mpt devices using gphoto2
> instead. I don't have any Moto G myself, but it seems to be supported by
> gphoto2:
>
> gphoto2 --list-cameras | grep -i "moto g"
> "Motorola Moto G (ID1)"
> "Motorola Moto G (ID2)"
> "Motorola Moto G (XT1032)"
>
> regards Henrik

Thanks, Henrik, I'll check it out. No, don't need to mount it,
per se, just need read and write access to it (to as many of
its directories and the files under them as possible).
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )

Re: mounting a motorola moto-g phone

<sjuiq4$be5$1@reader1.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=721&group=alt.os.linux.slackware#721

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: forkosh@panix.com (John Forkosh)
Newsgroups: alt.os.linux.slackware
Subject: Re: mounting a motorola moto-g phone
Date: Sun, 10 Oct 2021 11:29:08 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <sjuiq4$be5$1@reader1.panix.com>
References: <sjbtiq$o39$1@reader1.panix.com> <sje3tr$ggo$1@dont-email.me> <sje6rj$b52$1@reader1.panix.com>
Injection-Date: Sun, 10 Oct 2021 11:29:08 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="11717"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (NetBSD/9.2 (amd64))
 by: John Forkosh - Sun, 10 Oct 2021 11:29 UTC

John Forkosh <forkosh@panix.com> wrote:
> Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> wrote:
>> On Sun, 03 Oct 2021 09:36:26 +0000, John Forkosh wrote:
>>> Any ideas what I'm doing wrong and how to do it right?
>>
>> Do you need to mount it? Usually I access mpt devices using gphoto2
>> instead. I don't have any Moto G myself, but it seems to be supported by
>> gphoto2:
>>
>> gphoto2 --list-cameras | grep -i "moto g"
>> "Motorola Moto G (ID1)"
>> "Motorola Moto G (ID2)"
>> "Motorola Moto G (XT1032)"
>>
>> regards Henrik
>
> Thanks, Henrik, I'll check it out. No, don't need to mount it,
> per se, just need read and write access to it (to as many of
> its directories and the files under them as possible).

Thanks again, Henrik. I finally got an opportunity to check it out,
at least partly. Doesn't seem to entirely work...
bash-5.1$ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Motorola Moto G (ID2) usb:002,007
....seems to work okay.

Then...
bash-5.1$ gphoto2 --summary
Camera summary:
Manufacturer: motorola
Model: MotoG3
Version: 1.0
Serial Number: ZY222ZLHG2
Vendor Extension ID: 0x6 (1.0)
Vendor Extension Description: microsoft.com: 1.0; android.com: 1.0;
mot-mobility.com/DSU: 1.2
etc, etc, etc
....plus a whole lot of additional gobbledy-gook, but nothing that
immediately looked like an error message, as far as I could tell
(which isn't really very far).

But then...
bash-5.1$ gphoto2 --list-files
There is no file in folder '/'.

*** Error ***
PTP Invalid Storage ID
*** Error (-1: 'Unspecified error') ***

For debugging messages, please use the --debug option.
etc, etc
....So I tried adding --debug, which produced over 500 lines
on stderr, but couldn't really make heads or tails (nor any
other anatomical part) out of any of it, but will be glad to
post it all if anybody really wants.

I also tried running digikam, which seems to be a kde frontend
for gphoto2, and that didn't seem to work either... it seemed
to identify the camera, but couldn't (or at least didn't)
download anything from it. Of course, I'm not actually sure
that I clicked all the right buttons to request that it
download all the images. But there was a little "progress"
bar that got up to 49% and then just hung. But zero downloads
at that point.
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )

Re: mounting a motorola moto-g phone

<sjvebo$3oe$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=724&group=alt.os.linux.slackware#724

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Henrik.Carlqvist@deadspam.com (Henrik Carlqvist)
Newsgroups: alt.os.linux.slackware
Subject: Re: mounting a motorola moto-g phone
Date: Sun, 10 Oct 2021 19:19:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <sjvebo$3oe$1@dont-email.me>
References: <sjbtiq$o39$1@reader1.panix.com> <sje3tr$ggo$1@dont-email.me>
<sje6rj$b52$1@reader1.panix.com> <sjuiq4$be5$1@reader1.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 10 Oct 2021 19:19:20 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c012fd0f48d0c0a0481231a4d84b3382";
logging-data="3854"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OsU46YxVp7NHljPTZYbEj"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:e1LR5NgSofeGKAOjeP1s/dp1JPE=
 by: Henrik Carlqvist - Sun, 10 Oct 2021 19:19 UTC

On Sun, 10 Oct 2021 11:29:08 +0000, John Forkosh wrote:

> Doesn't seem to entirely work...

Unfortunately I can't be to much more help, I have no experience from
that phone myself. My own Android phone is mounted as a vfat file system
after I on the phone select that it should make its file system available
to the host computer. I have only used gphoto2 together with my Canon
digital camera.

Stumbling in the dark, I can only hope that you find som explanation to
your problems in the output of "dmesg".

regards Henrik

Re: mounting a motorola moto-g phone

<skk0ni$bk6$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=729&group=alt.os.linux.slackware#729

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: NotReal@NoSpam.com (NotReal)
Newsgroups: alt.os.linux.slackware
Subject: Re: mounting a motorola moto-g phone
Date: Mon, 18 Oct 2021 14:35:30 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 72
Message-ID: <skk0ni$bk6$1@dont-email.me>
References: <sjbtiq$o39$1@reader1.panix.com> <sje3tr$ggo$1@dont-email.me> <sje6rj$b52$1@reader1.panix.com> <sjuiq4$be5$1@reader1.panix.com>
Injection-Date: Mon, 18 Oct 2021 14:35:30 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3867f8b03f9c92739da603f19174c407";
logging-data="11910"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CCUMEPj8eqLcUN6VBwClc8ZT5ccvHQRk="
User-Agent: XanaNews/1.19.1.320
Cancel-Lock: sha1:SxMODynn3/pVpLlQcP0/5IlgjZI=
X-Antivirus-Status: Clean
X-Antivirus: Avast (VPS 211018-2, 10/18/2021), Outbound message
 by: NotReal - Mon, 18 Oct 2021 14:35 UTC

John Forkosh wrote:

> John Forkosh <forkosh@panix.com> wrote:
> > Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> wrote:
> >> On Sun, 03 Oct 2021 09:36:26 +0000, John Forkosh wrote:
> >>> Any ideas what I'm doing wrong and how to do it right?
> >>
> >> Do you need to mount it? Usually I access mpt devices using
> gphoto2 >> instead. I don't have any Moto G myself, but it seems to
> be supported by >> gphoto2:
> >>
> >> gphoto2 --list-cameras | grep -i "moto g"
> >> "Motorola Moto G (ID1)"
> >> "Motorola Moto G (ID2)"
> >> "Motorola Moto G (XT1032)"
> >>
> >> regards Henrik
> >
> > Thanks, Henrik, I'll check it out. No, don't need to mount it,
> > per se, just need read and write access to it (to as many of
> > its directories and the files under them as possible).
>
> Thanks again, Henrik. I finally got an opportunity to check it out,
> at least partly. Doesn't seem to entirely work...
> bash-5.1$ gphoto2 --auto-detect
> Model Port
> ----------------------------------------------------------
> Motorola Moto G (ID2) usb:002,007
> ...seems to work okay.
>
> Then...
> bash-5.1$ gphoto2 --summary
> Camera summary:
> Manufacturer: motorola
> Model: MotoG3
> Version: 1.0
> Serial Number: ZY222ZLHG2
> Vendor Extension ID: 0x6 (1.0)
> Vendor Extension Description: microsoft.com: 1.0; android.com:
> 1.0; mot-mobility.com/DSU: 1.2
> etc, etc, etc
> ...plus a whole lot of additional gobbledy-gook, but nothing that
> immediately looked like an error message, as far as I could tell
> (which isn't really very far).
>
> But then...
> bash-5.1$ gphoto2 --list-files
> There is no file in folder '/'.
>
> *** Error ***
> PTP Invalid Storage ID
> *** Error (-1: 'Unspecified error') ***
>
> For debugging messages, please use the --debug option.
> etc, etc
> ...So I tried adding --debug, which produced over 500 lines
> on stderr, but couldn't really make heads or tails (nor any
> other anatomical part) out of any of it, but will be glad to
> post it all if anybody really wants.
>
> I also tried running digikam, which seems to be a kde frontend
> for gphoto2, and that didn't seem to work either... it seemed
> to identify the camera, but couldn't (or at least didn't)
> download anything from it. Of course, I'm not actually sure
> that I clicked all the right buttons to request that it
> download all the images. But there was a little "progress"
> bar that got up to 49% and then just hung. But zero downloads
> at that point.

This is a long shot since you are likely already aware of this, but
once the USB connection is made on the Moto, under Settings/Connected
Devices/USB you have to select Transfer Files or Transfer Photos.

Re: mounting a motorola moto-g phone

<slahlq$skf$2@reader1.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=737&group=alt.os.linux.slackware#737

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: forkosh@panix.com (John Forkosh)
Newsgroups: alt.os.linux.slackware
Subject: Re: mounting a motorola moto-g phone
Date: Wed, 27 Oct 2021 03:39:38 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <slahlq$skf$2@reader1.panix.com>
References: <sjbtiq$o39$1@reader1.panix.com> <sje3tr$ggo$1@dont-email.me> <sje6rj$b52$1@reader1.panix.com> <sjuiq4$be5$1@reader1.panix.com> <skk0ni$bk6$1@dont-email.me>
Injection-Date: Wed, 27 Oct 2021 03:39:38 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="29327"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.0-20210823 ("Coleburn") (NetBSD/9.2 (amd64))
 by: John Forkosh - Wed, 27 Oct 2021 03:39 UTC

NotReal <NotReal@nospam.com> wrote:
> John Forkosh wrote:
>> John Forkosh <forkosh@panix.com> wrote:
>> > Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> wrote:
>> >> John Forkosh wrote:
>> >>> Any ideas what I'm doing wrong and how to do it right?
>> >>
>> >> Do you need to mount it? Usually I access mpt devices using
>> >> gphoto2 instead. I don't have any Moto G myself, but it seems
>> >> to be supported by gphoto2:
>> >>
>> >> gphoto2 --list-cameras | grep -i "moto g"
>> >> "Motorola Moto G (ID1)"
>> >> "Motorola Moto G (ID2)"
>> >> "Motorola Moto G (XT1032)"
>> >>
>> >> regards Henrik
>> >
>> > Thanks, Henrik, I'll check it out. No, don't need to mount it,
>> > per se, just need read and write access to it (to as many of
>> > its directories and the files under them as possible).
>>
>> Thanks again, Henrik. I finally got an opportunity to check it out,
>> at least partly. Doesn't seem to entirely work...
>> bash-5.1$ gphoto2 --auto-detect
>> Model Port
>> ----------------------------------------------------------
>> Motorola Moto G (ID2) usb:002,007
>> ...seems to work okay.
>>
>> Then...
>> bash-5.1$ gphoto2 --summary
>> Camera summary:
>> Manufacturer: motorola
>> Model: MotoG3
>> Version: 1.0
>> Serial Number: ZY222ZLHG2
>> Vendor Extension ID: 0x6 (1.0)
>> Vendor Extension Description: microsoft.com: 1.0; android.com:
>> 1.0; mot-mobility.com/DSU: 1.2
>> etc, etc, etc
>> ...plus a whole lot of additional gobbledy-gook, but nothing that
>> immediately looked like an error message, as far as I could tell
>> (which isn't really very far).
>>
>> But then...
>> bash-5.1$ gphoto2 --list-files
>> There is no file in folder '/'.
>>
>> *** Error ***
>> PTP Invalid Storage ID
>> *** Error (-1: 'Unspecified error') ***
>>
>> For debugging messages, please use the --debug option.
>> etc, etc
>> ...So I tried adding --debug, which produced over 500 lines
>> on stderr, but couldn't really make heads or tails (nor any
>> other anatomical part) out of any of it, but will be glad to
>> post it all if anybody really wants.
>>
>> I also tried running digikam, which seems to be a kde frontend
>> for gphoto2, and that didn't seem to work either... it seemed
>> to identify the camera, but couldn't (or at least didn't)
>> download anything from it. Of course, I'm not actually sure
>> that I clicked all the right buttons to request that it
>> download all the images. But there was a little "progress"
>> bar that got up to 49% and then just hung. But zero downloads
>> at that point.
>
> This is a long shot since you are likely already aware of this, but
> once the USB connection is made on the Moto, under Settings/Connected
> Devices/USB you have to select Transfer Files or Transfer Photos.

Thanks again, NotReal and also Henrik. Finally got "it" working,
but it's a different "it" (not the Moto G) than originally -- turns
out my carrier is discontinuing 3G service at the end-of-year, so new
phones are mandatory for its old 3G customers. Got a Galaxy A32 5G
replacement, which now works (download, anyway, but not capture)
with gphoto2.

Nevertheless, your hint was really right, NotReal, i.e., I wasn't
aware and hadn't been using gphoto2 correctly. Once the A32 arrived
and still didn't work with gphoto2 the way I was trying to use it,
I looked at the man page more carefully and figured out how to use
it right. So problem solved, if circuitously, and thanks again.
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor