5,596,179 Members 34,091 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Space not freed after messing with .thumbnails

Tip us?
 
Aironfaar
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Nov 2012
Default [Q] Space not freed after messing with .thumbnails

Heya guys,

this is mostly a copy of a thread I created in a device-specific forum (original thread), but since nobody was able to answer the question there and considering it doesn't seem to be device-specific after all, I figured I'd go ahead and ask here as well. The copy & paste part begins here, with slight modifications:

A few days ago, I found that I was in dire need of some more free space on my Samsung Galaxy S4 / GT-I9505's internal storage and found that only the contents of /sdcard/DCIM/.thumbnails were taking up space. After a while of trying to get rid of those files that kept creating themselves again, I followed some advice I read on an Android forum: I deleted the contents of the .thumbnail folder, went to Settings -> Apps and cleared the data of the Gallery and Media Storage apps, respectively, before rebooting the phone.

The contents did disappear for good, but neither Total Commander nor the list of installed apps in the settings nor the Storage summary in the settings showed any different amount of free space than before. To make matters worse, the number didn't even change after I found and deleted about 1 GB of files left by an already uninstalled app, i.e. it seems to be stuck on that value. At the same time, SD Maid tells me that I should have a good 5 GB of free space more than the system is showing. Neither restarting nor wiping the cache and dalvik cache helped.

My rooted GT-I9505 is running this unofficial port of AOKP 4.3, Milestone 1, and version 6.15.6 of PhilZ/CWM Advanced. I'm not sure whether there's more information I might need to provide, other than that the size of the thumbnails files apparently exploded (about 4 GB) when I moved quite a lot of data and obb folders to my external storage using FolderMount.

I didn't find any information about this kind of problem anywhere and am afraid I messed up so badly that I might need to reflash...or worse. Do you have an idea how I can try to fix it?
 
gordon1986
Old
#2  
Junior Member
Thanks Meter 0
Posts: 16
Join Date: Feb 2014
You could try installing Disable Service and forcing the media indexing service to never run.
 
Aironfaar
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Nov 2012
Quote:
Originally Posted by gordon1986 View Post
You could try installing Disable Service and forcing the media indexing service to never run.
Thanks for the input! That sounds like a plan, but I'm not really sure whether I'm doing it right. I got the app, figured the media indexing service had to be found in the Media Storage app's entry, but I only found "MediaScannerService" and "MtpService" there. Since I try to be more careful now, I'd rather not deactivate any of those without being sure that it is what I am aiming for.
So, long story short: Is either of those the media indexing service or do I have to look somewhere else?
 
osamaanjum
Old
#4  
osamaanjum's Avatar
Junior Member
Thanks Meter 1
Posts: 12
Join Date: Jan 2014
Location: Hyderabad
Best thing to do is delete the .thumbnails folder in DCIM folder. After this create a new file with the name .thumbnails in the DCIM folder.

Note: You have too delete .thumbnails FOLDER and create .thumbnails FILE. You can use es file explorer to do this.

It is based on the simple principle that in Linux ext file system a file and folder cannot have the same name.

Sent from my LT28at using xda app-developers app
Hit Thanks if this helped you.
 
Aironfaar
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Nov 2012
Quote:
Originally Posted by osamaanjum View Post
Best thing to do is delete the .thumbnails folder in DCIM folder. After this create a new file with the name .thumbnails in the DCIM folder.
While I wasn't sure it would help, I tried what you suggested. Alas, it didn't work; the .thumbnails folder is empty without freeing the space taken by its former contents since I did what I described in my original post, after all. However, should I manage to fix this problem with a reflash, I suppose I'll do just that, replacing the folder with an empty file of the same name. Thanks.
 
osamaanjum
Old
#6  
osamaanjum's Avatar
Junior Member
Thanks Meter 1
Posts: 12
Join Date: Jan 2014
Location: Hyderabad
Default It works for me.

I 've uploaded the image of DCIM directory (folder). In place of .thumbnails folder you can notice .thumbnails file.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-04-01-17-03-59.png
Views:	7
Size:	49.0 KB
ID:	2662335  
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Force Translucent Status Bar in KitKat ROMs with Xposed

It’s been a while since Android 4.4KitKat wasreleased, and we’re slowly … more

Fix the Ambient Light Issues on Your Google Nexus 5 using Xposed

The Google Nexus 5 is a great and rather popular device. This LG-produced … more

Google Glass XE16 Update Factory Image and Rooted Bootloader Now Available

You may recall that early yesterday, we talked about the XE16 … more