View Issue Details

IDProjectCategoryView StatusLast Update
0011000MMASynchronizationpublic2013-09-28 00:53
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.4 
Target Version1.0.4Fixed in Version1.0.4 
Summary0011000: External storage location is missing / lost
DescriptionSynchronization with build 142 initially worked correctly yesterday with build 142. However, this morning, upon clicking 'Sync' on the main screen, the following dialog appears:

Synchronization
-----------------

[blank space]

-----------------
[Sync Location/Settings] . . . . [Close]

Upon clicking [Sync Location/Settings], a dialog appears to configure sync to the _internal_ memory, instead of to the external memory--which is where MMA was configured to sync previously!!

In other words, the external storage location was somehow lost!!!

Moreover, when listing available storage locations:
- MMA shows only 'SGH-I747M Internal Storage'
- MMW shows both:
 . . Samsung SGH-I747M - External SD Card (enabled)
 . . Samsung SGH-I747M - Internal Storage (disabled)
Additional InformationOriginally raised at 0010966, but moved to a new bug because Marek indicated that this is an independent issue.
TagsNo tags attached.
Attached Files
MMA_upon_sync.png (31,980 bytes)   
MMA_upon_sync.png (31,980 bytes)   
MMA_only_1_location.png (100,223 bytes)   
MMA_only_1_location.png (100,223 bytes)   
MMW_2_locations.gif (35,297 bytes)   
MMW_2_locations.gif (35,297 bytes)   
Fixed in build157

Relationships

related to 0011256 closedmarek External Card not seen with some devices 
related to 0010966 closedmarek Choose library folders settings are overriden 
related to 0011542 closedmarek External SD Card inaccessible after upgrade to Kitkat 

Activities

rusty

2013-06-18 15:12

administrator   ~0036547

Comment by marek 2013-06-18 02:00

The main issue is probably that the screen is empty. You don't even see "Nothing to sync"? Could you send the logs in this case?

[Sync Location/Settings] button always leads to first/main storage now. So it isn't related. I will change it to lead to first checked storage.

rusty

2013-06-18 15:15

administrator   ~0036548

Last edited: 2013-06-18 15:32

The issue is actually that MMA doesn't even list External Storage as a possible sync location! What's really confusing though, is how this happened--when I originally tested build 142, synchronization worked correctly. But somehow, overnight, the config for External SD Card went completely missing.

marek

2013-06-18 15:21

developer   ~0036551

Are you able to browse the external storage by other application ?

Btw I've fixed the issue with the button.

rusty

2013-06-18 15:35

administrator   ~0036552

ES Explorer or Samsung Explorer can browse the SD Card without issues. Moreover, this issue only occurred beginning with build 142.

Images illustrating the problem are attached, and a debug log was uploaded ~11:20am.

marek

2013-06-21 23:39

developer   ~0036623

According to discussion over IM, it was probably an OS issue...

peke

2013-06-28 22:49

developer   ~0036682

Can you please add more details and close if resolved.

martin

2013-07-22 21:46

developer   ~0036953

I have same problem with my tablet. I was looking for solution but I found this article which it clarifies sufficiently.
http://www.chainfire.eu/articles/113/Is_Google_blocking_apps_writing_to_SD_cards_/
It looks like a Android bug.

martin

2013-07-23 15:36

developer   ~0036959

I've added support to show read only storages in file browser. Such storages are named with "(Read Only)" suffix.

rusty

2013-07-26 03:48

administrator   ~0037004

The original issue is no longer reproducible. Tagging as resolved.

jiri

2013-07-30 12:31

administrator   ~0037025

Per IM discussion with Marek, reopening in order to:
 - Review read-only volumes detection (Marek)
 - Implement support of read-only volumes, i.e. showing their content in the Library, ignoring actions like Delete, etc. (Martin)

peke

2013-07-30 22:52

developer   ~0037033

I wonder if that is implemented will it be possible to detect Readonly volumes on Nexus 7 attached with OTG cable?

It will gain MMA great deal of users if possible as they will not be needing additional non-free software.

martin

2013-08-08 13:27

developer   ~0037119

Already fixed in build 156.

martin

2013-08-09 11:27

developer   ~0037123

Add to playlist doesn't work from file browser in some cases - fixed in build 157.

jiri

2013-08-09 12:05

administrator   ~0037124

Note that Marek is supposed to 'Review read-only volumes detection' (in case it's still necessary).

peke

2013-08-10 01:05

developer   ~0037125

Last edited: 2013-08-10 01:17

After extended tests and debugging Nexus 7 it just do not show any USB devices when connected using OTG Cable.

Nexus Media Importer https://play.google.com/store/apps/details?id=com.homeysoft.nexususb.importer&hl=en and USB Device Info https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator see device without any problems.

marek

2013-08-15 10:30

developer   ~0037161

Fixed in build 157

I tested several use cases with device with sd card slot and USB port. Both storages were successfully recognized but media from USB storage are be added to library because MediaStore doesn't scan these kind of storages. So we have to wait till we have our own media scanner. But user still can import media from MMW to these storages. These media are visible in library.

peke

2013-08-17 22:02

developer   ~0037202

Can you please elaborate fix and how to test as I do not see any changes when using nexus 7?

marek

2013-08-22 17:34

developer   ~0037238

Nexus 7 is the case that cannot be solved. If this storage is readable, it is visible in options and you should be able to sync over wifi to this storage. After that, these tracks should be visible in library. But the scanner (MediaStore) won't scan any existing track on storage.

I've fixed this for storages that are scanned and are unmountable, typically tablets with SD (not internal microSD but standard "notebook-like") card slot. I've tested it with Asus Transformer. MMA reacts on unmounting/mounting of sd card and shouldn't crash anywhere.

Please note that tracks that are on unmounted sd card are not removed from library but they remains there (to not lose metadata when e.g. just UMS is enabled) and they are just not playable.

jiri

2013-08-26 08:32

administrator   ~0037261

Setting as resolved, Peke please reopen in case you find any issue...

peke

2013-09-28 00:53

developer   ~0037717

Closing no regressions 167