2012-07-11 19:34:49 8 Comments

I've tried a few builds of Android Jelly Bean coming from Android Ice Cream Sandwich, and one common thing that happens is that Gallery will only show pictures taken after the ROM installation. The images themselves are still in the /sdcard/DCIM folder, but they are just not showing up in Gallery.

My phone is a Verizon Samsung Galaxy Nexus.


@los incas 2013-09-07 04:31:33

I had the same issue. I created a new folder and moved a file that end with a non media format, in my case a .bin file I downloaded and then I unmounted my sd card and then remount it and then used the app rescan to kick media scan opend gallery and it was all there. I did all that you did and then some. Did not even reboot. Just create a new folder at the root of my external sd card named dloads and look for anything that could be consider a system file like .bin .ini .nomedia and so on, only file was my router system setting back up I did gatewaysetting.bin and moved it. Left all other like PDF files, mp3, picture, gifs and so on.

@user36227 2013-06-20 06:43:18

I also found this issue for 2 days. I usually like to have both QuickPic and gallery. As I like Gallery Slide show. For other features i prefer QuickPic.

But for Last 2 two days it stuck at less num pictures. So i tried clear cache/data of app and media scanner. that b'com even worser. i end up with no image shown.

I fixed the problem by renaming the DCIM folder to something else, say DCIMM. Then I started Gallery and all the images showed up. After that, I could rename the folder back to DCIM and everything was fine.

@Flow 2013-06-20 07:35:40

Please do not provide link only answers. You can reference your blog post but the solution should be found in your answer here.

@I-O 2012-08-03 04:10:37

This trick didn't work for me. So, I did what the system should have done with the .nomedia file present. I moved all of my photos to a hidden folder (with a . before the name) and removed the DCIM folder. Then, I looked for all instances of the .nomedia file (Root Explorer helped) and deleted them. Rebooted the phone. Started Gallery. Waited for 10 minutes. Voila! Gallery showed every little image file that was on /sdcard. To remove the files that I didn't want to see, I copied the .nomedia file from a random system folder and pasted it into all the folders that I didn't want indexed. Strangely though, moving even one of the original /sdcard/DCIM/Camera files from the hidden folder into the current Camera folder took Gallery down. Stranger that this also made the Internal Storage show a blank window when I connected the phone to my laptop. Almost positive that this has to do with JellyBean creating a /storage/sdcard0 folder that's linked to the older /sdcard folder. Looking it up and will post updates if I find any.

Update: The same trick works for Paranoid Android's JellyBean ROMs (even the latest 2.13) for the Galaxy Nexus. Something to do with the DCIM folder and how it is handled by Media Storage. A Linux-geek friend of mine confirms this has to do with the /sdcard0 symlinking. Although, why we need something like that is beyond my limited knowledge of the OS.

@SAGExSDX 2012-08-03 14:49:26

Thanks for looking into this more. I've since ignored the problem but was still hoping someone could find what the problem with Jelly Bean was. I'll await your updated response

@ce4 2012-07-11 19:43:07

This behaviour is not uncommon, sadly.

I use SDrescan to fix it usually.

Here are some other questions targeting the same underlying problem:

The music player keeps displaying deleted songs. How do I remove them or refresh the library?
Picture Gallery Slow & Won't Refresh on HTC G2 w Android 2.3 Gingerbread

@SAGExSDX 2012-07-11 21:35:55

Unfortunately, this isn't the problem. Turns out it has to do with Media Scanner constantly crashing

@ce4 2012-07-11 21:55:47

Can you spot where it crashes? (Maybe use CatLog to view logs) instantly after issuing a rescan. Maybe it's just a single bad file that causes this

@SAGExSDX 2012-07-12 21:06:41

Unless I'm doing it wrong, it doesn't look like catlog is catching anything when I enable folders that cause MediaScannerService to restart

@ce4 2012-07-13 06:15:50

Maybe use the bisection method to find the faulty pic? E.g, 128 pics requires 7 steps to isolate a single pic.

Related Questions

Sponsored Content

1 Answered Questions

[SOLVED] Pictures do not appear at the gallery?

1 Answered Questions

[SOLVED] How to export image metadata?

2 Answered Questions

1 Answered Questions

1 Answered Questions

[SOLVED] How to re-arrange images in gallery after changing the GMT time zone?

  • 2013-06-12 05:07:32
  • Nam G VU
  • 2057 View
  • 0 Score
  • 1 Answer
  • Tags:   gallery time-zones

1 Answered Questions

[SOLVED] Why are all contacts grayed out in Google Talk?

2 Answered Questions

Sponsored Content