Go Back   Android Forums > Android Phones > Samsung Galaxy Nexus > (Verizon) Galaxy Nexus - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree2Likes
  • 1 Post By teddyearp
  • 1 Post By kokiangel

test: Reply
 
LinkBack Thread Tools
Old March 27th, 2013, 05:10 PM   #1 (permalink)
Senior Member
Thread Author (OP)
 
kokiangel's Avatar
 
Join Date: Nov 2009
Location: Helena, Alabama
Gender: Female
Posts: 630
 
Device(s): Verizon Galaxy Nexus, OG Droid
Carrier: Verizon

Thanks: 123
Thanked 138 Times in 90 Posts
Default Another sdcard/0 problem

I tried to follow all of this. Really I did. But I got kinda lost while looking at my own files. I have in my storage folder an emulated folder and a sdcard/0 -> legacy folder and a usbdisk folder.
When I clock on the storage folder it opens to show a storage/emulated/0 and a storage/emulated/legacy folder.
The storage/emulated/0 folder has all of my files in it.
The storage/emulated/legacy folder has all of my files in it!
Backing up and opening /storage/sdcard0 I find all of my files again.
USBDISK is empty.
So, what do I delete and what do I keep? I am thinking that I should delete the emulated folder and everything in it but that scares the bejezus out of me!

Nandroid backups are being saved in my emulated folder so I can't even keep a safety net.

kokiangel is offline  
Last edited by kokiangel; March 27th, 2013 at 05:13 PM.
Reply With Quote
sponsored links
Old March 27th, 2013, 06:38 PM   #2 (permalink)
A guide with guides
 
teddyearp's Avatar
 
Join Date: May 2010
Location: Randle, WA
Posts: 2,142
 
Device(s): Samsung® SCH-I515 & Motorola® XT907
Carrier: Verizon

Thanks: 680
Thanked 697 Times in 425 Posts
Default

Moved from here only because I want that thread to have more info.

Yeah, I know it can be overwhelming, but the best place to look, as the thread stated, is in /data/media or /data/media/0. Every other 'location' is just a symlink (like an alias or shorcut) and can really confuse one if you don't just look at the actual location mentioned above. I saw similar things, but on 4.1.x everything ('sdcard') is really in /data/media and on 4.2.x it gets moved to /data/media/0.

So with that said, are you trying to revert back to a 4.1.x rom from a 4.2.x rom? Or did you flash a 4.2.x rom without the proper recovery and need to 'clean' up your 'sdcard'?

Let us know how we can further help you.

good luck
teddyearp is offline  
Last edited by teddyearp; March 27th, 2013 at 06:41 PM.
Reply With Quote
Old March 27th, 2013, 08:53 PM   #3 (permalink)
Senior Member
Thread Author (OP)
 
kokiangel's Avatar
 
Join Date: Nov 2009
Location: Helena, Alabama
Gender: Female
Posts: 630
 
Device(s): Verizon Galaxy Nexus, OG Droid
Carrier: Verizon

Thanks: 123
Thanked 138 Times in 90 Posts
Default

I thought I had the proper recovery before I began. I don't see multiple versions being created such as sdcard/0/0/0 but I do see an emulated as well as the sdcard/0 and my nandroids are being stored solely in the emulated area. I have not tried to revert to 4.1 as of this time.
kokiangel is offline  
Reply With Quote
Old March 27th, 2013, 09:24 PM   #4 (permalink)
ROM Developer
 
tdevaughn's Avatar
 
Join Date: Jan 2011
Location: Statesville NC
Posts: 1,007
 
Device(s): Samsung Galaxy Nexus - Sourcerized
Carrier: Not Provided

Thanks: 48
Thanked 395 Times in 268 Posts
Default

you must look in Data/Media data/media/0
to find where the data is actually stored. the others are symlinks to these areas.

If you are on a 4.2 rom then all your info needs to be in data/media/0
tdevaughn is offline  
Reply With Quote
Old March 27th, 2013, 09:28 PM   #5 (permalink)
Senior Member
Thread Author (OP)
 
kokiangel's Avatar
 
Join Date: Nov 2009
Location: Helena, Alabama
Gender: Female
Posts: 630
 
Device(s): Verizon Galaxy Nexus, OG Droid
Carrier: Verizon

Thanks: 123
Thanked 138 Times in 90 Posts
Default

I understand that. The question is can I safely delete the emulated folder? And will it cause problems if I do?
kokiangel is offline  
Reply With Quote
Old March 28th, 2013, 04:32 AM   #6 (permalink)
A guide with guides
 
teddyearp's Avatar
 
Join Date: May 2010
Location: Randle, WA
Posts: 2,142
 
Device(s): Samsung® SCH-I515 & Motorola® XT907
Carrier: Verizon

Thanks: 680
Thanked 697 Times in 425 Posts
Default Re: Another sdcard/0 problem

I think I understand your concern. There is no need to delete your emulated folder. It is just a symlink of your /data/media/0 folder, not an actual duplicate.
Crashumbc likes this.
teddyearp is offline  
Reply With Quote
Old March 29th, 2013, 06:01 PM   #7 (permalink)
Senior Member
Thread Author (OP)
 
kokiangel's Avatar
 
Join Date: Nov 2009
Location: Helena, Alabama
Gender: Female
Posts: 630
 
Device(s): Verizon Galaxy Nexus, OG Droid
Carrier: Verizon

Thanks: 123
Thanked 138 Times in 90 Posts
Default

Unfortunately that is not the case with my phone. Something has gone wrong and everything that downloads is going straight to the emulated folder. I can see the path! Even in TiBu the path points to the emulated folder. It is very strange. My recovery in CWM is 4.0.23 which I think is the correct one. I am going to try restoring my 4.1 ROM and then wipe everything and move forward from there and see if it solves the issue. I deleted the emulated folder making sure to leave the /data/media/0 folder intact and it was erased too! Nothing was left on my sdcard at all except what was in the secure area. All gone. Lucky for my I am paranoid and save to my desktop.
kokiangel is offline  
Reply With Quote
Old March 30th, 2013, 09:09 AM   #8 (permalink)
A guide with guides
 
teddyearp's Avatar
 
Join Date: May 2010
Location: Randle, WA
Posts: 2,142
 
Device(s): Samsung® SCH-I515 & Motorola® XT907
Carrier: Verizon

Thanks: 680
Thanked 697 Times in 425 Posts
Default

Well, I wish I knew what to say. Folks here told you to mainly look to /data/media/0, I said not to delete your emulated folder. I know that while I was on 4.2.x for a bit MyBackup was storing to a folder with 'emulated' in the name of it, but the information was also (or actually) in the proper folder under /data/media/0. I don't know why deleting your emulated folder deleted everything as here is the definition of 'symlink':
Quote:
Symbolic links operate transparently for most operations: programs that read or write to files named by a symbolic link will behave as if operating directly on the target file. However, programs that need to handle symbolic links specially (e.g., backup utilities) may identify and manipulate them directly.
A symbolic link contains a text string that is automatically interpreted and followed by the operating system as a path to another file or directory. This other file or directory is called the "target". The symbolic link is a second file that exists independently of its target. If a symbolic link is deleted, its target remains unaffected.
Finally, that version of CWM recovery is not at all current, in fact it is not even a version that was ever released for the Gnex.

I am sorry that I could be of more help, I wish you luck going forward.
teddyearp is offline  
Reply With Quote
Old March 30th, 2013, 09:21 AM   #9 (permalink)
Senior Member
Thread Author (OP)
 
kokiangel's Avatar
 
Join Date: Nov 2009
Location: Helena, Alabama
Gender: Female
Posts: 630
 
Device(s): Verizon Galaxy Nexus, OG Droid
Carrier: Verizon

Thanks: 123
Thanked 138 Times in 90 Posts
Default

Seriously on the CWM recovery? That is still the version I find on their website! ClockworkMod ROM Manager - Recoveries so where do I get the proper recovery?
kokiangel is offline  
Reply With Quote
Old March 30th, 2013, 10:32 AM   #10 (permalink)
ROM Developer
 
tdevaughn's Avatar
 
Join Date: Jan 2011
Location: Statesville NC
Posts: 1,007
 
Device(s): Samsung Galaxy Nexus - Sourcerized
Carrier: Not Provided

Thanks: 48
Thanked 395 Times in 268 Posts
Default

in rom manager... or in goo-im app you can get the latest versions of recovery
tdevaughn is offline  
Reply With Quote
sponsored links
Old March 30th, 2013, 10:43 AM   #11 (permalink)
A guide with guides
 
teddyearp's Avatar
 
Join Date: May 2010
Location: Randle, WA
Posts: 2,142
 
Device(s): Samsung® SCH-I515 & Motorola® XT907
Carrier: Verizon

Thanks: 680
Thanked 697 Times in 425 Posts
Default Re: Another sdcard/0 problem

In your link it is 6.0.2.3 not the 4.x.x. you mentioned. ROM manager as suggested would be best, or scary aliens android root toolkit.

Good luck
teddyearp is offline  
Reply With Quote
Old March 31st, 2013, 11:21 PM   #12 (permalink)
Senior Member
Thread Author (OP)
 
kokiangel's Avatar
 
Join Date: Nov 2009
Location: Helena, Alabama
Gender: Female
Posts: 630
 
Device(s): Verizon Galaxy Nexus, OG Droid
Carrier: Verizon

Thanks: 123
Thanked 138 Times in 90 Posts
Default

Sorry. I probably got my wires crossed. I am using recovery 6.0.2.3 and running JB 4.2.2. I got all tangled around with the numbers. I reverted to 4.1.0 and then updated very carefully to 4.2.2 this time. So far so good. I still see an emulated folder but it isn't the "go to" folder that my apps try to insist on any more.
Before, even TiBu was insisting on the backups being stored on /storage/emulated/...
Now it is putting them in storage/sdcard0/... which is correct. Whew! It was a long night Friday night to get to this point but worth it to resolve the issue. And I am really glad I copied my files to my desktop before I got delete happy!.

Thank you everyone for your help and advice. It was greatly appreciated. I would be lost without you all to hold my hand and walk me through fixing it when something like this happens.
jmar likes this.
kokiangel is offline  
Reply With Quote
The Following 2 Users Say Thank You to kokiangel For This Useful Post:
jmar (March 31st, 2013), teddyearp (April 1st, 2013)
Old April 1st, 2013, 09:23 PM   #13 (permalink)
A guide with guides
 
teddyearp's Avatar
 
Join Date: May 2010
Location: Randle, WA
Posts: 2,142
 
Device(s): Samsung® SCH-I515 & Motorola® XT907
Carrier: Verizon

Thanks: 680
Thanked 697 Times in 425 Posts
Default

kokiangel, it is not hard to get all the 'wires crossed', in fact is is very easy. But as you found all the numbers do mean something, when we try to help one who gets their 'wires crossed'.

And yeah, it is not nearly as easy to decipher as it was on the OG Droid. On that phone it was very clear as to what was on the sdcard (it had an actual sdcard slot) and what was not. On the Samsung SCH-I515 with it's 'virtual sdcard' the actual location becomes a bit harder.

So going forward, everything that is on your 'virtual sdcard' should always be looked at in /data/media (android 4.1.x) and/or /data/media/0 (android 4.2.x).

I hope that helps. . . . and

good luck
teddyearp is offline  
Reply With Quote
Old April 1st, 2013, 09:28 PM   #14 (permalink)
Senior Member
Thread Author (OP)
 
kokiangel's Avatar
 
Join Date: Nov 2009
Location: Helena, Alabama
Gender: Female
Posts: 630
 
Device(s): Verizon Galaxy Nexus, OG Droid
Carrier: Verizon

Thanks: 123
Thanked 138 Times in 90 Posts
Default

Thanks for clarifying again. I definitely learned something with this little problem. Just goes to show a person is never too old to learn something new.
kokiangel is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Samsung Galaxy Nexus > (Verizon) Galaxy Nexus - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:26 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.