Hi at all,
I was wondering if there's a way to get access to internal storage memory of my rooted Milestone 2 and put user data into it.
I have 6gb free with a tons of apps intalled and I believe it's a waste of memory
I'm not an android geek, I'm looking to a /etc/fstab to create a new mount point, but android is quite different from a standard linux system...
You can use a Root Explorer app (http://www.androlib.com/android.application.com-speedsoftware-rootexplorer-Fiq.aspx)
patton82 said:
Hi at all,
I was wondering if there's a way to get access to internal storage memory of my rooted Milestone 2 and put user data into it.
I have 6gb free with a tons of apps intalled and I believe it's a waste of memory
I'm not an android geek, I'm looking to a /etc/fstab to create a new mount point, but android is quite different from a standard linux system...
Click to expand...
Click to collapse
You can't actually use the internal memory for storage. Its read only. You can access it with root explorer but you can't store pictures or music there. 8 gigs for apps, kind of a waste
Sent from my DROID2 using XDA App
mikeyinid said:
You can't actually use the internal memory for storage. Its read only. You can access it with root explorer but you can't store pictures or music there. 8 gigs for apps, kind of a waste
Sent from my DROID2 using XDA App
Click to expand...
Click to collapse
You can pretty much store whatever you want there. The gallery app may not recognize it being there, but with root explorer you can put whatever you want on the phone. I suppose you could also use ADB and push things to the phone but, that's you're prerogative.
kwheel596 said:
You can pretty much store whatever you want there. The gallery app may not recognize it being there, but with root explorer you can put whatever you want on the phone. I suppose you could also use ADB and push things to the phone but, that's you're prerogative.
Click to expand...
Click to collapse
It's not the same thing I meant
You can put files in root filesystem with rootexplorer, adb or terminal emulator but apps as album, music or video player can't access it.
On win mobile devices with internal storage (es: i900 omnia) system recognizes 2 storage card with rw access, I wondered if we could use in some way the 8gb of internal storage of our D2/M2
kwheel596 said:
You can pretty much store whatever you want there. The gallery app may not recognize it being there, but with root explorer you can put whatever you want on the phone. I suppose you could also use ADB and push things to the phone but, that's you're prerogative.
Click to expand...
Click to collapse
i tried to move my picture folder on the internal memory so i could format my sd. my phone froze up and i had to pull the battery after about 10 minutes. when it rebooted the folder i created to hold my pics was gone.
The same here, files and folders placed in internal memory disappear.
I read somewhere that you can put files only on /data folder
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 ?
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
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?
I upgraded to a Nexus 6P which is now rooted thank to the help of several people here on XDA. I have an app that backs up to /storage/emulated/0/Droid90. On the 6P, when I view the folder structure, I found a /storage/emulated under /Root, but no /0 folder. I tried to create one, but X-plore wouldn't let me do it. I suspect that some of these folders are just pointers to the real storage locations, but I've scoured the web and here and can't find what I need. Is there any way to create a new /storage/emulated/0/Droid90 folder on my 6P that this older app will find? I've contacted the developer but he's been incommunicado since at least September (based on his last Google+ posts and lack of response to questions after September from others). As further info, I think it's forcing the backup/restore folder onto an Sdcard (maybe; maybe not). Could I create a storage/emulated/0/Droid90 folder in my emulated /sdcard (internal storage) folder on the 6P? I'll try, but not sure it'll work. Any other suggestions? Thanks!
rcbjr2 said:
I upgraded to a Nexus 6P which is now rooted thank to the help of several people here on XDA. I have an app that backs up to /storage/emulated/0/Droid90. On the 6P, when I view the folder structure, I found a /storage/emulated under /Root, but no /0 folder. I tried to create one, but X-plore wouldn't let me do it. I suspect that some of these folders are just pointers to the real storage locations, but I've scoured the web and here and can't find what I need. Is there any way to create a new /storage/emulated/0/Droid90 folder on my 6P that this older app will find? I've contacted the developer but he's been incommunicado since at least September (based on his last Google+ posts and lack of response to questions after September from others). As further info, I think it's forcing the backup/restore folder onto an Sdcard (maybe; maybe not). Could I create a storage/emulated/0/Droid90 folder in my emulated /sdcard (internal storage) folder on the 6P? I'll try, but not sure it'll work. Any other suggestions? Thanks!
Click to expand...
Click to collapse
BTW, I tried created an emulated folder and it worked but the app still doesn't recognize the location even when I put my backup file there. Anybody else have another suggestion? Thanks!
rcbjr2 said:
BTW, I tried created an emulated folder and it worked but the app still doesn't recognize the location even when I put my backup file there. Anybody else have another suggestion? Thanks!
Click to expand...
Click to collapse
OK, I solved this issue. I just needed to give the app storage permission. Duh. Learn something knew every day!