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


Groups > linux.debian.user > #261932

Re: "sudo apt-get install android-tools-adb" ... (then no device listed)

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: "sudo apt-get install android-tools-adb" ... (then no device listed)
Date 2023-09-26 06:00 +0200
Message-ID <Hi7oR-bAvP-1@gated-at.bofh.it> (permalink)
References <HhDh9-bhKy-67@gated-at.bofh.it> <HhDAt-bi6p-3@gated-at.bofh.it> <HhFCh-bjhT-1@gated-at.bofh.it> <HhVnH-bt4V-17@gated-at.bofh.it> <HhYbT-buSe-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 25 Sep 2023 at 21:08:34 (+0300), Anssi Saari wrote:
> David Wright <deblis@lionunicorn.co.uk> writes:
> > On Sun 24 Sep 2023 at 22:13:20 (+0000), Albretch Mueller wrote:
> >> On 9/24/23, Marco M. <mm@dorfdsl.de> wrote:
> >> > On most Android phones, you need to explicit allow data transfers.
> >> 
> >>  What do you functionally mean? I need for you to talk to me like
> >> this:  a) go "Settings"; b) ...
> >
> > On bullseye I have android-file-transfer installed. I connect the
> > phone to the PC with USB, and run this function:
> >
> >   samsungd () 
> >   { 
> >       sudo mkdir -p /media/samsungd || true;
> >       sudo chown "$USER" /media/samsungd;
> >       aft-mtp-mount /media/samsungd
> >   }
> 
> Does this android-file-transfer provide a working and reliable MTP
> implementation for Linux then? I think I'll stick with rsync and adb but
> would be good to know if MTP is working on Linux these days.

You'd have to specify a set of criteria to test. I just treat
/media/samsungd like any other filesystem, copying files in the
usual manner. As mentioned in:

  https://en.wikipedia.org/wiki/Media_Transfer_Protocol

the phone screens are operable while connected (though I haven't
tested making calls), file modification timestamps are only preserved
phone→PC, not the other way, and you don't have to worry about pulling
the plug before unmounting.

In contrast, older phones that use MSC are inoperable as the screen is
locked, with a warning not to physically disconnect until a button has
been tapped.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

"sudo apt-get install android-tools-adb" ... (then no device listed) Albretch Mueller <lbrtchx@gmail.com> - 2023-09-24 21:50 +0200
  Re: "sudo apt-get install android-tools-adb" ... (then no device  listed) "Marco M." <mm@dorfdsl.de> - 2023-09-24 22:10 +0200
    Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Albretch Mueller <lbrtchx@gmail.com> - 2023-09-25 00:20 +0200
      Re: "sudo apt-get install android-tools-adb" ... (then no device  listed) Marco <mm@dorfdsl.de> - 2023-09-25 07:00 +0200
        Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Roland Mueller <roland.em0001@googlemail.com> - 2023-09-25 12:30 +0200
      Re: "sudo apt-get install android-tools-adb" ... (then no device  listed) David Wright <deblis@lionunicorn.co.uk> - 2023-09-25 17:10 +0200
        Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Albretch Mueller <lbrtchx@gmail.com> - 2023-09-25 19:50 +0200
          Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Albretch Mueller <lbrtchx@gmail.com> - 2023-09-25 21:30 +0200
            Re: "sudo apt-get install android-tools-adb" ... (then no device  listed) Michel Verdier <mv524@free.fr> - 2023-09-26 01:10 +0200
            Re: "sudo apt-get install android-tools-adb" ... (then no device  listed) David Wright <deblis@lionunicorn.co.uk> - 2023-09-26 06:00 +0200
          Re: "sudo apt-get install android-tools-adb" ... (then no device  listed) Michel Verdier <mv524@free.fr> - 2023-09-26 01:20 +0200
          Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Jeffrey Walton <noloader@gmail.com> - 2023-09-26 04:20 +0200
            Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Jeffrey Walton <noloader@gmail.com> - 2023-09-26 05:00 +0200
        Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2023-09-25 20:10 +0200
          Re: "sudo apt-get install android-tools-adb" ... (then no device  listed) David Wright <deblis@lionunicorn.co.uk> - 2023-09-26 06:00 +0200
            Re: "sudo apt-get install android-tools-adb" ... (then no device listed) Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2023-09-27 14:10 +0200
        Re: "sudo apt-get install android-tools-adb" ... (then no device  listed) Nicolas George <george@nsup.org> - 2023-09-25 21:50 +0200
  Re: "sudo apt-get install android-tools-adb" ... (then no device  listed) Michel Verdier <mv524@free.fr> - 2023-09-24 22:40 +0200

csiph-web