By Questioner


2013-12-03 01:43:03 8 Comments

I have a Galaxy S2 running Android 4.1.2. It has a 12GB internal HD, and a 16GB SD card.

I keep getting errors from various programs telling me I am running out of space. BeyondPod won't download new episodes, Evernote keeps putting up a notification of a lack of space (even though it seems to be storing everything), and sometimes apps won't update.

I have tried to ensure I have no superfluous apps, and I haven't really changed the apps I use since I first ever started using the device. I keep any large files, like music collections or videos, on my SD card.

When I connect my device by USB to my Linux computer and check the properties of my 12GB HD, it says 9.9 GB is used. But if I browse the files, every folder seems to have barely kilobytes of information.

Why is my 12GB HD filling up, and how do I clear it out so I don't get these errors?

Update: My phone is rooted, so if that is something that can help me in this situaton, then root access is available to me.

9 comments

@codeonion 2013-12-13 10:07:15

You my friend can try X-plore. It is a file management app which can show you much more details of the file system of your phone. It will allow you to view hidden files as well. Maybe you will be able to find the folder with most weight in it ;)

https://play.google.com/store/apps/details?id=com.lonelycatgames.Xplore

Another method I recommend is using CCleaner Android App. It finds files and cleans your phone intelligently. It is ad free so that is a plus.

@Izzy 2013-12-13 11:41:09

When the insufficient memory error is triggered, that usually concerns internal storage, i.e. the /data partition. Regardless what file manager used, you cannot fully access this without root access.

@forums 2013-12-13 12:51:01

I'm quite sure that your online apps are storing files in your internal memory and not doing a proper garbage disposal, which you need to do manually. You should temporarily remove your SD card and insert your phone in "mass storage mode". Then use a software like File Explorer lite to get a rough idea on what's eating your memory. But I think that most junk file can be found in the "Android" folder specially if you install/uninstall a lot of programs.

@forums 2013-12-13 12:53:51

tip. Right-click the Android folder and select Properties. You might be surprised about its size.

@Questioner 2013-12-13 16:00:05

If I right click on the Android folder and select Properties (Using Ubuntu), it says it's about 210 MB.

@forums 2013-12-14 09:54:23

ok, so Android folder is clean. Still use any software that has a pie-chart view to check which files/folders are eating up the memory

@Shane Henson 2014-04-14 10:53:44

If you're getting "storage space runout" on your Samsung S2 phone, just dial *#9900# on the tablet and select option 2 “Delete dumpstate/logcat”

It's not necessary to root your android. Restart your phone afterwards.

@Alex Lehmann 2014-08-11 22:38:05

Thanks for the answer, I read this in a forum a while back when I activated encryption the last time, but I forgot where

@Moob 2015-02-25 18:43:23

Awesome. This freed up over 800mb for me and is easier than installing a file explorer and finding the /data/log folder.

@Lenin Raj Rajasekaran 2016-11-07 00:46:26

I am getting "invalid mmi code" when I dial that

@Fletch 2014-02-21 21:01:17

I had the same problem. Couldn't update anything due to insufficient memory. Tried a zillion sites, wasted hours and hours.

The only thing that worked was "You need to clear the logging files. Dial *#9900# and select delete dumpstack" as indicated in an earlier post. Freed up almost a GiB of space.

Go to the dialer, and type EXACTLY star pound 9900 pound (*#9900#). The menu automatically comes up (no need to send or anything). Select the delete dumpstack option (second one down on my phone).

I could just scream at Samsung for having wasted so much of my time, when such an idiot simple solution was available. I got all kinds of idiotic advice about reinstalling firmware, moving photos to SD card, etc. None of that worked.

 *#9900# and select delete dumpstack

@de mc 2013-12-29 07:02:59

You need to clear the logging files. Dial *#9900# and select delete dumpstack

@Questioner 2013-12-29 07:30:15

Is this any different from deleting the files in /data/log?

@sergserg 2013-12-13 20:58:56

Signed up to the site specifically to answer this question. I'm also using a Samsung Galaxy S2 with lots of storage but constantly full. I could not install applications or do pretty much anything.

I'm using Cyanogenmod, but this applies to all Androids.

What I did was using a file explorer with Root Permissions (to see all the files), navigated to the /data/logs folder.

The contents of the folder totalled over 1 GB, causing the problem. I deleted all files in that folder and it workes fine now.

As to why this is happening, I don't know - but I do know how to fix it. Hope this helps!

@Questioner 2013-12-14 02:41:49

This may be the answer. In my /data/log (no 's' on 'log') folder, there was about half a gigabyte of data. Clearing this out seems to have helped, as I'm now getting less errors, but I'm going to run for a day or so to be sure.

@Questioner 2013-12-18 04:37:20

Just an additional note for anyone who might be coming across this later: I was confused about the difference between the internal SD card and the internal HD of the device. The internal HD is about 2GB, and the internal SD is about 12 GB (and then there's the additional external 16GB drive.) I kept thinking that if I clean up my 12GB drive that would help, but it's the internal system drive, that is not visible when you connect by USB, where cleaning files was needed.

@voidHead 2015-09-22 23:43:18

I'm on Cyanogenmod as well, and this has happened to me a few times. I don't know anybody running a stock ROM that has had this issue. (Thanks for the solution.)

@Lenin Raj Rajasekaran 2016-11-07 00:47:59

Any solution for non-root devices?

@Neto Marin 2013-12-13 20:36:53

Some apps don't allow the user to move them to the secondary memory, because maybe they don't know how to do this or because they want to keep their app in the primary memory.

If you are an Android Developer, you can check it out on this App Install Location article. But, if you are just an user, the best idea is to move more applications you can to the secondary memory (SD Card) and store the media files in SDCard as well.

@Rombus 2013-12-13 14:25:51

Check the file /system/etc/gps/gpsconfig.xml specifically the variable cLogEnabled. If that's setted to true then go and check the size of gps logs files under /data/gps. If those files are big then that's your problem.

You can do that using adbshell and basic linux commands (I don't remember if du was available in stock android).

If this is your problem you'll need to change that variable to false, most certainly you'll need root for that. Or maybe mark this bug to samsung and hope for an update or solution from them.

@Questioner 2013-12-13 16:10:33

Thank you for replying. I can not find a directory called gps in /system/etc/.

@Abhijit Muke 2013-12-13 09:41:15

Try this app.Do install and check is space getting available or not ? Check Available space and clear unwanted files

@Firelord 2015-11-10 15:44:21

This should've been a comment, not an answer. Please follow How do I write a good answer?

Related Questions

Sponsored Content

2 Answered Questions

Internal storage fills up

1 Answered Questions

Where is my storage?

  • 2017-07-02 19:05:22
  • Benyamin Shoham
  • 125 View
  • 0 Score
  • 1 Answer
  • Tags:   storage

1 Answered Questions

[SOLVED] Internal Storage Running Out

  • 2015-04-23 19:39:40
  • Jesus
  • 288 View
  • 0 Score
  • 1 Answer
  • Tags:   storage

3 Answered Questions

[SOLVED] Can anyone explain Android storage space?

  • 2015-04-06 02:17:13
  • E_james
  • 963 View
  • 2 Score
  • 3 Answer
  • Tags:   storage

1 Answered Questions

insufficient space on device

0 Answered Questions

2 Answered Questions

Sponsored Content