[Q] Deleted /sdcard/storage/emulated -- SD Card Empty - Android Q&A, Help & Troubleshooting

I was going through my internal SD card over MTP, removing old folders I no longer need and/or are empty. I came across a folder labeled "Storage" within the SD card, followed by "Emulated". Within the emulated folder, there may have been one more, which then contained only a handful of files which were also in my "/sdcard/Download" folder. I began deleting the "/sdcard/Storage" folder, since it seemed unnecessary, but it was taking longer than the other almost empty folders so, I canceled it. Now the entire SD card is empty, other than default directories.
I already found the guide on data recovery, just curious what the hell happened...
Thanks in advance!

Related

[Q] Help! All Data Lost!

I have just noticed that all of my data on both my SGS2 internal memory and my SD card has gone!
It's totally bizarre! All my apps are fine, my home screens are fine, but all photos, music, and other files are gone.
My internal storage now only contains .android_secure and LOST.DIR, but the weirdest thing is the SD card. It contains all of the default and app folders that were previously on the internal drive, except without any of the user data (e.g. DCIM is empty where it should have photos & videos galore in there). However, the SD card does now contain 9 files called "FILL0", "FILL1"... through to "FILL9" and all of them are 1GB in size. These "FILL" files have no windows file extension.
Does anybody know what has happened here? It looks like the phone has suddenly taken all the internal data and copied it to the SD, while at the same time removing anything in any way precious to me and possibly storing it in these "FILL" files.
Can anybody make sense of this?
One correction to make on what I said above. I mislabeled my drives, so it's actually the SD card which has the 2 default files on it, and the phone memory that has the rest. There was no copying from the phone memory to SD after all, there was purely deletion of the entire SD, and then deletion & this weird dump of everything into "FILL" files on the phone memory.

SD Card Swap and Lost Apps

I used the instructions from iJimaniac to swap my storage from internal to external (love the mass storage now!) however all my apps that I originally had moved to the SD card have suddenly disappeared and now i have to remember and re-install them. I made a copy of everything under /mnt/sdcard and moved it to my external SD card before making the switch so that everything would still be linked ok. Any ideas on what went wrong? Note: i took everything on my external SD card and put it in a separate folder on my external SD card so I wouldn't lose any of that.
Well, I used a PC to copy .android_secure folder from the real external_SD to the new "fake" external_SD. If that doesn't work, I would copy back the original vold.fstab then move all apps to internal, then use modified vold.fstab and move your apps back to sd if you want. Remember to reboot after making a change. Several reboots might even be needed for all apps to show up (might want to try that before anything). Hope this helps!
Ok well the problem is apparently that the .android_secure folder on the sd card is empty. Strangely it also has no permissions and refuses to let me change it. Whenever i try to replace it with the full .android_secure folder it gives me a black screen and i have to restart. Any idea what might be wrong?
Well, it might not actually be empty, it looks empty when viewed with an android file browser, but when you look at it on a computer (might need to disable "hide protected system files" in windows folder options) you should see stuff in it. So, you need to copy the .android_secure folder FROM your REAL microSD card TO your REAL internal memory using a pc, not an android file browser. To be clear, I have figured out that android transfers the app to your sd card when you select "move to usb storage", so that can be deceiving. Your apps were on the sd card, but now you need to transfer them to your usb storage by moving the .android_secure folder. Hope you figure it out!
Ah something decided to start working again and all my apps came back! Thanks for your help!
No problem! What was probably wrong was your player was rebuilding the dalvik-cache. It sometimes takes a while I find. Glad you got it working.

Folder not mounting

My galaxy s5 started showing memory full when all storage programs said there was about 5 gb left.
I downloaded foldermount and it said it found the issue so it was going to repair it.
Well after I rebooted. The internal sd card(phone memory) is not mounting.
When connected to the PC, it shows 128mb.
on ES FIle explorer SDCARD shows "???" and when I attempt to open it ask what file I want to open it with, but with the program storage analyzer it finds the "data" folder just fine and lists all the files and folders within it.
In the phone settings options, it can show the amount of memory being used along with the media, mp3, apps, so the Folder is still there along with all the info, it is simply not mounting properly?
Thank you.
UPDATE: I found the path of where all my files are at, but the phone is not mounting it as the internal storage?
It is located at data/media/0 and mnt/sdcard0 or mnt/sdcard1 are missing.
* Aside from Phone being rooted, there were no other modifications
* Phone is running on original OS(as opposed to roms or such)
*There is not an external sd card in the phone
Folder mount will not do anything for you really without an SD card. After you use it to clear space you need to unmount all the folder it mounted to view what is actually in the folders. If not it will show the folder that it is linked to and look like it never worked. Changing your system data to SD data in your case keeps it in internal memory and does not free it up. You need to use folder mount with a SD card for it to help you. Saved me over 500Mb with it on my s5
intenselyinsane said:
Folder mount will not do anything for you really without an SD card. After you use it to clear space you need to unmount all the folder it mounted to view what is actually in the folders. If not it will show the folder that it is linked to and look like it never worked. Changing your system data to SD data in your case keeps it in internal memory and does not free it up. You need to use folder mount with a SD card for it to help you. Saved me over 500Mb with it on my s5
Click to expand...
Click to collapse
Sorry, long story short,
My phone mnt/sdcard and sdcard links are no longer there. Is there a way to recreate the links? Certain apps are still able to function because they are using the actual link, device/media/ect, ect, /0/ folders as opposed to mnt/sdcard/
I saw on another forum that
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
May help, but not sure if it is only for roms and not for original OS.
On another forum there was talk about recreating a syslink?
Solved:
Simply went to "system/bin" and erased the "sdcard" file and renamed the file "sdcard.backup" to "sdcard". Rebooted and it solved the issue.

Deleted "0" Folder on internal memory HELP!

So, one day I decided to cleanup some of the folder on my LG V10. I had it connected to my PC through USB on MTP mode. I started deleting some empty/old/unused folders. One of them was a folder labeled "0" (without quotes). I thought that was interesting. I don't remember exactly what was in the folder but I think it went like 0\legacy\titaniumbackup\. I do remember that titanium backup was the only apps folder in there. So I figured I would delete it (my phone isn't rooted anyway). A while after I deleted it I saw that all of my user data had been wiped clean!!! Internal and external sdcard had been wiped!!!(music, documents,downloads,DCIM folder and files, etc). After seeing that I remembered that some folders in linux/ android are symlink folders, especially when dealing with sdcards and stuff. So I figured that the "0" folder was one of the files.
But, why would that folder be on the root of the internal memory?
I had 30GB of pics and stuff on my 64GB micro SD. Removed it from phone and ran a recuva deep scan, but it only found like 42 files from the root folder on the sdcard. Also tried easeus and minitool recovery tools but to no avail....
Is there any why to get my files back or am I screwed?

Strange Bug on external SD card

Hi there
I am an advanced / long term Android user (although not a programmer) I hope i have posted in the correct location as I couldn't find anywhere else to post it.
in the root of my sd card some of the files that I have placed there mysteriously have had their extension renamed to .o
for example myvideo.mp4.o
it seems that the system doesn't recognize them, however simply removing the .o on the end of the extension fixes it. Any ideas? at first i thought it was some kind of cryptovirus. but as the files are fine once renamed that cannot be the case.
it doesnt seem to be happening within any directories on the external sd card or the internal sdcard
any help would be appreciated. :silly:

Categories

Resources