File move error or bug? - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

I installed Slim rom and it moved all of my previous sdcard files to a different location. I tried to use ES File Explorer to move all the data (2.85gb) to the new sdcard location. Once the process completed there's a message saying low storage space when I should have 3.25gb avail.
*
I checked the location where it was supposed to move the previous sdcard files to the new location and instead it created many duplicates of the current roms sdcard location (inception style) and repeated until there was no space left.
*
I found the previous sdcard location under mnt/shell/emulated/. I selected to move the emulated folder. I don't know if this "emulated" is some sort of special android folder that I'm not supposed to mess with or not and maybe that caused this issue.
*
But then, when I went to the folder where the previous files were located and browsed it, all of the files are listed as having a file size of 0.00 and clicking on properties for any folder shows 0 folder size. So I can see the files there but its as if they have been overwritten or made inaccessible. So I'm a bit pissed at this point because I can't find where the files were moved to and the old files seem to have no file size. Yet, after deleting the repeated copied info it only freed up the 3.25gb of space. So it's as if my old files are still taking up space somewhere but I can't get to them or open them.
*
Next, I decided to move those old files again and this time I placed them on my extsdcard. When I moved the files again they were completely viewable and accessible, from the extsdcard, even though they can't be accessed at my old location. I also used multiple root browsers and none could access the old files at the old location.
*
Any ideas what could have gone wrong?

AngelsNecropolis said:
I installed Slim rom and it moved all of my previous sdcard files to a different location. I tried to use ES File Explorer to move all the data (2.85gb) to the new sdcard location. Once the process completed there's a message saying low storage space when I should have 3.25gb avail.
*
I checked the location where it was supposed to move the previous sdcard files to the new location and instead it created many duplicates of the current roms sdcard location (inception style) and repeated until there was no space left.
*
I found the previous sdcard location under mnt/shell/emulated/. I selected to move the emulated folder. I don't know if this "emulated" is some sort of special android folder that I'm not supposed to mess with or not and maybe that caused this issue.
*
But then, when I went to the folder where the previous files were located and browsed it, all of the files are listed as having a file size of 0.00 and clicking on properties for any folder shows 0 folder size. So I can see the files there but its as if they have been overwritten or made inaccessible. So I'm a bit pissed at this point because I can't find where the files were moved to and the old files seem to have no file size. Yet, after deleting the repeated copied info it only freed up the 3.25gb of space. So it's as if my old files are still taking up space somewhere but I can't get to them or open them.
*
Next, I decided to move those old files again and this time I placed them on my extsdcard. When I moved the files again they were completely viewable and accessible, from the extsdcard, even though they can't be accessed at my old location. I also used multiple root browsers and none could access the old files at the old location.
*
Any ideas what could have gone wrong?
Click to expand...
Click to collapse
It appears you are running a recovery that is not supported by Android 4.2.
Since android 4.2 modified the directory layout to make way for multi user support, recoveries had to be updated to flash properly.
You will need to more than likely move your data files to your computer by hand, delete all of the extra and then reimplement your data to the appropriate folder.
Make sure you update your recovery as well so you don't see this on future 4.2 flashes.
When 4.2 first released this was a common issue with recoveries. Once you get your data and apps backed up appropriately, you may need to wipe your data/internal storage to free up the "used" space. I put used in quotes because it may appear its not taking any space at all when in all actuality it is.
Sent from my SGH-I747 using xda app-developers app

I'm using the latest TWRP 2.3.3.1 I think is the version. Is that not a compatible recovery?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

AngelsNecropolis said:
I'm using the latest TWRP 2.3.3.1 I think is the version. Is that not a compatible recovery?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
Hmm... latest is 2.4.1.0 but 2.3.3.1 was definitely compatible... sounds like there's a different underlying issue out of my realm of expertise. We'll have to wait for someone else to come along. Sorry man =/
Sent from my SGH-I747 using xda app-developers app

I'll update my recovery anyways. I've fixed the problem by moving everything again but in smaller sections. I may take up your advice to connect to a pc and back up everything, format it, then move the files back though. I just don't want to duplicate the issue again. It was a huge inconvenience. Thanks for posting.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

AngelsNecropolis said:
I'll update my recovery anyways. I've fixed the problem by moving everything again but in smaller sections. I may take up your advice to connect to a pc and back up everything, format it, then move the files back though. I just don't want to duplicate the issue again. It was a huge inconvenience. Thanks for posting.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
no problem man, sorry I couldn't help more. good luck with it! may have just been a fluke bad flash.
Sent from my SGH-I747 using xda app-developers app

Related

[Q] Another "sdcard\0" thread..

Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
olfyboy said:
Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
Click to expand...
Click to collapse
I had this issue earlier so i moved everything back to the root folder and deleted "0". If you are planning on flashing a few 4.2 roms i suggest you use the latest TWRP recovery or wait for the updated clockwork recovery because everytime you flash 4.2 roms they automatically create a 0 partition so you will end up with 0/0/0 etc depending on how many you flash
K, thanks!
I think I'll just copy the content of the "\0" folder back to the root, and stick with the ROM I'm on now. Then I'll update CWM when an update is released.
Aaargh.. I'm getting kinda pissed now..
When I try to copy the sd-content back to the root, it says that the device has stopped responding, or isn't connected. Can you tell me what is the standard root folder for the sd-content?
After installing a previous backup the was still a 0 folder so I copied all of the files to the root folder however it made the pictures unable to view
Sent from my Galaxy Nexus using xda app-developers app
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
daewond3r said:
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
Click to expand...
Click to collapse
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
olfyboy said:
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
Click to expand...
Click to collapse
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
move it to /data/media
---------- Post added at 12:26 AM ---------- Previous post was at 12:11 AM ----------
here's how it works
before the virtual link to /sdcard was /data/media
cwm was writing under /data/media so cwm folder would show up under /sdcard as well
now the virtual link to /sdcard is /data/media/0
that's because of multiuser (even if multiuser is not working on phones)
cwm is still wriyinb to /data/media so cwm golder eoll mot show up under /sdcard
solutions
1. to copy cwm foldrr on pc: move cwm folder from /data/media to /data/media/0 that is to /sdcard then attach phone to pc and copy folder from sdcard
2. to restore from a backup on your vomputer: attach phone to pc, create cwm folder on sdcard andcopy h erebackup folis, copy cwm foldef from /data/media/0 into /dara/media
it is normal to have a /data/media/0 which means /sdcsrd
it is not normal to have /data/media/0/0 which means /sdcard/0
the latter happens on your second installation etc.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
I used solid explorer beta2. You'll find it on google play
Sent from my Galaxy Nexus using Tapatalk 2
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Enhanced said:
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Click to expand...
Click to collapse
read my commeny above: yes, although cumbersone, yes
I'm thinking this is the appropriate thread to post this so here I go. I flashed the newly released 4.2 rooted stock image and there were a few problems :
1. I forgot to delete the cache/dalvik cache, which created a bootloop and completely messed up my device, and I had to wipe/factory data reset from the recovery to fix it (in which case I had to lose almost all of my data)
2. I accidently overwrote an existing nandroid backup of the previous (CM 10 stable) ROM I had made to restore just in case anything happens, so I was out of options to restore my nexus to a working state. I finally had to use the crashed ROM's nandroid backup using an advanced recovery so I had my photos, videos etc intact. I got it finally working but anyways,
3. I restored my apps+data using titanium backup. I wanted to go back to my CM10 backup which I had made using ROM manager and it was still present with the rest of my data. But when I selected the backup which made, the device restarted and gave me an error stating "SD CARD MARKER NOT FOUND" :crying:
Now I'm unable to restore or even make a new backup with ROM manager. And to add, I have like three folders for storage using up too much space on my sdcard :
1. root/sdcard - I have no idea where this came from but it sure has an awful lot of my files copied there
2. root/storage/sdcard0
3. root/storage/emulated - has two subfolders : 0, legacy
All of the above locations contain the same exact files and I just want my nexus back the way it was. I know I can flash CM10 right away but I just wanna get some help on how to delete and make changes to these added folders by properly moving the files without crashing the os.
Any help would be greatly appreciated!
I am having this issue as well and am very very annoyed. Please help. Thanks. I cannot get into recovery manually or otherwise. Keep getting Andy with the red exclamation mark in his chest and must remove battery to reboot.
Fu#k rom manager and CWM use TWRP an rom toolbox pro an you will be fine on 4.2 JB.
Sent from my Galaxy Nexus using xda premium
Update: got it working.. had to flash back cm10 stable, move files around and get back the old ROM manager backup and restore it. Its fine now. Not to mention the 4.2 ROM was pretty unstable on my nexus, causing several reboots and sometimes it froze (especially when I connected it to my desktop) and I had to remove the battery and put it back in to get it working. Moreover the 4.2 rom screwed up the file system, making my nexus' SD card unreadable on any desktop. It just wouldn't install the drivers whatsoever. I'd wait for cm10.1 than try any other custom 4.2 from now on.
Sent from my Galaxy Nexus using xda app-developers app
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
You can download Root Browser Lite from play store, which gives you complete access to the root of your phone and internal files such as system/.

? about 4.2 sdcard structure deletion

Why is the sdcard listed in so many places. I know they are basically shortcuts to the sd because as of now I only have 2 gig free on my card and there is no room to copy/paste it or whatever.
When I look in root explorer i see /sdcard, /storage/emulated, /storage/sdcard0, and /data/media/0 all have my sd files in them.
My main problem is now quick pic sees double of everything, can I delete any of these mentioned above? I don't want to just "hide" them from quick pic, I want just one copy of each folder if possible.
I believe if you use a file explorer on the phone and not MTP, it's much quicker to just move the stuff you need to the root of the SD card and then delete the duplicates. I would wait for someone to verify that though before you proceed. Mine was doing something weird in TWRP. I tried to flash the stock 4.2 again in hopes any issues I had would be resolved. Didn't so I went to restore my CM10 data and it wasn't there. At all. I'm thinking to myself it somehow wiped everything. Nope. My files were there, but only when I flashed a fresh CM10 build. I don't know exactly what happened, but 4.2 has had some weird issues with recoveries, which were addressed for the most part.
jsminnis said:
Why is the sdcard listed in so many places. I know they are basically shortcuts to the sd because as of now I only have 2 gig free on my card and there is no room to copy/paste it or whatever.
When I look in root explorer i see /sdcard, /storage/emulated, /storage/sdcard0, and /data/media/0 all have my sd files in them.
My main problem is now quick pic sees double of everything, can I delete any of these mentioned above? I don't want to just "hide" them from quick pic, I want just one copy of each folder if possible.
Click to expand...
Click to collapse
use this guide to keep the old sdcard format..
http://forum.xda-developers.com/showthread.php?t=1999214

[Q] Emulated Storage Problem

Well ever since I went on to 4.2 my internal drive has emulated and legacy and like 3 versions of my SD card. If I download a file that's a 100 megabytes, my phone triples it and I lose 300 megabytes, my storage folder looks like this,
storage>emulated, sdcard0, sdcard1, usbdisk0
Then in emulated...
emulated>0, legacy
Inside "0" and "legacy" are exact copies of my SD card (sdcard0)
Does anyone know how to remedy this, its ridiculously annoying, thanks in advance...
Sent from my SGH-I747 using xda app-developers app
Any ideas really, would be helpful
Sent from my SGH-I747 using xda app-developers app
irish.iolar said:
Any ideas really, would be helpful
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
You could always format data and re-flash your rom. I believe this happened because your recovery was not up to date. Since i have updated to TWRP 2.4.1.0, I do not have this issue. I have read that you can copy the files to where they should be and delete the folders. I would search in this forum for emulated storage and see what comes up.
Ah arite I'll try that, but as for the formating data, I do that every time I flash a ROM (mounts&storage>format data), do you mean formating SD card? But yeah def gonna update my recov. Thanks dudette
Sent from my SGH-I747 using xda app-developers app
irish.iolar said:
Well ever since I went on to 4.2 my internal drive has emulated and legacy and like 3 versions of my SD card. If I download a file that's a 100 megabytes, my phone triples it and I lose 300 megabytes, my storage folder looks like this, [...]
Click to expand...
Click to collapse
Are you sure you lose 3 times the file size in storage space? I don't have a 4.2 ROM, but it looks to me that your files aren't duplicated in multiple folders. Instead, "0" and "legacy" are more than probably just links/shortcuts to the same storage space in your SD card.
Lol yes I'm positive, its ridiculous, and if I delete something on one of the folders, its deleted on all of them, ugh...
Sent from my SGH-I747 using xda app-developers app
Same thing happened on my SGS2 running the newest AOKP. The fix is that you have to format the internal sdcard. There were many users that had multiple "0" folders. I only had one but did notice that I lost some files or thought I did. They were in one of the legacy folders though. They were all my old nandroid backups. So back up anything you need from your internal sdcard to somewhere else and reformat it. Then add them back in. It is a different format on how/where files are stored.
Sent from my SAMSUNG-SGH-I747 using xda premium
Is just for multiple users. Just Merge them together and update to latest recovery and it won't happen again.
Sent from my SGH-I747 using xda app-developers app
Go to data media folder beside a single 0 folder delete or move everything to data/media to data/media/ 0. Problem solved. If got more then one 0 folder such as data/media/0/0 you will have move everything from the 2nd 0 folder to the first. To repeat data/media should only contain a single folder named 0. Everything should be inside data/media/0 that's your internal sd card. If after you move delete everything in data's media folder a few folders pop back no problem but no files. Look for hidden files. Also update to latest recovery. Data/media old sd. Data/media/0 New sd..
Data/media/0 /0 is old recovery issue A's bad. It won't go away on its own but will stop multiplying once update recovery check my Sig my twrp listed goes drop box with all latest recoverys.
Clean data/media out but check before delete **** if you need anything just move to data media/0 and don't delete the first 0 folder
K buddy good luck search for more info
Sent from my SGH-I747 using xda premium
---------- Post added at 11:29 PM ---------- Previous post was at 11:06 PM ----------
Data media. And system data. Not same. Depending on file manager so be careful. Yea i had a twrp folder hidden in data media had six gigs missing backups i never knew about moved then data media 0 folder A's delete twrp folder and fixed
Make it easy use a Windows android file manager like android commander. I think it's in my Sig I'm on phone can't check but pm me I help you tomorrow cuz this.it's not complicated
Sent from my SGH-I747 using xda premium

Internal SD File Structure has embedded"0" folders (2)

So I flashed a new rom with all the wipes and I ended up with a couple issues and the typical 4.2 file structure under the "0".
I tried another ROM again today (with the wipes) and now I have two "0" folders, one embedded under another and a lot of my backups are in different locations.
So it's SDCard/0/0.
Is there a good way to fix this?
cwepruk said:
So I flashed a new rom with all the wipes and I ended up with a couple issues and the typical 4.2 file structure under the "0".
I tried another ROM again today (with the wipes) and now I have two "0" folders, one embedded under another and a lot of my backups are in different locations.
So it's SDCard/0/0.
Is there a good way to fix this?
Click to expand...
Click to collapse
I know the CAUSE is from using an out-of-date recovery. TWRP hasn't had that issue for a while, but i think CWM only fixed it just recently. It didn't start until i believe 4.2.1 ROMS were flashed. I'm still not sure if it's a good thing or not to delete those "0" folders or not. I'm sure someone will chime in on that.
the 0 folders have your sd card files in them (pictures, music, etc). if you move all your stuff back to the root of your internal sd card you can delete the 0 folders.
sent from my i747 with xda-premium
I tried moving the folders on my windows PC (old pos) and it didn't work. Android file transfer doesn't work with my GS3 and my Mac.
Frustrating.
Anyways to reflash something in CWM or is moving the files the only way?
Edit: Astro works alright...so where should Ibe putting most of these files? Under SDCard or under SDCard/0?
Now i moved some folders up, the gallery shows everything as a picture (icons) and titanium can't find any apps.
Nw sure what to do.
After I went back to stock, re-rooted, and reflashed 4.2, I tried moving everything from /sdcard/0 to /sdcard. It seemed to work, but then all of a sudden, on the next boot, it was all gone. My internal storage was wiped.
Luckily most of the important stuff is on my external SD card, but that was still really frustrating.
Just a word of warning if you try to move these files. Make a backup.
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
No file moving should be done, it will most likely cause data loss when the issue is finally gone... If CWM has fixed it switch to the newest one or use TWRP and Fully Wipe the phone including format /system...
Here is a link to a script you can flash to move files from 0 folders back to sdcard, you can thank the OP of the script there:
http://forum.xda-developers.com/showpost.php?p=35653109&postcount=8124
Manual solution via Windows
I had the same problem. Solved via the following steps: Using Windows, navigate to deepest level "0" folder. Select all, copy. Navigate to the next higher level "0" folder (or the root "Phone" folder if you're only one step down). Paste. Windows will perform a merge, versus replace.
Next, delete the "0" folder from the directory you're currently in, the one you just copied all the files from. I should note, I actually moved the folder to my desktop just in case I needed to bring it back later. So far I haven't, but better safe than sorry.
Once that's done, select all in the same folder, copy. Navigate to the next higher "0" level folder or the root (or the root "Phone" folder if you're only one step down). Paste. Repeat same process, move up a level, repeat, move up a level. You'll need to do this for every "0" folder you have (I had two, I've seen reports of more & less).
Eventually, you'll have all the same files and directory structure merged up to the root Phone folder. My device, a Samsung S3 running 4.3, recognized and responded to the changes with no problems.

[Q] Storage/SDCard0

Hi guys, tried looking for an answer on XDA, can't find one.
Anyways, my question is:
I have just installed a new ROM and while looking through root browser i found Storage/SDCard0, this location is a duplicate of my SDCard and if i was to delete items from sdcard0 it disappears from my main SDCard.
Has this file always been there or has something gone wrong?
I know it seems like a minor issue, but its bugging me lol
Thanks
The new aosp android versions are changing the sdcard folder layout to sdcard/0 thats normal. leave it like that unless you want to revert to a sense based rom or a nandroid backup. when you want to restore it you have to copy all content from the 0 dir to the root of the sdcard.
hope i explained this okey !
Mr Hofs said:
The new aosp android versions are changing the sdcard folder layout to sdcard/0 thats normal. leave it like that unless you want to revert to a sense based rom or a nandroid backup. when you want to restore it you have to copy all content from the 0 dir to the root of the sdcard.
hope i explained this okey !
Click to expand...
Click to collapse
Sorry i forgot to mention that i have not been on an aosp rom, i have always been on sense!
Thats why im so puzzled lol
Also, i have tried copying stuff over, but it just makes a duplicate in the sdcard e.g pictures - copy of
and when i delete from the folder location storage/sdcard0 it deletes from my main sdcard also, so in a nutshell, i have never been on aosp roms yet i have this sdcard0 issue
ah like that, well i can inform you that i had this on the viper x 3.3.7 rom too....i solved it like this :
i made a nandroid backup, back-upped the sdcard content, formatted the sdcard. copied the nandroid backup back to the sdcard and restored it .... not seen the problem anymore !
I think it is normal... Having storage/sdcard0 is totally different compared to /sdcard/0/
When I connect my sdcard to pc and examine, the size matches, it is not doubled and when /storage/sdcard0 os deleted also normal sdcard gets deleted.
So I think it's just a mirror of some sort.
Sent from my One X using xda premium
Thanks for your replies guys.
I think it is just a mirror of the main sdcard, what caused it i don't know!
I shall try and live with it for the time being.... Until it annoys me furthermore lol
Cheers!
One more thing we need to know... Simple yes or no will do.
Do you have a directory called /sdcard/0?
Do you have a directory called /storage/sdcard0?
Sent from my One X using xda premium
The directory is storage/sdcard0, it also seems like my system is using this as the "main" storage and duplicating to sdcard.
Nothing I do seems to be resolving the issue....
EDIT: Really stuck now, tried superwipe script, adb shell etc and its still there, its not really a big problem, but if im transfering data to my phone its transfering to storage/sdcard0 by default and not sdcard.
The file location is in with the core android files and even if i try and delete the file it still remains there,,,, HELP!!
megarekd said:
The directory is storage/sdcard0, it also seems like my system is using this as the "main" storage and duplicating to sdcard.
Nothing I do seems to be resolving the issue....
EDIT: Really stuck now, tried superwipe script, adb shell etc and its still there, its not really a big problem, but if im transfering data to my phone its transfering to storage/sdcard0 by default and not sdcard.
The file location is in with the core android files and even if i try and delete the file it still remains there,,,, HELP!!
Click to expand...
Click to collapse
Issue resolved, i downloaded a nandroid from 2.17 flashed and booted, checked and storage/sdcard0 had disapeared.
Flash beck to 3.18 rom and it is still gone!!
Thanks for the help guys :good:
Good ! :thumbup:
CASE CLOSED !
The /storage/sdcard0 issue has arrisen!
I'm not sure if this is a Jelly Bean "thing" though as if i do a nandroid back to 2.17 storage/sdcard0 is not there....
Yet, when i flash a custom rom it re-appears, would somebody be able to check id the folder is in their HOX also please?
I locate it using root browser, not sure if it shows with other file mangers, but i will check
Thanks
Mine is just normal......look no sdcard0 folder
Sorry, the location of the /storage/sdcard0 folder is located out of the sdcard folder, its within the sys, system, root, etc folders
i have also noticed that sdcard0 i have no rights over e.g. permisions are - - - r w x r - x
I'm really puzzled lol
Wish i could take a screenshot, but i disabled the option when installing my current rom
I switched to CM file manager from root explorer recently and the /sdcard/ folder is nowhere to be seen. There's only /storage/sdcard0/ which is also the default startup directory.
So it could be root explorer that mirrors the sdcard...
Sent from my One X using xda premium
I now it falls into place here.......hadn't much sleep last night
Its probably a mirror like TT says .... maybe to speed things up for the system to acces files ?
I have two screenshots here, first one is from root explorer, as you can see, i have no rights over the storage/sdcard0 folder (but i think thats due to the fact i have full rights over the "main" sdcard.
The second shot is taken from within ES file explorer options as an example to where my files are going....
I do think that you are correct in saying that its just a mirror, especially after seeing TT's screenshot. I was just a bit worried that something had gone wrong somewhere with me having the scdard0 folder.
Again, thanks alot guys!! :good:
Hey there I noticed the same thing for CM10.1, and the folders can be seen in CM File Manager by enabling "Show symlinks".
So yes it is some sort of a mirror, but more like a method to redirect apps to the actual sdcard folder since not all of them are updated to reach for sdcard0 (or something like that). You may check here for more information on symlinks.
Cheers!
There are symlinks to the sdcard everywhere and they are normal.
Here are some examples
/sdcard
/storage/sdcard
/storage/emulated/0
/storage/emulated/legacy
/mnt/sdcard
/mnt/shell/emulated
These are all directories that link to the sdcard on the ROM i use.
This is nothing to worry about as the actual data is not duplicated.
Think of them as shortcuts to the sdcard folder which is actually stored somewhere like /dev/block/mmc0blk0p12
Sent from my HTC One X using xda app-developers app
Thanks for the info guys, muchly appreciated.
My question now is:
On stock 2.17 there is no storage/sdcard0, yet on stock 3.18 there is... Do we know the reasoning behind this?
Does it give better fetching time for apps, is it something to do with 'project butter'?
Thanks
Sent from my HTC One X using xda app-developers app
Its because of enabling USB host mode (otg) in jellybean and the connection of other devices requiring identification. If you attach a USB hub, a hard drive and a flash drive you will end up with new entries in storage as well as sdcard0
Such as
/storage/usbdisk0
/storage/usbdisk1
Some cheaper devices that have both onboard storage and a microsd will enter as /storage/sdcard0 and /sdcard1
The 0 is just the first address in Linux
The entire 32gb nand on the one x is /dev/block/mmcblk0
It's just numbering so there is the possibility for new storage to be allocated
Sent from my HTC One X using xda app-developers app

Categories

Resources