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.
Last edited by kokiangel; March 27th, 2013 at 05:13 PM.
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.
If you are helped by one post, hit the "thanks" button.
If you are helped by a whole thread, hit the "like" button
Last edited by teddyearp; March 27th, 2013 at 06:41 PM.
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.
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.
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':
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.
Sorry. I probably got my wires crossed. I am using recovery 126.96.36.199 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.
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).