[Q] "0" folder in sdcard - Xperia Z2 Q&A, Help & Troubleshooting

Hi!
I noticed that since upgrading to Lollipop, in my folder SDCARD, I have a folder "0" wich seems to be the replicate of the folder SDCARD... it's a bit strange...
By digging a bit, I found that in /data/media/0 there is another 0 folder which is the replicate of the latter...
So first, am I the only one in this case?
Why something like this happened?
is it safe to fuse the "0" folders in media? or to delete the second one?
It's not a big deal, but this folder takes more than 1 GB of space, and I'd like to recover this lost storage.
Any help will be appreciated.
Thanks a lot.

That's normal. Just move the files from the 0 folder to sdcard and then you can delete it.
Sent from Xperia Z2
Luckily not from an iPhone = Yesterdays technology at tomorrows prices

sensei_sai said:
Hi!
I noticed that since upgrading to Lollipop, in my folder SDCARD, I have a folder "0" wich seems to be the replicate of the folder SDCARD... it's a bit strange...
By digging a bit, I found that in /data/media/0 there is another 0 folder which is the replicate of the latter...
So first, am I the only one in this case?
Why something like this happened?
is it safe to fuse the "0" folders in media? or to delete the second one?
It's not a big deal, but this folder takes more than 1 GB of space, and I'd like to recover this lost storage.
Any help will be appreciated.
Thanks a lot.
Click to expand...
Click to collapse
Bro this is a backup of your old system..i guess next time when you wipe in twrp or philiz you must wipe data media..what is it exactly you are asking about ?

mr.loverlover said:
That's normal. Just move the files from the 0 folder to sdcard and then you can delete it.
Sent from Xperia Z2
Luckily not from an iPhone = Yesterdays technology at tomorrows prices
Click to expand...
Click to collapse
tornido067 said:
Bro this is a backup of your old system..i guess next time when you wipe in twrp or philiz you must wipe data media..what is it exactly you are asking about ?
Click to expand...
Click to collapse
Thanks guys, I will fuse the two «0» folders.
I have made a full wipe in twrp and then a factory reset... That's why I was asking about this folder.
Sent from my D6503 using XDA Free mobile app

Related

[MOD] [IDEA] Mount SDCard as /sdcard AND /sdcard2 and avoid internal storage

Not sure how to better ask than to state my intent. The added storage of internal nand (as /sdcard in most roms) isn't worth the trouble it creates with doing full migrations from one rom to the next so I'm thinking I want to edit scripts (init.d, fstab and what-not) so that the internal storage just isn't used and my sdcard is OR so that internal is mounted inside /sdcard as /int_temp or something like that.
What I want to know though is if anyone out there knows of a reason this would be inadvisable? In other words, is there anything I'm likely to break? Any reason I can't just shell in from recovery, set things up, and try it?
Also, to deal with apps that don't rely on the APIs correctly, I was thinking of mounting as both /sdcard and /sdcard2. Any reason that could cause trouble? Ideally I would also edit the rom so that properly written apps will always use SDcard over internal storage too.
Thanks in advance.
UPDATE:
2012-03-06T20:08-0700: So far I've done no harm and by simply modifying /etc/vold.fstab to the following, I've swapped internal/external, but it's a complete swap so the rom now reports 29GB total phone storage and 10GB SD card storage. I'm guessing it's the ramdisk that contains the references that vold.fstab uses which define what's "phone" and what's "sdcard". I tried swapping single parts of vold.fstab entries and storage broke so it doesn't appear to be standalone in that sense (doesn't have the meta data to indicate what's phone and what's sdcard).
Code:
dev_mount sdcard2 /mnt/sdcard/ext_sd 37 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
I can work on it later this week. I think it can be done. I just need time to mess with it.
/sdcard/sd_ext
Thanks for the quick reply Con. Should it take much more than init.d and/or fstab changes? I have no doubt you're as/more busy with Android mods than I am with my other projects so I'd rather give this a go and hit you up with targeted questions than wait AND put it all on you. If you're cool with that, I'll give it a go right now while I'm between roms.
dmeadows013 said:
/sdcard/sd_ext
Click to expand...
Click to collapse
You guys are on it today!
What about it? Depending on the rom, I've seen that as well as /sdcard2. I don't think that link needs to exist if I succeed with what I'm thinking.
rainabba said:
You guys are on it today!
What about it? Depending on the rom, I've seen that as well as /sdcard2. I don't think that link needs to exist if I succeed with what I'm thinking.
Click to expand...
Click to collapse
Lol that exists already. Sdcard is really just emmc I think. It is needed for downloads and other system processes that would clog the sdcard. You can access the external card through sd_ext
rainabba said:
Thanks for the quick reply Con. Should it take much more than init.d and/or fstab changes? I have no doubt you're as/more busy with Android mods than I am with my other projects so I'd rather give this a go and hit you up with targeted questions than wait AND put it all on you. If you're cool with that, I'll give it a go right now while I'm between roms.
Click to expand...
Click to collapse
No I am busy with exams lol.. no other android projects right now. I have recently abandoned one due to dres's new mainver tool which is much better.
Aren't you twistedumbrella?
Sent from my ADR6425LVW using Tapatalk
superchilpil said:
Aren't you twistedumbrella?
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
who are you referring to?
con247 said:
who are you referring to?
Click to expand...
Click to collapse
Rainabba, I swore adrynalyne called him by that once
Sent from my ADR6425LVW using Tapatalk
dmeadows013 said:
Lol that exists already. Sdcard is really just emmc I think. It is needed for downloads and other system processes that would clog the sdcard. You can access the external card through sd_ext
Click to expand...
Click to collapse
Guess I wasn't clear enough. I know it's there, but /sdcard is internal storage (EMMC) and not sdcard which is what I'd prefer it to be. Also, /sdcard/sd_ext is irrelevant except that a ROM settings allows apps using the proper API to discover that the sdcard is mounted there (95% sure that's true anyway) and that's needed BECAUSE /sdcard isn't actually the sdcard. Pretty silly IMO.
superchilpil said:
Rainabba, I swore adrynalyne called him by that once
Click to expand...
Click to collapse
If he did, he was mistaken. I do know of Twisted though I can't recall why at the moment. Also, adrynalyne most definitely knows of me (we've exchanged opinions on more than one occasion)
superchilpil, curious but does Tapatalk have an option to get rid of that sig it's adding to your posts? I've been thinking of adding support to my forums so I'm curious but the last time I tried to use it, it seemed like more trouble than just using a browser so I haven't explored it fully from the client-side.
See op-post for update.
Here is the file that I edited and use everytime I flash a new rom. It swaps SDcard and EMMC. What you have to do is copy the file in the RAR archive to the /etc folder and overwrite the one that is there. Just keep in mind that after you copy this file that the EMMC is not accessible with USB mount. I have not figured out how to do that exactly. Reboot after file overwrite.
mrcrusha829 said:
Here is the file that I edited and use everytime I flash a new rom. It swaps SDcard and EMMC. What you have to do is copy the file in the RAR archive to the /etc folder and overwrite the one that is there. Just keep in mind that after you copy this file that the EMMC is not accessible with USB mount. I have not figured out how to do that exactly. Reboot after file overwrite.
Click to expand...
Click to collapse
Thanks for sharing.
Looks like our findings are identical, literally (see op post)
mrcrusha829 said:
Here is the file that I edited and use everytime I flash a new rom. It swaps SDcard and EMMC. What you have to do is copy the file in the RAR archive to the /etc folder and overwrite the one that is there. Just keep in mind that after you copy this file that the EMMC is not accessible with USB mount. I have not figured out how to do that exactly. Reboot after file overwrite.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.rafoid.multimountsdcard.widget
maybe that app will help you
rainabba said:
If he did, he was mistaken. I do know of Twisted though I can't recall why at the moment. Also, adrynalyne most definitely knows of me (we've exchanged opinions on more than one occasion)
superchilpil, curious but does Tapatalk have an option to get rid of that sig it's adding to your posts? I've been thinking of adding support to my forums so I'm curious but the last time I tried to use it, it seemed like more trouble than just using a browser so I haven't explored it fully from the client-side.
Click to expand...
Click to collapse
Yea its easy to remove
Sent from my ADR6425LVW using Tapatalk
The question ive asked many times before about this is: why does the internal ram have to be tied to the sdcard via ext_sd? Cant it be its own independent emmc folder or something?
http://forum.xda-developers.com/showthread.php?t=1383330
It'd be sick if we could set it up as a raid 0...don't think that'd ever happen tho.
Sent from my ADR6425LVW using Tapatalk
tbot said:
It'd be sick if we could set it up as a raid 0...don't think that'd ever happen tho.
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
Could be possible lol. Only issue is is if you relocked/wiped the internal/etc all your data would be wrecked.

Sdcard/android folder?

Can anyone tell me if i can delete the sdcard/android folder because it's 6GB?Will it have any effect on my system?
sdcard/Android folder
No, don't delete it.
What does it contain? Does it have some com.SOMEAPP.SOMEVERSION folder in it?
Try seeing what takes most space in it, probably some app saves some info where it shouldn't.
Perhaps your backups are saved in there, are you doing them with CWM ?
I deleted my sdcard
I deleted sdcard in my acer 16gig tablet and now my pictures don't show up in the tablet, but are there in windows. How do I recreate whatever links I deleted?
mikejbb said:
I deleted sdcard in my acer 16gig tablet and now my pictures don't show up in the tablet, but are there in windows. How do I recreate whatever links I deleted?
Click to expand...
Click to collapse
I am not sure if you can get back the one's deleted but use Dumpster & Disk Usage to see the details
mikejbb said:
I deleted sdcard in my acer 16gig tablet and now my pictures don't show up in the tablet, but are there in windows. How do I recreate whatever links I deleted?
Click to expand...
Click to collapse
lmao
ipskang said:
I am not sure if you can get back the one's deleted but use [some spam]
Click to expand...
Click to collapse
Good job bumping the first and only post of mikejbb from September 2012, about something nothing to do with the I9100.
:good:

Folder 0

Hye need some help here... i think my phone only detect whats inside of this folder 0 only... for example my ringtone if its not inside the folder 0 i cant see it inside the sound section... how can i change that? And can i delete everything out side the folder 0...? Because it looks like a duplicate..
Sent from my GT-I9300 using xda app-developers app
Have a read of the last link in my signature
Sent from my GT-I9300 using Tapatalk 2
This happens when you flash from an JB 4.2 to a lower version rom. This is due to the profiles feature in 4.2. You can safely remove the 0 folder. Just make sure you copy/backup whatever is in that folder you might need. CWMR and TWRP does a user data wipe and you will notice that it doesnt wipe /data/media. This is the mountpoint for your internal storage when using a 4.2 based rom. So anything you might have copied over, photos taken etc, will be preserved in the /sdcard/0 folder

Ok so something odd just happened..

Yesterday I put some roms on my sdcard of the phone. I then installed and aosp rom but the camera didn't work so I installed Trickdroid 5.4.0 instead. Today I just went to put a different rom on the sdcard and I noticed that some of my folders were missing that I added. There is a folder now called 0. That's it, just 0 and all my folders are inside that. There are also some of the same folders in that folder on my root storage with the same exact name but empty. Wtf? Anyone have any idea how that happened?
Cm10.1 adds multi user support. User 0 is the default. All your /data stuff is in there now
gunnyman said:
Cm10.1 adds multi user support. User 0 is the default. All your /data stuff is in there now
Click to expand...
Click to collapse
Time for another PSA, I think, Gunnyman!
Or one big FAQ since this keeps popping up.
They just get locked.
SkizzMcNizz said:
Yesterday I put some roms on my sdcard of the phone. I then installed and aosp rom but the camera didn't work so I installed Trickdroid 5.4.0 instead. Today I just went to put a different rom on the sdcard and I noticed that some of my folders were missing that I added. There is a folder now called 0. That's it, just 0 and all my folders are inside that. There are also some of the same folders in that folder on my root storage with the same exact name but empty. Wtf? Anyone have any idea how that happened?
Click to expand...
Click to collapse
Same exact scenario with me I'm confused. TWRP recovery doesn't detect my old backups cause of the Damm 0. I'm still trying to sort this out. I don't want to deal with /sdcard0 then have all my new pictures or files being stored at a new location.
Sent from my HTC One using xda premium
shook187 said:
Same exact scenario with me I'm confused. TWRP recovery doesn't detect my old backups cause of the Damm 0. I'm still trying to sort this out. I don't want to deal with /sdcard0 then have all my new pictures or files being stored at a new location.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Gogogo copypasta:
0 is intentional. Android 4.2.2 added the ability for multi-user support, and it divides up the internal storage accordingly. "0" belongs to the first user, "1" belongs to the second... so on and so forth. Pull what files you want to keep out of the 0 folder and onto your computer then delete it. As long as you stay on pre-4.2.2 ROMs, it won't resurface. Even if it did, it's not that big of a deal since that's where we're heading anyway with Android development.

Miscellaneous File Question

My phone is telling me I have a limit space so I go look at what is taking up space and it says just over 9 GBP of miscellaneous files, so when I look at it it shows one with 5.05 GBP of usage but it is labeled "0."
Any ideas to what this is or if I can delete this file wothout bricking my phone?
Any thoughts guys?
Sent from my SPH-L710 using Tapatalk
I am unable to understand what exactly you are trying to say!
could you please tell in detail?
I am trying to free space on my phone, and I need to know if that file under miscellaneous that is taking up 5GB can be deleted.
I am also wondering if I can delete CWM for now, as I don't plan on loading a new ROM, and if I do, I would would rather use TWRM
UmpireBear said:
I am trying to free space on my phone, and I need to know if that file under miscellaneous that is taking up 5GB can be deleted.
I am also wondering if I can delete CWM for now, as I don't plan on loading a new ROM, and if I do, I would would rather use TWRM
Click to expand...
Click to collapse
what type of file is it?
prafull07 said:
what type of file is it?
Click to expand...
Click to collapse
I have no idea, its under the miscellaneous file section. and its called "0" so I have no idea what it is or whats in it
UmpireBear said:
I have no idea, its under the miscellaneous file section. and its called "0" so I have no idea what it is or whats in it
Click to expand...
Click to collapse
is it just one file or any folder of that name?
you may try to search the file by it's name using any file explorer.
It looks like it is the "0" directory, which is what Android uses for emulated SD card. "/storage/emulated/0"
If it is showing something different than what you actually have in your internal emulated SD card, you may have to do a factory reset.
Sent from my Nexus 4 using XDA Premium 4 mobile app
I have found the file within the system, and it essentially put all of the old stuff from when I was running CM 10.1 into it and then put it into the emulated directory.
Just if you're not yet's solved you problem
UmpireBear said:
My phone is telling me I have a limit space so I go look at what is taking up space and it says just over 9 GBP of miscellaneous files, so when I look at it it shows one with 5.05 GBP of usage but it is labeled "0."
Any ideas to what this is or if I can delete this file wothout bricking my phone?
Any thoughts guys?
Sent from my SPH-L710 using Tapatalk
Click to expand...
Click to collapse
Hello !
i'm new to xda
I've got that problem before
It happens when you swap SDs (i.e:extSdCard==>sdcard) & delete a file
so the free space still becoming smaller until it becoms 0
the solution is to RE.Swap the SDs
it may not work for you !
Press Thx if i've helped you
.rootCoder. said:
Hello !
i'm new to xda
I've got that problem before
It happens when you swap SDs (i.e:extSdCard==>sdcard) & delete a file
so the free space still becoming smaller until it becoms 0
the solution is to RE.Swap the SDs
it may not work for you !
Press Thx if i've helped you
Click to expand...
Click to collapse
reswap???
UmpireBear said:
reswap???
Click to expand...
Click to collapse
Hello !
I mean by ''reswap'' is to remove that script from init.d ''11extsd2intsd''
i've done some tweaks to that script (now that problem was disappeared for me)
but i can't publish that script (the main devlopper is telling us to don't publish it if it was tweaked)
Sorry, if it doesn't work for you !

Categories

Resources