Bug 377058 - KDE Connect : SD card empty
Summary: KDE Connect : SD card empty
Status: REOPENED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 1.3.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-01 12:36 UTC by Adrien D
Modified: 2019-10-23 11:07 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
SD Card folder empty (with KDEconnect) (44.79 KB, image/png)
2017-03-01 12:36 UTC, Adrien D
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien D 2017-03-01 12:36:39 UTC
Created attachment 104292 [details]
SD Card folder empty (with KDEconnect)

Hi team KDE,

On dolphin, if i try to copy a file from my laptop to my Android phone, with KDE Connect, the SD Card is empty, and I can't copy my file.

I must copy on Local storage and from the phone, move my folder to SD Card.

I attach a screenshot to illustrate the empty folder (I can't right clic).

Can you fix it ?
Comment 1 Andras 2017-03-06 01:20:55 UTC
Exactly the same here. Phone LG G3 Android 6 official rom, pc Debian 9. I had to go back to ftp to reach out my sd card. I tried to remove /home/user/.config/kdeconnect and cache and data on phone to solve it. What can cause this compatibility issue, what could be the solution? It's just worked fine for me on the same hardwares and os until now.
Comment 2 Rog131 2017-12-25 19:11:17 UTC
A workaround, working at here - https://forum.kde.org/viewtopic.php?f=22&t=141037#p384929 :

'The files are not listed because of some bug, but you can go to the SD card in Dolphin, append to the path smth like '/DCIM' and see what's inside.'
Comment 3 Andras 2017-12-26 16:18:40 UTC
Is it work for anybody, open Android SD card through KDE Connect which is seemingly empty currently by KDE Connect and place the path of the folder into Dolphin's Location bar which is there known by you?
This is what you mentioned above Rog131? Is smth a widely known acronym, what's that mean?
For me, it is still not work anyway on three different phone. I think the possible solution would be to implement a more sophisticated sd card handling function into Android app with the option to manually setup sd card location and permission. So this bug should have been reported at KDE Android app too.
Comment 4 Rog131 2017-12-26 20:19:43 UTC
(In reply to Andras from comment #3)
> Is it work for anybody, open Android SD card through KDE Connect which is
> seemingly empty currently by KDE Connect and place the path of the folder
> into Dolphin's Location bar which is there known by you?
> This is what you mentioned above Rog131? Is smth a widely known acronym,
> what's that mean?
> For me, it is still not work anyway on three different phone. I think the
> possible solution would be to implement a more sophisticated sd card
> handling function into Android app with the option to manually setup sd card
> location and permission. So this bug should have been reported at KDE
> Android app too.

At here - the Dolphin/KDE Connect doesn't show the directory structure: https://imgur.com/XtbvCIB

I need to add the correct path to the Dolphin: https://imgur.com/Tf9lVP1
Comment 5 Andras 2017-12-27 00:01:33 UTC
Wow, actually it works with my phone too, thanks, it's a huge help, at least for me. I tried to include the final directory only to kde path instead the whole path shown by Android. Thank again!
Comment 6 Lamarque V. Souza 2018-01-07 14:43:00 UTC
If I change the url in Dolphin from <mount point>/storage/B4BE-4FFD/ <mount point>/mnt/media_rw/B4BE-4FFD/ then Dolphin lists the folder contents.

KDE Connect's Android app [1] hardcodes "/storage" as the path to search for all storages, which makes sense except for the fact that Android does not provide a standard way to access the external sdcard (by what I could find on the Internet). In most cases /storage provides access to the internal storage and the emulated sdcard (a portion of the internal storage used to emulate a external sdcard). There seems not to be any standard way to access the real external sdcard. There are some hacks available [2] but they sometimes break due to changes made by phone manufacturers in their Android flavors.

Maybe someone could add a configuration to the plugin to the "remote filesystem browser" plugin to indicate the correct path to the real external sdcard.

[1] kdeconnect-android/src/org/kde/kdeconnect/Helpers/StorageHelper.java
[2] https://stackoverflow.com/a/40582634
Comment 7 Andy Holmes 2018-03-05 13:38:21 UTC
For reference, I'd like to note we're also tracking this bug in GSConnect[1], although it's been marked closed/upstream since it's definitely on the Android side.

[1]: https://github.com/andyholmes/gnome-shell-extension-gsconnect/issues/48
Comment 8 Nicolas Fella 2018-05-28 13:30:08 UTC

*** This bug has been marked as a duplicate of bug 336043 ***