Need help understanding SDCard - Sprint LG Optimus G

So when I was on stock my sdcard was located in /sdcard.
I then moved to CM and somehow my sdcard moved to /sdcard/0
I returned to stock because I was in need of taking 13MP picture, so my sdcard was then moved to /sdcard
Now, I moved to Unofficial geehrc4g_spr_us Vanilla RootBox [4.27.13] and all of my previous sdcard was missing (not lost, just replaced to a different folder /data/media) and my new sdcard is now /sdcard
Is /sdcard the same as /data/media ?? if it isn't, would it be safe to delete all the contents of /data/media? Or would that be wiping my sdcard?

I am pretty new to this device so my word is not law by any means; I think that the files in data/media are nothing more than a mirror of /sdcard. Otherwise, you would have blown through all available memory trying to store doubles of all data(at least it would for me, I has this badboy 25 gigs full the first day.......)

Actually my /data/media and my /sdcard have totally different files.
Here is an example : my /data/media has all my downloaded roms and mods and my /sdcard has no downloaded roms
Sent from my LG-LS970

If you go back to a stock rom and take everything in /sdcard and put it in /sdcard/0 then go to an AOSP rom, it'll all be where you expect

does anybody know a quick way to format the sdcard (without wiping the rom)?
I just want to start fresh with the sdcard, I believe that my sdcard has duplicated many times since flashing stock, CM10, and rootbox.
It has been replicated on "/data/media", "/storage", and "/sdcard" and in those folders a "/0" folder has been created as well. I now only have 6GB of space.
Whereas, before the multiple sdcards I had 16-18GB available.

stevek216 said:
If you go back to a stock rom and take everything in /sdcard and put it in /sdcard/0 then go to an AOSP rom, it'll all be where you expect
Click to expand...
Click to collapse
OKayy so will doing this stop the duplicating and mirrored folders and enable stock and aosp to share and get along (as fas as this situation goes) using the same directory?

Related

TWRP Wiping & Another Question on Safe to Delete???

I'm wondering if within it I wiped cache (All by itself, not dalvik) if it would delete all my installed app's or just set them back to default freshly installed as if I'd never opened and set them up yet?
Also I applied this mod http://forum.xda-developers.com/showthread.php?t=2036796 on another rom and later on decided not to use it anymore, but ever since removing it I am always getting on the very root base of the phone
extSdCard (Same as storage/sdcard1 )
sdcard (Same as storage/sdcard0 )
storage / emulated / sdcard0 and sdcard1
Which of those "sdcard0 and sdcard1" is safe to delete? I suspect this is from the mod I had before...
But I wiped my internal storage before flashing PAC-man 4.2.2, but now I keep getting a insufficient storage available on certain apps.and I have 7.19Gb's of space left on the internal sd. So I believe one of those questionable sdcard directories is making stuff go there then thinking I'm out of space of stuff.
Wiping cache would not do any of that to your apps. I'm not sure about your second question. On 4.2.2 roms, sdcard0 is internal and sdcard1 is external
Sent from my GT-N7105 using xda app-developers app
n1nj4Lo said:
I'm wondering if within it I wiped cache (All by itself, not dalvik) if it would delete all my installed app's or just set them back to default freshly installed as if I'd never opened and set them up yet?
Also I applied this mod http://forum.xda-developers.com/showthread.php?t=2036796 on another rom and later on decided not to use it anymore, but ever since removing it I am always getting on the very root base of the phone
extSdCard (Same as storage/sdcard1 )
sdcard (Same as storage/sdcard0 )
storage / emulated / sdcard0 and sdcard1
Which of those "sdcard0 and sdcard1" is safe to delete? I suspect this is from the mod I had before...
Ok concerning the sdcard0 folder! If you went back to a TW Rom, and you now have that folder still there! Sdcard0 you can move everything (pictures, etc) from there over to the original sdcard folder. And then you can delete that other folder. And your apps shouldn't say anything about insufficient storage!
Same thing happen to my friend on here. And he had to do the same thing.
Because those 4.2.2.Rom's create, that folder?? and you know that already!!
Hope that helps you...
Just my 2¢®
Sent from my SAMSUNG-SGH-I317 using Xparent SkyBlue Tapatalk 2
Click to expand...
Click to collapse
Bajanman said:
n1nj4Lo said:
I'm wondering if within it I wiped cache (All by itself, not dalvik) if it would delete all my installed app's or just set them back to default freshly installed as if I'd never opened and set them up yet?
Also I applied this mod http://forum.xda-developers.com/showthread.php?t=2036796 on another rom and later on decided not to use it anymore, but ever since removing it I am always getting on the very root base of the phone
extSdCard (Same as storage/sdcard1 )
sdcard (Same as storage/sdcard0 )
storage / emulated / sdcard0 and sdcard1
Which of those "sdcard0 and sdcard1" is safe to delete? I suspect this is from the mod I had before...
Ok concerning the sdcard0 folder! If you went back to a TW Rom, and you now have that folder still there! Sdcard0 you can move everything (pictures, etc) from there over to the original sdcard folder. And then you can delete that other folder. And your apps shouldn't say anything about insufficient storage!
Same thing happen to my friend on here. And he had to do the same thing.
Because those 4.2.2.Rom's create, that folder?? and you know that already!!
Hope that helps you...
Just my 2¢®
Sent from my SAMSUNG-SGH-I317 using Xparent SkyBlue Tapatalk 2
Click to expand...
Click to collapse
Do ya mean after I move it I can delete the whole storage folder and everything in it or what? Just clarifying don't wanna mess anything up majorly...
Click to expand...
Click to collapse
TWRP Format Data
Ooopsy crapola!!! Accidentally deleted my whole external sd card somehow. When I didn't even touch Wipe - External SD in TWRP...
Trying to hopefully recover all my files on my external sd card with MiniTool Power Data Recovery. -fingers crossed!-
Well now that the external sd card is gone what does Format Data do? Does it just format the internal sd or both external and internal?

[Q] /mnt/shell/emulated Folder

I recently installed ParanoidKangdroid on my i747. After poking around in the system folders, I found the /mnt/shell/emulated. It seems to still contain all of the files that were on my phone prior to the new rom. Is there a way to delete all of this? It is taking up a lot of space in my phone.
this is simply a 4.2 multi-user feature. it's just another mount point for the 0 folder. So it's the exact same folder, no extra space used.
if you have much less storage now than you did before flashing this ROM, you likely did not format /data before flashing. check out post #2 in my signature. it has a small section on this issue (low internal memory).
cheers
xBeerdroiDx said:
this is simply a 4.2 multi-user feature. it's just another mount point for the 0 folder. So it's the exact same folder, no extra space used.
if you have much less storage now than you did before flashing this ROM, you likely did not format /data before flashing. check out post #2 in my signature. it has a small section on this issue (low internal memory).
cheers
Click to expand...
Click to collapse
ok Thanks!
in a nutshell, wipe: data/factory reset, cache, dalvik, format /system, format /data & /media when going from one ROM to a different ROM. keep your backups and anything else you want on a micro sd card. you'll be smooth sailing.
xBeerdroiDx said:
this is simply a 4.2 multi-user feature. it's just another mount point for the 0 folder. So it's the exact same folder, no extra space used.
Click to expand...
Click to collapse
What do you mean "0 folder"? I upgraded to CM from stock (on a different phone) and all my "internal SD card" files seemed to have disappeared, but I think I found them in /mnt/shell/emulated. But I don't see any other mount point with the same files.

[Q] Scared to go to 4.2

Im on 4.1.2 right now and i went to a 4.2 rom, had everything moved to storage 0 and somewhere along the line, i basically lost everything because my storage card wouldnt work on the 4.2 rom anymore. i know, its still in storage 0 but for some reason it was corrupted. even after I formated it 3 times. so i switched back and the sd card worked again.
Do i still have anything to worry about? because i want to flash a new rom. 4.2...
It will still do it, nothing has changed. I always back everything up onto my computer then flash then format again to fat32 then move stuff over.
Sent from my SGH-T999 using xda premium
It is not recommended to go back and forth between 4.1.x and 4.2.x ROMs. 4.2 handles storage differently. What 4.2 ROM did you flash? Here's a link explaining the storage structure in 4.2.
http://teamw.in/androidmultiuser
I had one occasion (and that wa the only time it happened) where AOKP 4.2 reported my external sdcard was corrupted. I took the sdcard out, tried it on my tablet and laptop, both worked fine. I cleared cache/dalvik cache, reinserted the sdcard, rebooted AOKP and it worked fine again since.
Going between 4.1.x and 4.2.x can result in some pretty weird stuff, but as long as you backup your files, wipe /data and /system or format them it should be fine
Pretty sure its only 4.2.2 also.
Sent from my SGH-T999 using xda premium
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
I too had the 4.1.x > 4.2.x freak out with my files. Nothing has ever been deleted though. Just transferred to data/media/0 for AOSP (4.2.2) you should back up the entire SDcard as everyone before me said. Its nice to have a back up all the time cause weird things do happen.
Sent from my SGH-T999 running Chihuahua v1 ROM
re: 4.2.2 rom
TonytheLiger said:
Im on 4.1.2 right now and i went to a 4.2 rom, had everything moved to storage 0 and somewhere along the line, i basically lost everything because my storage card wouldnt work on the 4.2 rom anymore. i know, its still in storage 0 but for some reason it was corrupted. even after I formated it 3 times. so i switched back and the sd card worked again.
Do i still have anything to worry about? because i want to flash a new rom. 4.2...
Click to expand...
Click to collapse
Just for your information, the storage "0" folder only contains the LINKS(shortcuts) to your files and folders.
The actual files and folders are not located there at all so unless you really formatted the internel /sdcard all
your files and folders are intact and still on your internal sdcard.
The 4.2.x roms work the same way as the 4.1.2 after flashing the 4.2.2 rom you will again have a folder called
"0" and it will contain shortcuts to all you files and folders which are on your internal scdard /sdcard
It is safe to delete the "0" folder if you want to flash and use a stock or stock rooted Samsung v4.1.1 Touchwiz based rom.

sd card storage doubled...no space left!

Well, almost no space left. After flashing a rom, using cwm, I found that my storage space is left to only 1 gb when it used to have 10 gb before. Searched xda for solutions but haven't found any ( I am a noob ). Any ways to fix this? Tried rebooting into recovery and wiping partition cache but no change. Also notice that there is now the sd card and a emulator folder. Can't tell if my contents are now in both and that is why space has reduced and if so, can I delete one of the folders? Or, if it is just a "shortcut" reading the same info...please assist. Thanks!
rehuxley said:
Well, almost no space left. After flashing a rom, using cwm, I found that my storage space is left to only 1 gb when it used to have 10 gb before. Searched xda for solutions but haven't found any ( I am a noob ). Any ways to fix this? Tried rebooting into recovery and wiping partition cache but no change. Also notice that there is now the sd card and a emulator folder. Can't tell if my contents are now in both and that is why space has reduced and if so, can I delete one of the folders? Or, if it is just a "shortcut" reading the same info...please assist. Thanks!
Click to expand...
Click to collapse
WRONG SECTION... You should post this in Q&A or related ROMs' thread.. For your problem i suggest you flash different ROM or go back to stock.
sdcard and emulator/0 are hard links. You cannot delete them. They are not duplicated files. Its the same files. If u delete files in one then its gone forever.
rehuxley said:
Well, almost no space left. After flashing a rom, using cwm, I found that my storage space is left to only 1 gb when it used to have 10 gb before. Searched xda for solutions but haven't found any ( I am a noob ). Any ways to fix this? Tried rebooting into recovery and wiping partition cache but no change. Also notice that there is now the sd card and a emulator folder. Can't tell if my contents are now in both and that is why space has reduced and if so, can I delete one of the folders? Or, if it is just a "shortcut" reading the same info...please assist. Thanks!
Click to expand...
Click to collapse
If you flashed the ROM coming from stock then your files will be duplicate, hence the lack of space, the stock ROM has all your files on the internal SD card, if you flash CM or any other ROM after android 4.2 due to the implementation of the multiuser feature, now your files are located within a folder named /0 and all those files are duplicated now, to solve your problem this is what I do, reboot to recovery as recovery can see all the files and connect your phone to the computer, move EVERYTHING from the internal SD card below the folder /0 to the folder /0, make sure that folder is empty if you just want to keep all your previous data. reboot when done and now check your internal sd space it should put a smile on your face.
Erik
request sent to have topic moved to Q&A.
StarkV5 said:
WRONG SECTION... You should post this in Q&A or related ROMs' thread.. For your problem i suggest you flash different ROM or go back to stock.
sdcard and emulator/0 are hard links. You cannot delete them. They are not duplicated files. Its the same files. If u delete files in one then its gone forever.
Click to expand...
Click to collapse
apologies for wrong section...
Could you post some help on how to "reboot to recovery and then move everything..." I know how to boot into recovery (using cwm) and I connected to computer but nothing shows up on computer to move anything.
ricco333 said:
If you flashed the ROM coming from stock then your files will be duplicate, hence the lack of space, the stock ROM has all your files on the internal SD card, if you flash CM or any other ROM after android 4.2 due to the implementation of the multiuser feature, now your files are located within a folder named /0 and all those files are duplicated now, to solve your problem this is what I do, reboot to recovery as recovery can see all the files and connect your phone to the computer, move EVERYTHING from the internal SD card below the folder /0 to the folder /0, make sure that folder is empty if you just want to keep all your previous data. reboot when done and now check your internal sd space it should put a smile on your face.
Erik
request sent to have topic moved to Q&A.
Click to expand...
Click to collapse

[Q] Update 4.3/4.4 changes internal storage?? How to keep files.HELP

Hi, this is probably a noob question but i couldn't find the topic elsewhere on this forum . I just from stock based rom to 4.4 carbon rom. But when i do i loose all my saved data on internal storage,. luckily i did a backup that i copied to pc, so i could restore my previous system - and wiola - files are back! the same happened after 4.3 rom update. It seems that the newer androids change something, so that the system detects the interneal storage differently. Or is this just my phone? any way to prevent this from happening ----- or would my nest option be to backup and copy everything on my pc and then do a format of sdcard and copy everything back on when doing an update????
robotzki said:
Hi, this is probably a noob question but i couldn't find the topic elsewhere on this forum . I just from stock based rom to 4.4 carbon rom. But when i do i loose all my saved data on internal storage,. luckily i did a backup that i copied to pc, so i could restore my previous system - and wiola - files are back! the same happened after 4.3 rom update. It seems that the newer androids change something, so that the system detects the interneal storage differently. Or is this just my phone? any way to prevent this from happening ----- or would my nest option be to backup and copy everything on my pc and then do a format of sdcard and copy everything back on when doing an update????
Click to expand...
Click to collapse
Hi, i'm on dokmo project 4.4 from stock and usually it don't delete the previous data from stock because it use a different folder to mount the internal storage, so things before going into 4.4 or 4.3 it would be still inside but is safer to do a backup just in case
D4rk_W0lf said:
Hi, i'm on dokmo project 4.4 from stock and usually it don't delete the previous data from stock because it use a different folder to mount the internal storage, so things before going into 4.4 or 4.3 it would be still inside but is safer to do a backup just in case
Click to expand...
Click to collapse
I know the previous data is not deleted. The problem is that i cant access it. I installed carbon 4.4 rom again, and settings/storage it shows, that only 15GB of the internal storage are accessable... So around 10GB are missing... Is there anyway to get access to this space, or will i have to format de internal storage to get the full 25 GB space again?
robotzki said:
I know the previous data is not deleted. The problem is that i cant access it. I installed carbon 4.4 rom again, and settings/storage it shows, that only 15GB of the internal storage are accessable... So around 10GB are missing... Is there anyway to get access to this space, or will i have to format de internal storage to get the full 25 GB space again?
Click to expand...
Click to collapse
I don't know if u can access it without root, but in root explorer if you look for sdcard folder it will show you two folders, legacy and 0, i think it was inside legacy
I saw those two folders in root Explorer, but they both contained the same content... And still couldn't access my old files.... Ended up backing all files to my PC, and format sd card from Cwm. Now I have full access to storage again
when you update from stock "4.1.2" to 4.2 or following the files will migrate to another folder,whit root browser check if your file are in the folder data/media/0 .

Categories

Resources