Stop Your Screen From Turning Off with KeepItOn

We all know the feeling of reading a news article orrather longdocument, when our screen … more

The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Major Update for the Sony Smartwatch 2 Brings DND and More

With the wearables landscape now dominated by Android Wear and Pebble, its … more

How to Root Android Wear 5.0.1 Lollipop Devices – XDA TV

The Lollipop update for Android Wear devices has hit the market and people are … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Space not freed after messing with .thumbnails

OP Aironfaar

28th February 2014, 12:40 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Nov 2012
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?
1st March 2014, 01:42 AM   |  #2  
Junior Member
Thanks Meter: 0
 
16 posts
Join Date:Joined: Feb 2014
You could try installing Disable Service and forcing the media indexing service to never run.
1st March 2014, 02:08 AM   |  #3  
OP Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Nov 2012
Quote:
Originally Posted by gordon1986

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?
7th March 2014, 02:58 PM   |  #4  
osamaanjum's Avatar
Junior Member
Flag Hyderabad
Thanks Meter: 2
 
19 posts
Join Date:Joined: Jan 2014
More
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.
9th March 2014, 01:00 PM   |  #5  
OP Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Nov 2012
Quote:
Originally Posted by osamaanjum

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.
1st April 2014, 01:39 PM   |  #6  
osamaanjum's Avatar
Junior Member
Flag Hyderabad
Thanks Meter: 2
 
19 posts
Join Date:Joined: Jan 2014
More
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:	15
Size:	49.0 KB
ID:	2662335  
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes