16gb Maguro: After multiple flashes; OS not seeing full storage? - Samsung Galaxy Nexus

All; not sure if this is the right place and I didn't see a similar thread on search.
I've swapped roms a few times on my GSM 16GB nexus; and after my latest (~month old AOKP nightly to recent CM10 nightly); my available internal storage appears to have shrunk; and I can't install apps.
Via 'Storage Settings'; I see 13.33GB Total space, but when it sohws individual usage; it shows ~3gb total between 'Apps, Media, Downloads, Available'; as in it's not seeing the other 10GB of space? In the graph at the top visualizing the space usage; it has a mysterious Grey color representing the missing 10GB of space.
Any ideas how to recover that space; and how I can avoid losing it in the future? (I don't mind losing data currently on phone; but ~3gb is not enough for daily use). I have the full version of Rom manager; I have yet to play with the Partition SD Card utility there (or a similar partition tools in app store..) as I wanted to find out what I had done wrong as I fix it.
Thanks,
Chris

Edit: I need to learn to read.
A screenshot would help, but if you're including Available in the 3GB then you probably have some CWM backups hiding somewhere. They eat space, but aren't picked up by Android when it calculates storage space.

In my experience the biggest culprit in "missing" space is nandroid backups.
:Edit: I need to learn to read too :cyclops: IOW I agree wif Cilraaz. :silly:

ty
Thanks for idea; and yea; including 'Free'; i have ~3gb of space.
I'd post a screenshot but I don't seem able to email them off the device currently... (It let me take them; but gmail's giving me a 'nospace' error); and you guys seem to understand what I meant.
I don't have a 'Nandroid' folder anywhere that I can find to delete/pair down backups; and I removed all my clockwork mod backups; and it didn't make a difference on device reboot...

worminater said:
Thanks for idea; and yea; including 'Free'; i have ~3gb of space.
I'd post a screenshot but I don't seem able to email them off the device currently... (It let me take them; but gmail's giving me a 'nospace' error); and you guys seem to understand what I meant.
I don't have a 'Nandroid' folder anywhere that I can find to delete/pair down backups...
Click to expand...
Click to collapse
Ah, screenshots finally got through.
http://imgur.com/iQ38O

worminater said:
Ah, screenshots finally got through.
http://imgur.com/iQ38O
Click to expand...
Click to collapse
Playing around in CWM Recovery; i attempted, 'Free unused backup memory"; and I jumped from ~1gb 'Available' to 3.42gb 'Available'. Crisis has been averted for now; but I'm still missing ~6gb... (No current CWM backups)

Mine also says 13.333 available...
EDIT: Nevermind, misunderstood you.
---------- Post added at 01:42 PM ---------- Previous post was at 01:35 PM ----------
I ran into this problem. Perhaps this will help you.
Starting with 4.2, Google changed the way your sdcard is mounted. It used to be mounted at /data/media. Now its mounted at /data/media/0. They changed this because of the new Profiles. My problem was that I was using an older recovery. One that would save my nandroids at /data/media/TWRP. After updating it now uses /data/media/0/TWRP. So I would check the /data/media folder and see if there is any old backups there. You will have to use adb or something similar.

Maybe u should lock and then unlock the bootloader on your phone this helps solve most problems.u can then flash cm10 if that's what your using. And as said in an earlier post make sure you have the latest version of cwm recovery.
Please press the thanks button of this works.
Source: had a similar problem and this helped.
Sent from my Galaxy Nexus using xda premium

[email protected] said:
Maybe u should lock and then unlock the bootloader on your phone this helps solve most problems.u can then flash cm10 if that's what your using. And as said in an earlier post make sure you have the latest version of cwm recovery.
Please press the thanks button of this works.
Source: had a similar problem and this helped.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
So, you're suggesting the OP wipes their storage? Why would you suggest this without stating that: 1. data loss will happen and 2. you should backup your phone before doing this?
OP, runderekrun had a good suggestion. Check /data/meda for rogue CWM backups (and make sure you're up to the most current version) or multiple /0/0/0 folders (if you've flashed multiple 4.2+ ROMs).

I experienced this one already. That's when i flash a AOKP nightly 4.2.1 based. When i'm in 4.2 i can't see all the files from my 4.1.2 ROM. I switched back to 4.1.2 then copied all files from root folder to the 0 folder. Try to use Root explorer. It will show you emulated and legacy storage.

Related

Need help for 4.2 users : About emulated and legacy folders

As the title, is it normal if we get those folders after update to 4.2 ? Because as far as I read the problem when updating to 4.2 is only 0 folder.
I was using PA 2.54 that based on 4.1.2. I have installed latest TWRP. Then made a factory reset, after that I flashed PA 2.99. And it created those folders. Please help. Thanks.
Sent from my Galaxy Nexus with Paranoid Android powered by Trinity kernel
Ridho1 said:
As the title, is it normal if we get those folders after update to 4.2 ? Because as far as I read the problem when updating to 4.2 is only 0 folder.
I was using PA 2.54 that based on 4.1.2. I have installed latest TWRP. Then made a factory reset, after that I flashed PA 2.99. And it created those folders. Please help. Thanks.
Sent from my Galaxy Nexus with Paranoid Android powered by Trinity kernel
Click to expand...
Click to collapse
After reluctantly accepting the 4.2 ota, i also gained legacy and obb folders in data/media. I do have emulated showing, but im still confused at this point. Google made some waves.
bodh said:
After reluctantly accepting the 4.2 ota, i also gained legacy and obb folders in data/media. I do have emulated showing, but im still confused at this point. Google made some waves.
Click to expand...
Click to collapse
and this is why I want a physical SD card in my phone... this emulated BS is driving me crazy today... over already accidentally deleted files thinking this so called linked directory was not a real directory ... it is in fact a fake directory with real actions... come on google... 1 directory to call home... not the multi linked mess of fake folders ....
/rant (GNexToro(HWv9)-TapTalk2)
Does anyone know what directories/folders are safe to delete? I have an entire duplicate of everything across two folders.
They reside here.
/storage/emulated/legacy/0/
/storage/emulated/0/0/
They are exact duplicates. Same size, etc.
Which is safe to remove? I searched for like a day on this forum, and many others. I have been trying to figure out which is safe to remove, but I am more confused now then ever. :silly:
I feel like just picking one to delete to free up space and if I muck up, I'll restore from a Nandroid.
The 0 folder is the new directory.
located at data/media/0
Created when you upgrade from 4.1.x to 4.2.1
The other folders you see are links to these folders, not duplicates of what you have stored in these folders.
Installing the latest recoverys will take care of the extra 0 folders ie 0/0/0
If you delete the folders from one of the link folders, you may delete the actual folders. They don't take up space.
gpfnzl said:
The 0 folder is the new directory.
located at data/media/0
Created when you upgrade from 4.1.x to 4.2.1
The other folders you see are links to these folders, not duplicates of what you have stored in these folders.
Installing the latest recoverys will take care of the extra 0 folders ie 0/0/0
Click to expand...
Click to collapse
Hey, thanks for the reply.
I do have the latest recovery, but apparently if you updated to the latest CWM after moving to JB 4.2 you are still gonna get the folders. Updating before going to 4.2 would have prevented this. Well, this is what I get from reading other messages and forums.
So I am wondering if there is another way to sort these so it's not so confusing.
If not, I'll accept it and may roll back to 4.1, update my recovery, then flash the 4.2 rom.
and this is why I want a physical SD card in my phone... this emulated BS is driving me crazy today... over already accidentally deleted files thinking this so called linked directory was not a real directory ... it is in fact a fake directory with real actions... come on google... 1 directory to call home... not the multi linked mess of fake folders ....
Click to expand...
Click to collapse
i'm still not sure what the actual presentation of the data loss that i heard about was, it wasnt people simply not finding the right path to the data was it? but i also dont get why so many people are so keen to remove a link to their internal memory. Why is it so bad for it to be there? just dont go into the folder
a lot of people seem to get that it is an exact mirror (it's just like a shortcut in windows), so just use one, and whats the bother?
d0wns3t said:
i'm still not sure what the actual presentation of the data loss that i heard about was, it wasnt people simply not finding the right path to the data was it? but i also dont get why so many people are so keen to remove a link to their internal memory. Why is it so bad for it to be there? just dont go into the folder
a lot of people seem to get that it is an exact mirror (it's just like a shortcut in windows), so just use one, and whats the bother?
Click to expand...
Click to collapse
They arent exact mirrors. The fact that I have to go through four virtual SD cards to find something I downloaded that's buried in one of them. Its a total pain. Which one is the real one?
DelphinusMinor said:
Hey, thanks for the reply.
I do have the latest recovery, but apparently if you updated to the latest CWM after moving to JB 4.2 you are still gonna get the folders. Updating before going to 4.2 would have prevented this. Well, this is what I get from reading other messages and forums.
So I am wondering if there is another way to sort these so it's not so confusing.
If not, I'll accept it and may roll back to 4.1, update my recovery, then flash the 4.2 rom.
Click to expand...
Click to collapse
From what i see, reverting back to 4.1 won't do it.
You have to go back to a particular stock 4.1 then install latest CWM recovery. untested by me. There is a guide around but i've lost the link.
For me I did a full manual wipe of everything (including SD card), then a manual reinstall of cwm and a 4.2 rom.
I have a 0 folder, but i don't have a 0/0/0 folder created when switching between roms.
Need someone clever to write a clear guide and have it stickied
I too would be interested to know if a solution has been found yet. My legacy folder is taking up more than half of my internal storage. Is it safe to delete?
Sent from my GT-N7100 using Tapatalk 2
I didn't think my dirs were duplicated at first, and the other day I investigated more. One directory structure looks exactly the same, but when I went thru the diff folders and compared between the two, alot of the folders didn't have the same contents. Some folders were even empty and it's clone had data in it, settings and whatnot.
I may post a screenshot once my phone is charged.
/emulated/legacy/0/0/
Is completely different from
/emulated/legacy/0/
The data is diff sizes if you compare both of those folders.
Why Android went this way by setting user accounts/profiles is beyond me.
Here is an example pic. I am not going to take screenshots of everything tho, obviously.
On the left all the folders and data is older then the data in the directory on the right, so I am thinking it is probably safe to delete the older data.
Any ideas?
Here is another example.
What is in the legacy folder on right, is totally diff from what is on the left, but in this case, the data on the left is now the newest data, where the right has no data at all.
Just noticed /emulated/legacy/0/0/0/ also has totally diff contents then the first two I mentioned and the folders vary in size dramatically.
It's a bit frustrating.
EDIT: Added another pic.
DelphinusMinor said:
Here is another example.
What is in the legacy folder on right, is totally diff from what is on the left, but in this case, the data on the left is now the newest data, where the right has no data at all.
Just noticed /emulated/legacy/0/0/0/ also has totally diff contents then the first two I mentioned and the folders vary in size dramatically.
It's a bit frustrating.
EDIT: Added another pic.
Click to expand...
Click to collapse
Please correct me if im wrong in my thinking. Its normal if I flash from 4.2 (for a day or to) then flash back using a nandroid to 4.1 to have a left over 0folder sitting in my main storage SDcard0?
So when im back on 4.1 I have Sdcard0/0 thats where it ends for me as of now. I flash back and forth all the time. I also get legacy folders but as of yet there always emty. The 0folders left over (mind you im on 4.1) im only testing 4.2 but the left over folder 0 does contain a lot of folders though only data is located in the duplicate android folder.
Questions so being that im on 4.1.2 again what do I do with the left over folders? Up till now I just use windows copy them over and let all the folders merge. Seems to work most the time but It can cause issues.... there gotta be better way? How come I get left over crap in a 0 folder every dang time I flash back from 4.2 to 4.1
Thats normal? Oh BTW im on newest TWRP installed from GOO. I am running Jellybam 4.1.2 I don't delete folders just merge them back into my other folders but maybe I shouldn't do this?
I dunno when im on 4.2 I don't have any issues except that I think this concept is some stupid guys idea of trying way way to hard to be smart. Smoked a little ot much weed before he came to work ya know?
Please
1. What do we do about 0 doler / legacy folder when we flash back to 4.1
2. Whats normal... what should we except when flashing from 4.1 to 4.2 assuming we have newest TWRP or CWM
3. Anything else you think you should add
4. whats your home launcher
peace
xxsicknessxx said:
Please correct me if im wrong in my thinking. Its normal if I flash from 4.2 (for a day or to) then flash back using a nandroid to 4.1 to have a left over 0folder sitting in my main storage SDcard0?
So when im back on 4.1 I have Sdcard0/0 thats where it ends for me as of now. I flash back and forth all the time. I also get legacy folders but as of yet there always emty. The 0folders left over (mind you im on 4.1) im only testing 4.2 but the left over folder 0 does contain a lot of folders though only data is located in the duplicate android folder.
Questions so being that im on 4.1.2 again what do I do with the left over folders? Up till now I just use windows copy them over and let all the folders merge. Seems to work most the time but It can cause issues.... there gotta be better way? How come I get left over crap in a 0 folder every dang time I flash back from 4.2 to 4.1
Thats normal? Oh BTW im on newest TWRP installed from GOO. I am running Jellybam 4.1.2 I don't delete folders just merge them back into my other folders but maybe I shouldn't do this?
I dunno when im on 4.2 I don't have any issues except that I think this concept is some stupid guys idea of trying way way to hard to be smart. Smoked a little ot much weed before he came to work ya know?
Please
1. What do we do about 0 doler / legacy folder when we flash back to 4.1
2. Whats normal... what should we except when flashing from 4.1 to 4.2 assuming we have newest TWRP or CWM
3. Anything else you think you should add
4. whats your home launcher
peace
Click to expand...
Click to collapse
I use Apex Launcher but you don't see it in the images. I think you are referring to FlashFXP which is a file manager I use to move files and folders between my PC and my phone, and to move files and folders between diff folders on the device itself by connecting to my phone in two instances.
It's my understanding the "0" folders are designated for the different user accounts.
If you go to JB 4.2. and then go back to 4.1 I believe the files from your 4.2 install remain intact(Or at least the file structure). No data is actually wiped unless you intentionally do so.
Now, I am just someone who flashes casually and I wouldn't consider myself an expert. I am confident in my skills, just not at a point where I can say anything with serious conviction. So your mileage may vary.
I actually found out which set of folders were the ones in use, and I ended up doing a nandroid, and then deleting everything else on my phone to be safe. I have rebooted several times and haven't had any issues. This was a few days ago.
Remember too, if you restore from an older nandroid from a prior firmware version it will roll back whatever kernal you currently have, etc. It basically brings your phone to the exact state it was in when you did the backup.
Good luck with whatever you do! :cyclops:
AHHHHHHH All my precious data on internal sdcard GONE. All because of the stupid linked legacy folder! I was just trying to delete 1 duplicated (or so I thought) mp3 file, then Google had to come into the action and screw everything over!
I'm done! I'm done with all this BS. I can't even sleep properly! Just let me enjoy my summer
Peteragent5 said:
AHHHHHHH All my precious data on internal sdcard GONE. All because of the stupid linked legacy folder! I was just trying to delete 1 duplicated (or so I thought) mp3 file, then Google had to come into the action and screw everything over!
I'm done! I'm done with all this BS. I can't even sleep properly! Just let me enjoy my summer
Click to expand...
Click to collapse
If you just deleted one file... how did literally all of your data get erased?
I... what
tritonesub said:
If you just deleted one file... how did literally all of your data get erased?
I... what
Click to expand...
Click to collapse
I deleted the undetectable, sneaky, linked legacy/emulated folder because it was in /sdcard. So it portrayed itself as another folder, but in it's entirety was the /sdcard itself masquerading as emulated/legacy causing ones mind to think it is an expendable piece of foolery. Linked folder(/sdcard->emulated) contains emulated folder which links sdcard, but it was placed in sdcard so it's entire existence is invalid. Inception eh.
gpfnzl said:
The 0 folder is the new directory.
located at data/media/0
Created when you upgrade from 4.1.x to 4.2.1
The other folders you see are links to these folders, not duplicates of what you have stored in these folders.
Installing the latest recoverys will take care of the extra 0 folders ie 0/0/0
If you delete the folders from one of the link folders, you may delete the actual folders. They don't take up space.
Click to expand...
Click to collapse
thank you for this, finally i found where to hunt down the folders taking up space on the storage and delete that ****, now i have more room on the internal memory.:good:
tomh1979 said:
thank you for this, finally i found where to hunt down the folders taking up space on the storage and delete that ****, now i have more room on the internal memory.:good:
Click to expand...
Click to collapse
Could you give us all a pointer as to which folders you found safe to delete--I'm sure that we could all do with getting that bit of extra storage??

[SOLVED] Where did all my storage go? CM10.1

[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

Help with SDcard0/emulated/etc...

I know this has been asked numerous times in alot of different threads but I was hoping by starting this someone would be kind enough to elaborate and explain exactly what is needed and what is not. I know I should have plenty of storage on my phone but it seems I dont. I have 2.23 GB left and I know I should have more. If anyone is willing to explain more in detail it would be greatly appreciated.
Edit: I am currently using Rootbox and it has been the only rom I've used since rooting my phone.
treezy26 said:
I know this has been asked numerous times in alot of different threads but I was hoping by starting this someone would be kind enough to elaborate and explain exactly what is needed and what is not. I know I should have plenty of storage on my phone but it seems I dont. I have 2.23 GB left and I know I should have more. If anyone is willing to explain more in detail it would be greatly appreciated.
Edit: I am currently using Rootbox and it has been the only rom I've used since rooting my phone.
Click to expand...
Click to collapse
Bump. I'm having a bunch of issues with this. I went from stock rooted to AOKP, and now TWRP won't recognize my backup so that I can go back to stock. It's really annoying. I'm not having any luck with any partition I copy the backup to. Does anyone know of a way to restore stock factory partitioning? Even doing an LGNPST of ZV9 and then taking the OTA doesn't fix the partitioning. I've tried everything I can think of and I'm out of ideas.
Use a root file browser your stock storage is in mnt/shell/emulated so once your in that Ares look for your twrp folder copy the backups inside it then paste then into the twrp in sdcard0 ..... to sum up you haven't lost anything these cm/aosp ROMs create a new storage (sdcard0) so just take anything you normal store in your stock storage which is now mnt/shell/emulated and place it in sdcard0 or redirect apps looking for files to look in those places
I'm not sure about deleting those files in the stock storage though unless you have no intention in returning to stock cause if you delete them then return to stock they will be missing and vice versa
Sent from my Optimus G using xda premium
spleef said:
Use a root file browser your stock storage is in mnt/shell/emulated so once your in that Ares look for your twrp folder copy the backups inside it then paste then into the twrp in sdcard0 ..... to sum up you haven't lost anything these cm/aosp ROMs create a new storage (sdcard0) so just take anything you normal store in your stock storage which is now mnt/shell/emulated and place it in sdcard0 or redirect apps looking for files to look in those places
I'm not sure about deleting those files in the stock storage though unless you have no intention in returning to stock cause if you delete them then return to stock they will be missing and vice versa
Sent from my Optimus G using xda premium
Click to expand...
Click to collapse
That's what I did, and TWRP refuses to recognize my backup. Time to LGNPST.
Sent from my Optimus G using xda premium
treezy26 said:
I know this has been asked numerous times in alot of different threads but I was hoping by starting this someone would be kind enough to elaborate and explain exactly what is needed and what is not. I know I should have plenty of storage on my phone but it seems I dont. I have 2.23 GB left and I know I should have more. If anyone is willing to explain more in detail it would be greatly appreciated.
Edit: I am currently using Rootbox and it has been the only rom I've used since rooting my phone.
Click to expand...
Click to collapse
You likely still have the old "sd card" from a previous stock install. Use a root file explorer, like ES File Explorer, and navigate back to the root directory. You will likely have a directory called "mnt". Navigate to that folder and open the "sdcard" folder. You'll find whatever you used to have on your sd card from previous installs. I would save whatever you want to your new sd card directory and delete the entire mnt/sdcard directory. It might not allow everything to be deleted, but it should fee up that space you're missing.
*Note: The old files could be under mnt/emulated or some such directory, I dont remember. Just look around that folder to find those old files.
Hope that helps!
I'm having the same issue with this folder. I see that it is mirrored because i added a file in the sdcard0 folder it showed up in the sdcard folder. But i also found the same folders in the mnt folder. So are they all mirrored files or are they actually taking up space? Is there a way to format the space? Will the rom still boot up? Also, had that 0 folder on my sdcard, but am not able to delete it just rename the folder.
I'm running nexOGen 1.6 if it makes a difference. Hope someone can help.
thanks!

[Q] Internal file structure all changed after trying a CyanogenMod ROM

I went from a 4.2 Touchwiz based ROM to a 4.3 CyanogenMod based ROM and the folder structure on Internal Memory has completely changed. I imagine and hope people are familiar with this as it is kind of hard to describe - new "0" folder with all the original internal data in it/folders inside folders with the same name, some with data, some without/etc...I found it a confusing mess.
In the first place it made using the CM rom not a pleasant experience as the phone couldn't see things like my Titanium Backup data, my recovery backups, etc...But even after I managed to find, relocate and restore my TW nandroid (not an easy task in itself) it is still screwed up. It is a bit easier to negotiate the memory structure on the PC but I can't just move folders around back to where they were if I could even remember it right because it won't let me move the Android folder. I really would just like to get it back to where it was.
I'm willing to jump through a few hoops if there is a way that anyone knows of, with maybe backups and reformatting or something like that.
Many many thanks for any help!
4.2 CM Based int sdcard's always been 'sdcard/emulated/0'
have you tried moving folders via recovery from 'emulated/0' to /sdcard/?
I will try that thank you. On the PC even before I found out I couldn't move the Android folder, it was such a large amount of files to move that it froze up. I have a good fast PC so I assume the phone didn't like it. I'll give this a shot thanks again.
What phone model do you have? I am 80% sure sprint doesn't have a 4.2 touchwiz ROM, but I may be incorrect. Have you tried moving all the folders in the 0 back up to the root folder?
------------------------
Sprint Galaxy S3
Need Help? PM
Hit the "Thanks" button if I helped!
Hey Whiplashh I recognize you from Dazed's thread Dammit man you and Spark91 are right I always get confused by it being version 4.2 of the Wicked Sensations rom... but yes it is only Android version 4.1.2. So anyway yes I did try that on the pc - first it just totally bogged and the file move wasn't moving at all. So I tried doing it in small chunks and was making progress until I got an error message that the android folder could not be moved. I am going to try to do it within recovery a little later tonight. Thanks for the input man I appreciate it
thekrautdog said:
Hey Whiplashh I recognize you from Dazed's thread Dammit man you and Spark91 are right I always get confused by it being version 4.2 of the Wicked Sensations rom... but yes it is only Android version 4.1.2. So anyway yes I did try that on the pc - first it just totally bogged and the file move wasn't moving at all. So I tried doing it in small chunks and was making progress until I got an error message that the android folder could not be moved. I am going to try to do it within recovery a little later tonight. Thanks for the input man I appreciate it
Click to expand...
Click to collapse
Just warning you, when I used ES Fike explorer, it won't let you move that android folder. I usually just delete it and restore my app data with a backup app.
And I see. That is where I know you from! Lol. You really did confuse me with the 4.2 touchwiz! I thought there was an update!! But I understand. I do the same thing but it pays off for me because I stick with v4.1 of wicked.
------------------------
Sprint Galaxy S3
Need Help? PM
Hit the "Thanks" button if I helped!
Whiplashh said:
Just warning you, when I used ES Fike explorer, it won't let you move that android folder. I usually just delete it and restore my app data with a backup app.
And I see. That is where I know you from! Lol. You really did confuse me with the 4.2 touchwiz! I thought there was an update!! But I understand. I do the same thing but it pays off for me because I stick with v4.1 of wicked.
Click to expand...
Click to collapse
Hmm...then I imagine Root Explorer wouldn't work either. But hopefully using the file explorer within TWRP will bypass that restriction. I'm trying to work up the courage to do it haha.
And yeah I remember you always saying that wicked 4.1 was working so well for you that you didn't want to upgrade to 4.2 :laugh:
Oh btw now I just noticed that my notification LED is not working...grrr. Why oh why did I stray? (Actually I know why - when Dazed decided to close the thread I took it as a sign from above to try something new after so long on WS). Anyway if you or anyone has a tip lay it on me!
I joined this forum just because i am having a similar problem, i have had many rooted phones and custom roms but never exprienced duplicate file structures.. I went from stock 4.1.2 installed cwm cleared data then installed cm 10.1.3 RC1. My issue is that in root explorer have:
/sdcard/
/storage/emulated/0
/storage/emulated/legacy
/storage/sdcard0/
File paths all lead to the same folders and "update" when i download files. Ive already accidentally deleted all my media in an attempt to consolidate folders.
What should i attempt next? I would like to only have internal storage, /sdcard/ path for onboard sd storage, then still have /extSdcard/.
Im puzzled and tired of 4 copied file locations. Thanks in adv. guys!
krs_uno said:
I joined this forum just because i am having a similar problem, i have had many rooted phones and custom roms but never exprienced duplicate file structures.. I went from stock 4.1.2 installed cwm cleared data then installed cm 10.1.3 RC1. My issue is that in root explorer have:
/sdcard/
/storage/emulated/0
/storage/emulated/legacy
/storage/sdcard0/
File paths all lead to the same folders and "update" when i download files. Ive already accidentally deleted all my media in an attempt to consolidate folders.
What should i attempt next? I would like to only have internal storage, /sdcard/ path for onboard sd storage, then still have /extSdcard/.
Im puzzled and tired of 4 copied file locations. Thanks in adv. guys!
Click to expand...
Click to collapse
Hello krs_uno - I just finished correcting the issue and all seems to be working perfectly. This is what to do...first of all do it on the PC because it is much simpler - all those confusing new folders on the phone's file browser just show up on the PC as 2 tiers of a folder called "0". All you do is simply cut and paste everything from the 0 folder back into the root of internal memory - on the PC referred to as "Phone", and what we want to show up in the "sdcard" folder on the phone. [edit: I forgot to say you should cut and paste in moderate sized chunks or it looks like it's too much for the phone (or PC?) to handle...it bogs/freezes.] The only trick is that to move the "Android" folder you have to rename it first or it won't allow the move (not in recovery on phone either - I tried using the file browser in TWRP). Just rename it again after. If you already have a new Android folder in the root destination (from whatever activity you have done since this mess started) just merge the contents. Same for anything else in there that you want to keep. Then just delete the 0 folder structure - everything on my phone in Root Explorer now looks exactly the same as it did before the mess started (having looked just as you described above beforehand).
I hope it works the same for you...it should.
My notification LED seems to be functioning normally again :good:
thekrautdog said:
Hmm...then I imagine Root Explorer wouldn't work either. But hopefully using the file explorer within TWRP will bypass that restriction. I'm trying to work up the courage to do it haha.
And yeah I remember you always saying that wicked 4.1 was working so well for you that you didn't want to upgrade to 4.2 :laugh:
Oh btw now I just noticed that my notification LED is not working...grrr. Why oh why did I stray? (Actually I know why - when Dazed decided to close the thread I took it as a sign from above to try something new after so long on WS). Anyway if you or anyone has a tip lay it on me!
Click to expand...
Click to collapse
You could try TWRP. And I don't know why he closed it. Well I do and it is very understandable but his and stock is the 2 ROMs I run most. 4.1 ran and still runs beautifully for me.
------------------------
Sprint Galaxy S3
Need Help? PM
Hit the "Thanks" button if I helped!
Whiplashh said:
You could try TWRP. And I don't know why he closed it. Well I do and it is very understandable but his and stock is the 2 ROMs I run most. 4.1 ran and still runs beautifully for me.
------------------------
Sprint Galaxy S3
Need Help? PM
Hit the "Thanks" button if I helped!
Click to expand...
Click to collapse
I'm all good now (see 2 posts up). Yeah it sure is understandable. I don't know what's gonna get me to switch again...this is by far the best working and looking ROM I've used on any device. I'll follow some of the threads for the new ROMS and maybe in time if something looks really great and stable - I just hate the new file structure (not crazy about some of the changes in the functionality of 4.3 either). Maybe a full internal memory wipe before installing a new version of Android would be benficial...IDK
thekrautdog said:
Hello krs_uno - I just finished correcting the issue and all seems to be working perfectly. This is what to do...first of all do it on the PC because it is much simpler - all those confusing new folders on the phone's file browser just show up on the PC as 2 tiers of a folder called "0". All you do is simply cut and paste everything from the 0 folder back into the root of internal memory - on the PC referred to as "Phone", and what we want to show up in the "sdcard" folder on the phone. [edit: I forgot to say you should cut and paste in moderate sized chunks or it looks like it's too much for the phone (or PC?) to handle...it bogs/freezes.] The only trick is that to move the "Android" folder you have to rename it first or it won't allow the move (not in recovery on phone either - I tried using the file browser in TWRP). Just rename it again after. If you already have a new Android folder in the root destination (from whatever activity you have done since this mess started) just merge the contents. Same for anything else in there that you want to keep. Then just delete the 0 folder structure - everything on my phone in Root Explorer now looks exactly the same as it did before the mess started (having looked just as you described above beforehand).
I hope it works the same for you...it should.
My notification LED seems to be functioning normally again :good:
Click to expand...
Click to collapse
Through windows i only see the Internal Storage and extSdcard folders, the Internal storage only relates to the sdcard folder in my file browser. I do not see storage or 0 as a file path. Its not even inside of Internal storage, Im going to try wiping data and formatting the internal SD before installing cm 10.1.3 could that fix it?
I think im going to go back to cm 10.1.2 for now its apparently more stable..
I'm sorry I really don't know. I don't know why it doesn't look the same on your computer. Are u coming from a TouchWiz rom? If not maybe that's why? I do like the idea of formatting the internal sd if you're willing to do that. I'm sorry I'm not more help - I kinda just know the little that I know Hopefully someone else will chime in.
thekrautdog said:
I'm all good now (see 2 posts up). Yeah it sure is understandable. I don't know what's gonna get me to switch again...this is by far the best working and looking ROM I've used on any device. I'll follow some of the threads for the new ROMS and maybe in time if something looks really great and stable - I just hate the new file structure (not crazy about some of the changes in the functionality of 4.3 either). Maybe a full internal memory wipe before installing a new version of Android would be benficial...IDK
Click to expand...
Click to collapse
I keep my stuff all on external SD card.
------------------------
Sprint Galaxy S3
Need Help? PM
Hit the "Thanks" button if I helped!
Whiplashh said:
I keep my stuff all on external SD card.
------------------------
Sprint Galaxy S3
Need Help? PM
Hit the "Thanks" button if I helped!
Click to expand...
Click to collapse
thekrautdog- You were defintely helpful, i did come from stock samsung 4.1.2 which is touch wiz.. maybe formating sdcard will help before a clean install..
I usually keep my stuff strictly on external sd only too, but seeing that wacky file structure had me bent.
krs_uno said:
thekrautdog- You were defintely helpful, i did come from stock samsung 4.1.2 which is touch wiz.. maybe formating sdcard will help before a clean install..
I usually keep my stuff strictly on external sd only too, but seeing that wacky file structure had me bent.
Click to expand...
Click to collapse
I usually just keep everything there and then if I wanna move ROMs, just move all pictures to my external. Then I will have nothing on internal to worry about.
------------------------
Sprint Galaxy S3
Need Help? PM
Hit the "Thanks" button if I helped!
---------- Post added at 11:34 PM ---------- Previous post was at 11:31 PM ----------
I forgot I made this back in the day. This might help some people .
http://forum.xda-developers.com/showthread.php?p=36959843
[Guide][How To] Fix Sdcard / Find backups after cm10.1 Flash!
------------------------
Sprint Galaxy S3
Need Help? PM
Hit the "Thanks" button if I helped!

[Q] Files missing after rom flash, but no storage freed up?

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

Categories

Resources