Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #230724 > unrolled thread

Debian and Android

Started byDale Amon <amon@vnl.com>
First post2021-01-16 22:50 +0100
Last post2021-01-17 12:40 +0100
Articles 17 — 12 participants

Back to article view | Back to linux.debian.user


Contents

  Debian and Android Dale Amon <amon@vnl.com> - 2021-01-16 22:50 +0100
    Re: Debian and Android riveravaldez <riveravaldezmail@gmail.com> - 2021-01-16 23:30 +0100
      Re: Debian and Android Eric S Fraga <e.fraga@ucl.ac.uk> - 2021-01-18 17:20 +0100
    Re: Debian and Android Nate Bargmann <n0nb@n0nb.us> - 2021-01-17 01:40 +0100
    Re: Debian and Android didier gaumet <didier.gaumet@gmail.com> - 2021-01-17 10:10 +0100
      Re: Debian and Android deloptes <deloptes@gmail.com> - 2021-01-17 10:40 +0100
        Re: Debian and Android didier gaumet <didier.gaumet@gmail.com> - 2021-01-17 10:50 +0100
        Cookies and so-called Privacy Policy [was: Debian and Android] <tomas@tuxteam.de> - 2021-01-17 11:00 +0100
          Re: Cookies and so-called Privacy Policy [was: Debian and Android] deloptes <deloptes@gmail.com> - 2021-01-17 12:20 +0100
            Re: Cookies and so-called Privacy Policy [was: Debian and Android] <tomas@tuxteam.de> - 2021-01-17 12:50 +0100
              Re: Cookies and so-called Privacy Policy [was: Debian and Android] deloptes <deloptes@gmail.com> - 2021-01-17 14:40 +0100
                Re: Cookies and so-called Privacy Policy [was: Debian and Android] <tomas@tuxteam.de> - 2021-01-17 14:50 +0100
    Re: Debian and Android l0f4r0@tuta.io - 2021-01-17 10:30 +0100
    Re: Debian and Android Curt <curty@free.fr> - 2021-01-17 12:10 +0100
      Re: Debian and Android Celejar <celejar@gmail.com> - 2021-01-17 16:00 +0100
        Re: Debian and Android Peter Ehlert <peter@sdi-baja.com> - 2021-01-17 16:30 +0100
    Re: Debian and Android Anssi Saari <as@sci.fi> - 2021-01-17 12:40 +0100

#230724 — Debian and Android

FromDale Amon <amon@vnl.com>
Date2021-01-16 22:50 +0100
SubjectDebian and Android
Message-ID<By1Ci-7yJ-9@gated-at.bofh.it>
I just upgraded from  a Samsung Galaxy Note 3 to a Note 9 and find
that the file mounting no longer 'just works'. I've spent the last
two hours going through assorted discussions of problems that may
or many not be the same and none of them have actually been all
that helpful.

It appears that the auto mount on mtp may (or may not?) still work
on the Note 9. I do get an automount, but it has no files in it.

I've gotten into Developer mode on the phone and enabled USB
Debugging but that does not seem to do anything. The phone
requests a YES to allow the USB files and then I get (on
my Debian Mate laptop)


Could not display "mtp://
SAMSUNG_SAMSUNG_Android_41305958 56353498/:.
Error: No such interface "org.gtk.vfs.Mount" on object at path 
/org.gtk.vfs/mount.1
Please select another viewer and try again.


I've tried installing various things like mtp-tools, and assorted
android packages but nothing seems to help.

I simply want to drag my photos from the phone over a USB mount
and store them on my laptop.

I am not sure if Debian-users is the correct list, but it seems like
a good starting point. Note that I'm not exactly a newbie... more
like an oldbie who goes back to 1.0 kernels. I have done very little
with interfacing to mobile devices however. [little as lim little
approaches zero]

Besides solving this problem (hopefully minor) I'd like to get a
toe hold on android development and using old mobiles as small
pocket Unix computers.

-- 
+------------------------------------------------------------------+
| Dale Amon           Immortal Data, Las Cruces Airport            |
| CEO             8990 Zia Blvd, Suite D,Las Cruces, NM, 88007     |
|                   "Data Systems for Deep Space and Time"         |
| dale.amon@immortaldata.net                          760-382-9545 |
+------------------------------------------------------------------+

[toc] | [next] | [standalone]


#230727

Fromriveravaldez <riveravaldezmail@gmail.com>
Date2021-01-16 23:30 +0100
Message-ID<By2eZ-80p-7@gated-at.bofh.it>
In reply to#230724
On 1/16/21, Dale Amon <amon@vnl.com> wrote:
> I just upgraded from  a Samsung Galaxy Note 3 to a Note 9 and find
> that the file mounting no longer 'just works'.

> It appears that the auto mount on mtp may (or may not?) still work
> on the Note 9. I do get an automount, but it has no files in it.

> I simply want to drag my photos from the phone over a USB mount
> and store them on my laptop.

I have issues with USB connection between Debian and Android, it
seems to work but in a buggy way...

Not necessarily the solution you're looking for, but in case it serves
you anyway: you can install an (S)FTP server-app in the Android
system and mount it through the LAN (I guess, both smartphone and
laptop using Wi-Fi).

Usually I use `sshfs`.

Hope this helps. Best regards!

[toc] | [prev] | [next] | [standalone]


#230795

FromEric S Fraga <e.fraga@ucl.ac.uk>
Date2021-01-18 17:20 +0100
Message-ID<ByFq1-6Nl-5@gated-at.bofh.it>
In reply to#230727
On Saturday, 16 Jan 2021 at 19:25, riveravaldez wrote:
> I have issues with USB connection between Debian and Android, it
> seems to work but in a buggy way...

I gave up on MTP/PTP a while back as I could never get it to work
consistently with various Android devices.

> Usually I use `sshfs`.

As do I along with AndFTP.

If both desktop and phone are on the same LAN, I recommend
kdeconnect-cli (kdeconnect apt package and kdeconnect app on
phone).  Allows me to send photos to the desktop easily as well as share
other bits and bobs (e.g. website found while reading twitter on the
phone).  

-- 
Eric S Fraga via Emacs 28.0.50 & org 9.4.4 on Debian bullseye/sid

[toc] | [prev] | [next] | [standalone]


#230728

FromNate Bargmann <n0nb@n0nb.us>
Date2021-01-17 01:40 +0100
Message-ID<By4gN-KQ-1@gated-at.bofh.it>
In reply to#230724

[Multipart message — attachments visible in raw view] — view raw

When my Galaxy A10e updated to Android 10 last year MTP no longer worked
on this desktop with Buster, however it did work on the laptop with
Bullseye.  I did have to configure some obscure USB setting on the phone
to get it to work at all.  Now that both computers are running Bullseye
MTP works fine on each Gnome.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

[toc] | [prev] | [next] | [standalone]


#230734

Fromdidier gaumet <didier.gaumet@gmail.com>
Date2021-01-17 10:10 +0100
Message-ID<Bycel-5Qo-3@gated-at.bofh.it>
In reply to#230724
It is probably related to your Android settings and independant of your 
PC OS (Debian):
 
https://android.gadgethacks.com/how-to/make-usb-connection-your-android-phone-default-file-transfer-mode-0234540/

[toc] | [prev] | [next] | [standalone]


#230738

Fromdeloptes <deloptes@gmail.com>
Date2021-01-17 10:40 +0100
Message-ID<BycHn-60C-1@gated-at.bofh.it>
In reply to#230734
didier gaumet wrote:

> It is probably related to your Android settings and independant of your
> PC OS (Debian):
> 
>
https://android.gadgethacks.com/how-to/make-usb-connection-your-android-phone-default-file-transfer-mode-0234540/

sorry but this is site is crap


Consent Denied

You have not agreed to WonderHowTo, Gaget Hacks, & Next Reality's use of
cookies, Terms of Use Agreement, and/or Privacy Policy. We have asked your
browser to delete any cookies the Website had previously stored (if any
exist). You may still have to delete cookies set by any of our third party
partners by following their opt-out procedures as outlined in our Privacy
Policy, or manually by clearing your browser cookies. We do not have access
to view, add, or remove cookies set by domains we do not control. 

[toc] | [prev] | [next] | [standalone]


#230739

Fromdidier gaumet <didier.gaumet@gmail.com>
Date2021-01-17 10:50 +0100
Message-ID<BycR4-64u-9@gated-at.bofh.it>
In reply to#230738
Le 17/01/2021 à 10:30, deloptes a écrit :
> didier gaumet wrote:
[...]
> https://android.gadgethacks.com/how-to/make-usb-connection-your-android-phone-default-file-transfer-mode-0234540/
> 
> sorry but this is site is crap
[...]

OK, my bad, sorry

then let's enounce the steps on my Android phone (translated from french)

  Parameters > System > Developer's options > Default USB Configuration

[toc] | [prev] | [next] | [standalone]


#230740 — Cookies and so-called Privacy Policy [was: Debian and Android]

From<tomas@tuxteam.de>
Date2021-01-17 11:00 +0100
SubjectCookies and so-called Privacy Policy [was: Debian and Android]
Message-ID<Byd0K-67Z-1@gated-at.bofh.it>
In reply to#230738

[Multipart message — attachments visible in raw view] — view raw

On Sun, Jan 17, 2021 at 10:30:13AM +0100, deloptes wrote:

[...]

> sorry but this is site is crap
> 
> 
> Consent Denied
> 
> You have not agreed to WonderHowTo, Gaget Hacks, & Next Reality's use of
> cookies, Terms of Use Agreement, and/or Privacy Policy [...]

Pfft.

A friend of mine once suggested to return /dev/random to a site's
cookie request. I'm tempted to try that :-)

This is one good effect of EU's GDPR: the data-sucking machines are
running around like beheaded chicken: fun to watch ;-D

The only downside is that the behemoths are much better prepared to
tackle the situation (even perhaps to take advantage of it). In the
long term, I fear this may foster concentration (even more).

Interesting times, for sure.

Cheers
 - t

[toc] | [prev] | [next] | [standalone]


#230742 — Re: Cookies and so-called Privacy Policy [was: Debian and Android]

Fromdeloptes <deloptes@gmail.com>
Date2021-01-17 12:20 +0100
SubjectRe: Cookies and so-called Privacy Policy [was: Debian and Android]
Message-ID<Byeg9-754-3@gated-at.bofh.it>
In reply to#230740
tomas@tuxteam.de wrote:

> A friend of mine once suggested to return /dev/random to a site's
> cookie request. I'm tempted to try that :-)
> 

sounds funny indeed

> This is one good effect of EU's GDPR: the data-sucking machines are
> running around like beheaded chicken: fun to watch ;-D
> 

I actually got the message when I refused to concent. Usually it then (in
most cases) turns the sh*t off and allows you to view the page, but in this
case it said - "no sorry"

> The only downside is that the behemoths are much better prepared to
> tackle the situation (even perhaps to take advantage of it). In the
> long term, I fear this may foster concentration (even more).
> 
> Interesting times, for sure.

yes indeed - from some personal sources in the EU commission they are
watching these developments, but you know "International corporate
law ..." - seems like they do not have many options or capacity to deal
with the big brothers.

Interesting times indeed

[toc] | [prev] | [next] | [standalone]


#230745 — Re: Cookies and so-called Privacy Policy [was: Debian and Android]

From<tomas@tuxteam.de>
Date2021-01-17 12:50 +0100
SubjectRe: Cookies and so-called Privacy Policy [was: Debian and Android]
Message-ID<ByeJb-7eL-15@gated-at.bofh.it>
In reply to#230742

[Multipart message — attachments visible in raw view] — view raw

On Sun, Jan 17, 2021 at 12:13:32PM +0100, deloptes wrote:
> tomas@tuxteam.de wrote:
> 
> > A friend of mine once suggested to return /dev/random to a site's
> > cookie request. I'm tempted to try that :-)
> > 
> 
> sounds funny indeed

...and fuzzy (this would be a cookie parser fuzzer :)

> I actually got the message when I refused to concent. Usually it then (in
> most cases) turns the sh*t off and allows you to view the page, but in this
> case it said - "no sorry"

Yes -- I've seen lots of UI fantasy in that context. Mostly variations
on the "dark pattern" [1] theme.

One of the bigger hosting providers here in Germany, for its admin interface,
has one of those cookies thingy: either you say "accept all" (that's the
bright green button) or you say "edit preferences" (the light grey button
which nearly fades into the background).

So far, so normal. Now, you choose "edit" and disable everything you can
disable (a hassle, because there are like 5 checkboxes, from targeted
ads to affiliate networks).

There are then two buttons. Guess... The default one, again bright green
says "accept all cookies anyway", the grey one says "confirm settings".

Yeah, GDPR is fun. But I'm glad we have (at least) that.

> > Interesting times, for sure.
>
> yes indeed - from some personal sources in the EU commission they are
> watching these developments, but you know "International corporate
> law ..." - seems like they do not have many options or capacity to deal
> with the big brothers.
> 
> Interesting times indeed

They'll put up a fight, for sure. And they have lots of money, too. But
their money is pretty volatile (watch twitter losing 20% of their market
value after they kicked Trump), and they are extremely dependent on
public perception (they are all ad companies, after all).

Cheers

[1] https://en.wikipedia.org/wiki/Dark_pattern

 - t

[toc] | [prev] | [next] | [standalone]


#230747 — Re: Cookies and so-called Privacy Policy [was: Debian and Android]

Fromdeloptes <deloptes@gmail.com>
Date2021-01-17 14:40 +0100
SubjectRe: Cookies and so-called Privacy Policy [was: Debian and Android]
Message-ID<BygrE-8kg-19@gated-at.bofh.it>
In reply to#230745
tomas@tuxteam.de wrote:

> One of the bigger hosting providers here in Germany, for its admin
> interface, has one of those cookies thingy: either you say "accept all"
> (that's the bright green button) or you say "edit preferences" (the light
> grey button which nearly fades into the background).
> 
> So far, so normal. Now, you choose "edit" and disable everything you can
> disable (a hassle, because there are like 5 checkboxes, from targeted
> ads to affiliate networks).
> 
> There are then two buttons. Guess... The default one, again bright green
> says "accept all cookies anyway", the grey one says "confirm settings".
> 

Oh, you noticed this too. It started may be 1-2 months ago. This is why I
discussed this with my peers in the EU commission and she said they know of
these developments and are monitoring them - whatever it means.

> Yeah, GDPR is fun. But I'm glad we have (at least) that.
> 

yes, true - I just wonder if it helps though, because it is only few crazy
people like you and me that bother to look into this.

>> > Interesting times, for sure.
>>
>> yes indeed - from some personal sources in the EU commission they are
>> watching these developments, but you know "International corporate
>> law ..." - seems like they do not have many options or capacity to deal
>> with the big brothers.
>> 
>> Interesting times indeed
> 
> They'll put up a fight, for sure. And they have lots of money, too. But
> their money is pretty volatile (watch twitter losing 20% of their market
> value after they kicked Trump), and they are extremely dependent on
> public perception (they are all ad companies, after all).
> 
> Cheers
> 
> [1] https://en.wikipedia.org/wiki/Dark_pattern

Yup, fully agree - the problem is the people who "simply don't have to hide
anything"

regards

[toc] | [prev] | [next] | [standalone]


#230748 — Re: Cookies and so-called Privacy Policy [was: Debian and Android]

From<tomas@tuxteam.de>
Date2021-01-17 14:50 +0100
SubjectRe: Cookies and so-called Privacy Policy [was: Debian and Android]
Message-ID<BygBj-8nL-9@gated-at.bofh.it>
In reply to#230747

[Multipart message — attachments visible in raw view] — view raw

On Sun, Jan 17, 2021 at 02:32:12PM +0100, deloptes wrote:
> tomas@tuxteam.de wrote:
> 
> > One of the bigger hosting providers here in Germany [...]

> Oh, you noticed this too

I sure did :)

>      It started may be 1-2 months ago. This is why I
> discussed this with my peers in the EU commission and she said they know of
> these developments and are monitoring them - whatever it means.

Thanks for raising awareness!

> > Yeah, GDPR is fun. But I'm glad we have (at least) that.
> > 
> 
> yes, true - I just wonder if it helps though, because it is only few crazy
> people like you and me that bother to look into this.

Don't underestimate what a bunch of crazy folks are capable of. GPL and
Linux are possible outcomes!

> Yup, fully agree - the problem is the people who "simply don't have to hide
> anything"

Talking helps. It's "small work", and much of it is needed.

Cheers
 - tomás

[toc] | [prev] | [next] | [standalone]


#230736

Froml0f4r0@tuta.io
Date2021-01-17 10:30 +0100
Message-ID<BycxI-5Xu-5@gated-at.bofh.it>
In reply to#230724
Hi,

I don't know for your exact error message but I can say personally that  I have no real issue anymore since I switched to Android File Transfer For Linux...

https://github.com/whoozle/android-file-transfer-linux

You might give it a try.

NB: I'm on Buster.
HTH
Best regards,
l0f4r0

[toc] | [prev] | [next] | [standalone]


#230741

FromCurt <curty@free.fr>
Date2021-01-17 12:10 +0100
Message-ID<Bye6u-71P-3@gated-at.bofh.it>
In reply to#230724
On 2021-01-16, Dale Amon <amon@vnl.com> wrote:
>
> I simply want to drag my photos from the phone over a USB mount
> and store them on my laptop.
>

If both your phone and your laptop are on the same LAN:

https://snapdrop.net/

https://github.com/RobinLinus/snapdrop/blob/master/docs/faq.md

Convenient and easy to use, so probably will be detested by the usual
curmudgeons of the group.

Security concerns do seem minimal, though, and I tried the app a couple
of times and it did work simply and nicely.

[toc] | [prev] | [next] | [standalone]


#230749

FromCelejar <celejar@gmail.com>
Date2021-01-17 16:00 +0100
Message-ID<ByhH6-z1-17@gated-at.bofh.it>
In reply to#230741
On 17 Jan 2021 10:41:07 GMT
Curt <curty@free.fr> wrote:

> On 2021-01-16, Dale Amon <amon@vnl.com> wrote:
> >
> > I simply want to drag my photos from the phone over a USB mount
> > and store them on my laptop.
> >
> 
> If both your phone and your laptop are on the same LAN:
> 
> https://snapdrop.net/
> 
> https://github.com/RobinLinus/snapdrop/blob/master/docs/faq.md
> 
> Convenient and easy to use, so probably will be detested by the usual
> curmudgeons of the group.
> 
> Security concerns do seem minimal, though, and I tried the app a couple
> of times and it did work simply and nicely.

Huh - that looks neat! I have Syncthing set up to do my file
transferring between phone, laptop, and servers, but this certainly
looks like a useful solution for situations where one just needs a
quick and simple way to do a file transfer.

Thanks,

Celejar

[toc] | [prev] | [next] | [standalone]


#230751

FromPeter Ehlert <peter@sdi-baja.com>
Date2021-01-17 16:30 +0100
Message-ID<Byia6-YE-3@gated-at.bofh.it>
In reply to#230749
On 1/17/21 6:57 AM, Celejar wrote:
> On 17 Jan 2021 10:41:07 GMT
> Curt <curty@free.fr> wrote:
>
>> On 2021-01-16, Dale Amon <amon@vnl.com> wrote:
>>> I simply want to drag my photos from the phone over a USB mount
>>> and store them on my laptop.
>>>
>> If both your phone and your laptop are on the same LAN:
>>
>> https://snapdrop.net/
>>
>> https://github.com/RobinLinus/snapdrop/blob/master/docs/faq.md
>>
>> Convenient and easy to use, so probably will be detested by the usual
>> curmudgeons of the group.
>>
>> Security concerns do seem minimal, though, and I tried the app a couple
>> of times and it did work simply and nicely.
> Huh - that looks neat! I have Syncthing set up to do my file
> transferring between phone, laptop, and servers,
+1 Syncthing
> but this certainly
> looks like a useful solution for situations where one just needs a
> quick and simple way to do a file transfer.
>
> Thanks,
>
> Celejar
>
>

[toc] | [prev] | [next] | [standalone]


#230743

FromAnssi Saari <as@sci.fi>
Date2021-01-17 12:40 +0100
Message-ID<Byezv-7bu-11@gated-at.bofh.it>
In reply to#230724
Dale Amon <amon@vnl.com> writes:

> I simply want to drag my photos from the phone over a USB mount
> and store them on my laptop.

Well, if it's just photos then you could try using PTP instead of
MTP. Should be under USB Preferences on the phone and I think Gnome's
file manager should support it out of the box.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web