usbstorage empty since ICS update - Galaxy Note GT-N7000 General

Anyone else seen this?
My usbstorage area used to contain a number of books and files which I could browse and use fine on GB, since the ICS update this directory is empty when browsed on the phone yet when I connect to PC I can still view all the files?

straxusii said:
Anyone else seen this?
My usbstorage area used to contain a number of books and files which I could browse and use fine on GB, since the ICS update this directory is empty when browsed on the phone yet when I connect to PC I can still view all the files?
Click to expand...
Click to collapse
In ICS, ur external memory had been changwd path to /emmc...
Try using a file explorer from phone to go under that directory
Noted From My G.NOTE Using XDA Premium

joshua said:
In ICS, ur external memory had been changwd path to /emmc...
Try using a file explorer from phone to go under that directory
Click to expand...
Click to collapse
ICS does not necessarily mean CM9
The "USBStorage" folder on the internal memory is a link that is only set when the phone is attached to a USB device and is supposed to be used when you want to access a USB stick plugged in via a USB2GO adaptor.
I recommend not putting anything into that folder though. Presumably the phone is "protecting" the contents to stop you putting things in there when you're not really supposed to.

Thanks, I am on stock ICS rooted.
I guess they tightened this up since GB, I'll move the files

Related

Files on SD card without restarting

Hi at all,
everytime I put files on the sd card, I have to reboot Android because without ES File Explorer won't show the new files I put on the memory card.
Even "Refresh" in ES File Explorer doesn't helo. Is there any other way?
Thanks!
Wifi sync is your friend
lamajstro said:
Hi at all,
everytime I put files on the sd card, I have to reboot Android because without ES File Explorer won't show the new files I put on the memory card.
Even "Refresh" in ES File Explorer doesn't helo. Is there any other way?
Thanks!
Click to expand...
Click to collapse
This is a well documented problem. I think it's to do with the way that android sees the SD card with booting from it but don't quote me on that. As far as I know, the best ways round it are:
1. Use dropbox. Free 2gb account and can be very useful.
2. FTP. This is my personal favourite. SwiFTP is a free FTP server for android and there are many free ftp clients for PC/Mac/Linux available. I use FileZilla (opensource ftp client).
3. I believe that if you unmount your SD card before copying files over, then remount however I don't find it particularly successful.
There are other ways like shared folders, email files etc but the top 2 above are the best for me. I use dropbox for small files and one-offs or if I'm copying a lot of stuff and don't want to reboot to winmo, then FTP.
It's also worth noting that if you are a windows user then winamp can sync music over wifi providing you install the winamp android client. However both winamp for windows and android are free.
Hope this helps..
enjoy
Ok, thank you. But that's bad.
The problem is not only that I want to put files through USB on it, it happens also when I use CurrentWidget for example that wants to create a log file on the sd card. Hmm...
I use MDJ Froyo HD 4.6, and there are practically no problems when using mass storage option... After unplugging the files are on the SD card... Only sometimes have to reboot, but not very often...
Why so complicated? Use "Multi Mount SD Card" (it´s free) to connect to PC and you will see new files without rebooting.
lamajstro said:
Ok, thank you. But that's bad.
The problem is not only that I want to put files through USB on it, it happens also when I use CurrentWidget for example that wants to create a log file on the sd card. Hmm...
Click to expand...
Click to collapse
If you're now saying that applications are unable to create files on the SD then there is something wrong with your card. I'd recommend copying everything off it and reformatting it (use disk management to format it, and use the largest cluster size available).
Some builds suffer from this problem and some don't.
Im using HD2ONE 0.3.6 and it's working fine. File explorer detects the new files after transferring via USB Cable
I love this build paired up with the CM6.1.1 Gingerbread Theme
kashifsiddique said:
Some builds suffer from this problem and some don't.
Click to expand...
Click to collapse
I've heard many people complain about not being able to see files after copying them across, but I've never heard anyone say that an app could not make a file on the sd card.
I am having the same exact problem. I was transferring files from this PC to my phone and everything was going fine (it refreshes right away after disconnect) then suddenly, my SD Card got corrupted and I was forced to reformat. I used the same ROM (Darkstone's SUPERAM FROYO) and after that, it won't sync anymore. I even tried removing it and using the HD2ONE (mentioned above) ROM and it was the same. I went home, copied everything from my SD backup from the other PC and same symptoms.
I thought I was missing a sync app or something but no. I looked into each of the folders I copied and most of them are blank.
I hope someone can save us!
I find it easiest and safest to just use ES Explorer to access the network shares and copy files wirelessly. The way our data.img is mounted, giving the pc full access to the sdcard is just not a good move. There was good reason when you connected to windows' sync software it disables your phone from accessing the card.
Even though the hd2one build seems to handle it correctly I almost never do it anymore unless it's for big files. It saves the wear and tear on the usb port anyway.
I had that "problem" too, but for me it was easy to solve. Here is the whole procedure:
So, i want some files to put on my sdcard, i plug in the usb cable and select the option "use as a storage", dont check the "use allways" or "dont ask again" (or whatever this is called on your machine). Now the computer "see" the phone and i put my files on it. In this moment i cant browse the sdcard on my hd2, because its reserved for windows now, (thats why currentwidget cant write onto it, same if you have a wallpaper in some "wallpaper" folder on sd).
Now, when i am done, usually i unplug the usb cable for some seconds and then i plug it in again and choose the option "charge only" and the sdcard gets mounted in android like it should and all my new imported files are visible.
Its the same on WinMo, if you choose there the "HDD" option, you cant browse the sdcard on the mobile. Only if you choose "use active sync"(slower) you are able to browse the sdcard.
cheers
ps: the quickest way for me now is to use wifi and shared folders

How do I navigate to the USB drive?

I had it at one time but because I'm an Android newbie, I have no idea where to look.
Using Astro or ES.
rorytmeadows said:
I had it at one time but because I'm an Android newbie, I have no idea where to look.
Using Astro or ES.
Click to expand...
Click to collapse
It's ok, we all start somewhere right?
Load up astro hit home then up and your usb storage device is whatever is in usb_storage. Remember to give it a few secs to detect it and prepare the drive.
Your SD card (internal) is sdcard and your microsd is external_sd.
GL.
Hope this helps.
Neoprimal said:
It's ok, we all start somewhere right?
Load up astro hit home then up and your usb storage device is whatever is in usb_storage. Remember to give it a few secs to detect it and prepare the drive.
Your SD card (internal) is sdcard and your microsd is external_sd.
GL.
Hope this helps.
Click to expand...
Click to collapse
Excellent! Thanks.
Is it possible to access the micro SD card through a computer? When exploring the acer drive after plugging it in you can see all the stuff on the internal memory but can't get to the external_sdcard folder.
at the moment i dont think this is possible but give it a few days and it might be a possibility.
tuffghost said:
Is it possible to access the micro SD card through a computer? When exploring the acer drive after plugging it in you can see all the stuff on the internal memory but can't get to the external_sdcard folder.
Click to expand...
Click to collapse
You can purchase (I think it was a whole $1.50) an app called WiFi File Explorer. It sets your tablet with its own IP address from whatever source you are using for WiFi. Then you access your SD Card by entering in the IP address line in your browser. The app will give you the exact address line to enter into your browser.
Its like a virtual FTS server actually. Works like a charm. If you are worried about security, you can require a password.
Accessing external sd and usb drives
It is possible to access the SD and USB drives using a file manager such as Astro or Estrongs. The drives can be found in the main directory under subdirectory /mnt.
Hope this helps. I had the same problem at first.
Tam the Bam
tuffghost said:
Is it possible to access the micro SD card through a computer? When exploring the acer drive after plugging it in you can see all the stuff on the internal memory but can't get to the external_sdcard folder.
Click to expand...
Click to collapse
According to Acer, that isn't possible right now. Not that I'm inclined to believe them, but the manual is pretty thorough and I decided to go through every page and it clearly states "Transferring files from a microSD card to your PC.
Remove the card from the tablet and use a card reader or USB adapter to access the card as an external storage device."
I'm REALLY hoping they address this in an update. I thought it was a Honeycomb limitation due to the Xoom but Asus has addressed it by looping it as a folder in the internal storage so I mean, Acer and Xoom should be able to do that as well. Unless there are unforeseen problems with doing that? /shrug.
USB and a camera
Thanks for starting this thread! I'm also a newb and I have Astro and ES installed (now).
I am trying to read images from my camera (Nikon D3). When I attach the USB and turn on the camera the A500 says scanning for media. But none shows up in the photo browser (I'm sure I need a better viewer and suggestions are welcome!). When using ES or Astro and navigating to the usb_storage directory it shows as empty.
For background, the D3 holds 2 CF cards with the 2nd typically used as overflow and both are 8GB. Each card normally just has a DCIM directory with photos in one or more directories below that.
Once I connected up the A500, on one of the cards 2 additional directories were created (the one without any images currently) called .android_secure and LOST.DIR. I can't see any of these directories on the A500 or any of the images (all .jpg). I plugged into my laptop for this info.
I am trying not to have to carry my laptop anymore so any suggestions, ideas or research resources would be appreciated.
I've run into a HUGE issue. I wonder if anyone else has experienced this.
The files on my USB flash drives begins to get erased/deleted if it is still connected to the tablet when the device is activated from hibernation mode. I don't know if the file explorer apps are causing this bug. I've used Linda File Manager and Astro and 3 different USB drives to test this. I've even restored my tablet to factory settings.
Hello,
I have also problems navigating the usb drive.As mentioned above I found the dir but it shows (Directory empty).Im using a 8gb transcend flash drive.On 128mb flash drive there is no problem viewing and accesing the files.Any other have the same problem or solution?
I change the file system from NTFS to FAT32 and it works now(such a stupid user Ive become)

[Q] Need Screenshot of External Storage devices.

Hey guys, I'm working on an app for showing storage usage and currently have it running on the XOOM, it is now under heavy redevelopment and I would like to be able to get it on the Iconia too (curently working on Transformer support), all I need from someone is a screenshot of the folder structure of all external storage devices your device has connected.
For example, on the Transformer, I was given a screenshot of te structure inside the /Removable directory when all 4 external devices are connected I see 4 folders with different names.
I would also appreciate if you could just check that any of the directories in there are gone once the device is removed (or if they stay permenantly).
Thanks guys, and I hope the Iconia is looking after you all.
Here you go. https://lh4.googleusercontent.com/-...AEI/2jE9yPMB6Ac/s800/screen_20110615_1310.png
The folders remain even when we remove the device.
sdcard is Internal Storage (with a dumb name)
extrenal_sd is the External SD card
usb_storage is the USB device
Edit:
This picture is with the USB plugged in and SD removed.
bpivk said:
Here you go. https://lh4.googleusercontent.com/-...AEI/2jE9yPMB6Ac/s800/screen_20110615_1310.png
The folders remain even when we remove the device.
Click to expand...
Click to collapse
Thanks, can you check if theyre linked anywhere like /data/media for example please? There must be another location where they do appear and disappear from as they are connected/removed.
Thanks again.
/data/media points to Internal Storage I'll check to see if I can find another location for USB
bpivk said:
/data/media points to Internal Storage I'll check to see if I can find another location for USB
Click to expand...
Click to collapse
Thanks, keep me posted.
I can't find it anywhere else.
bpivk said:
I can't find it anywhere else.
Click to expand...
Click to collapse
Is it plugged in? It's expected not to be there if it isnt. If it is and still nothing, thanks anyway, appreciate you looking.
I have plugged and checked with my SD card and with my USB drive. None of them are listed anywhere else (at least I haven't seen them).
Thanks for trying to give us this for our tabs.
I've looked as well. Tried Root Explorer, Honeycomb File Explorer, And ES File Explorer. SD and USB cards in as well as out.
I can't find anything more than what bpivk has reported.
HI.. do your app work on asus transformer prt rom in iconia ?

[q] guys need help!!!! Plz reply fast

i am using the sd version of the AmeriCanAndroid AOSP HD2 GB2.3.5 CM7 and i cannot copy the files through usb ie it gets copied and then when i disconnect the copied files are not visible .......and sometimes they even get deleted ...So plz tell how can i get over this ????
You could transfer the files via Dropbox, the link below in my signature will get us both extra storage space.
welll i can copy but they r not visible or getting deleted ......
Are you copying the files to the sdcard? And what app are you using to browse for them once you have transfered? Root Explorer is the best file explorer imo.
sidduhtc said:
welll i can copy but they r not visible or getting deleted ......
Click to expand...
Click to collapse
Try SD card mount from market
Sent from my HTC HD2 using XDA App
tried tht but no use
sidduhtc said:
i am using the sd version of the AmeriCanAndroid AOSP HD2 GB2.3.5 CM7 and i cannot copy the files through usb ie it gets copied and then when i disconnect the copied files are not visible .......and sometimes they even get deleted ...So plz tell how can i get over this ????
Click to expand...
Click to collapse
Are you removing the usb device safely?
Usually if you copy files to the SD on android they will not be visible until you restart the device. You can make the media files visible using some apps, but other files will only appear after you restart.
Apparently, when copying files using My phone explorer, the app seems to make android update it's information and thus files you copy using My phone explorer will appear when you finish.
I have tested this with most sense builds, but not with Amercian Android.
Dr.Move said:
Usually if you copy files to the SD on android they will not be visible until you restart the device. You can make the media files visible using some apps, but other files will only appear after you restart.
Apparently, when copying files using My phone explorer, the app seems to make android update it's information and thus files you copy using My phone explorer will appear when you finish.
I have tested this with most sense builds, but not with Amercian Android.
Click to expand...
Click to collapse
This is false.
When you copy anything to Android's SDCard via USB/WiFi, the device immediately sees the files.
When you copy media files (pics/music/movie), the device sees the files, but the Media Service might not have indexed the files yet, so media apps relying on the Media Service will not show them (Music app f.e.)
IF you're copying files to the SD card via USB, safely removing the device from your computer, and they still do not show up on Android's File explorer, then i would check your SD card for errors...
P.S. Tested on HTC Kaiser running froyo/gingerbread, HTC Diamond running Froyo/Gingerbread, HTC HD2 Running gingerbread, HTC Desire running Gingerbread, HTC DesireHD running froyo/gingerbread. Multiple SDcards raging from 1gb to 16, class 2 to 10.
With americanandroid on SD, Theres a problem with usb files transfer (check FAQ'S on thread), u can do: reboot to wimo, copy files and boot android, files will be there, OR use the program for windows described in the FAQ (guess its Androidmanager) OR.. Use NAND Rom... ;-)
Hope it helps
Enviado desde mi HTC HD2
daedric said:
This is false.
When you copy anything to Android's SDCard via USB/WiFi, the device immediately sees the files.
When you copy media files (pics/music/movie), the device sees the files, but the Media Service might not have indexed the files yet, so media apps relying on the Media Service will not show them (Music app f.e.)
IF you're copying files to the SD card via USB, safely removing the device from your computer, and they still do not show up on Android's File explorer, then i would check your SD card for errors...
P.S. Tested on HTC Kaiser running froyo/gingerbread, HTC Diamond running Froyo/Gingerbread, HTC HD2 Running gingerbread, HTC Desire running Gingerbread, HTC DesireHD running froyo/gingerbread. Multiple SDcards raging from 1gb to 16, class 2 to 10.
Click to expand...
Click to collapse
I like that you tested it on multiple devices, but they're all running Android form device memory if I'm correct, right? you're not running SD Android. anyway I tagged a long and scanned my SD for errors and nothing was there. Using wifi and bluetooth makes android recognize the files, and yes media files have to be reloaded.
however, when copying non-media files through USB on several build I've tried before (can't remember which because I've tried almost every SD build out there) the phone will not see them even using a file browser, but they would appear on the PC. Resetting the device would make them appear. My only explanation to that was that certain builds would create some kind of "image" of the files on SD at the time, and would show you that image when you request the files. So if you add files using a way that doesn't update that image (here copying through USB) they wouldn't appear until the next start.
try samba filesharing from market.
you can copy files via wifi without usb.
Or you could use a card reader......
dropbox is great for transferring files wirelessly too
Dr.Move said:
I like that you tested it on multiple devices, but they're all running Android form device memory if I'm correct, right? you're not running SD Android. anyway I tagged a long and scanned my SD for errors and nothing was there. Using wifi and bluetooth makes android recognize the files, and yes media files have to be reloaded.
however, when copying non-media files through USB on several build I've tried before (can't remember which because I've tried almost every SD build out there) the phone will not see them even using a file browser, but they would appear on the PC. Resetting the device would make them appear. My only explanation to that was that certain builds would create some kind of "image" of the files on SD at the time, and would show you that image when you request the files. So if you add files using a way that doesn't update that image (here copying through USB) they wouldn't appear until the next start.
Click to expand...
Click to collapse
HTC Kaiser run android from sdcard (either SD partitions or image files on the main partition) long before there was nand.
I understand what you're saying, but i cannot accept it. It makes no sense.
Let's see, Android requires a minimum of 2 partitions, one for data, one for system. Those might be a SD card partition (in this cases), or 2 files on the SD card mounted using loop.
IF, you're using the second option, you cannot access the sdcard on the computer (it must be unmounted from android to appear on the computer, you probably noticed that it's impossible to access the sdcard when it's connected via USB as mass storage.)
So, you're probably using SD card partitions. Am i right?
it might be permission issue...
daedric said:
HTC Kaiser run android from sdcard (either SD partitions or image files on the main partition) long before there was nand.
I understand what you're saying, but i cannot accept it. It makes no sense.
Let's see, Android requires a minimum of 2 partitions, one for data, one for system. Those might be a SD card partition (in this cases), or 2 files on the SD card mounted using loop.
IF, you're using the second option, you cannot access the sdcard on the computer (it must be unmounted from android to appear on the computer, you probably noticed that it's impossible to access the sdcard when it's connected via USB as mass storage.)
So, you're probably using SD card partitions. Am i right?
Click to expand...
Click to collapse
sorry didn't notice the Kaiser on that list. I don't use SD partitions, too lazy to do so, and I don't unmount the SD, had my share of troubles doing so in the past, I used apps like Dualmount SD and such, media files would appear after I force android to rescan media, but other file types would appear after I restart the device. So I came up with the best possible explanation. However, when I copy files with My phone explorer they always show up, whether media or not, could be the new build I'm trying, or could be that I'm doing something I didn't in the past, who knows.

Yikes! I removed the "storage" folder in storage/emulated/0/. Help!

Great. Now my entire virtual SD Card has been wiped! Don't delete the storage directory in the root of your virtual SD Card (/storage/emulated/0/) or (/storage/emulated/legacy/). Watch out!
Now, I'm wondering if I can somehow gain access to the files if I recreate this folder. From what I remember, there were a number of nested folders within this "storage" directory.
Can someone give me the dir structure of your "storage" folder? Thanks!!
EDIT: This is how I did it. See post 6. Stay away from your "storage" folder while browsing your phones sd card over MTP at the computer!!!
http://forum.xda-developers.com/showpost.php?p=44519212&postcount=6
I'm not sure if this is what you are asking for. If it is, then yay! If it isn't, please ignore.
/storage/emulated/0/
/storage/emulated/legacy/
/storage/sdcard0/
OneChaos said:
I'm not sure if this is what you are asking for. If it is, then yay! If it isn't, please ignore.
/storage/emulated/0/
/storage/emulated/legacy/
/storage/sdcard0/
Click to expand...
Click to collapse
Hey thanks for that, but I'm pretty sure there was a folder called "storage" in /storage/emulated/0/ (or the same location /storage/emulated/legacy/).
So, what I'm looking for is what the folders are in *that* folder. And it should look something like the following:
/storage/emulated/0/storage/...... <---------- these are the folders I'm missing, and there most likely is a symlink in there. I think if I can just recreate that folder structure and recreate the right symlink there, then I might be able to get my photos back.
Thanks.
You're saying there is a "storage" folder in /storage/emulated/0 or /storage/emulated/legacy? Mine only comes with these 2 directory, and /storage/sdcard0 is a link to legacy.
Now you still have that 2 directory but can't find any of your files inside?
You deleted the storage when hooked up on your PC yes ?.
The storage folder your referring to only shows when browsing your folders via your PC so you could try recreating it via your PC again but I seriously think its gone mate. I accidentally deleted this folder too once but I always have regular backups on my pc.
NeXuS⁴
slymobi said:
You deleted the storage when hooked up on your PC yes ?.
The storage folder your referring to only shows when browsing your folders via your PC so you could try recreating it via your PC again but I seriously think its gone mate. I accidentally deleted this folder too once but I always have regular backups on my pc.
NeXuS⁴
Click to expand...
Click to collapse
Yes!!! Thanks for this post! I was indeed cleaning up my "sd card" from the PC (over MTP). And, I noticed a storage folder at the root of the SD card. In fact, it's there right now! If I browse the contents of the SD card on the PC, there is a storage folder there with only an empty "emulated" folder in it. I've never noticed it there before, so I just deleted it. Suddenly, I couldn't access anything else on the sd card from the PC. I thought, that's weird. Sure enough, everything just vanished!!
WORD TO THE WISE: Stay away from that "storage" folder at the root of your SD Card when browsing its contents over MTP!!!!!!!!
why not just do a factory image flash? userdata.img should contain all the folders and locations you need to restore it properly.
hp420 said:
why not just do a factory image flash? userdata.img should contain all the folders and locations you need to restore it properly.
Click to expand...
Click to collapse
Oh, there ins't a problem anymore. I just thought that the "missing" symlinks had something to do with my wiped sd card. But, it turns out that the missing symlinks aren't shown in the default CM file browser, only in other file browsers. They were there all along.
The kernel of the story has been solved as I now know how I wiped my sd card.
floepie said:
Great. Now my entire virtual SD Card has been wiped! Don't delete the storage directory in the root of your virtual SD Card (/storage/emulated/0/) or (/storage/emulated/legacy/). Watch out!
Now, I'm wondering if I can somehow gain access to the files if I recreate this folder. From what I remember, there were a number of nested folders within this "storage" directory.
Can someone give me the dir structure of your "storage" folder? Thanks!!
EDIT: This is how I did it. See post 6. Stay away from your "storage" folder while browsing your phones sd card over MTP at the computer!!!
http://forum.xda-developers.com/showpost.php?p=44519212&postcount=6
Click to expand...
Click to collapse
There is no way to get the files back, I deleted it once when connected to PC because I didn't recognized the folder and it was empty, so I deleted it. Then I tried for a week in every forum to found an answer, but there is none.
reflashing your current rom or any other rom would have brought everything back to how it should be. a deleted my whole system once, then just relashed my current rom at the time, and all came back.
Galaxo60 said:
There is no way to get the files back, I deleted it once when connected to PC because I didn't recognized the folder and it was empty, so I deleted it. Then I tried for a week in every forum to found an answer, but there is none.
Click to expand...
Click to collapse
Oh, I got most, if not all my photos back. There is a great link which shows you how to transfer your entire userdata partition to your hard drive and search for recoverable files. Alternatively, you can also use the app diskdigger and send your pics to your PC using coreFTP or other FTP server. Both methods recovered about the same number of photos. So, yeah, a reasonably good ending.
http://forum.xda-developers.com/showthread.php?t=1994705
simms22 said:
reflashing your current rom or any other rom would have brought everything back to how it should be. a deleted my whole system once, then just relashed my current rom at the time, and all came back.
Click to expand...
Click to collapse
Not in my case. That's the first thing I did. I thought, it's just a symlink, right? Well, not really. It's not really a symlink on a different partition. Again, it is only created during an active MTP session and ONLY visible on the PC. And, as soon as you wipe these seemingly empty folders, all references to the files are lost, as the system begins to slowly re-populate the space, which is really at /data/media/0.
Galaxo60 said:
There is no way to get the files back, I deleted it once when connected to PC because I didn't recognized the folder and it was empty, so I deleted it. Then I tried for a week in every forum to found an answer, but there is none.
Click to expand...
Click to collapse
I know it wouldn't bring your files back, but it would restructure your storage partition properly so you could start from scratch, rather than recreating all the folders manually.
hp420 said:
I know it wouldn't bring your files back, but it would restructure your storage partition properly so you could start from scratch, rather than recreating all the folders manually.
Click to expand...
Click to collapse
? No one is doing anything manually. Did you intend to reply to me? The missing symlinks referred to earlier have nothing to do with it, as I discovered and reported a few posts ago. Again, there is a "storage" folder at the root of the SD card only visible at the PC when connected over the MTP protocol. When this folder is deleted, all is lost immediately, even by re-flashing a ROM. Hope that helps someone to avoid deleting it and consequently all their virtual sd card files.
floepie said:
Oh, there ins't a problem anymore. I just thought that the "missing" symlinks had something to do with my wiped sd card. But, it turns out that the missing symlinks aren't shown in the default CM file browser, only in other file browsers. They were there all along.
The kernel of the story has been solved as I now know how I wiped my sd card.
Click to expand...
Click to collapse
Hey how did you do it? Which third party file browser did you use? I have done the same thing..
Check /data/media/ those folders are just linked to /data/media/ anyways. All your stuff should be there unless if you deleted the entire data partition
Sent from my Nexus 4 using xda app-developers app
ninad911 said:
Hey how did you do it? Which third party file browser did you use? I have done the same thing..
Click to expand...
Click to collapse
The problem is that if you are browsing the SD card contents from your computer (while the phone is connected), a folder appears there that otherwise is NOT present while browsing the card's contents from the phone, while the phone is NOT connected. I forgot which folder it is, but I believe it is called sdcard0 or some such at the root of the SD card. I have no idea why it appears, but if you delete it, you have deleted the entire contents of your SD card. And, yes, you have lost everything unless you are able to acquire a special tool to recover the contents, but if you have done so, don't do anything with your phone, as those contents will be overwritten by new files.
In so doing, I had originally thought that there were symlinks that were also deleted, but that wasn't the case. The symlinks were still present as viewable by ES File Explorer, but not with CM's file explorer. In any case, all my files were still lost, but I was indeed able to recover the majority.
Edit. I used Diskdigger in the Play store. And it worked pretty well. The other option is linked in this thread above.
floepie said:
Great. Now my entire virtual SD Card has been wiped! Don't delete the storage directory in the root of your virtual SD Card (/storage/emulated/0/) or (/storage/emulated/legacy/). Watch out!
Now, I'm wondering if I can somehow gain access to the files if I recreate this folder. From what I remember, there were a number of nested folders within this "storage" directory.
Can someone give me the dir structure of your "storage" folder? Thanks!!
EDIT: This is how I did it. See post 6. Stay away from your "storage" folder while browsing your phones sd card over MTP at the computer!!!
http://forum.xda-developers.com/showpost.php?p=44519212&postcount=6
Click to expand...
Click to collapse
Hey, were you able to recover the data on your phone after deleting that folder? Please let me know and also check your inbox please! Need your help
Aditya Srinidhi said:
Hey, were you able to recover the data on your phone after deleting that folder? Please let me know and also check your inbox please! Need your help
Click to expand...
Click to collapse
Yes. First, either turn your phone off or do VERY little with it, as those files could be overwritten.
I had surprisingly good success with Diskdigger. It was able to recover most of my photos, although some were a bit "damaged", as in only half of the photo showing, and some other oddities. But, at least it was better than nothing. You will need root access for this sort of thing.
floepie said:
Yes. First, either turn your phone off or do VERY little with it, as those files could be overwritten.
I had surprisingly good success with Diskdigger. It was able to recover most of my photos, although some were a bit "damaged", as in only half of the photo showing, and some other oddities. But, at least it was better than nothing. You will need root access for this sort of thing.
Click to expand...
Click to collapse
Thanks a lot!!! Im using disk digger and I already see a lot of my images turning up
Just one other doubt, if I were to use the link to guide which you posted which allows to mount the VHD as a USB storage, does that allow me to recover other files too?

Categories

Resources