DELETED storage/emulated/0 accidently - Nexus 5 Q&A, Help & Troubleshooting

DEVICE - NEXUS 5 (un-rooted)
PROBLEM - DELETED storage/emulated/0 accidently
I connected my phone using usb to computer, phone connected as a device and nexus5 icon was created with other directories, I clicked nexus5 icon and then clicked internal storage folder which has all the folders made on phone like music, downloads, android etc. As I was cleaning my phone of redundant folders and files created by apps. I came across folder naaed storage, it has another folder emulated which in turn had file named 0. I thought of it as a file created by some app so deleted (Shift + delete) it. All the images of my phone i.e DCIM, whatsapp, screenshots etc got deleted and phone memory got free. Now my Google Music app can't read my songs present on my phone. I just re-booted (restart) my phone and nothing is resolved.
Now, I connected my phone to compugter via usb, nexus5 icon is shown but when I click it "folder is empty" message is shown.
Please help to get files back and resolve whatever issues (i.e Google Music unable to read songs present on phone) have occured because of deleting that file

aditya7550 said:
DEVICE - NEXUS 5 (un-rooted)
PROBLEM - DELETED storage/emulated/0 accidently
I connected my phone using usb to computer, phone connected as a device and nexus5 icon was created with other directories, I clicked nexus5 icon and then clicked internal storage folder which has all the folders made on phone like music, downloads, android etc. As I was cleaning my phone of redundant folders and files created by apps. I came across folder naaed storage, it has another folder emulated which in turn had file named 0. I thought of it as a file created by some app so deleted (Shift + delete) it. All the images of my phone i.e DCIM, whatsapp, screenshots etc got deleted and phone memory got free. Now my Google Music app can't read my songs present on my phone. I just re-booted (restart) my phone and nothing is resolved.
Now, I connected my phone to compugter via usb, nexus5 icon is shown but when I click it "folder is empty" message is shown.
Please help to get files back and resolve whatever issues (i.e Google Music unable to read songs present on phone) have occured because of deleting that file
Click to expand...
Click to collapse
Those files are gone man, u might have been able to save them prior to rebooting the device but they are gone now and your going to need to flash the factory image in order to fix your file system, devices have a certain structure of creating file systems, that's why they tell ppl not to delete anything if your not absolutely sure u know what your doing, so like I said, those files are gone, u may be able to get your pictures back if they were backed up using Google photos, but u still need to flash the factory image to fix your file system
Sent from my XT1526 using Tapatalk

Related

What's wrong? Files in DCIM\100MEDIA not showing up. Not even in File Explorer

Everything WAS working fine. Then suddenly none of my images in the 100MEDIA folder will even show up. They wont show up in HTC Browser nor will they show up in File Explorer. Explorer shows there are no files in there. I thought they got deleted so I took the SD card out and put it in my computer. Sure enough, every file is THERE. Whew.. I backed them up and re-inserted into phone, then booted phone back up. They still aren't showing up. One problem I noticed was that I had a duplicate 100MEDIA folder in the root directory of the storage card. I forgot I made a backup folder one time and forgot to delete the copy I moved. I noticed on the computer that every picture that was saved in the main 100MEDIA folder , duplicated itself in the copy folder. Yes, even the most recent pics I took long after I copied that folder. I deleted that copy and rebooted... still, they are not showing up. I took 3 pics earlier today, the very last one is in the 100MEDIA folder, but the other 2 are missing. They arent even on the device memory. I dont know where they went.
How do I get the images to show up again? What is screwed up? There is no longer a duplicate folder. Yeah, I had figured somehow the dup screwed it up. I just don't know why I cant see any of the files in there now.
Never mind, I fixed it. The dupe didn't screw it up, the folder just wouldn't show up, now would any of the files. I had to delete it, then open the camera , set settings to save in storage card, take a pic then go to view it in the browser. No idea why it did this. Wouldn't even see the files using File Explorer.They were there, just wouldn't show them. Dumb. Apparently some WM phones had this problem in the past on the Touch Pro and Touch. Deleting the folder is the only way to get it to work again.
this can happen if you unplug your TP2 too quickly from the pc/laptop, Tp2 wont see the sd anymore and will create anohther SD folder (empty)...just could be man...good you got yours fixed
How to delete duplicate files
Here is a good tool to find and delete duplicate files
www . duplicateFilesDeleter . com
Hello, if it create another SD folder, would my previous one wipe out ? All my pictures are gone.
hbenz2008 said:
this can happen if you unplug your TP2 too quickly from the pc/laptop, Tp2 wont see the sd anymore and will create anohther SD folder (empty)...just could be man...good you got yours fixed
Click to expand...
Click to collapse

Recovering lost files

Hi guys,
I used the app "Hide It Pro" and hid about 800 files.
After trying to unhide them again, the app crashed and only about 140 files were restored.
As the Nexus can't be mounted as a mass storage device on PC, I can't use recovery software there.
I tried two recovery apps for android which found nothing.
Is there still anything I can try?
Edit:
Got everything back! The gallery just shows the 140 files, connected to the pc there is only 1 file visible, but using a file explorer on the phone actually shows that all of them are there.

[Q] Space not freed after messing with .thumbnails

Heya guys,
this is mostly a copy of a thread I created in a device-specific forum (original thread), but since nobody was able to answer the question there and considering it doesn't seem to be device-specific after all, I figured I'd go ahead and ask here as well. The copy & paste part begins here, with slight modifications:
A few days ago, I found that I was in dire need of some more free space on my Samsung Galaxy S4 / GT-I9505's internal storage and found that only the contents of /sdcard/DCIM/.thumbnails were taking up space. After a while of trying to get rid of those files that kept creating themselves again, I followed some advice I read on an Android forum: I deleted the contents of the .thumbnail folder, went to Settings -> Apps and cleared the data of the Gallery and Media Storage apps, respectively, before rebooting the phone.
The contents did disappear for good, but neither Total Commander nor the list of installed apps in the settings nor the Storage summary in the settings showed any different amount of free space than before. To make matters worse, the number didn't even change after I found and deleted about 1 GB of files left by an already uninstalled app, i.e. it seems to be stuck on that value. At the same time, SD Maid tells me that I should have a good 5 GB of free space more than the system is showing. Neither restarting nor wiping the cache and dalvik cache helped.
My rooted GT-I9505 is running this unofficial port of AOKP 4.3, Milestone 1, and version 6.15.6 of PhilZ/CWM Advanced. I'm not sure whether there's more information I might need to provide, other than that the size of the thumbnails files apparently exploded (about 4 GB) when I moved quite a lot of data and obb folders to my external storage using FolderMount.
I didn't find any information about this kind of problem anywhere and am afraid I messed up so badly that I might need to reflash...or worse. Do you have an idea how I can try to fix it?
You could try installing Disable Service and forcing the media indexing service to never run.
gordon1986 said:
You could try installing Disable Service and forcing the media indexing service to never run.
Click to expand...
Click to collapse
Thanks for the input! That sounds like a plan, but I'm not really sure whether I'm doing it right. I got the app, figured the media indexing service had to be found in the Media Storage app's entry, but I only found "MediaScannerService" and "MtpService" there. Since I try to be more careful now, I'd rather not deactivate any of those without being sure that it is what I am aiming for.
So, long story short: Is either of those the media indexing service or do I have to look somewhere else?
Best thing to do is delete the .thumbnails folder in DCIM folder. After this create a new file with the name .thumbnails in the DCIM folder.
Note: You have too delete .thumbnails FOLDER and create .thumbnails FILE. You can use es file explorer to do this.
It is based on the simple principle that in Linux ext file system a file and folder cannot have the same name.
Sent from my LT28at using xda app-developers app
Hit Thanks if this helped you.
osamaanjum said:
Best thing to do is delete the .thumbnails folder in DCIM folder. After this create a new file with the name .thumbnails in the DCIM folder.
Click to expand...
Click to collapse
While I wasn't sure it would help, I tried what you suggested. Alas, it didn't work; the .thumbnails folder is empty without freeing the space taken by its former contents since I did what I described in my original post, after all. However, should I manage to fix this problem with a reflash, I suppose I'll do just that, replacing the folder with an empty file of the same name. Thanks.
It works for me.
I 've uploaded the image of DCIM directory (folder). In place of .thumbnails folder you can notice .thumbnails file.

DCIM folder shown as an empty folder

Hello, I'm not sure if it's a bug or something but lately I have issues connecting OPO with my PC via USB.
Thing is, everything works fine except for the fact that DCIM folder is shown as an empty folder. And no matter what I do, every time I connect my phone that folder is shown as an empty folder.
Every other folder can be browsed normally, media in other folders is visible.
1) no, folder isn't empty
2) no, connection it's not in charging mode. No matter if I set it in MTP or PTP mode, same thing happens. DCIM folder seems empty.
3) tried on couple computers, win7 and win10 os, same thing.
4) doesn't matter if I connect my phone while it's active or in sleep
OnePlus One has latest CM13, it's not rooted.
Any ideas?
WolverineZG said:
Hello, I'm not sure if it's a bug or something but lately I have issues connecting OPO with my PC via USB.
Thing is, everything works fine except for the fact that DCIM folder is shown as an empty folder. And no matter what I do, every time I connect my phone that folder is shown as an empty folder.
Every other folder can be browsed normally, media in other folders is visible.
1) no, folder isn't empty
2) no, connection it's not in charging mode. No matter if I set it in MTP or PTP mode, same thing happens. DCIM folder seems empty.
3) tried on couple computers, win7 and win10 os, same thing.
4) doesn't matter if I connect my phone while it's active or in sleep
OnePlus One has latest CM13, it's not rooted.
Any ideas?
Click to expand...
Click to collapse
Why don't you try connect it via any other medium?
For example,
https://airmore.com/help/android/photo-android-to-pc.html
I'm not saying it's a permanent solution but atleast an alternative for now.
WolverineZG said:
...DCIM folder is shown as an empty folder. And no matter what I do, every time I connect my phone that folder is shown as an empty folder...
Click to expand...
Click to collapse
It happened to me too, and I solved with a file manager (I used ES File Explorer Pro).
I created a new "DCIM-new" folder, moved all DCIM contents to "DCIM-new", renamed original DCIM to "DCIM-old" and, finally, renamed "DCIM-new" to DCIM. When reconnected to PC in MTP mode, DCIM content reappeared in Windows Explorer.
Mr.Ak said:
Why don't you try connect it via any other medium?
For example,
I'm not saying it's a permanent solution but atleast an alternative for now.
Click to expand...
Click to collapse
Thank you, it's pretty nice app. Would be better if there is something like that but to recognize your device within your local network. Because now I'm limited by my up/down provider bandwidth.
fastleo63 said:
It happened to me too, and I solved with a file manager (I used ES File Explorer Pro).
I created a new "DCIM-new" folder, moved all DCIM contents to "DCIM-new", renamed original DCIM to "DCIM-old" and, finally, renamed "DCIM-new" to DCIM. When reconnected to PC in MTP mode, DCIM content reappeared in Windows Explorer.
Click to expand...
Click to collapse
Haven't tried that yet, I'll try and see if it works. Thanks :good:
Did that today and it worked. But somehow it lost 600 files after renaming folder back to DCIM. Old folder had little over 2000 files, now it has 1409. Have no idea what happened.
Was having the same issue, what you have to do is simply plug in your pendrive (if you have one)through otg cable and just copy paste your files to your pendrive and then to your computer.

Deleted 'empty' sdcard folder, now everything is gone?

So, as the subject states. There was a folder on my phone called 'sdcard' and it was empty, so I deleted it - now all my photos and everything is gone... But, I can see the files on my computer, I think? Yet nothing opens and it can't be copied to my PC. So, how do I get everything back? Can I?
I'm on a rooted Google Pixel - Stock rom.
It seems like you have deleted a directory junction (also called a symlink).

Categories

Resources