• Corroded@leminal.space
    link
    fedilink
    English
    arrow-up
    35
    ·
    10 months ago

    This might be obvious but when you connect your phone to your PC have you enabled file transfers? Usually it defaults to charging only. It should show up in your notification bar.

  • BCsven
    link
    fedilink
    arrow-up
    26
    ·
    edit-2
    10 months ago

    Plug in cable to PC, go into android USB setting and switch it to file transfer instead of charging mode, it should show in your file manager as a connected USB drive. ( you can tell everyone is a linux or phone techy, everone gave the complicated merhods that didn’t address the question asked, but @OP all the other methods work also )

      • BCsven
        link
        fedilink
        arrow-up
        7
        ·
        10 months ago

        Of course, it’s awesome; so is GSConnect on Gnome, and syncthing is awesome, and fx on android with samba shares is great. Croc on mobile to PC, etc. just the dude asks how to use USB cable and gets recompile your kernel suggestion ( I’m being hyberbolic)

      • Random Dent@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        10 months ago

        I have a Pixel 4a with GrapheneOS and I can never get it to find any other devices in KDE connect for some reason. Syncthing works fine though so I just use that instead.

  • ProgrammingSocks@pawb.social
    link
    fedilink
    arrow-up
    10
    ·
    10 months ago

    Plug it in, unlock it, tap the USB notification and change it to “transfer files”. I like to keep my screen on but you shouldn’t have to.

  • mhz@lemm.ee
    link
    fedilink
    arrow-up
    8
    ·
    10 months ago

    Mtp is your friend, here is hiw I do it on my devices (samsung a23 and both opensuse and arch):

    • I connect my phone to my pc. Then select mtp in the phone notification.

    • Start my file manager (dolphine or whatever) and access my phone storage from there.

    • Make sure to allow the notification on the phone asking if you want to sahre your storage with the external device.

  • 柊 つかさ@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    10 months ago

    For my LineageOS phone I use ADB: adb pull /sdcard/DCIM/Camera to get photos I’ve taken for example.

      • swytch@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        10 months ago

        If OP installed GrapheneOS they likely already have adb and USB debugging configured.

        That said, as recommended in the FAQ, one should use android-file-transfer, since enabling USB debugging (and using adb) is a security breach

    • ⲇⲅⲇ@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      Actually, I always end up using ADB tools to get files or photos, you can get recursive files to get them all. I do it even with people that tries to get photos from their Windows machines, so I don’t think it’s a problem with Linux neither. This is the best way to get safely and correctly all your files.

  • RachelRodent@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    10 months ago

    search usb in settings, set it to file transfer while its plugged into your pc. Alternatively you can install kde connect on both of the devices and transfer files wirelessly

  • MonkderZweite@feddit.ch
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    10 months ago

    You need the package gvfs-mtp installed, if you want to do it via file manager. Or the adb tools for cli.

    But really something you could have googled 3x in the time you asked this.

  • kusivittula@sopuli.xyz
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    10 months ago

    fun tip, if you have a samba share and your devices are in the same network, use a file manager that can connect to local network (like explorer by speed software), and transfer your files wirelessly. it seems to be equally fast too, i haven’t used a cable for ages except for killing updaters and bloatware with adb.

    • systemd-catfoodd@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      That’s pretty neat. There’s also an SMB client called CIFS Documents Provider (by Atsushi Wada) that’s Free (MIT License) & open source.

  • BlanK0@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    10 months ago

    There is a package called android-transfer-file or something like that in the void repos but I’m not sure if its also in the mint repos, might be worth checking, its a gui app that makes it very straightforward to transfer files. Or in last resort you can always git clone the project and use ‘make’ to build manually the app