[INFO][SHAREDPAIN]MTP shows /sdcard/sdcard, but deletes /sdcard instead - Samsung Galaxy Nexus

So, when using dolphin hd for the first time, the downloads folder was set such that it created a folder on the sd partition, at /sdcard/sdcard/Downloads, and put some downloads there; (i'd since had fixed dolphin to store in /sdcard/Downloads)
So, we have /sdcard/sdcard/Downloads
In MTP via windows 7, it shows the folder sdcard/downloads, you can explore it, etc.
BUT, when i went to delete this redundant folder via mtp, specifically, deleted /sdcard/sdcard....mtp deleted /sdcard entirely instead.
I had a feeling this is what happened last time i lost my whole sd partition, but wasn't sure what caused it until now. But, rather than waiting and just deleting the file safely from the term on my phone, instead i rushed, deleted, and oh well, my fault. Funny cause i was backing up files at the time while cleaning up. lol. Passing on my pain
Maybe someone can pass this onto someone involved in development (no way im posting in there lol)

Related

Found Files on my SDCard

I was cleaning out the unneseccary files on my sdcard and i found three files and a couple folders on the root of the directory and I have no idea what they are, so therefore i don't wanna delete them. I've tried googling the file names but can't find **** on them. They're called "ldb" which is a config file, then "ldb.db-wal" and "ldb.db-shm", is it safe to get these off of there, the folders are "termp" which was "BBSAD.pkg" "bwad.pkg", "PMAD.pkg", "PVMAD.pkg" and "SFAD.pkg". bugreports which is empty, can i get erid of that, and for some reason when i installed 4EXT, and do a NANdroid backup the backups still go into my clockworkmod folder. anyway to change that? I'm extremely OCD about the organization of my files and having these things i have no idea what they're for on my sdcard is just annoying to me. any help is appreciated
p.s. sorry for the long period of not being active, my phones cut off at the moment so i'm using it as a gameboy/mp3/movie device
4EXT: It's based off CWM so (as hard as it may be) you'll have to live with it. Sad face, I know, I'm super anal when it comes to my SD card!
TA4S

[Q] SD card seemed to double, cannot erase portion of it

I have been having a bit of a problem with my Galaxy Nexus and its driving me nuts because of the storage situation..
Up until a couple weeks ago, I had the latest (at that time) version of AOKP on the phone (4.1.?, JB build 2 possibly). Then, around the first of the year, they updated to their 4.2 version JB-MR1 Build 1. The first time I installed the ROM, I installed it with the wrong GAPPS, ICS vs JB, and the phone went all haywire. I tried to get into the SD card to check which GAPPS was installed, but there were SO many force closes, I couldn't do anything. I rebooted into recovery, tried to go to my SD card, but ALL my info was gone. Basically a clean SD card.
So, I within minutes, I restored back to what I was on and everything was happy. No problems. I then downloaded the right GAPPS, installed the new ROM and GAPPS and everything worked great. Happy happy joy joy..
Today, I went to do a restore and remove some old backups and again, there is a second SD card. There is the normal one, and one labeled under /0/ in the directory.
I can access that directory while in recovery, but cannot with root explorer (or via my computers explorer) to erase it. The problem is, I think it is doubled up my photos and media, and now the card is full..
So, long story just to ask, how can I get rid of this other SD card directory? When talking with a co-worker, he mentioned it creates another directory when a second profile gets created..something I never did.
Any thoughts on how to get this removed so I can have my space back?
MikeDaub said:
I have been having a bit of a problem with my Galaxy Nexus and its driving me nuts because of the storage situation..
Up until a couple weeks ago, I had the latest (at that time) version of AOKP on the phone (4.1.?, JB build 2 possibly). Then, around the first of the year, they updated to their 4.2 version JB-MR1 Build 1. The first time I installed the ROM, I installed it with the wrong GAPPS, ICS vs JB, and the phone went all haywire. I tried to get into the SD card to check which GAPPS was installed, but there were SO many force closes, I couldn't do anything. I rebooted into recovery, tried to go to my SD card, but ALL my info was gone. Basically a clean SD card.
So, I within minutes, I restored back to what I was on and everything was happy. No problems. I then downloaded the right GAPPS, installed the new ROM and GAPPS and everything worked great. Happy happy joy joy..
Today, I went to do a restore and remove some old backups and again, there is a second SD card. There is the normal one, and one labeled under /0/ in the directory.
I can access that directory while in recovery, but cannot with root explorer (or via my computers explorer) to erase it. The problem is, I think it is doubled up my photos and media, and now the card is full..
So, long story just to ask, how can I get rid of this other SD card directory? When talking with a co-worker, he mentioned it creates another directory when a second profile gets created..something I never did.
Any thoughts on how to get this removed so I can have my space back?
Click to expand...
Click to collapse
Android 4.2 has a multiuser framework.
The "0" folder you are seeing is the first user.
Although it's only possible to create more users on tablets without tweaks
Sent from my ASUS Transformer Pad TF300T using Tapatalk HD
Lord Yurij said:
Android 4.2 has a multiuser framework.
The "0" folder you are seeing is the first user.
Although it's only possible to create more users on tablets without tweaks
Sent from my ASUS Transformer Pad TF300T using Tapatalk HD
Click to expand...
Click to collapse
Am I crazy saying that it could be taking up a couple gbs of space on my card? It seems that since this started up, my SD is almost full.
Any idea how to merge, or remove that? I can only access the 0 folder while in recovery, and no other time.
They put in symlinks to the folder so you can access it from different directories. The information shouldn't be doubled unless you personally did it.
Reading this might help you understand:
http://forum.xda-developers.com/showthread.php?t=2107194
Lord Yurij said:
Android 4.2 has a multiuser framework.
The "0" folder you are seeing is the first user.
Although it's only possible to create more users on tablets without tweaks
Sent from my ASUS Transformer Pad TF300T using Tapatalk HD
Click to expand...
Click to collapse
eqjunkie829 said:
They put in symlinks to the folder so you can access it from different directories. The information shouldn't be doubled unless you personally did it.
Click to expand...
Click to collapse
Thanks for the everything and helping me understand...
I did not copy over anything to that directory, and in fact cannot even access it outside of Recovery. It just looked to me that things were copied over by the file structure, which is why I thought it duplicated things. It just seemed odd to me that when all this happened, my SD card seemed to get much fuller..
Thanks again..
MikeDaub said:
Thanks for the everything and helping me understand...
I did not copy over anything to that directory, and in fact cannot even access it outside of Recovery. It just looked to me that things were copied over by the file structure, which is why I thought it duplicated things. It just seemed odd to me that when all this happened, my SD card seemed to get much fuller..
Thanks again..
Click to expand...
Click to collapse
Late but useful info for "the next guy". When you install 4.2 its creates a multi-user environment, correct. And you do loose half your space (assuming it was full when you upgraded). Here's why. In 4.2 there is only /data/media which is where your internal SD card (sdcard) is symlinked to (ie: the actual location of your files). When you install 4.2, all of /data/media is copied to /data/media/0 for the first user, then /data/media/11 for the second user, then /data/media/12 for the third user and so forth. Each user gets their own /data/media directory which has all the files that the single user had in 4.1 For each user you add, say its only yourself, you just lost half your space because /data/media still exists but now so does /data/media/0 (a duplicate copy). So you sdcard's space is divided by the number of user accounts your system has installed in 4.2. Hope this clarifies things.
elfaure said:
Late but useful info for "the next guy". When you install 4.2 its creates a multi-user environment, correct. And you do loose half your space (assuming it was full when you upgraded). Here's why. In 4.2 there is only /data/media which is where your internal SD card (sdcard) is symlinked to (ie: the actual location of your files). When you install 4.2, all of /data/media is copied to /data/media/0 for the first user, then /data/media/11 for the second user, then /data/media/12 for the third user and so forth. Each user gets their own /data/media directory which has all the files that the single user had in 4.1 For each user you add, say its only yourself, you just lost half your space because /data/media still exists but now so does /data/media/0 (a duplicate copy). So you sdcard's space is divided by the number of user accounts your system has installed in 4.2. Hope this clarifies things.
Click to expand...
Click to collapse
Thanks. After a bunch of research, that is what is happening, and why my phone is always full of "stuff" now.
Now, if I could only access the /0 folders from my desktop...then I would be set..
MikeDaub said:
Thanks. After a bunch of research, that is what is happening, and why my phone is always full of "stuff" now.
Now, if I could only access the /0 folders from my desktop...then I would be set..
Click to expand...
Click to collapse
you do. its what you see when you plug your phone in.
if you have a old recovery and are flashing roms, it will create multiple /0 folders.
Zepius said:
you do. its what you see when you plug your phone in.
if you have a old recovery and are flashing roms, it will create multiple /0 folders.
Click to expand...
Click to collapse
If that is the case, I would like to access the standard folder, the copy, or original, or whatever the none /0 folder is..
MikeDaub said:
If that is the case, I would like to access the standard folder, the copy, or original, or whatever the none /0 folder is..
Click to expand...
Click to collapse
then you need root to explore /data/media/
Zepius said:
then you need root to explore /data/media/
Click to expand...
Click to collapse
Right. I would just find it handy to do via my desktop...
MikeDaub said:
If that is the case, I would like to access the standard folder, the copy, or original, or whatever the none /0 folder is..
Click to expand...
Click to collapse
"/data/media/" and "/storage/sdcard0/" or even just "/sdcard/" are the same thing. You dont have copies of files on your phone. If you delete it in one location, it deletes in the other because they are the same. You have the "0" folders on "storage/sdcard0" as well. If you do happen to have copies of files, you can organize it all on your computer if you plug in your phone.
MikeDaub said:
Thanks. After a bunch of research, that is what is happening, and why my phone is always full of "stuff" now.
Now, if I could only access the /0 folders from my desktop...then I would be set..
Click to expand...
Click to collapse
Please thank me by hitting the "thanks" button

gs3 cyanogen + clockwork storage issues

So I'm using cyanogen 10 and also have clockwork on my phone. I had issues before where the phone would act crazy and I had to do a wipe and restore from a backup file. That's easy
What has seemed to happen is that every time those episodes happened, it would create a new image on the internal memory. I figured this was going on but realized it actually was when I went into the files to clear some stuff out when my phone said low memory. What I am wanting to do is to merge this stuff all together and get rid of what isn't needed.
For example I have a /0/ file which is the same as the /sdcard/ file. Which has the same stuff, just updated.
What do you recommend to use to handle this on a computer? I'd much rather handle it on a laptop then through the phone.
Thanks for the help.
Just copy one of the multiple files to your computer... format the phone memory all together then copy and paste it back.... Or do you want to do something different?
Should update to latest recovery to stop that from happening (at least on TWRP), and stop using nightlys also, if they keep causing crazy episodes.

Help I deleted all my files!

So I did a factory reset to try and free up some space but i didn't know it wouldn't. So I went in and saw that my legacy folder was the same a my emulated and sdcard0 and all that so I figured it was coped into several directories. Without thinking or google I deleted it. Big mistake. I cant get anything back. Everything is gone. obb and everything is gone. Downloads folder gone, everything. I did notice that if i start installing apps it add things like my android folder back in. All the other files are there in the home directory. The problem is in my /storage. in storage I had /storage/emulated /storage/sdcard0 /storage/usbdisk they all had the same files so that's why I deleted it. I feel so stupid because i always read about things before I do them for this reason. ANYWAY, my question is. Is there anyway to get my folders back. I don't care if its just the ones that come with the android out of the box. If i have to put them back manually then i guess thats what I have to do. Is there any work around or anyway someone could help me out get these dam directories back. If your going to tell me to use search don't bother because i already tried, unless you can give me a good search query to use.
Go into the android development section and use the tool to recover your tablet. It works great.

Why are so many apps storing their data on /extSD/ without my permission?

I did a fresh install of 47A stock yesterday. I wiped everything, I wiped my entire internal storage and I deleted everything Android related from my 64GB MicroSD card. The only thing left on the card was a single folder for file storage, a TWRP backup, and a Titanium Backup folder.
Well, as soon as I booted into the ROM for the first time and started installing files, a folder called /Android/ immediately appeared on my 64GB card. It's got two folders /data/ and /media/ in it. Inside the /data/ folder are folders for almost every app I have installed since installing this ROM. Inside those folders are various other folders, depending on the app. Most of them are named 'files' or 'cache' or 'media' or generic stuff like that.
So does anyone know why this would happen and how I can prevent it? I didn't do anything to make this happen, this isn't something I set up. It just happens as soon as I install these apps, on a brand new clean install. (Worth mentioning, this clean install isn't the first time it's happened. This is just the first time I'm actually looking into it or trying to fix it.)
One of the strange things is, most of these folders don't have anything in them. Picking one at random, /extSD/Android/data/au.com.shiftyjelly.pocketcasts/files has nothing in it. I found one or two of these bottom level folders that have files in them. /extSD/Android/data/.com.google.android.music/files has a 36 byte file in it called "_playmusicid" for example. But the vast majority of the bottom level folders are just empty.
I've attached a screenshot showing what this /extSD/Android/data/ folder looks like. Seriously puzzled here.
Actually it seems like /.com.google.android.music/files/ might be the only file with any actual data in it...

Categories

Resources