Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a rooted stock HTC Rezound and frequently connect it to the computer as a USB mass storage device.   After each time I do this, once I'm disconnected and my SD card is mounted, my media library disappears and I have to rescan my card. This appears to be related to the mounting and unmounting of the card. This has never happened under the same circumstances with other phones. Having to rescan the card is not a big deal but I have several alarms set to use mp3s and I have to rest then every time and that is a pain.

Why is this happening and how can I fix it?

share|improve this question
    
Media rescanning should occur automatically after a re-mount. Very odd behaviour. Is putting the relevant mp3s for your alarm on your internal memory not a feasible option? –  Sparx May 14 '12 at 6:56
    
Even if it doesn't rescan shouldn't the media library stay the same until it actually Trans and confirms that it's different. I could put them on the internal memory but I feel like I shouldn't have to. –  Matt May 14 '12 at 11:21
add comment

2 Answers 2

It doesn't know it's different - the scanning process is how it actually checks that. I have to say on all the Android devices I have come across (Sony Ericsson Xperia X10i, HTC Explorer, Samsung Galaxy Tab, HTC Desire, HTC Desire S, T-Mobile Rapport, Acer E210 - all with either stock ROM or the T-Mobile UK one) this process is automatic - provided you use the handset to "Turn Off USB Storage" and don't just yank the USB cable. As it's been used in USB mass storage mode potentially any, all, or no files on the card could have been changed.

For my alarms and notifications I have created some lower quality Ogg files (e.g. making sure they are mono and at low bit rate) and added those to internal storage so they are always available while using the minimal amount of storage space on the internal memory of the device.

The rescanning does annoy me a bit though as I listen to music on my handset, so I tend to use SWIFTP (in the Android Market) which runs an FTP server on my phone - this means I can transfer files to/from my handset without having to unmount and mount the storage card and wait ten minutes while it performs a rescan. For most purposes this is fast enough.

share|improve this answer
add comment

I have seen this myself on an old phone I had. My newer phone doesn't do this.

However, I avoid using USB at all as my external storage is used a lot.

You could try installing an SSH server if you feel brave enough. Done correctly it will be secure and you can copy everything over Wifi without interrupting any of the mounts.

I recommend SSHFS for Linux or WinSCP for Windows.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.