Hey guys.
If you cant see any photos or other media on your phone after some update heres how to fix it:
Check your sdcard for any .nomedia file. If you find one delete it. Also update rom manager ( if you use it a lot) and if you dont use it, delete it.
Sent from my Galaxy Nexus using Tapatalk 2
thegtfusion said:
Hey guys.
If you cant see any photos or other media on your phone after some update heres how to fix it:
Check your sdcard for any .nomedia file. If you find one delete it. Also update rom manager ( if you use it a lot) and if you dont use it, delete it.
Click to expand...
Click to collapse
Not really much of a guide at only one line
There are two important methods to use other than just checking for rogue .nomedia files:
Rescan SD Card!: https://play.google.com/store/apps/details?id=com.uberullu.rescansd to force the MediaScanner to find new files.
If files you've deleted aren't disappearing (ie. 'ghost' files in Gallery or Music) then you can go to Apps > All > MediaStorage > Force close & clear data + cache to wipe the MediaStore DB and then either reboot or run Rescan SD Card! to rebuild it.
Related
Every time I reboot my GNex, I receive the error process android.process.media has stopped, usually at least twice.
I've searched and tried some of the solutions that have been suggested (fix permissions, clear data/cache of Market, clear data on Media Storage)
So far, no joy. This isn't a custom ROM, I've only rooted the 4.0.2. I'm also running Nova Launcher, but this problem started prior to adding the new launcher.
Any other suggestions? Or any suggestions what I can do to troubleshoot? I've seen suggestions of reformatting the SD card for other models that have this issue, but that isn't really a viable alternative to the cardless Galaxy Nexus.
I've had the same problem as well, and nothing suggested online worked for me. Anyway I had to play around with it a while until I found a "solution".
First thing first I believe that the problem is arising from the Media Scanner getting force closed when it tries to scan a file with "corrupt" data or filename (it's probably not a corrupt file as such and the problem probably lies with the Media Scanner itself. Hopefully Google will fix it soon).
What I did was first putting a .nomedia file in every folder in the /mnt/sdcard directory. Basically this will tell the Media Scanner not to scan the content of any of the folders. Now wipe the data for Media Storage (I also wiped the data for the Gallery and Music apps just to be safe) and then restart the phone. Now if my theory is correct then you won't get a android.process.media force close.
(Also to add the .nomedia files I used an app called Super Manager which you can get on the market. Maybe you can do it with other file manager apps too. Normally you can also do this by plugging the phone into a computer but it seems that with MTP not all of the folders will show up.)
Now you can remove the .nomedia file from the folders that you have musics/pictures/videos/ringtones/notifications in one by one. Once you remove the .nomedia file from one folder, reboot and make sure you don't get a force close, then repeat the same thing for the next folder until you have all the folders you store media files in. If at any point, you reboot and get a force close then you know where the problem file is stored. Personally I didn't find the file that was the problem (it was probably in one of the folders that I left a .nomedia file in) but if you do then I guess you can try backing up the content of that folder, deleting it and copying it back to the phone again. Don't forget to wipe Media Storage again, reboot and see if that fixes the problem.
Hope that's useful!
Chrono_Tata said:
I've had the same problem as well, and nothing suggested online worked for me. Anyway I had to play around with it a while until I found a "solution".
First thing first I believe that the problem is arising from the Media Scanner getting force closed when it tries to scan a file with "corrupt" data or filename (it's probably not a corrupt file as such and the problem probably lies with the Media Scanner itself. Hopefully Google will fix it soon).
What I did was first putting a .nomedia file in every folder in the /mnt/sdcard directory. Basically this will tell the Media Scanner not to scan the content of any of the folders. Now wipe the data for Media Storage (I also wiped the data for the Gallery and Music apps just to be safe) and then restart the phone. Now if my theory is correct then you won't get a android.process.media force close.
(Also to add the .nomedia files I used an app called Super Manager which you can get on the market. Maybe you can do it with other file manager apps too. Normally you can also do this by plugging the phone into a computer but it seems that with MTP not all of the folders will show up.)
Now you can remove the .nomedia file from the folders that you have musics/pictures/videos/ringtones/notifications in one by one. Once you remove the .nomedia file from one folder, reboot and make sure you don't get a force close, then repeat the same thing for the next folder until you have all the folders you store media files in. If at any point, you reboot and get a force close then you know where the problem file is stored. Personally I didn't find the file that was the problem (it was probably in one of the folders that I left a .nomedia file in) but if you do then I guess you can try backing up the content of that folder, deleting it and copying it back to the phone again. Don't forget to wipe Media Storage again, reboot and see if that fixes the problem.
Hope that's useful!
Click to expand...
Click to collapse
I am trying this out. Question. How do I create the .nomediafile? NVM. Figured it out. Hope this will work.
Just a bump.
Clearing data in Media Scanner worked for me and rebooting. Didn't have to do that other stuff. YMMV.
Thanks to Chrono for the info.
Chrono_Tata said:
I've had the same problem as well, and nothing suggested online worked for me. Anyway I had to play around with it a while until I found a "solution".
First thing first I believe that the problem is arising from the Media Scanner getting force closed when it tries to scan a file with "corrupt" data or filename (it's probably not a corrupt file as such and the problem probably lies with the Media Scanner itself. Hopefully Google will fix it soon).
What I did was first putting a .nomedia file in every folder in the /mnt/sdcard directory. Basically this will tell the Media Scanner not to scan the content of any of the folders. Now wipe the data for Media Storage (I also wiped the data for the Gallery and Music apps just to be safe) and then restart the phone. Now if my theory is correct then you won't get a android.process.media force close.
(Also to add the .nomedia files I used an app called Super Manager which you can get on the market. Maybe you can do it with other file manager apps too. Normally you can also do this by plugging the phone into a computer but it seems that with MTP not all of the folders will show up.)
Now you can remove the .nomedia file from the folders that you have musics/pictures/videos/ringtones/notifications in one by one. Once you remove the .nomedia file from one folder, reboot and make sure you don't get a force close, then repeat the same thing for the next folder until you have all the folders you store media files in. If at any point, you reboot and get a force close then you know where the problem file is stored. Personally I didn't find the file that was the problem (it was probably in one of the folders that I left a .nomedia file in) but if you do then I guess you can try backing up the content of that folder, deleting it and copying it back to the phone again. Don't forget to wipe Media Storage again, reboot and see if that fixes the problem.
Hope that's useful!
Click to expand...
Click to collapse
I have to tell that through your solution, I found mine (that was for JellyBean).
Thanks for it! I'll spread your word.
Hi,
I have an issue with migrating from 4.0.4 (AOKP) to 4.1.1 (XenonHD, stock, JellyBean, etc)... Suddenly after update all media files disappeared. I thought that I've lost them during the update, but I found them using the Root Explorer - it's still in appropriate folders on SDCARD folder (DCIM, 100ANDRO, Camera, Music, etc).
But why gallery doesn't see anything (except some icons/pictures in some folders)???
And the same for music, for example tool for assigning music on ringtones or notifications which comes together with GO SMS also doesn't see any music MP3 files!!!! Why??? Can anybody answer me, what's going on?
fizic said:
Hi,
I have an issue with migrating from 4.0.4 (AOKP) to 4.1.1 (XenonHD, stock, JellyBean, etc)... Suddenly after update all media files disappeared. I thought that I've lost them during the update, but I found them using the Root Explorer - it's still in appropriate folders on SDCARD folder (DCIM, 100ANDRO, Camera, Music, etc).
But why gallery doesn't see anything (except some icons/pictures in some folders)???
And the same for music, for example tool for assigning music on ringtones or notifications which comes together with GO SMS also doesn't see any music MP3 files!!!! Why??? Can anybody answer me, what's going on?
Click to expand...
Click to collapse
Look in folder DCIM, if it have .nomedia file then delete it U can also downgrade to 4.0.4 to see if it happen? Do you wipe everything. U must wipe if go from 4.0.4 to 4.1.1
1. I've made full wipe before flash.
2. There are no ".nomedia" file
Any other ideas? Does anybody face the same?
fizic said:
Click to expand...
Click to collapse
+1 here, from cyano9 to Modaco 5 but also restoring my nandroid. Roms start with images, then going to gallery i can see a live "countdown" of images...
fizic said:
Hi,
I have an issue with migrating from 4.0.4 (AOKP) to 4.1.1 (XenonHD, stock, JellyBean, etc)... Suddenly after update all media files disappeared. I thought that I've lost them during the update, but I found them using the Root Explorer - it's still in appropriate folders on SDCARD folder (DCIM, 100ANDRO, Camera, Music, etc).
But why gallery doesn't see anything (except some icons/pictures in some folders)???
And the same for music, for example tool for assigning music on ringtones or notifications which comes together with GO SMS also doesn't see any music MP3 files!!!! Why??? Can anybody answer me, what's going on?
Click to expand...
Click to collapse
Do you have RomManager installed?
Check the root of your sdcard for ".nomedia" (Note that it's a hidden file, so make sure you have Root Explorer set to show hidden files).
If you have it, and you have rommanager installed, make sure to update to the latest rommanager, and then delete the .nomedia file and reboot your phone.
If you don't have rommanager installed, but you have a .nomedia file at the root of your sdcard, delete it and reboot your phone.
I'm also having the same issue when I upgraded to 4.0.4
I recall seeing the ".nomedia" file but after I rooted my phone I can't find it anymore. If I move my media files to my externalSD it works but unfortunately 2GB just isn't enough to hold my movies, music, and pictures.
Edit: I've located several .nomedia files on the phone. I've deleted them and rebooted my phone. Still not fixed.
No Media Files Visible to Apps After 4.0.4 to 4.1.1
Iunchbox- said:
I'm also having the same issue when I upgraded to 4.0.4
I recall seeing the ".nomedia" file but after I rooted my phone I can't find it anymore. If I move my media files to my externalSD it works but unfortunately 2GB just isn't enough to hold my movies, music, and pictures.
Edit: I've located several .nomedia files on the phone. I've deleted them and rebooted my phone. Still not fixed.
Click to expand...
Click to collapse
Exactly the same problem. Started with a stock G'Nex with 4.0.4 installed (flashed everything back to factory and locked the boot loader), waited for the OTA update to 4.1.1, updated then transferred some music files up to /sdcard/music and then.... nothing, no music found by Play Music/Rocket Player/MixZing/whatever....
The only .nomedia file I can find in the /sdcard are in /sdcard/android/data. Deleting that plus clearing data in media storage followed by a reboot does nothing.
Looking for clues!.....
Jaramani said:
Exactly the same problem. Started with a stock G'Nex with 4.0.4 installed (flashed everything back to factory and locked the boot loader), waited for the OTA update to 4.1.1, updated then transferred some music files up to /sdcard/music and then.... nothing, no music found by Play Music/Rocket Player/MixZing/whatever....
The only .nomedia file I can find in the /sdcard are in /sdcard/android/data. Deleting that plus clearing data in media storage followed by a reboot does nothing.
Looking for clues!.....
Click to expand...
Click to collapse
Try this. Connect it to your computer then use search to find all nomedia files. Reboot see if its fixed. If not then use kies to copy from internal SD to external then back to internal. A bit of a pain but after that its fine and dandy
Sent from my SGH-I727R using Tapatalk 2
Went to play some music this morning and it's all "gone", and checked gallery for images and it's the same. A solution would be great. I've been using this rom for ages and haven't changed anything?
As I face this issue, I did a huge search to find the solution, Tried full wipe, custom kernel to disable logger, sdrescan. ....etc...
Finally, I'm quite sure the problem,
1. Rom manager fail update, they put .nomedia at root .
Just uninstall it, and reintall it from market, they fixed it as well.
And the very important second things I found,
2. 360 Camera's Photos! !!!!!!! They make a bad jpg header, u can view it in explorer or file manager but, in ics and jb, media scanner just cause repeating scanning!!!!!
Please, don't use camera 360 and uninstall it after they known fix it
Use any file explorer, rename all C360*.JPG to C360.bak in dcim\camera folder
Or search all c360*.jpg zip them and delete all the jpg named c360 in front.
Clear mediascanner settings in application.
Reboot, after 2 to 3 mins,access gallery. Or play music, u will be happy as well.
Sent from my Galaxy Nexus using xda app-developers app
Phone: LTE Galaxy Nexus (VZ)
Preface: I recently swapped from JB Sourcery to AOKP M1 (JB). I loved Sourcery, but I was having stability issues. Anywho, I go into my Gallery, and notice all my photos are missing. Same w/ ringtones. I did some google searches, and have found it is potentially related to ROM Manager (which I had installed).
The fix(s)/attempts:
1) Delete .nomedia in DCIM folder -- No .nomedia files to be found (yes, I was checking hidden files [w/ MI File Explorer])
2) Check sdcard0 for .nomedia files, none
3) Settings > Apps > Media Storage > Clear Data; reboot -- nada
4) Downloaded StudioKUMA .nomedia Manager + Rescan Media Root and couldnt locate any nomedia files in the photo, ringtone, or root sd card directories.
5) Downloaded QuickPic - yes, this worked, but I don't like it and I don't want to rely on a 3rd party. Plus, this didn't solve my ringtone issue.
6) Removed the .nomedia file (//Android/data/.nomedia). Started media scanning via the app I listed above, cleared media storage data, and rebooted --> this did the trick BUT with one issue.
My issue w/ #6: My ringtones (slowly) returned--took a while for it to trickle in from various directories. The biggest gripe is that I now have all these extra images in my Gallery app that I didn't have before. What I DON'T understand is why/how the sdcard0/android/data folder affects the images that are located in a completely different directory (sdcard0/DCIM/ & sdcard0/ringtones/).
Has anyone figured out what actually happened here and how this android/data directory is playing a roll in my media?
Thanks & I hope my fixes/attempts help folks w/ this same issue.
lilfleck said:
Phone: LTE Galaxy Nexus (VZ)
Preface: I recently swapped from JB Sourcery to AOKP M1 (JB). I loved Sourcery, but I was having stability issues. Anywho, I go into my Gallery, and notice all my photos are missing. Same w/ ringtones. I did some google searches, and have found it is potentially related to ROM Manager (which I had installed).
The fix(s)/attempts:
1) Delete .nomedia in DCIM folder -- No .nomedia files to be found (yes, I was checking hidden files [w/ MI File Explorer])
2) Check sdcard0 for .nomedia files, none
3) Settings > Apps > Media Storage > Clear Data; reboot -- nada
4) Downloaded StudioKUMA .nomedia Manager + Rescan Media Root and couldnt locate any nomedia files in the photo, ringtone, or root sd card directories.
5) Downloaded QuickPic - yes, this worked, but I don't like it and I don't want to rely on a 3rd party. Plus, this didn't solve my ringtone issue.
6) Removed the .nomedia file (//Android/data/.nomedia). Started media scanning via the app I listed above, cleared media storage data, and rebooted --> this did the trick BUT with one issue.
My issue w/ #6: My ringtones (slowly) returned--took a while for it to trickle in from various directories. The biggest gripe is that I now have all these extra images in my Gallery app that I didn't have before. What I DON'T understand is why/how the sdcard0/android/data folder affects the images that are located in a completely different directory (sdcard0/DCIM/ & sdcard0/ringtones/).
Has anyone figured out what actually happened here and how this android/data directory is playing a roll in my media?
Thanks & I hope my fixes/attempts help folks w/ this same issue.
Click to expand...
Click to collapse
same thing happened to me...coming from MIUI to AOKP...maybe its an AOKP issue? i also read something related to rom manager..but i didnt have rom manager installed...i never encountered it on any other rom before
there were no .nomedia files when i ran several scans...i downloaded quickpic and saw that a lot of my folders were labeled "hidden"...i deleted a bunch of the folders because as you said a lot of unwanted pictures started showing up when i un-hid them...i re-added all the stuff i needed from my PC...to this day i still dont know why my folders became "hidden"
Which phone do you have? W/ the GN, moving files is uber slow and a PITA. I have >5GB in my photos folder, and it will take forever.
lilfleck said:
Which phone do you have? W/ the GN, moving files is uber slow and a PITA. I have >5GB in my photos folder, and it will take forever.
Click to expand...
Click to collapse
GSM Nexus...yeah it was a PITA..im pretty sure i still have some folders that are "hidden" that have pics too (i dont remember every single folder name) but oh well
I made a backup of my files before updating to JB.. After the update i copied my files back to the phone.. But the stock album app doesn't show me all the images i have.. for example, in a folder named "Instagram" i' ve put all my instagram photos.. But it shows me only the new ones i take.. Why this; Αny solution;
biboleo said:
I made a backup of my files before updating to JB.. After the update i copied my files back to the phone.. But the stock album app doesn't show me all the images i have.. for example, in a folder named "Instagram" i' ve put all my instagram photos.. But it shows me only the new ones i take.. Why this; Αny solution;
Click to expand...
Click to collapse
Run a media scan
Marsou77 said:
Run a media scan
Click to expand...
Click to collapse
how; i installed 2 apps from play store for this, but didn't work..
Try Settings->Apps->All->Album-> Delete data and cache.
xjox said:
Try Settings->Apps->All->Album-> Delete data and cache.
Click to expand...
Click to collapse
i did this several times.. didn't work either..
Where did you copy this instagramm folder? Try renaming it or moving it to another path on the memory. Also check out if there is a .nomedia file somewhere in the folder or in the folders above (depending on what file browser you use, you maybe have to turn on "Show hidden files"). If you find a .nomedia file, just delete it so that the media scanner is allowed to search for pictures in this folder and all the subfolders..
Setting > App > All > Media Storage
Clear data and cache.
Media rescan.
Settle.
mister-g1 said:
Where did you copy this instagramm folder? Try renaming it or moving it to another path on the memory. Also check out if there is a .nomedia file somewhere in the folder or in the folders above (depending on what file browser you use, you maybe have to turn on "Show hidden files"). If you find a .nomedia file, just delete it so that the media scanner is allowed to search for pictures in this folder and all the subfolders..
Click to expand...
Click to collapse
Τhank you so much!! that was the answer!! I found a.nomedia file in the folder of pictures, so i suppose that was the reason why it didn'd show me the files edited after the update.. Thanks again..
You're welcome