AOKP tried to wipe internal SD - Verizon Samsung Galaxy S III

I finally tried to update from 4.1.2 to 4.2.1 build 5 the other day, and was outraged when my internal sd (/sdcard) appeared blank. That's right, all my pictures, videos, downloads, everything, gone.. Even after restoring back to 4.1.2, nothing.
However, when booting into TWRP and going to the file explorer, and navigating to /sdcard, all my old files appear there.. Thanks to TWRP I was able to copy over my old internal SD card files to my external. However, I can't seem to find the place that AOKP now seems to think is my internal SD. Somehow /mnt/sdcard is pointing to a different place in my internal storage now and I cannot determine where.
Does anyone know what happened? Why does TWRP and AOKP find two complete different locations for \mnt\sdcard? How to I make AOKP point to where it used to?

if im understanding correctly this is completely normal.
youre stuff is moved to somewhere else. cant remember the file path. hopefully someone can psot it up.
check the OPs of the 4.2.2 threads and do a search its orobably pretty easy to find.

Its not moved. When you flash a 4.2.2 ROM it makes a "0" folder on your internal. It will only read from there. Anything not in that 0 folder will not be read. It has to do with the multi user support in 4.2.x from what I've read.
Sent from my Incredible 2 using Tapatalk 2

Thanks guys. With your responses I was able to find this:
http://teamw.in/androidmultiuser
It explains the situation. I completely skipped over the 0 folder. It just looked like some stupid temp directory. Case closed.

Related

SDcard0 Question

I went from 4.2.1 back to a TW rom, and was able to repair the filesystem by copying everything in the 0 folder and merging it with the SDCard0.
However, now I want to go back to 4.2.1 and flash the latest AOKP build. When I did it, it did not recognize anything that was on my internal sd card. In fact, it only thought that I had 12gb of storage on my internal sdcard instead of 16gb. Why is this happeneing? I restored my TW rom and saw that AOKP had created the new 0 folder with nothing in it (which I know is normal), but why doesn't the 4.2.1 rom recognize anything I have on my device's internal storage? Why didn't it transfer everything to this new 0 folder like it did last time?
Do I need to rename the Sdcard before flashing back to 4.2.1?
Any help would be great. I've searched around and was unable to find a solution that solved this, however I could just be confused.

ics to jb storage question

Alrighty, so I know that going from ics to a jb rom it moves your internal storage to /0/ or /emulated(I don't have my phone in front of me right now, so I don't know exactly what it is)
But I was wondering if there was a way to move everything to where it is normally on a jb rom
Reason behind this question is because if I go to /0/ there's another /0/0/ etc...
It's just getting confusing.
Maybe a script that moves everything?
Or would it be easier to back everything up and just to a complete internal wipe etc.. on it?
Thanks!
If it's just for convenience, then you could just move the folder, change the owner and permissions back to default and rename it. On my GS3, the location is /storage/sdcard0, but it's not a big deal because I have /sdcard linked to /storage/sdcard0.

[Q] Internal storage problem

I have a p5113 galaxy tab 2 originally running jb 4.1.1. I upgraded to cyanogenmod 10.1 jb 4.2.2....i don't know much about how the sd card setup works but when I use root explorer I can see my sd card and my external sd. When I was flashing the rom again I notices that what is usually the highest level of the file system isn't really the highest level. in other words what is usually /system is actually /0/system and there are other files at the same level as the /0 file. The files appear to me to be the left over bits from the previous os... In other words they are the /sdcard/android/ and sd/card/pictures type files.... I'm concerned that they are taking up space... How do u get access to these files and is if safe to remove them?
I know this want the most articulate explanation of the problem but I hope I explained it well enough..... It's like I have an sdcard directory containing my root directory. If that's the way the rom works that's fine, but I would like to remove the extra files to get more space
kemmycupid said:
I have a p5113 galaxy tab 2 originally running jb 4.1.1. I upgraded to cyanogenmod 10.1 jb 4.2.2....i don't know much about how the sd card setup works but when I use root explorer I can see my sd card and my external sd. When I was flashing the rom again I notices that what is usually the highest level of the file system isn't really the highest level. in other words what is usually /system is actually /0/system and there are other files at the same level as the /0 file. The files appear to me to be the left over bits from the previous os... In other words they are the /sdcard/android/ and sd/card/pictures type files.... I'm concerned that they are taking up space... How do u get access to these files and is if safe to remove them?
I know this want the most articulate explanation of the problem but I hope I explained it well enough..... It's like I have an sdcard directory containing my root directory. If that's the way the rom works that's fine, but I would like to remove the extra files to get more space
Click to expand...
Click to collapse
do factory reset

Files I can't see on my device are taking up space

So the other day while flashing from AOKP to CM11, it came to my attention that there are files on my phone that I can seemingly only see from my recovery. While finding the zip to flash in CWM(Which was in my downloads folder) , I noticed that I have to go through another /0/ folder to get to my actual downloads folder. Before that, there's another Downloads folder, along with a whole bunch of other stuff I must have downloaded a while back. It looks like an old version of my phone's data. There was even a flashable early CM10 rom on there.
I get the feeling this stuff is part of the reason my phone always seems to only have around a gig or two of space open despite it's 16GB capacity and the fact that all of my 40-some apps are under 100MB. It's irritating me to no end to know there are folders I can't access and delete on my phone. Anybody have any suggestions as to how to get rid of this stuff. The several times I've reset and deleted cache to flash a rom seems not to have done anything.
On a side note, really enjoying CM11!
You can thank Google for your troubles. With the 4.2 update Google introduced Multi-User. Basically its like it is Windows where you can have multiple user accounts and each user gets their own profile folder. This is what Google did essentially. The 0 folder is "User1" basically. The files are fine where they are at. They want cause any issues. But if you would like just hook your phone to your PC. Take everything out of the "0" folder and move the file to the root of your internal SDcard. Notice I said Internal SDCard (aka SDCard0) not root of system.
Sent from my SCH-I535 using Tapatalk

I've lost everything, including backups. Now starting over . Where's the SD card?

Hello,
Background story:
Yesterday, YouTube app wasn't working, so I made a Titanium Backup and Nandroid backup. I went to "Factory reset" and assuming Google is sane, and still only reset the internal storage not the emulated SD card, I proceeded with the reset expecting to be met with a tick field to choose whether or not to wipe the SD card. Surprisingly, my expectations weren't met. So turning on my phone afterwards revealed the hard truth... the very hard truth. I lost everything. The damn thing wiped the SD card as well.
Question:
Now to the question, after accepting what happened, I'm now in the process of restoring everything from scratch. Though I see that some apps are storing their data on /storage/emulated/legacy/ directory and others are choosing /storage/emulated/0/... I remember I always used storage/emulated/0 before the accident. So I want to confirm, which of the two is the emulated EXTERNAL SD card? Where do I store my "Data" stuff?
Clarification:
Here's the folder structure:
/storage/
has /storage/emulated/ AND /storage/sdcard0 (shortcut)
/storage/emulated/
has /storage/emulated/0 AND /storage/emulated/legacy
/storage/emulated/0
has /storage/emulated/0/(folders include another 0 and also regular SD card files). Accessing the second /0/ shows clockworkmod/
/storage/emulated/legacy
has has /storage/emulated/legacy/(folders include another 0 and also regular SD card files). Accessing the second /0/ shows clockworkmod/
So legacy and 0 has the same inside folders. Deleting one file also deletes it from the other. So what's the difference?
info:
Nexus 5
KitKat 4.4
Rooted
CWM recovery
They're all links to the same place. Go to general and then "sticky roll-up". In there i wrote a nexus 5 data thread that explains them all
If you have a 0 folder within a 0 folder, that means you had a problem which I discuss briefly in my /sdcard problems thread, also in general
rootSU said:
They're all links to the same place. Go to general and then "sticky roll-up". In there i wrote a nexus 5 data thread that explains them all
If you have a 0 folder within a 0 folder, that means you had a problem which I discuss briefly in my /sdcard problems thread, also in general
Click to expand...
Click to collapse
Thanks, I'll check that out.
UPDATE:
I saw this thread here, and it seems like case 5 is closest to mine. Though the wording is a bit confusing or not an exact replica of my case since I see ALL of my SD card files in the /emulted/0/ and /emulated/legacy/ not just a 0/ folder.
When I open /Data/ I find absolutely nothing! /Storage/emulated/ has everything. Do I move stuff (copy-paste) from /emulated/0/ to /data/media/0 (i.e. I'd have to create media/ and then 0/ myself)? I think I'm wrong, so a bit more help would be much appreciated. Also, stating the final destination of the SD card would help (the desired result) so I can move stuff around to get that result.
devil snake said:
Thanks, I'll check that out.
UPDATE:
I saw this thread here, and it seems like case 5 is closest to mine. Though the wording is a bit confusing or not an exact replica of my case since I see ALL of my SD card files in the /emulted/0/ and /emulated/legacy/ not just a 0/ folder.
When I open /Data/ I find absolutely nothing! /Storage/emulated/ has everything. Do I move stuff (copy-paste) from /emulated/0/ to /data/media/0 (i.e. I'd have to create media/ and then 0/ myself)? I think I'm wrong, so a bit more help would be much appreciated. Also, stating the final destination of the SD card would help (the desired result) so I can move stuff around to get that result.
Click to expand...
Click to collapse
The best thing you could do to get you're device working correctly is to flash the factory image again. Right afterwards do a factory reset. You'll have to resetup your device again but it should work correctly
Sent from my Nexus 9 using XDA Free mobile app

Categories

Resources