[Q] SD card seemed to double, cannot erase portion of it - Samsung Galaxy Nexus

I have been having a bit of a problem with my Galaxy Nexus and its driving me nuts because of the storage situation..
Up until a couple weeks ago, I had the latest (at that time) version of AOKP on the phone (4.1.?, JB build 2 possibly). Then, around the first of the year, they updated to their 4.2 version JB-MR1 Build 1. The first time I installed the ROM, I installed it with the wrong GAPPS, ICS vs JB, and the phone went all haywire. I tried to get into the SD card to check which GAPPS was installed, but there were SO many force closes, I couldn't do anything. I rebooted into recovery, tried to go to my SD card, but ALL my info was gone. Basically a clean SD card.
So, I within minutes, I restored back to what I was on and everything was happy. No problems. I then downloaded the right GAPPS, installed the new ROM and GAPPS and everything worked great. Happy happy joy joy..
Today, I went to do a restore and remove some old backups and again, there is a second SD card. There is the normal one, and one labeled under /0/ in the directory.
I can access that directory while in recovery, but cannot with root explorer (or via my computers explorer) to erase it. The problem is, I think it is doubled up my photos and media, and now the card is full..
So, long story just to ask, how can I get rid of this other SD card directory? When talking with a co-worker, he mentioned it creates another directory when a second profile gets created..something I never did.
Any thoughts on how to get this removed so I can have my space back?

MikeDaub said:
I have been having a bit of a problem with my Galaxy Nexus and its driving me nuts because of the storage situation..
Up until a couple weeks ago, I had the latest (at that time) version of AOKP on the phone (4.1.?, JB build 2 possibly). Then, around the first of the year, they updated to their 4.2 version JB-MR1 Build 1. The first time I installed the ROM, I installed it with the wrong GAPPS, ICS vs JB, and the phone went all haywire. I tried to get into the SD card to check which GAPPS was installed, but there were SO many force closes, I couldn't do anything. I rebooted into recovery, tried to go to my SD card, but ALL my info was gone. Basically a clean SD card.
So, I within minutes, I restored back to what I was on and everything was happy. No problems. I then downloaded the right GAPPS, installed the new ROM and GAPPS and everything worked great. Happy happy joy joy..
Today, I went to do a restore and remove some old backups and again, there is a second SD card. There is the normal one, and one labeled under /0/ in the directory.
I can access that directory while in recovery, but cannot with root explorer (or via my computers explorer) to erase it. The problem is, I think it is doubled up my photos and media, and now the card is full..
So, long story just to ask, how can I get rid of this other SD card directory? When talking with a co-worker, he mentioned it creates another directory when a second profile gets created..something I never did.
Any thoughts on how to get this removed so I can have my space back?
Click to expand...
Click to collapse
Android 4.2 has a multiuser framework.
The "0" folder you are seeing is the first user.
Although it's only possible to create more users on tablets without tweaks
Sent from my ASUS Transformer Pad TF300T using Tapatalk HD

Lord Yurij said:
Android 4.2 has a multiuser framework.
The "0" folder you are seeing is the first user.
Although it's only possible to create more users on tablets without tweaks
Sent from my ASUS Transformer Pad TF300T using Tapatalk HD
Click to expand...
Click to collapse
Am I crazy saying that it could be taking up a couple gbs of space on my card? It seems that since this started up, my SD is almost full.
Any idea how to merge, or remove that? I can only access the 0 folder while in recovery, and no other time.

They put in symlinks to the folder so you can access it from different directories. The information shouldn't be doubled unless you personally did it.

Reading this might help you understand:
http://forum.xda-developers.com/showthread.php?t=2107194

Lord Yurij said:
Android 4.2 has a multiuser framework.
The "0" folder you are seeing is the first user.
Although it's only possible to create more users on tablets without tweaks
Sent from my ASUS Transformer Pad TF300T using Tapatalk HD
Click to expand...
Click to collapse
eqjunkie829 said:
They put in symlinks to the folder so you can access it from different directories. The information shouldn't be doubled unless you personally did it.
Click to expand...
Click to collapse
Thanks for the everything and helping me understand...
I did not copy over anything to that directory, and in fact cannot even access it outside of Recovery. It just looked to me that things were copied over by the file structure, which is why I thought it duplicated things. It just seemed odd to me that when all this happened, my SD card seemed to get much fuller..
Thanks again..

MikeDaub said:
Thanks for the everything and helping me understand...
I did not copy over anything to that directory, and in fact cannot even access it outside of Recovery. It just looked to me that things were copied over by the file structure, which is why I thought it duplicated things. It just seemed odd to me that when all this happened, my SD card seemed to get much fuller..
Thanks again..
Click to expand...
Click to collapse
Late but useful info for "the next guy". When you install 4.2 its creates a multi-user environment, correct. And you do loose half your space (assuming it was full when you upgraded). Here's why. In 4.2 there is only /data/media which is where your internal SD card (sdcard) is symlinked to (ie: the actual location of your files). When you install 4.2, all of /data/media is copied to /data/media/0 for the first user, then /data/media/11 for the second user, then /data/media/12 for the third user and so forth. Each user gets their own /data/media directory which has all the files that the single user had in 4.1 For each user you add, say its only yourself, you just lost half your space because /data/media still exists but now so does /data/media/0 (a duplicate copy). So you sdcard's space is divided by the number of user accounts your system has installed in 4.2. Hope this clarifies things.

elfaure said:
Late but useful info for "the next guy". When you install 4.2 its creates a multi-user environment, correct. And you do loose half your space (assuming it was full when you upgraded). Here's why. In 4.2 there is only /data/media which is where your internal SD card (sdcard) is symlinked to (ie: the actual location of your files). When you install 4.2, all of /data/media is copied to /data/media/0 for the first user, then /data/media/11 for the second user, then /data/media/12 for the third user and so forth. Each user gets their own /data/media directory which has all the files that the single user had in 4.1 For each user you add, say its only yourself, you just lost half your space because /data/media still exists but now so does /data/media/0 (a duplicate copy). So you sdcard's space is divided by the number of user accounts your system has installed in 4.2. Hope this clarifies things.
Click to expand...
Click to collapse
Thanks. After a bunch of research, that is what is happening, and why my phone is always full of "stuff" now.
Now, if I could only access the /0 folders from my desktop...then I would be set..

MikeDaub said:
Thanks. After a bunch of research, that is what is happening, and why my phone is always full of "stuff" now.
Now, if I could only access the /0 folders from my desktop...then I would be set..
Click to expand...
Click to collapse
you do. its what you see when you plug your phone in.
if you have a old recovery and are flashing roms, it will create multiple /0 folders.

Zepius said:
you do. its what you see when you plug your phone in.
if you have a old recovery and are flashing roms, it will create multiple /0 folders.
Click to expand...
Click to collapse
If that is the case, I would like to access the standard folder, the copy, or original, or whatever the none /0 folder is..

MikeDaub said:
If that is the case, I would like to access the standard folder, the copy, or original, or whatever the none /0 folder is..
Click to expand...
Click to collapse
then you need root to explore /data/media/

Zepius said:
then you need root to explore /data/media/
Click to expand...
Click to collapse
Right. I would just find it handy to do via my desktop...

MikeDaub said:
If that is the case, I would like to access the standard folder, the copy, or original, or whatever the none /0 folder is..
Click to expand...
Click to collapse
"/data/media/" and "/storage/sdcard0/" or even just "/sdcard/" are the same thing. You dont have copies of files on your phone. If you delete it in one location, it deletes in the other because they are the same. You have the "0" folders on "storage/sdcard0" as well. If you do happen to have copies of files, you can organize it all on your computer if you plug in your phone.

MikeDaub said:
Thanks. After a bunch of research, that is what is happening, and why my phone is always full of "stuff" now.
Now, if I could only access the /0 folders from my desktop...then I would be set..
Click to expand...
Click to collapse
Please thank me by hitting the "thanks" button

Related

[Q] JB can't see files on the SD card?

Next JB problem: When I installed stock JB, I did a wiped data/cache, but when I booted up, I could see that all the folders were still there in Root Explorer as well as Airdroid. But, Android can't see them. What I mean is, if I open up Gallery, it claims I have no pictures stored on the device, despite actually having hundreds of pictures in several folders. Quickpic sees them just fine, but Gallery doesn't. I'd rather use Gallery because it can find pics from Picasa, which saves a ton of space on the phone.
How do I get my phone to see the folders that are still there?
I updated to Bigxie's ROM, but that didn't resolve it (not that I necessarily expected it to).
sorry, can't really help, as it worked for me without problem from the beginning.
maybe it just takes some time until media scan was operated? or are you using any filters like the .nomedia-manager?
No .nomedia files. If I plug in a USB port to connect it to my PC, it only shows a few empty folders, nowhere near all that are there. There's a Pictures folder, but it's empty, even though my Pictures folder actually has a bunch of files and folder s in it. It's like it's looking at some other partition or something.
That happens to me... i fix it by restoring my previos rom backup, and then doind a dirty flash of the JB Rom (only Dalvik and Cache wipe)
Same here .. no media file in gallery so I flash my old rom...
Sent from my Galaxy Nexus using XDA Premium App
Raisone said:
That happens to me... i fix it by restoring my previos rom backup, and then doind a dirty flash of the JB Rom (only Dalvik and Cache wipe)
Click to expand...
Click to collapse
That sounds like a good solution, except whatever it is that's preventing me from finding my media files is also preventing me from accessing my Nandroid backup.
E:Unknown volume for path [/emmc/clockworkmod/backup/2012-06-28.00.32.22]
Cat't mount backup path
result was NULL. message is: assert failed:
restore_rom("/emmc/clockworkmod/backup/2012-06-28.00.32.22". "boot", "system", "data", "cache", "sd-ext")
I:using /data/media, no /sdcard found.
Might have to do with the sdcard being linked to another folder in storage
KJW979 said:
Didn't see mentioned in here but over at rootzwiki is being mentioned that the reason some can't wipe and return to a previous rom might have to do with JB adding a new folder named storage. If go into root explorer or similar right below folder Sd there is a storage folder if opened brings up another folder named sd, seems to be a duplicate sd folder. I can't remember ever seeing it on any previous rom's. Also nobody sure consequences if deleted. Personally not much knowledge, just passing along.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I'll have to remember that for next time. I gave up and did a factory wipe from Galaxy Nexus Tools, and am in the process of restoring my Nandroid, then I'll do a 'dirty' JB upgrade from there and hope it doesn't do the same thing twice. If it does, I'll just stick to ICS.
NeoMagus said:
Might have to do with the sdcard being linked to another folder in storage
Click to expand...
Click to collapse
Just saw that, thank you for your post. It's weird, though, is it mirroring the SD card? I've got my SD card almost full, and if it duplicated it I would have gone way over.
I decided not to take any more chances now that I'm back to ICS. I'll wait for the official release. I don't think Google Now and the smoothness make up for the loss of themes and customization.
Sent from a connected, sensor-laden supercomputer that fits in my pocket
Did anyone find a way to fix this without a reflash?
Archpope said:
Next JB problem: When I installed stock JB, I did a wiped data/cache, but when I booted up, I could see that all the folders were still there in Root Explorer as well as Airdroid. But, Android can't see them. What I mean is, if I open up Gallery, it claims I have no pictures stored on the device, despite actually having hundreds of pictures in several folders. Quickpic sees them just fine, but Gallery doesn't. I'd rather use Gallery because it can find pics from Picasa, which saves a ton of space on the phone.
How do I get my phone to see the folders that are still there?
I updated to Bigxie's ROM, but that didn't resolve it (not that I necessarily expected it to).
Click to expand...
Click to collapse
Where did you find a Galaxy Nexus with a SD card slot?

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

[Q] From 4.2.1 back to 4.1.2.

Hey,
I went back to 4.1.2 (JellyBam) after using 4.2.1 (PA ROM). But there's a 0 folder inside my internal memory folder which leads to all my real files (music, pics etc etc).
So it's like.
-sdcard0
.....-0 (Folder)
..........-DCIM
..........-Downloads
..........-Music
..........-Titanium Backup
..........-etc etc etc
.....+'Music' which is empty
.....+'Downloads' which is empty
.....+etc etc etc
I searched on XDA, but the only solutions I found were:
1. copy every file to my computer, delete the 0 file (or not) and then put the copied files from my computer onto my phone. But there was no progress in the copying process as it was freezing.
2. Format everything, recovery, and some other things I didn't understand.
So I came here asking for help. Hopefully someone knows any other answer.
P.S. I know I can just chance the location of my backed-up files from TB, so there's no problem in that case.
But it is just annoying and sometimes it confuses me.
Thanks in advance :good:
I'm thinking of the same I'm not digging 4.2.1 that much.
Sent from my Galaxy Nexus using xda premium
I believe in 4.2 the /0 folder is the new location for the pseudo SD card instead of under /storage/
That's 4.2+ file structure to support multiuser and mentioned in dozens of threads. Just learn to live with it. Google knows what they're doing.
Meh well that's gonna be 4.2.1 for me...this is way too annoying with the files and folders
Rapydax said:
Meh well that's gonna be 4.2.1 for me...this is way too annoying with the files and folders
Click to expand...
Click to collapse
how is it annoying? you dont see really anything different other than going 1 more folder deeper.
Zepius said:
how is it annoying? you dont see really anything different other than going 1 more folder deeper.
Click to expand...
Click to collapse
Because change is bad obviously. Especially when it adds features.
Zepius said:
how is it annoying? you dont see really anything different other than going 1 more folder deeper.
Click to expand...
Click to collapse
I went back to CM10 (4.1.2) from CM10.1 (4.2.1) and just found it easiest to backup all my files and format the storage. Windows wasnt seeing the storage correctly until after I did that.
brooksyx said:
I went back to CM10 (4.1.2) from CM10.1 (4.2.1) and just found it easiest to backup all my files and format the storage. Windows wasnt seeing the storage correctly until after I did that.
Click to expand...
Click to collapse
How'd you do this? I'm curious to try the cm10.
Sent from my Galaxy Nexus using xda premium
What recovery are you using?
The issue is with resets and CWM recovery. The problem is your app back ups get covered under 0,0,0 and can't be restored, music apps can't see music, gallery can't see pics etc.
Switch to TWRP Open Recovery and the 0 problem goes away.
Best way to get your SD back in line is to use your PC to move everything back up where it should be. Hope this helps, freaked me out when I thought I lost my SD.
Sent from my Galaxy Nexus using Tapatalk 2
I think some of you aren't understanding the OP's question. He doesn't dislike the /0 file structure (or maybe he does, but I don't think that's the point he's making), he just doesn't want to keep it when downgrading to 4.1.2. That's perfectly understandable to me, and actually something I've been thinking about for a couple weeks.
OP- You have a few options. I think the simplest is to go ahead and flash a 4.1.2 ROM, then use a file explorer on the phone to cut from the /0 directory and paste straight into the main sdcard directory. Option 2 is to use a PC and cut and paste the same thing, but I don't know how quick it would be. Another possibility is to copy everything off your phone onto your PC, then format the storage on your phone, then copy everything from the PC back to /sdcard/. This is probably the cleanest and safest option, but also slowest. I'm sure there is also a way to do it with ADB, where you cut and paste from /0 to /sdcard/, but I'm no good with ADB so somebody else would have to give you the commands. ADB is most likely going to be the fastest method as far as file copy progress, but that's only a guess. I'm sure there are several other options I'm not aware of, but those are the ones I've thought of while thinking of doing this on my phone.
Good luck! Let me know which works for you and how it works........
I went back to a 4.1 ROM at one point and it did not immediately move everything back where it could be seen even with the latest recovery. I found that the easiest fix was to plug the phone into my computer right after the first boot and then move the data to the right folders with adb. Very quick and painless. TWRP does the fix going from 4.1 to 4.2 very nicely.
Downgrading to 4.1.2 from 4.2.1
I'm downgrading because I'm have a ton of blue tooth issues. I'm currently backing up my SD to my laptop then from win explorer I'll copy everything from /0 to the top SD directory. It's not any fun at all.
I wonder how many people will actually use the multiple users on their phone/tablet?
\m/
:cyclops:
Tablet - maybe
Phone - probably not
Sent from my Galaxy Nexus

[Q] Help me with media issue?

So i was on g2 apps v5.5 rom for some time when all of a sudden my media stopped scanning, i wasnt sure why, rescan media apps werent working either, so i decided to flash a new rom and i chose candykat, since then all of my files that i used to have, pictures, videos, etc have completely vanished. i cant locate the files in 7 zipper, es file explorer, and media scan apps still bring me nothing. Yet my internal storage still has the same amount of space used that it did before, and also when i go into CWM and choose install a zip it shows all the folders and things that i am missing, but that is the only place i see the folders but i dont have access to my files from cwm. Also i have noticed that when i am on 7zipper looking through files my internal storage says storage/emoulated/0 and i have no idea what the emulated is about, if anyone has any info or knows what im talking about please to help, Im not too great with phone stuff but i am okay, so if anyone has any simplified steps to give me on how to fix this issue it would be appriciated, thank you.
No answers anyone?
Just do some searching mate. And use ROOT EXPLORER and give it access.
nsh121193 said:
So i was on g2 apps v5.5 rom for some time when all of a sudden my media stopped scanning, i wasnt sure why, rescan media apps werent working either, so i decided to flash a new rom and i chose candykat, since then all of my files that i used to have, pictures, videos, etc have completely vanished. i cant locate the files in 7 zipper, es file explorer, and media scan apps still bring me nothing. Yet my internal storage still has the same amount of space used that it did before, and also when i go into CWM and choose install a zip it shows all the folders and things that i am missing, but that is the only place i see the folders but i dont have access to my files from cwm. Also i have noticed that when i am on 7zipper looking through files my internal storage says storage/emoulated/0 and i have no idea what the emulated is about, if anyone has any info or knows what im talking about please to help, Im not too great with phone stuff but i am okay, so if anyone has any simplified steps to give me on how to fix this issue it would be appriciated, thank you.
Click to expand...
Click to collapse
The way Kitkat makes the "SDcard"/"Internal Storage" directory is different from how it was on Jelly bean. <--EDIT: By this, I mean that the directory path is different.
The card is reading that X amount of data is on the card, yet you can't see it because your files are technically still there, but under the old directory path.
There are a couple of ways to fix this, but the EASIEST (IMO) way is to first restore a JB Nandroid backup (you can backup your KK ROM first if desired). First thing you'll notice is that the files will be there again. Now, plug your phone into your computer and copy all the files to it.
Reboot into recovery and format the internal SD. It's best to do it from within recovery, because otherwise, JB will just recreate the JB file structure and immediately start saving stuff to it. So when you get to KK, there will once again be the old structure hidden and with some files taking up space.
Now either reflash your KK rom or restore your KK backup.
Boot it up and copy your files back to the phone.
*I ran into this same issue after flashing KK for the first time. This is the exact process I did to resolve it.
Another way is to use a root file browser and locate the old directory and copy everything over to the new one. However, I think this might take quite a long time since the phone can do this only so fast.
spexwood said:
The way Kitkat makes the "SDcard"/"Internal Storage" directory is different from how it was on Jelly bean. <--EDIT: By this, I mean that the directory path is different.
The card is reading that X amount of data is on the card, yet you can't see it because your files are technically still there, but under the old directory path.
There are a couple of ways to fix this, but the EASIEST (IMO) way is to first restore a JB Nandroid backup (you can backup your KK ROM first if desired). First thing you'll notice is that the files will be there again. Now, plug your phone into your computer and copy all the files to it.
Reboot into recovery and format the internal SD. It's best to do it from within recovery, because otherwise, JB will just recreate the JB file structure and immediately start saving stuff to it. So when you get to KK, there will once again be the old structure hidden and with some files taking up space.
Now either reflash your KK rom or restore your KK backup.
Boot it up and copy your files back to the phone.
*I ran into this same issue after flashing KK for the first time. This is the exact process I did to resolve it.
Another way is to use a root file browser and locate the old directory and copy everything over to the new one. However, I think this might take quite a long time since the phone can do this only so fast.
Click to expand...
Click to collapse
Okay, thank you, I will try that soon and see if it works.

Categories

Resources