tslocum / aafm

!!! Use https://gitlab.com/tslocum/adbfm instead !!! Android ADB file manager
Other
27 stars 4 forks source link

can not mount sdcard #50

Open tslocum opened 10 years ago

tslocum commented 10 years ago

Issue by cj360 Monday Jan 07, 2013 at 01:56 GMT Originally opened as https://github.com/sole/aafm/issues/50


Using an xperia play 4.1.2 JB with ubuntu 12.04 Python 2.7.3. When I connect my phone and start the gui I get these outputs and no folders are visible on the phone's side of the gui.

EXECUTE= adb shell ls -l -a /mnt/ drwxrwxr-x 5 root system 0 Jan 6 18:39 . wasn't matched, please report to the developer! drwxrwxr-x 16 system system 0 Jan 6 18:39 .. wasn't matched, please report to the developer! drwxr-xr-x 7 root system 140 Jan 6 20:45 asec wasn't matched, please report to the developer! drwxr-xr-x 2 root system 40 Jan 6 18:39 obb wasn't matched, please report to the developer! lrwxrwxrwx 1 root root 16 Jan 6 18:39 sdcard -> /storage/sdcard0 wasn't matched, please report to the developer! drwx------ 4 root root 0 Jan 6 18:39 secure wasn't matched, please report to the developer!

I believe the mount point for my device has changed since JB and is now /storage/sdcard0 and adb may have issues with that as well as this app.

tslocum commented 10 years ago

Comment by joho500 Thursday Feb 07, 2013 at 13:09 GMT


I have the same problem. My Archos 101 G9 device with Android 4.1 uses /sdcard, /storage or /mnt/storage. /mnt/sdcard is empty. It would be nice to be able to choose between different options or have a configuration file. I'll see if I can update the source.

tslocum commented 10 years ago

Comment by sole Thursday Feb 07, 2013 at 13:18 GMT


Sorry for not answering before... somehow this slipped in my notifications.

I'm not sure how we could solve this; modifying the source and make it point to a different directory altogether will break it for older tablets. Maybe the answer is to probe the system for several mounting points before 'starting' the app for good, if you know what I mean.

Answering to @cj360 : I don't think adb will have any trouble, in any case it's aafm which is trying to access something that doesn't exist :-)

So --let's brainstorm (I am all ears :ear::ear::ear:) or even better, let's get some patches :D

tslocum commented 10 years ago

Comment by joho500 Thursday Feb 07, 2013 at 16:00 GMT


I've added the possibility to read the location from an ini-file. I will make it more robust with error checking before posting a patch.

tslocum commented 10 years ago

Comment by sole Thursday Feb 07, 2013 at 20:50 GMT


thank you :+1:

tslocum commented 10 years ago

Comment by sole Sunday Feb 02, 2014 at 10:48 GMT


@joho500 so...? :-)