I have transferred some mp3s onto my sdcard using samba but the operating system doesn't seem to automatically detect them as it would if you copied it using MTP or whatever. How can I force it to detect them?


My S4 wouldn't recognize music on my external SD-card. You can fix this on your S3 by going to settings> more > storage > remove SD-card. Wait till it says 'You can now safely remove your SD-Card' then remove the card out your phone. Clean your RAM and then put it back in again. Wait a few seconds till it's succesfully installed and your card will be visible. I.E for music open your music player and it'll all be there. Make sure the files aren't in too many subfolders or your phone will not find it and show it in your music player.

Have a nice day,

|improve this answer|||||

Run the following shell script on the command line, either via SSH or adb.


export ANDROID_ASSETS=/system/app
export ANDROID_CACHE=/cache
export ANDROID_DATA=/data
export ASEC_MOUNTPOINT=/mnt/asec
export ANDROID_ROOT=/system
export BOOTCLASSPATH=/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar
export EXTERNAL_STORAGE=/mnt/sdcard
export LD_LIBRARY_PATH=/vendor/lib:/system/lib

am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///mnt/sdcard

Source: Can I trigger a media scan via the command line?

Alternatively if you prefer a UI I find Force Media Scan ideal. You do not have to reboot your device for these.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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