Go Back   Android Forums > Android Phones > Samsung Galaxy Note
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

Like Tree1Likes
  • 1 Post By ppero196

test: Reply
 
LinkBack Thread Tools
Old September 12th, 2012, 04:33 PM   #1 (permalink)
Member
Thread Author (OP)
 
Join Date: Aug 2009
Location: UK
Posts: 193
 
Device(s): HTC Hero
Carrier: Not Provided

Thanks: 9
Thanked 1 Time in 1 Post
Default Huge thumbdata4 file in DCIM folder

I have recently noticed a huge (>3.5GB) file in the DCIM/.thumbnails folder. I have tried deleting it, but the next time I open the Camera app it rebuilds the file (and locks up the phone, sometimes displaying a "media scanning in progress" message, in the process.)

The total file size of all the photos displayed in the Gallery is around 500MB. There are in addition around 35,000 images in folders containing .nomedia files to instruct Android to ignore the media therein. The total file size of these is around 1.5GB. The Gallery app is correctly ignoring these images, but I wonder whether the Camera app is misbehaving and actually processing them.

I think this problem has emerged since the ICS upgrade ... either when the phone was first updated from Gingerbread or at some later date. I am currently on 4.0.4.

Any ideas, please?

prepbgg is offline  
Reply With Quote
Sponsors
Old September 12th, 2012, 05:23 PM   #2 (permalink)
Member
 
GiggityGiggity's Avatar
 
Join Date: Dec 2011
Location: NW London, UK
Gender: Male
Posts: 243
 
Device(s): SG Note II
Carrier: Not Provided

Thanks: 15
Thanked 36 Times in 26 Posts
Default

I've got 3800 images on my phone and I thought that was excessive! I've just checked and I have 2 files in that folder that are approximately 390mb each. I don't even use the standard gallery app and half of my files are set with the .nomedia files. If you have 35,000 images then it appears that the gallery app is setting a thumbnail for every single one regardless of the .nomedia settings but just doesn't show the ones it shouldn't. That's just stupid.

I use QuickPic instead of gallery as I find the gallery app bloody awful to use. You could try using that and then disabling the gallery app. My guess is you could then delete the huge file and as the app is disabled it won't reappear unless you re-enable it.

Lastly can I just ask.... why do you have 35,000 images on your phone?
GiggityGiggity is offline  
Reply With Quote
Old September 13th, 2012, 05:09 AM   #3 (permalink)
Member
Thread Author (OP)
 
Join Date: Aug 2009
Location: UK
Posts: 193
 
Device(s): HTC Hero
Carrier: Not Provided

Thanks: 9
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by GiggityGiggity View Post
Lastly can I just ask.... why do you have 35,000 images on your phone?
Most of them are used an app that I have written. Also there are quite a few that belong to web pages that I have saved for offline viewing.

I like QuickPic too, especially for its greater degree of control over sort order. (Why does the stock gallery only have "newest first"!?) At first I found it took too long to open up ... I think it was correctly paying attention to my .nomedia files but it was taking a minute or so to trawl through the whole folder structure and picking up all the photos that Gallery finds ... However, I have now found the menu option to restrict it just to the few photo folders that I'm interested in. It now opens in a flash.
prepbgg is offline  
Last edited by prepbgg; September 13th, 2012 at 08:17 AM.
Reply With Quote
Old September 13th, 2012, 08:19 AM   #4 (permalink)
Member
Thread Author (OP)
 
Join Date: Aug 2009
Location: UK
Posts: 193
 
Device(s): HTC Hero
Carrier: Not Provided

Thanks: 9
Thanked 1 Time in 1 Post
Default A solution (I hope!)

By googling I have found references to a bug in ICS that may be causing this problem.

Following advice here I have:

1. Deleted the thumbdata file (in DCIM/.thumbnails)

2. In Settings->Applications->All->Gallery: cleared data (only a few MB), (I would also have cleared the cache if there was anything there), then "Force stop"

3. In Settings->Applications->All->Media Storage: cleared data (only about 30MB), (I would also have cleared the cache if there was anything there), then "Force stop"

4. Restarted the phone

When I next ran the Camera app it was unresponsive for a long time, perhaps 20 to 30 minutes, presumably while it was re-scanning media files. After waiting for this to complete things now seem to be OK:
- Camera, Gallery and QuickPic all seem to work
- thumbdata4 seems to have settled at about 500MB
prepbgg is offline  
Reply With Quote
Old September 14th, 2012, 11:27 PM   #5 (permalink)
Member
 
Join Date: Jan 2012
Posts: 120
 
Device(s):
Carrier: Not Provided

Thanks: 4
Thanked 11 Times in 11 Posts
Default

create a txt file, rename it to the thumbdata file name, delete the big thumbdata file, copy over the small txt file in its place. seems to work ok for me. i had around 5gb of thumb file, terribly wasteful.

use quickpic its much better anyway. And you can easily specify which folder you want it to access rather than all the other crap.
salla43 is offline  
Reply With Quote
Old September 15th, 2012, 03:00 AM   #6 (permalink)
Member
Thread Author (OP)
 
Join Date: Aug 2009
Location: UK
Posts: 193
 
Device(s): HTC Hero
Carrier: Not Provided

Thanks: 9
Thanked 1 Time in 1 Post
Default

Thanks for the suggestion.

I agree that QuickPic is better than Gallery, but I'm not sure that gallery is the thumbdata culprit. I think it's probably the Media Storage process in Android.
prepbgg is offline  
Reply With Quote
Old September 16th, 2012, 12:08 PM   #7 (permalink)
New Member
 
Join Date: Sep 2012
Posts: 1
 
Device(s): Motorola Defy
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default App

I created a simple app that will do the job!
With a press of the button!
Attached Files
File Type: apk Thumbnail file deleter.apk (152.1 KB, 117 views)
salla43 likes this.
ppero196 is offline  
Reply With Quote
The Following User Says Thank You to ppero196 For This Useful Post:
salla43 (September 16th, 2012)
Old September 17th, 2012, 02:50 AM   #8 (permalink)
Member
Thread Author (OP)
 
Join Date: Aug 2009
Location: UK
Posts: 193
 
Device(s): HTC Hero
Carrier: Not Provided

Thanks: 9
Thanked 1 Time in 1 Post
Default

Thanks ppero196. I'll use that.

As a matter of interest, do you think it is a bug that has turned up in ICS, or did you have the problem before?
prepbgg is offline  
Reply With Quote
Old December 13th, 2012, 05:27 PM   #9 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

This is to introduce myself so I can post a link.
wadster21 is offline  
Reply With Quote
Old December 13th, 2012, 05:28 PM   #10 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

If you're still looking for a solution, the new folder method described here worked for me.
wadster21 is offline  
Reply With Quote
Sponsors
Reply
Tags
.nomedia, camera, ics, thumbdata, thumbnails


Go Back   Android Forums > Android Phones > Samsung Galaxy Note

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:31 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.