aafm icon indicating copy to clipboard operation
aafm copied to clipboard

can not mount sdcard

Open cj360 opened this issue 12 years ago • 5 comments

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.

cj360 avatar Jan 07 '13 01:01 cj360

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.

joho500 avatar Feb 07 '13 13:02 joho500

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

sole avatar Feb 07 '13 13:02 sole

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.

joho500 avatar Feb 07 '13 16:02 joho500

thank you :+1:

sole avatar Feb 07 '13 20:02 sole

@joho500 so...? :-)

sole avatar Feb 02 '14 10:02 sole