[Q] How to delete thumbnail_photo_nnnn.jpg in /data/data - Android Software/Hacking General [Developers Only]

I have been wrestling with ever-increasing usage of /data/data in my HTC Inncredible phone. It is limited to 140MB. I found a program Not Enough Space which lets you map selected apps' /data/data into an external virtual disk file in the /emmc partition (which has 6Gb free, unusable to Android, another story). I NES-remapped some of the hog apps like Earth and Skype, and eventually got to where I had 50MB free. Now, 3 months later I got another "Application data space is low" and I'm back down to 14MB. I looked and my Contact Storage is now at 70MB, but I haven't added more than 3 or 4 contacts in the last couple of months. Byt even THAT isn't enough to have used 36MB more!
During my last few nandroid backups, I noticed that, during backup of 'datadata' I saw BILLIONS of files called thumbnail_photo_nnnnn.jpg zipping by on the nandroid display. over half of the thermometer movement for 'datadata' was these things! I strongly suspect a runaway app has left that s**t out there.
Finally my question: Can I delete the /data/data/thumbnail_photo_nnnn files, and if so, how. I went in with the root ADB using clockwork recovery looked in /data/data but I'm in a bit over my head. I couldn't see them. I believe the partition was mounted (per cat /proc/mounts). SO you see I need that little hint from one of the experts here to maybe solve my problem

Ya ha!! I solved iit myself, and in the process freed up 40+ MEGS of precious /data/data space! The thumbnails are located in
/data/data/com.android.providers.contacts/files
Every file in that dir is a thumbnail_photo_nnnnn.jpg file. There were thousands, and each was about 7-10Kb. I have 400 contacts, so WTF? I had a nandroid backup, so I just deleted them all. OK, no more cute pix of my contacts, BFD. I got back 40+ Mb of /data/data space.
Here's my theory: The bloat is a result of the Facebook Sync, in which FB friends' profile pix are stored for FB and linked contacts. Now, over the span of a year or so, your FB contacts will change their profile pix a few times. When a contact gets a new profile pic by syncing with FB, the old one isn't deleted. Eventually those fossil profile pix will use up your precious /data/data partition!
I'll post here again after a few weeks to see how much space a fresh load of synced profile pix takes up.

Related

HELP! Out of internal memory. Not used by any app

I have a THL W100 that worked perfectly, but yesterday, after updating some apps, I noticed a huge battery drain and data hog. Today, I found Yahoo Weather as the culprit, so I simply uninstalled it this morning, and left the phone on my desk for a few hours. After uninstalling Yahoo Weather, it freed around 30mb and I had around 230mb total of internal memory available. I have not installed any new app in months (not counting updates, of course).
After 3 or 4 hours, I picked the phone again just to find out that there was a warning telling me it was out of internal memory. I went to the installed apps screen just to find that it reported only 20mb free! I ordered apps by size and everything seemed correct, but I wiped all caches and most of application data too anyway.
In the storage screen, it reports that of the 920mb of internal memory, 520 are used by apps, 5 by cache. The usage graph seems correct, but the phone reports only 60mb free after clearing of all caches, so there's nearly 400mb missing!
I tried to reeboot the phone, and looked around with x-plore, but I can't find the culprit... any idea where has my memory gone?
Thanks!
EDIT: I rooted the phone with framaroot and used "storage analyser" on the /data partition to see which files were eating my space. There were a lot of enormous log files at "/data/log_other_mode" created at the same time I uninstalled Yahoo Weather which ate nearly 250mb. I deleted them and everything is back to normal.
log_other_mode
hi,
i have a lenovo s750 with etotalk rom. i periodically delete all its content of the folder data\log_other_mode. it gets to 400 mb in about 10 days for me.
i found that a permanent solution would be to recompile the kernel....(not for me ).
i also found a way around for it: make the folder read-only...this will prevent the logger to write...
i would like to write these considerations in this post but i'm not allowed: is there any way to send a private message to the author of the discussion?
thanks

[Q] Whatsapp databases taking too much of space

My whatsapp folder is a humongous 527 MBs and "databases" alone take around 350 MBs. For a phone (GT-S7562 galaxy S duos) with a usable internal memory of 1.6 GB without the ability to move apps (Probably because samsung developers thought it's cool to make people manage apps in that limited space and see them scratch their head to blead ) this is a huge chunk of memory the app is taking.
Is there a way to reduce the size of databases folders? I am amused because it's just text, and all of my conversation cannot in any way sum up to 350 MBs. Does everyone have this sized whatsapp database folder?
Though I am rooted and I have link2sd, but I don't want to move whatsapp, because in any case my sd card is removed I will not be able to use it, which is obviously one important app.
gurtejgps said:
My whatsapp folder is a humongous 527 MBs and "databases" alone take around 350 MBs. For a phone (GT-S7562 galaxy S duos) with a usable internal memory of 1.6 GB without the ability to move apps (Probably because samsung developers thought it's cool to make people manage apps in that limited space and see them scratch their head to blead ) this is a huge chunk of memory the app is taking.
Is there a way to reduce the size of databases folders? I am amused because it's just text, and all of my conversation cannot in any way sum up to 350 MBs. Does everyone have this sized whatsapp database folder?
Though I am rooted and I have link2sd, but I don't want to move whatsapp, because in any case my sd card is removed I will not be able to use it, which is obviously one important app.
Click to expand...
Click to collapse
You can do is remove all db files..
Now go in whatsapp.. Backup your messages.. The unwanted backups will be deleted and present one will be there without taking space..
Cooked and tested solution:
The real solution for this is to stop the application from doing backups, which by default occur daily at 02:00 (AM).
Just deleting the databases solves nothing because WhatsApp will continue creating a new dated copy every day and only delete the “outdated” ones: it keeps seven copies.
Since this behaviour adjustment has no official support, here's the solution: the /WhatsApp/Databases folder must be “disabled” for this to happen, which is as easy as deleting the folder and then creating a file named “Databases”.
You can still enjoy a Google Drive backup from time to time this way with this simple procedure:
Rename your “Databases” file to something else, like “Databasex”, for example.
Open WhatsApp and go into Settings/Chats/Backup menu. Tap on “Save”. It may take a nice while.
Open your file explorer again and redo the trick: delete the re-created “Databases” folder and give back this name to your “Databasex” file.
This can alleviate a lot of storage use for certain fellows.
Cheers
Barkuti said:
The real solution for this is to stop the application from doing backups, which by default occur daily at 02:00 (AM).
Just deleting the databases solves nothing because WhatsApp will continue creating a new dated copy every day and only delete the “outdated” ones: it keeps seven copies.
Since this behaviour adjustment has no official support, here's the solution: the /WhatsApp/Databases folder must be “disabled” for this to happen, which is as easy as deleting the folder and then creating a file named “Databases”.
You can still enjoy a Google Drive backup from time to time this way with this simple procedure:
Rename your “Databases” file to something else, like “Databasex”, for example.
Open your file explorer again and redo the trick: delete the re-created “Databases” folder and give back this name to your “Databasex” file.
This can alleviate a lot of storage use for certain fellows.
Cheers
Click to expand...
Click to collapse
Excellent! I have save almost 900 MB :good:

[Q] Insufficient storage

My Nexus S (GT-I9020)keeps giving me an "insufficient storage" message. Particularly when updating "Google Newstand".
So I have cleared out lots of Photos and music and stuff. Cleared caches. Moved stuff to SD etc. Still keeps happening.
So while connected to my PC by USB, I ran "Treesize" on it, and it tells me that I have 9.87Gb free. What is the problem?
Of the few Gigabytes that are used, by far the biggest folder is called "DCIM", I know that this is where pictures are stored, but I have cleared out loads of photos. The largest file in there is called " thumbdata", at 966Mb by far the largest file on the entire phone. What is this waste of space? Can I delete it?
It seems that whenever I take a pic. with my phone, it is stored there, then a little while later a second copy appears thanks to Google upload or something, but the new copy is not as high res as the original. I do want Google to upload my photos back to my PC, but why does it have to send them back to the phone? How do I stop this? I spend too much time deleting copies of pics that are already on the phone in original. I think that the thumbnails folder is a result of all this.
The biggest memory hog after DCIM is Clockwork Mod, within it a folder called "blobs". What is it and can I delete it?
The Next biggest memory hog is called "TWRP". What is it? Can I delete it?
Is there a guide to what all these things mean and do, for us learners?
monkey shoulder said:
My Nexus S (GT-I9020)keeps giving me an "insufficient storage" message. Particularly when updating "Google Newstand".
So I have cleared out lots of Photos and music and stuff. Cleared caches. Moved stuff to SD etc. Still keeps happening.
So while connected to my PC by USB, I ran "Treesize" on it, and it tells me that I have 9.87Gb free. What is the problem?
Of the few Gigabytes that are used, by far the biggest folder is called "DCIM", I know that this is where pictures are stored, but I have cleared out loads of photos. The largest file in there is called " thumbdata", at 966Mb by far the largest file on the entire phone. What is this waste of space? Can I delete it?
It seems that whenever I take a pic. with my phone, it is stored there, then a little while later a second copy appears thanks to Google upload or something, but the new copy is not as high res as the original. I do want Google to upload my photos back to my PC, but why does it have to send them back to the phone? How do I stop this? I spend too much time deleting copies of pics that are already on the phone in original. I think that the thumbnails folder is a result of all this.
The biggest memory hog after DCIM is Clockwork Mod, within it a folder called "blobs". What is it and can I delete it?
The Next biggest memory hog is called "TWRP". What is it? Can I delete it?
Is there a guide to what all these things mean and do, for us learners?
Click to expand...
Click to collapse
how many apps in your device? u can check your remaining storage at setting>apps>downloaded...if the remaining is under 100mb...u need to delete some apps to update some apps...
Re:insufficient storage
cshnz said:
how many apps in your device? u can check your remaining storage at setting>apps>downloaded...if the remaining is under 100mb...u need to delete some apps to update some apps...
Click to expand...
Click to collapse
I have 51 countable icons for apps, 102 in the list of "All apps." which includes all sorts of android stuff.
Under "downloaded" (36 apps) internal storage shows 784Mb used, 224Mb free.
Under USB it shows 3.4Gb used, 9.9Gb free. Aha! so that's what Treesize is looking at.
I get it, my 1Gb of internal storage is being used up. I will try and move more apps to USB.
Is that it?
also check your system partition, google apps often go there, if you're not rooted you wont be able to free space on it, the system partition is about 500MB large so it gets easily filled up, it contains your android rom and system apps
Sent from my Nexus S using XDA Premium 4 mobile app
monkey shoulder said:
I have 51 countable icons for apps, 102 in the list of "All apps." which includes all sorts of android stuff.
Under "downloaded" (36 apps) internal storage shows 784Mb used, 224Mb free.
Under USB it shows 3.4Gb used, 9.9Gb free. Aha! so that's what Treesize is looking at.
I get it, my 1Gb of internal storage is being used up. I will try and move more apps to USB.
Is that it?
Click to expand...
Click to collapse
yes i think you must move some apps to sd, or delete it.... hope it will work

Internal storage space problem

I have been using my S7 for about two months with no problem. It has a 32GB internal capacity and I have used about 14GB of it. Since two days ago, the 14GB has been ballooning to 32GB (with 0KB free!) for no reason at all. After awhile (any time from minutes to hours), the 32GB goes back to the original 14GB. I have seen with my own eyes the space occupied increasing (about 100-300MB each time) by refreshing in and out of Settings > Storage till it finally hits the cap. I have also located the increase to specifically the app storage but none of the apps show a significant increase when I look at them individually. The largest app is Facebook which hovers around 370 to 390MB (it always has been so).
I have deleted many redundant images and videos; cleared app caches; tried *#9900# to delete dump; used CCleaner; moved apps to external storage; nothing has worked so far. I have come to point where I cannot even sync my emails, receive SMSes or even open my photo gallery. It is incredibly frustrating.
Is there any way to solve this?
Thozies said:
I have been using my S7 for about two months with no problem. It has a 32GB internal capacity and I have used about 14GB of it. Since two days ago, the 14GB has been ballooning to 32GB (with 0KB free!) for no reason at all. After awhile (any time from minutes to hours), the 32GB goes back to the original 14GB. I have seen with my own eyes the space occupied increasing (about 100-300MB each time) by refreshing in and out of Settings > Storage till it finally hits the cap. I have also located the increase to specifically the app storage but none of the apps show a significant increase when I look at them individually. The largest app is Facebook which hovers around 370 to 390MB (it always has been so).
I have deleted many redundant images and videos; cleared app caches; tried *#9900# to delete dump; used CCleaner; moved apps to external storage; nothing has worked so far. I have come to point where I cannot even sync my emails, receive SMSes or even open my photo gallery. It is incredibly frustrating.
Is there any way to solve this?
Click to expand...
Click to collapse
I suggest you to do a factory reset and then install your applications again if nothing else works.
I am sure an app is causing the problem .
what application have you installed during the last 2 days?
have you made another change in the system?did you start downloading a very big file check your downloads to be sure of you find pending files. You can also check dropbox or other such apps .maybe you accidentally started creating a backup-restore of your files fotos or videos

Why is Whatsapp using so much internal memory with useless files and enormous logs?

Hello everyone!
While I was cleaning my internal memory deleting cache and some app data, I found that almost 30% of my 2gb dedicated app memory has been used by Whatsapp (≈640MB)
This doesn't include Media files on SD CARD (1,3GB)
Sooo, I started to think about it.
It's true that I have so many conversations stored, but god damn it 640MB?
So I opened the Root File Explorer and start digging inside data/data/com.whatsapp
Inside /databases/ I found a strange file apart from the actual message database which is about 282MB.
It was called "msgstore.db_new" (140MB) and it was unmodified since April.
I moved it to the SD card and Whatsapp still works perfectly fine with all my conversations available, so what the **** is that file supposed to do?
Also, I found a tmp log file (90MB, but internally it's compressed so about 11MB ) that contains MORE THAN 30k pages of log and almost 7M words . WHY is this so neccesary so it's stored in the internal files and not on cache!?
Sometimes at some pages it includes the package name of all my installed apps (maybe whatsapp collects info about everyone's installed apps??) and also contains info about all my numbers and names.
A single second of time can stand for more than 30 pages of log.
Edit: The entire log (all the 30k pages) starts yesterday at 14:28 and ends at 23:59 of the same day.
I don't understand what is going on.

Categories

Resources