Related
[Q] Where did all my storage go? CM10.1
Hi all, I'm currently have a problem finding out where all my storage space has gone and what is safe to delete.
I'm on CM10.1 and the storage indicator in settings is attached. It says I only have 888MB available but the graphic shows around 2/3 of the internal storage is unused
I found 3 folders (storage/sdcard0, storage/emulated/0, and storage/emulated/legacy) that are both 2.62GB large. They look to be identical copies of /sdcard.
are any of these folders safe to delete? I am running out of memory and I believe these folders are the reason why.
Thanks!
Only yesterday someone mentioned something similar somehow. So I don't think that thread is really far away if you checked the first few pages in this Q & A section.
By typing in the searchbox "4.2 storage", I got this thread as the first result. So please try searching harder next time
Feel free to explain further if your issue is not resolved using the above link
Do not delete those folders. They are merely symlinks and not taking up any extra space.
Sent from my Nexus 7 using Tapatalk 2
Thanks for the reminder to search more, I will remember to do so in the future.
I thought they were symlinks because changes i made in sdcard were reflected in the other folders however when i check the size of the storage folder I can see that the total size is 7.87GB. If they were symlinks wouldn't that be 2.62 gb? I will continue to search for how to fix this issue.
I don't think the problem is an app because that would show up in the storage graph under settings would it not?
thanks!
found this thread that seems like a very similar issue
http://forum.xda-developers.com/showthread.php?t=1906449&highlight=storage
however again I see a discrepancy in the used storage vs per app usage. The SD card Analysis is attached.
On my GNex, the storage/sdcard0 is of size X, and it is the same X size for each of storage/emulated/0 and storage/emulated/legacy. This is very similar to what you originaly mentioned in your first post. I was just checking mine as well.
Hmmm, is this only happening with CM 10.1 ? Any other ROM you tried ? A reboot could help?
ahmadallica said:
On my GNex, the storage/sdcard0 is of size X, and it is the same X size for each of storage/emulated/0 and storage/emulated/legacy. This is very similar to what you originaly mentioned in your first post. I was just checking mine as well.
Hmmm, is this only happening with CM 10.1 ? Any other ROM you tried ? A reboot could help?
Click to expand...
Click to collapse
Check how much storage is used by your nandroid backups. I know that those aren't reported on the Storage space screen.
ahmadallica said:
On my GNex, the storage/sdcard0 is of size X, and it is the same X size for each of storage/emulated/0 and storage/emulated/legacy. This is very similar to what you originaly mentioned in your first post. I was just checking mine as well.
Click to expand...
Click to collapse
This is true for mine as well. The size of the /storage is 3*X. Good to know this isn't problem I am having.
AOKP gave me the same problem earlier. I have rebooted and wiped data... Is there any other folder i can check?
I've attached another screenshot of the sdcard analyst in es file manager. This is very confusing to me that the directory size is 2.48GB but out of a total 13.33GB space only 1.01GB is free?!
Reedbo said:
Check how much storage is used by your nandroid backups. I know that those aren't reported on the Storage space screen.
Click to expand...
Click to collapse
I am not complaining of any problem. I was trying to help the OP
Anyway, the ES File Explorer "SD Card Analyst" seems to include the nandroids as well
---------- Post added at 12:58 AM ---------- Previous post was at 12:55 AM ----------
extraGuac said:
This is true for mine as well. The size of the /storage is 3*X. Good to know this isn't problem I am having.
AOKP gave me the same problem earlier. I have rebooted and wiped data... Is there any other folder i can check?
I've attached another screenshot of the sdcard analyst in es file manager. This is very confusing to me that the directory size is 2.48GB but out of a total 13.33GB space only 1.01GB is free?!
Click to expand...
Click to collapse
Just to confirm, do you remember making any "hidden" folders on your sd card?
Actually SD Card Analyst should by default show hidden folders as well but I thought it is bettER to ask you and be sure
ahmadallica said:
Just to confirm, do you remember making any "hidden" folders on your sd card?
Actually SD Card Analyst should by default show hidden folders as well but I thought it is bettER to ask you and be sure
Click to expand...
Click to collapse
No, i don't recall intentionally making hidden folders.
and if the nandroid comment was directed at me, I checked the CWM folder where I believe they are saved. I only have one nandroid backup currently and the size is 1.25GB,
What do you have in /data/media/ ???
I have 3 folders there: 0, legacy, obb
the "0" folder seems to be another symlink as well.
I am trying to find anything on your sdcard different than mine. That's why I'm asking
ahmadallica said:
What do you have in /data/media/ ???
I have 3 folders there: 0, legacy, obb
the "0" folder seems to be another symlink as well.
I am trying to find anything on your sdcard different than mine. That's why I'm asking
Click to expand...
Click to collapse
This is very strange, my /data/media/ is very different from yours.
I have the same 3 folders you have: 0, legacy, and obb however I also have what seems to be an older /sdcard backup. There are folders in there that seem to be from before I wiped data.
The 0 folder also appears to be a symlink but unlike the other symlinks this one takes up no space. In fact none of the folders in /data/media take up any space. When I check the size of /data/media es file explorer says it contains 0 files and 0 folders???
Thanks for all your help so far! I will keep searching
Yes it does not show any size with me as well but I can see the same contents of /sdcard/ in /data/media/0/ .
Would you please explain further about that "older" /sdcard/ backup you mentioned?
I am starting to think that maybe the first few times you went to 4.2, you did NOT have the latest TWRP or CWM installed. So the sdcard files were moved inside a "0" folder each time, then maybe you transferred your backup from PC to /sdcard/ so it became duplicated. Sorry I am not sure I am clear enough in explaining this but it is just an assumption because something similar happened with me before this "0" folder issue was fixed in TWRP actually.
Maybe I can help you bettER if you explain to me more about that "older" /sdcard/ backup you found
ahmadallica said:
Yes it does not show any size with me as well but I can see the same contents of /sdcard/ in /data/media/0/ .
Would you please explain further about that "older" /sdcard/ backup you mentioned?
I am starting to think that maybe the first few times you went to 4.2, you did NOT have the latest TWRP or CWM installed. So the sdcard files were moved inside a "0" folder each time, then maybe you transferred your backup from PC to /sdcard/ so it became duplicated. Sorry I am not sure I am clear enough in explaining this but it is just an assumption because something similar happened with me before this "0" folder issue was fixed in TWRP actually.
Maybe I can help you bettER if you explain to me more about that "older" /sdcard/ backup you found
Click to expand...
Click to collapse
This was immensely helpful. You are correct, I had stock 4.2 on my GNex before I got CWM. This will get confusing but I will try to explain what I see in /data/media
/data/media/0/ seems to be a symlink for sure. however the other folder in there are from before wiped data earlier today. /data/media/download/ has a file I downloaded last week however /data/media/clockworkmod/backup has backups as recent as yesterday. I believe these are app data backups because I recall 3 of them. I do not see the nandroid I recently created in this folder. Is there anything you need to know?
extraGuac said:
This was immensely helpful. You are correct, I had stock 4.2 on my GNex before I got CWM. This will get confusing but I will try to explain what I see in /data/media
/data/media/0/ seems to be a symlink for sure. however the other folder in there are from before wiped data earlier today. /data/media/download/ has a file I downloaded last week however /data/media/clockworkmod/backup has backups as recent as yesterday. I believe these are app data backups because I recall 3 of them. I do not see the nandroid I recently created in this folder. Is there anything you need to know?
Click to expand...
Click to collapse
Well, I think that "everything" you already have on your /sdcard/ including "clockworkmod" backups, blobs, and so on, should be duplicated (as symlinks) in the /data/media/0/ not in /data/media/. At least this is what I have in my sdcard. This should be the same for /data/media/download/ because the "download" folder of your /sdcard/ should be duplicated (again, as a symlink) in the /data/media/0/. Therefore, you said there are "backups" for clockworkmod in /data/media/clockworkmod/, so assuming the backup would be around 1.5 to 2 GB, then 3 backups of these would be about 4.5 to 6 GB of storage.
Please take note that I have "never" messed with these files and my above thoughts may be incorrect, so maybe first you may try to check whether these clockworkmod backups are really consuming a lot of storage. If they are really consuming that much storage, then it is bettER to play it safe by taking them out to your PC first just in case deleting them would cause something wrong. I hope some other more experienced member can "confidently" tell you to proceed in either deleting this /data/media/clockworkmod/ or suggest another solution. Sorry but I would not tell you to do something unless I am very confident and sure of it. I hope you understand
I will try searching for an exact answer on whether this /data/media/clockworkmod/ is safe to delete, and if I found something then I will let you know for sure
I made a nandroid backup and deleted all files in that folder except for 0, legacy, and obb. checked my storage and now I see 9.65GB available which is fantastic! I still have 1.18GB unaccounted for but I now that I know what seems to be the issue I can go through the rest of my data and try to weed out the problems.
Thank you so much for your help!
WOW! Glad to hear so
That was a brave thing to do. I would have done it if it is my phone but would not suggest for others unless I am sure it won't cause any trouble
It would be great if you mark/edit the thread's title as "[SOLVED]"
Well Done! :highfive:
In hindsight it was not my smartest move Thanks again for all your help!
Fixed
*************
SOLUTION:
*************
Here's what worked for me.
1. Make sure your phone is rooted
2. Open ES File Explorer
3. Press the Menu key > Tools > Root Explorer (grant it super user premission)
4. Some dialog pops up. I didn't understand the options, chose R/W permission and then pressed back at the next screen
5. Go to the root directory "/" and then "/data/logs"
6. Delete all the files in there
7. Thats it! :good:
There was about 1.6 GB of log files in there for me. 1440 files about ~1.5 mb each.
(Strangely, a huge number were from the 26th of last month, then 1 on the 27th, 30th and then all the rest from the 14th of this month?)
cya
R
Where did my storage go?
A huge thank you R !!!
been breaking teeth & puling whatever little hair got left for ages trying to solve this, mostly with complicated & futile suggestions. But yours worked right off the bat ! God bless you.
although i already had to go back twice within hours and wipe all files again its probably because i restocked on all those apps i had to delete before due to lack of space. At this point i'll take any solution over none.
if anybody ever rights a code that will prevent the dumpstate from accumulating he'll have a serious karma !
Rehaan said:
*************
SOLUTION:
*************
Here's what worked for me.
1. Make sure your phone is rooted
2. Open ES File Explorer
3. Press the Menu key > Tools > Root Explorer (grant it super user premission)
4. Some dialog pops up. I didn't understand the options, chose R/W permission and then pressed back at the next screen
5. Go to the root directory "/" and then "/data/logs"
6. Delete all the files in there
7. Thats it! :good:
There was about 1.6 GB of log files in there for me. 1440 files about ~1.5 mb each.
(Strangely, a huge number were from the 26th of last month, then 1 on the 27th, 30th and then all the rest from the 14th of this month?)
cya
R
Click to expand...
Click to collapse
Hi guys,
on my HTC One X I've got under App Storage 4.79 GB used on 6.76 GB total and under Phone Storage 1.40 GB used on 25.24 GB total.
This is the situation just after I installed a new custom rom on the phone, so without any application from the market or pictures, music and videos!
So why my phone has 4.72 GB of "other" in the App Storage? Is it a bug? Can I fix it?
Hope someone knows how to get all that GB back.
Thank You!
use astro file manager. you will see what file is inside that "other".
David3D said:
Hi guys,
on my HTC One X I've got under App Storage 4.79 GB used on 6.76 GB total and under Phone Storage 1.40 GB used on 25.24 GB total.
This is the situation just after I installed a new custom rom on the phone, so without any application from the market or pictures, music and videos!
So why my phone has 4.72 GB of "other" in the App Storage? Is it a bug? Can I fix it?
Hope someone knows how to get all that GB back.
Thank You!
Click to expand...
Click to collapse
I never really checked what those 4 plus GB are, maybe system files? but I'm pretty sure it's normal. I see some other guys asked this question, and also my phone has similar data usage.
Not sure if you've solved this yet, but if you grab SD Maid off of the play store you can use that to find out what's taking up all the space. It's also pretty useful in general for clearing out junk files etc.
I've downloaded SD Maid and I can see 328Mb in /data and 624Mb in /system. These together with the small folders are gonna make not more than 700Mb in total, so the 4Gb must be in the folder /sys that SD Maid doesn't even scan. I have also noticed some loops in the /sys folder, something like enter in a subfolder and find yourself in another directory always inside /sys but in a different location. What should this folder contain?
Someone else might have to correct me if I'm wrong, but I think the /sys directory just contains android system files, so I doubt your phone would be too happy if it had glitched out enough to start duplicating files in there.
Did you wipe external storage before installing the rom? Could be that it's just leftover files on the sd card from apps you had installed on the previous rom.
Might be a bit of an extreme solution, but you could backup all your apps, messages etc, migrate the backups across to your pc then wipe absolutely everything from recovery before doing a fresh install of the rom. I know twrp recovery lets you wipe the system partition and external storage as well as the regular stuff (cache, dalvik etc), so just blitz the phone and start fresh. Should be a pretty fail-safe fix, just make sure you transfer everything you want to keep onto the pc before wiping, ready to be transferred back afterwards.
When you press advanced view on SD Maids first page, it will show you all found partitions.
/sys is mostlikely not the issue here.
I'm not sure how the partitions are set up on your device, but usually installing a new ROM does not wipe the internal sdcard location.
Where are the 25GB "Phone storage" located ? on the internal sdcard?
I'm not an expert but I don't think that the folder /sys contains android system files, or better it probably does but not 4 GB otherwise all the HTC One X should have the App Storage full of 4 GB of system files, instead seems to be just a problem of few phones. When I installed the custom ROM I did wipe everything, format all the folders and try to make the phone as clean as possible but the GB are still there.
SD Maid doesn't show me the /sys folder, and if I put together all the others folders that it shows to me the total amount doesn't reach the 4 GB, more like 800 Mb.
The HTC One X has two storages, "App Storage" (6.76GB total) and "Phone Storage" (25.24GB total). App Storage is the one where the kernel and rom are installed and that most of the applications doesn't touch, while the Phone Storage is like a normal SD Card for the other phones that can be formatted etc.
Same here.. "It's not a bug, it's a feature"
Is there an application able to make a file log of what is inside a folder? I was thinking that maybe someone who doesn't have this problem, could make a file log with the list of folders and files of the directory /sys and so we can see what does mach and what does not...
:good:
you thanked yourself???
You should be able to just extract the information from the ROM you have installed.
timbo1969 said:
you thanked yourself???
You should be able to just extract the information from the ROM you have installed.
Click to expand...
Click to collapse
No it was not my intention to thank myself, it was just to push up the conversation
Do you know how to extract these informations? From the ROM or from an application? I'm on OrDroid 12.5.3 at the moment.
Thanks
Hi,
I reached to your post after many hours of googling. Did you ever get any solution of your problem. I'm asking because i have the exact same problem in app storage - other. Other got 4.90GB of my App storage.
Please let me know.
Thanks for your time.
--HTC one X
My storage windows looks just like yours too, dunno if its meant to be like that. Prob just the system files for the OS but we can see if as used space in the new rom where as we didn't before.
David3D said:
Is there an application able to make a file log of what is inside a folder? I was thinking that maybe someone who doesn't have this problem, could make a file log with the list of folders and files of the directory /sys and so we can see what does mach and what does not...
Click to expand...
Click to collapse
I have almost used up all of the 12 GB available on the internal SD card. Problem is, I don't have a lot of app's/music/pictures stored. What I have noticed though is multiple hierarchies of the /0 file. Something on the order of 6 of them (0/0/0/0/0/0/). Doesn't seem right. It makesflashing new ROMs more difficult because I am never sure where things are saved.
I'm running Task650's
My question is, how do I reclaim my storage space and can I just delete several layers of the /0 file?
BertMor said:
I have almost used up all of the 12 GB available on the internal SD card. Problem is, I don't have a lot of app's/music/pictures stored. What I have noticed though is multiple hierarchies of the /0 file. Something on the order of 6 of them (0/0/0/0/0/0/). Doesn't seem right. It makes flashing new ROMs more difficult because I am never sure where things are saved.
My question is, how do I reclaim my storage space and can I just delete several layers of the /0 file?
Click to expand...
Click to collapse
Make sure you have all your files in one and delete all the others, they're copies.
BWolf56 said:
Make sure you have all your files in one and delete all the others, they're copies.
Click to expand...
Click to collapse
Thanks that's what I thought, but wanted to be cautious and ask first.
the quickest way to do this is:
1. Copy your sdcard data to /data/media/0 and then delete the /0/0 folders
2. When prompted, choose merge
3. Verify there is nothing in the other 0 folder, then you can delete it
4. Repeat with other /0 folders, if applicable
5. Reboot
I hope you understand my problem. I've also searched, but didn't find anything similar. To start with, this phone (E975) has no expandable memory. but it still had internal and external storage, which I saw while surfing with a file explorer. Now, after flashing a new rom. From Paranoid (4.3) to liquid (4.3), I found that some very important files and folders have gone missing, though no storage had freed up. So when I look at my SD CARD storage analyser, it says that I have 10GB of free memory available, but only 6GB is used of total 25GB (total ofcourse 32GB, which is taken by the system), so I should have approximately 19GB of free memory.
I'm quessing, the files from external are missing, but they are nowhere to be found. Ticked hidden files in ES Explorer, though still no sight. Not to mention recovery, didn't find them there also.
This has happened before, when I flashed a rom coming from 4.1.2 to a CM. Then I also noticed my files missing. That time I was able to restore my nandroid backup. This time all my many nandroid backups had gone missing. I wasn't able to restore.
Guys, i'm lost. If any part of my explanation is not understandable due to English not being my first language, give me a chance at rephrasing.
Regards.
your previous stored files are there in /data/media folder..chk it!!
why the phone uses 2 (or more?) locations for the exact same thing? i have the exact same files in both locations (i am stock) and whenever i make a change to one location the change is happening to the other also! i just ask cause its kinda strange :S
iakoboss7 said:
why the phone uses 2 (or more?) locations for the exact same thing? i have the exact same files in both locations (i am stock) and whenever i make a change to one location the change is happening to the other also! i just ask cause its kinda strange :S
Click to expand...
Click to collapse
Not strange at all. There's only one location. Ever heard of symlinks?
just did and it was quite help-full thanks!
hasan4791 said:
your previous stored files are there in /data/media folder..chk it!!
Click to expand...
Click to collapse
Lol, couldn't believe it was that easy
Sent from my LG-E975 using xda app-developers app
We were on our first vacation with our 2 year old and I took a day's worth of photos and at least an hour or two or video. I didn't realize the HTC camera app was saving to the internal SD and I hit my limit. I thought it was as clear as using Root Explorer to move the entire DCIM folder from the "storage" folder to the "sdcard" folder under the funny looking numbered folder that eventually points to the SD. In the process, it asked if I wanted to replace the target DCIM folder, and I thought sure, why not?
Now, my internal storage is barren and my SD card does not show the images I attempted to move... I'm in shock and sadness and currently trying to run FonePaw on the internal storage to see if It can recover anything. So far, it's found only the stuff I deleted months ago. There is the possibility while manipulating folders that I overwrote SD to internal somehow but I'm not sure how that might have happened.
I'm reluctant to install anything such as DiskDigger or Undelete Recover to the phone as that might overwrite more of what I'm trying to recover. Does anyone have any idea what I could have done and how I might get out of this mess? *sigh* MANY many thanks in advance to anyone that might be able to help out. I'm in such a state of sadness at the moment *double sigh*