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 )
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)
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.
Yeah I do have Mullvad as well but it doesn’t seem to be that. I tried split tunneling KDE connect and also just turning the VPN off altogether and it made no difference.
My current guess is either some hidden security thing in GrapheneOS that I haven’t discovered yet, or maybe some router setting that’s filtering it out? The investigation is ongoing!
I had to specifically run mullvad lan set allow in the terminal on pc and turn on “local network sharing” on the phone app specifically. If you’re not on linux idk, but if you are and haven’t tried that it could help. Though if it doesn’t work with the mullvad disabled (and “always require vpn” off on both devices) then it probably isn’t that. If it’s a graphene setting it isn’t one enabled by default, because I got a pixel 6 last week and it works fine through mullvad to use kde connect with my settings set to allow lan.
K I kind of solved it! Turns out there wasn’t a setting within the Mullvad app for “always require VPN”, but there was one in the Android system settings under VPN. If I turn that off and then split tunnel KDE connect only on the phone (not on my laptop for some unknown reason) then they can see each other.
One to file under “I don’t know why that works but I’ll take it” lol.
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 )
TBF, KDE Connect is pretty convenient for this and other stuff
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)
He can still use the Cable C to keep the battery on.
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.
If you’re using a vpn it could be preventing it, I had to allow lan on mullvad’s settings to make it work.
Yeah I do have Mullvad as well but it doesn’t seem to be that. I tried split tunneling KDE connect and also just turning the VPN off altogether and it made no difference.
My current guess is either some hidden security thing in GrapheneOS that I haven’t discovered yet, or maybe some router setting that’s filtering it out? The investigation is ongoing!
I had to specifically run
mullvad lan set allow
in the terminal on pc and turn on “local network sharing” on the phone app specifically. If you’re not on linux idk, but if you are and haven’t tried that it could help. Though if it doesn’t work with the mullvad disabled (and “always require vpn” off on both devices) then it probably isn’t that. If it’s a graphene setting it isn’t one enabled by default, because I got a pixel 6 last week and it works fine through mullvad to use kde connect with my settings set to allow lan.K I kind of solved it! Turns out there wasn’t a setting within the Mullvad app for “always require VPN”, but there was one in the Android system settings under VPN. If I turn that off and then split tunnel KDE connect only on the phone (not on my laptop for some unknown reason) then they can see each other.
One to file under “I don’t know why that works but I’ll take it” lol.
Lol ayy alright! Glad you got it sorted!