Can't access my old files after switching ROM from AOKP to CM, even though they're still there Initially I thought this was a problem with Google Play / Apollo, but I realize now that when I plug in my phone via USB, I can't see any of the many, many folders and files present on /sdcard that I could see previously.

If I copy a "new" mp3 onto my Galaxy Nexus, it's recognized just fine by both Google Play and Apollo. However, none of my old mp3s are recognized. They were placed in /sdcard/Music, a folder that I cannot see when I plug in my phone, only from the file manager running on the phone. The issue persists if I move an "old" mp3 from my music folder out into the sdcard root, it's still not recognized. This makes me think this might be permission related, but the file manager says that all files are readable and writable.

I've tried running "fix permissions" in both ROM manager and the CWM recovery, but it makes no difference. Any idea what has happened, and how to fix it so that I can use all my old files again? :)

edit If it's any help, I just ran ls -al in a terminal emulator and I can't see any difference at all between folders I can and cannot see. Example: I can see /sdcard/media just fine, because I created that folder from Explorer in Windows. Music in that directory works. I cannot see /sdcard/music. Here's the permissions:

drwxrwxr-x root sdcard_rw 2012-09-18 media
drwxrwxr-x root sdcard_rw 2012-09-16 music


This is a bit confusing.

edit2 When I try pulling and pushing a file with adb like so:

adb pull file.tar
adb push file.tar file2.tar


I get

failed to copy 'file.tar' to 'file2.tar': Read-only file system


As bk201doesntexist on the XDA forums pointed out, this is because you have to use an absolute path. However, when I do adb push file.tar /sdcard/file.tar the file gets transferred, shows up when i run ls, but it's invisible in the "Galaxy Nexus" unit in My Computer in Windows.

tl;dr When I push files with adb push they get transferred but don't show up in the "Galaxy Nexus" unit in My Computer. "Old" files from before ROM-switching do not show up. New files that I put in now work fine.
A few things that will do you good before you start resolving this issue.


This issue has been around since CM 9 and has been inherited by CM 10.
While ROM Manager (and not CWM) was the culprit some time ago, the issue has since been resolved by them.
The .nomedia file you are looking for should be inside /sdcard/Android/data. It may not be there but can't hurt to look for it.
Have a good file manager with root access installed and have it set up to search for hidden files. I recommend Root Explorer.


Okay, enough info. Let's get cracking. Follow this and let me know if it resolved your issue. Follow everything to the T. Do not leapfrog over steps or try to do anything else before you have gone through the entire process. All the best!