[Q] Storage/SDCard0 - HTC One X

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

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

new /0 after every new ROM flash

every time I flash a new rom I get a new 0 folder. Right now I have my titanium backups on /0/0/0. Wtf google??
How to solve this?
There are many, many threads on this.
Thanks for the solution.
U need to upgrade to the newest clockwork mod or twrp. They both have the fix for that now.
Sent from my Galaxy Nexus using xda premium
This keeps happening every single rom I flash also. And I am on the las test TWRP release for my VZW Gnex. Any other suggestions?
Sent from my Galaxy Nexus using xda premium
jumpman1229 said:
This keeps happening every single rom I flash also. And I am on the las test TWRP release for my VZW Gnex. Any other suggestions?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
This problem has been fixed in TWRP 2.3.2.1 here so ensure that you are running this version not an older one.
Or you may download GooManager from Play Store then install the latest TWRP recovery from it to ensure that you get the latest version
ahmadallica said:
This problem has been fixed in TWRP 2.3.2.1 here so ensure that you are running this version not an older one.
Or you may download GooManager from Play Store then install the latest TWRP recovery from it to ensure that you get the latest version
Click to expand...
Click to collapse
Yup! I'm on 2.3.2.1 which is the latest for the VZW Gnex (toro) and I still have that 0 folder problem every single time I flash a new 4.2 ROM. I even move all the contents of /data/media/0 to /data/media such as my Titanium Backup folders and it simply can't find the files. I noticed every boot up the 4.2 roms also make new "Android" and "Music" and "Movies" folders and when you delete them, the browser, gallery and other things won't work. This is very frustrating. I've searched high and low and I seem to be finding the same answer. Make sure you are on the latest TWRP and that'll fix the problem. It hasn't. Any other suggestions?
Sent from my Galaxy Nexus using xda premium
jumpman1229 said:
Yup! I'm on 2.3.2.1 which is the latest for the VZW Gnex (toro) and I still have that 0 folder problem every single time I flash a new 4.2 ROM. I even move all the contents of /data/media/0 to /data/media such as my Titanium Backup folders and it simply can't find the files. I noticed every boot up the 4.2 roms also make new "Android" and "Music" and "Movies" folders and when you delete them, the browser, gallery and other things won't work. This is very frustrating. I've searched high and low and I seem to be finding the same answer. Make sure you are on the latest TWRP and that'll fix the problem. It hasn't. Any other suggestions?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Actually I have a GSM GNex and I can confirm that the 0 folder problem is fixed with me using the latest TWRP (2.3.2.1). Check here for the thread of TWRP at the Verizon section maybe you can find why you still have the 0 folder problem
Regarding Titanium backup, this software is great and you can choose where to let it look for the backup instead of the regular /sdcard/TitaniumBackup/ location. All you have to do is:
1- Start/Run Titantium Backup
2- Go to Settings (the three upper right vertical dots)
3- Select "Preferences"
4- Under "BACKUP SETTINGS", click the first option which is "Backup folder location"
5- Click on "DETECT!"
6- Choose "SD card"
Then automatically it will search your SD card for the Titanium Backup and display it all for you.
Hope this helps
ahmadallica said:
Actually I have a GSM GNex and I can confirm that the 0 folder problem is fixed with me using the latest TWRP (2.3.2.1). Check here for the thread of TWRP at the Verizon section maybe you can find why you still have the 0 folder problem
Regarding Titanium backup, this software is great and you can choose where to let it look for the backup instead of the regular /sdcard/TitaniumBackup/ location. All you have to do is:
1- Start/Run Titantium Backup
2- Go to Settings (the three upper right vertical dots)
3- Select "Preferences"
4- Under "BACKUP SETTINGS", click the first option which is "Backup folder location"
5- Click on "DETECT!"
6- Choose "SD card"
Then automatically it will search your SD card for the Titanium Backup and display it all for you.
Hope this helps
Click to expand...
Click to collapse
It worked! You are a life saver! Didn't know I could point Titanium to another location. That's exactly what I needed. Thanks
Sent from my Nexus 7 using xda premium
Any idea how to access cwm nandroid backups too? I cant find them anywhere (but i see them in cwm)
tylerdurden83 said:
Any idea how to access cwm nandroid backups too? I cant find them anywhere (but i see them in cwm)
Click to expand...
Click to collapse
If CWM is unable to find the nandroid backup because it is moved within the new 0 folder(s), then here is what I have done when I was in the same problem :
1- Download any file explorer (I used ES File Explorer)
2- CUT (or copy if you have a lot of free storage) the "clockworkmod" folder from within the 0 Folder(s) and paste it to the main /sdcard/ location, so both the 0 Folder and the clockworkmod folder will be at /sdcard/ location now.
3- Reboot into recovery and CWM should find the nandroid backup because it is back to its correct place as it was before being moved into the 0 Folder.
I recommend that you make a copy of the clockworkmod folder to your PC before attempting any of the above steps just in case something went wrong while copying or cutting (moving) the folder so you can try copying it again. In other words, make a backup of this clockworkmod backup
Hope this helps
ahmadallica said:
If CWM is unable to find the nandroid backup because it is moved within the new 0 folder(s), then here is what I have done when I was in the same problem :
Click to expand...
Click to collapse
I think that I expressed myself wrong. If i go into cwm, and click restore, i see two cwm backups no problem. But, with a file explorer with root priviledges, they are literally nowhere to be found, i checked everywhere....
tylerdurden83 said:
I think that I expressed myself wrong. If i go into cwm, and click restore, i see two cwm backups no problem. But, with a file explorer with root priviledges, they are literally nowhere to be found, i checked everywhere....
Click to expand...
Click to collapse
Oh sorry for misunderstanding you earlier.
I haven't encountered this before but you may try a file explorer which has a search function (such as ES File Explorer) so you search for "clockworkmod" folder or something in the whole sdcard. I hope it will find the backups for you this way.
tylerdurden83 said:
I think that I expressed myself wrong. If i go into cwm, and click restore, i see two cwm backups no problem. But, with a file explorer with root priviledges, they are literally nowhere to be found, i checked everywhere....
Click to expand...
Click to collapse
How everywhere did you get? They must be there somewhere...
Did you try under
/mnt/sdcard
? That's the actual directory, the various others are symlinks to it.
Clancy_s said:
How everywhere did you get? They must be there somewhere...
Did you try under
/mnt/sdcard
? That's the actual directory, the various others are symlinks to it.
Click to expand...
Click to collapse
/mnt/sdcard is a symlink. The physical file location is /data/media (or /data/media/0 in 4.2 and higher).
Edit: Specifically, the physical internal storage is found at /data/media.
/data/media is fuse mounted as /mnt/shell/emulated.
/mnt/shell/emulated/0 is then symlinked to /storage/emulated/legacy.
/storage/emulated/legacy is then symlinked to /sdcard, /mnt/sdcard, and /storage/sdcard0.
So the files seen in /sdcard are files physically located at /data/media/0. As such, files in /data/media can use space, but not be seen when looking in /sdcard.
help
ahmadallica said:
If CWM is unable to find the nandroid backup because it is moved within the new 0 folder(s), then here is what I have done when I was in the same problem :
1- Download any file explorer (I used ES File Explorer)
2- CUT (or copy if you have a lot of free storage) the "clockworkmod" folder from within the 0 Folder(s) and paste it to the main /sdcard/ location, so both the 0 Folder and the clockworkmod folder will be at /sdcard/ location now.
3- Reboot into recovery and CWM should find the nandroid backup because it is back to its correct place as it was before being moved into the 0 Folder.
I recommend that you make a copy of the clockworkmod folder to your PC before attempting any of the above steps just in case something went wrong while copying or cutting (moving) the folder so you can try copying it again. In other words, make a backup of this clockworkmod backup
Hope this helps
Click to expand...
Click to collapse
i flashed PA rom for first time, using TWRP and now i cant find Nandroid backup, any suggestion where can i find it
aNewNoob said:
i flashed PA rom for first time, using TWRP and now i cant find Nandroid backup, any suggestion where can i find it
Click to expand...
Click to collapse
Did you do your nandroid backup using CWM? If yes, then it will not be compatible with TWRP.
Did you use the latest TWRP 2.3.2.1 ? If not then your nandroid backup should be in sdcard/0/ after flashing PA with android 4.2 so TWRP will no longer find it. You have to copy or move the TWRP folder from within "0 Folder" to the main sdcard/ location then TWRP will recognize it again. And remember to update your TWRP to the latest version to avoid this problem again.
I hope I have covered most of the possibilities regarding your case. If not then please provide more details
Cilraaz said:
/mnt/sdcard is a symlink. The physical file location is /data/media (or /data/media/0 in 4.2 and higher).
Edit: Specifically, the physical internal storage is found at /data/media.
/data/media is fuse mounted as /mnt/shell/emulated.
/mnt/shell/emulated/0 is then symlinked to /storage/emulated/legacy.
/storage/emulated/legacy is then symlinked to /sdcard, /mnt/sdcard, and /storage/sdcard0.
So the files seen in /sdcard are files physically located at /data/media/0. As such, files in /data/media can use space, but not be seen when looking in /sdcard.
Click to expand...
Click to collapse
My /data seems empty...
Same for /mnt/shell...
/storage/emulated/legacy isn't, i see the sdcard content there, but no cwm folder
ahmadallica said:
Did you do your nandroid backup using CWM? If yes, then it will not be compatible with TWRP.
Did you use the latest TWRP 2.3.2.1 ? If not then your nandroid backup should be in sdcard/0/ after flashing PA with android 4.2 so TWRP will no longer find it. You have to copy or move the TWRP folder from within "0 Folder" to the main sdcard/ location then TWRP will recognize it again. And remember to update your TWRP to the latest version to avoid this problem again.
I hope I have covered most of the possibilities regarding your case. If not then please provide more details
Click to expand...
Click to collapse
So I just got the chance to flash a 4.2 and like I said it created a new 0 folder under data/media/0. I deleted the 0 folder so I would only have data/media but when I go to open the browser it doesn't do a thing. Even the gallery. And when I reboot, I see it creates the same folders I just deleted. What gives?
Sent from my Galaxy Nexus using xda premium
jumpman1229 said:
So I just got the chance to flash a 4.2 and like I said it created a new 0 folder under data/media/0. I deleted the 0 folder so I would only have data/media but when I go to open the browser it doesn't do a thing. Even the gallery. And when I reboot, I see it creates the same folders I just deleted. What gives?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I have no idea why your TWRP on your verizon GNex is not helping you get rid of these 0 folders. I checked the changelog of TWRP 2.3.2.1 for the thread at the Verizon section and the Original (GSM) section and they are identical!
Anyway I have never deleted or do anything to data/media/ even for 0 Folders. I used to move the data from within the /sdcard/0/ location to /sdcard/ then delete this 0 folder on the sdcard, nothing else. I checked my 4.2 GNex now and yes there is a 0 folder in data/media/ but this is not affecting my sdcard and how apps like Titnatium and TWRP are finding the backups and related files.
You may find this guide useful as well

[Q] [Help] Invisible/"Missing" files after flashing 4.2.x

I know this has been addressed but I was hoping you could help me and my friend out because we can't seem to find a definitive answer out there....I have tried about 8-10 4.2.X ROMs on my galaxy nexus and every time I do the files are moved into sub folder 0 because of multiple users and the restructured file system that comes with it.....now our problem is that when we use 4.2 or 4.2.1 ROMs the files are invisible no matter what I do....I used many different file explorers and yes I have "show hidden files" checked off. However when I revert back to 4.1.2 the files appear again.....even when I hook my phone up to my computer when running 4.2.x the files are invisible and they are nowhere to be found so that I can merge the old and new file folders...so basically when I'm running 4.1.2 everything is great but when I flash 4.2.x everything is moved and cannot be seen or visible on my phone or computer until I revert back to the previous version of android (4.1.1 or 4.1.2). Any help or problem solving is much appreciated once again thank you for the time and patience for dealing with us lol
Seems you are not using the latest TWRP or CWM so you are running into the "0" folder issue. Update your recovery and try again.
Hope this works
ahmadallica said:
Seems you are not using the latest TWRP or CWM so you are running into the "0" folder issue. Update your recovery and try again.
Hope this works
Click to expand...
Click to collapse
Thanks I will look but I think I am twrp version 2.3.3.1 something like that I will check thanks bud
ahmadallica said:
Seems you are not using the latest TWRP or CWM so you are running into the "0" folder issue. Update your recovery and try again.
Hope this works
Click to expand...
Click to collapse
Yeah I'm definitely using the latest twrp 2.3.2.1 thanks anyway man
So what do you exactly have in /sdcard/ after you flash 4.2?
Oh and assuming you know that you have a folder called "xyz" and it becomes invisible, then did you try searching using the "Search" function of the file explorer you are using so it can find this "xyz" for you automatically?
The files should be stored somewhere because you see them when reverting to 4.1.2 so I think that determining where they are should help in understanding what's going on and what to do later
Note: I have to sleep so I will check this thread again in the morning if no one helped you already
Sent from my Galaxy Nexus using xda app-developers app
ahmadallica said:
So what do you exactly have in /sdcard/ after you flash 4.2?
Oh and assuming you know that you have a folder called "xyz" and it becomes invisible, then did you try searching using the "Search" function of the file explorer you are using so it can find this "xyz" for you automatically?
The files should be stored somewhere because you see them when reverting to 4.1.2 so I think that determining where they are should help in understanding what's going on and what to do later
Note: I have to sleep so I will check this thread again in the morning if no one helped you already
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
First and foremost let me say thanks for taking the time I really appreciate it.....OK.....yes I have used the search function.....let's see here.....so currently I'm running PACman ROM android 4.1.2.....I'm using ES File Explorer.....so when I use es explorer and go to SD card everything is there....games media pics videos basically everything I have on my phone....now when I flash a 4.2.X ROM I download es file explorer and I check off show hidden files.....when I go to SD card a brand new set of files have appeared....including but not limited to "Android" "Notifications" "Downloads" etc. It brings a whole new set of empty folders to the foreground and all of my original folders were moved.....but I can't seem to find a way to "go up a level" to see my original files and see folder "0" with this new set of empty folders.....I basically can't find a way to go up one level and see the entire contents of SD card on my phone or on my computer it just automatically brings me the the newest folder "0" with no way to go up a level no matter what I do or try
Actually in ES File Explorer you will not be able to go up and see the files of the root directory unless you are "rooted" and do the following:
1) Run ES File Explorer
2) Click on the botton right 3 dots
3) Click settings
4) Scroll down to "Other Settings" and choose "Root settings"
5) Check the first three options "Root Explorer", "Up to Root" and "Mount File System"
Now if you start ES File Explorer then you can go up one level by clicking the "up" icon in the main screen
Afterwards, maybe you can search manually or via the Search function to find your files
ahmadallica said:
Actually in ES File Explorer you will not be able to go up and see the files of the root directory unless you are "rooted" and do the following:
1) Run ES File Explorer
2) Click on the botton right 3 dots
3) Click settings
4) Scroll down to "Other Settings" and choose "Root settings"
5) Check the first three options "Root Explorer", "Up to Root" and "Mount File System"
Now if you start ES File Explorer then you can go up one level by clicking the "up" icon in the main screen
Afterwards, maybe you can search manually or via the Search function to find your files
Click to expand...
Click to collapse
DUDE!!!!!!!! Thank you so much I am rooted and checking off those 3 options did it!!!! Thanks a lot man I really appreciate it thanks for taking the time
I'm having the same issue as the OP. I can see all file structure with Astro and root explorer, yet I can not see them with my windows computer. All I can see is internal storage and the folders that are in there which seems to be just the main folders.
How are you able to see the rest of the folders in windows explorer so you/I can put my backups back on my phones. Titanium is saving to storage/emulated/legacy. Yet I can not get there through my PC. This is driving me nuts. I have a fresh install and want to get my back up stuff back to the correct locations.
Thanks
msucoleman said:
I'm having the same issue as the OP. I can see all file structure with Astro and root explorer, yet I can not see them with my windows computer. All I can see is internal storage and the folders that are in there which seems to be just the main folders.
How are you able to see the rest of the folders in windows explorer so you/I can put my backups back on my phones. Titanium is saving to storage/emulated/legacy. Yet I can not get there through my PC. This is driving me nuts. I have a fresh install and want to get my back up stuff back to the correct locations.
Thanks
Click to expand...
Click to collapse
It seems you have your Titanium backup folder on your PC and you want to send it back to your phone, right?
If so, then just move the titanium backup folder normally to your /sdcard/ then follow this post to let titanium detect the folder you sent to /sdcard/ then restore your apps
ahmadallica said:
It seems you have your Titanium backup folder on your PC and you want to send it back to your phone, right?
If so, then just move the titanium backup folder normally to your /sdcard/ then follow this post to let titanium detect the folder you sent to /sdcard/ then restore your apps
Click to expand...
Click to collapse
You are correct and I have everything pretty much the way I want, but I think I have extra folders in my internal storage. I can now see the main storage from windows and it is temping to just keep going with what i got, but I have this nagging feeling that I have something wrong.
Like in this thread.
4.2 roms + CWM 6.0.2.3
your old files are located in data/media
4.2 creates its new SD card directory in data/media/0
take the files you want out of the old directory and put them in the new one and they will show up on your computer.
gpfnzl said:
4.2 roms + CWM 6.0.2.3
your old files are located in data/media
4.2 creates its new SD card directory in data/media/0
take the files you want out of the old directory and put them in the new one and they will show up on your computer.
Click to expand...
Click to collapse
"data/media/0" ......there they are!! Thanks!

File move error or bug?

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

Categories

Resources