Sdcard0 - HTC Droid DNA

So I saw that I had an SDcard0 file and an SDcard file. I deleted the SDcard0 file and it deleted everything on my SD card....how screwed am I? :/
Sent from my HTC6435LVW using xda app-developers app

If you have a backup made, your fine. If not, its lost.
Don't delete system folders unless you know what you're doing.

ramongarza said:
So I saw that I had an SDcard0 file and an SDcard file. I deleted the SDcard0 file and it deleted everything on my SD card....how screwed am I? :/
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
On a scale to one to ten? About a 8.
If you have rooted your phone, you can get an undelete app (like Fahrbot's Undelete for Root Users on the Market) and recover the folder... hopefully. There's a chance it won't catch the files or whatever. If you're not rooted, I don't think it would be possible to get them back, but I may be wrong (check Google, they may know).
In case you were wondering why this happened, I'll tell you. Android is based on Linux. Linux has these links to files/folders called symlinks. Now, for whatever reason it is, Android has multiply links to the sdcard (probably to help with compatibility). So while they may look like two different folders, they lead to the same place. Think of it as two doors to the same house.
Good luck!

If you are on a 4.2 ROM (One found in Original Development):
The SDcard0 and SDcard are all links to /Data/Media/0. Use a root browser to navigate here and see of your SD cards contents are here. I'm not sure if deleting a symlink will also delete its source, so you may still have the SDcard just not a way to access it without root permissions. If you can see your SD card in /data/media/0, PM me and I'll try to help you restore it. If you don't see anything here, or don't see your SD cards contents (before wipe), I'm sorry to say this but your pretty screwed.
Sent from my Droid DNA running Rootbox

Related

Question: Renaming sdcard and sdcard2

Certain apps tend to save data on the phone's internal storage which is named "sdcard". So in order to trick those apps to save data on my external sdcard(sdcard2), would it be okay to rename the "sdcard" to "internal storage" and rename "sdcard2" to "sdcard"?
Would that cause any problems?
I like to keep my apps stored on my phone's storage and keep everything else (music, videos, pictures, browser downloads) on my actual sd card.
do it in windows explorer; i renamed mine and it works well still
Could you explain how you did this. I have tried a couple different ways and i am having no luck renaming my sd card file.
I am sure with custom roms we can swap the mount points if we want.
jayochs said:
do it in windows explorer; i renamed mine and it works well still
Click to expand...
Click to collapse
But that's not renaming the folder itself as the phone sees it, that's just modifying what the computer knows to call it in Explorer when you hook it up.
OP, I tried changing it myself and it wouldn't work. I don't think it's possible until root comes along and we can modify file system data and the like. Sucks, and it's stupid that HTC thought it'd be a good idea to name it SDcard, but we're stuck with it for now
rboddy said:
But that's not renaming the folder itself as the phone sees it, that's just modifying what the computer knows to call it in Explorer when you hook it up.
OP, I tried changing it myself and it wouldn't work. I don't think it's possible until root comes along and we can modify file system data and the like. Sucks, and it's stupid that HTC thought it'd be a good idea to name it SDcard, but we're stuck with it for now
Click to expand...
Click to collapse
Not much worse than moto bionic Havering internel storage as sdcard, and the actual SD card, sdcard-ext.
Sent from my ADR6425LVW using XDA App
nosympathy said:
Not much worse than moto bionic Havering internel storage as sdcard, and the actual SD card, sdcard-ext.
Sent from my ADR6425LVW using XDA App
Click to expand...
Click to collapse
That's the exact case here. Internal storage on the Rezound is "SDCARD" and the acutal SD Card is "SDCARD2" or "ext_sd" - those two folders are mirrors of each other.

[Q] Installation folder on SD card?

Hello, noob here!
I've searched this forum for an answer but had no luck, so here goes...
I'm considering installing about 2 dozen apps to my phone's SD card in order to leave internal memory available for more important stuff.
Now, I've installed a couple of them already and what I've noticed is that not most of them create their own app folder at SD card root. So if I proceed to install all the selected apps I'll end with a pretty messy root folder - and that's not counting all the data (folders) I would migrate later on.
Could someone please tell me if it's possible to pre-define a folder on my SD card where all apps would be installed?
Presumably, it's just a path alteration so shouldn't be too hard.
Right... ?
Thanks!
Nope.. you can't modify the location...
Those folders normally being used to store cache data or anything. The file won't be huge...
Accidentally sent from my Google Nexus S using XDA Premium
I was afraid of that... Dang. :-\
You can still delete if you like it. Not effect much. Do check what is contain inside.
Accidentally sent from my Google Nexus S using XDA Premium

SD CARD

How can I access my SD card? I'm using root explorer and I'm only seeing the things that are on the hard drive. Thanks.
The "My files" app lets u view both if ur still stock or havent removed it
Sent from my SPH-L710 using xda app-developers app
Wow I had to reset the phone that app wasn't showing, thanks!
In root explorer I can find the ext SDCard in /mnt/extSdCard
I've found that I/O FileManager works much better than My Files.
File Explorer can access it by going to favorites > Mnt/extsdcard.
But samsung has actually worked on making it difficult to do Apps 2 SD for some reason so dont even try it
I can't get clockwork mod to access the micro sd card - is it because of the name... ie, does it need to be changed to emmc or something like that?
--
oops - sorry just found another thread about it. I'll have to wipe it later..

[Q] Apps to the SD Card?

I know this is an age old question, but I figured I'd give it a shot. I was wondering what my best option was to get apps and/or their data onto my microsd card. I've tried the method with Directory Bind, but I wasn't to big a fan. Just looking for a point in the right direction, for the easiest/quickest/best method.(I have already rooted my phone, so rooting isn't an issue)
Also while I'm here what's the best method of free tethering, again with the rooted ability.
Same here! I've tried the foldermount method and using shortcuts with the root explorer in Rom manager to no avail. But, for someone with some knowhow, I've accidentally got it to work with Spotify. I don't know for the life of me what I have done, but between hours of using the above to methods, Spotify is now on my external Sd card. I can uninstall spotify, wipe data, cache, the whole nine yards and when I reinstall, boom, straight to my sd card. I can reformat my sd card, and when I install spotify, it will create a folder named Android/data/com.spotify.mobile.android.ui folder. on my sd card. All the songs i download goes in the same directory just like it did under sdcard0 on the internal memory. But now, I can't replicate this at all. I'm trying with zedge, but no luck. If I find anything, I'll post back to this thread.
I downloaded a couple of apps,but when i open ES file explorer i cant find the apps,it suppose to be in the download folder.I did check in the sd card0 and in the ext sdcard and no lock.
android-incredible said:
I downloaded a couple of apps,but when i open ES file explorer i cant find the apps,it suppose to be in the download folder.I did check in the sd card0 and in the ext sdcard and no lock.
Click to expand...
Click to collapse
First time I tried with Directory Bind I was able to move the game file to the sd, but when opening the app it requires downloading the files, so it can't find them in the new Directory. The next time was short lived because I couldn't find files for most recent app
tmaclax013 said:
First time I tried with Directory Bind I was able to move the game file to the sd, but when opening the app it requires downloading the files, so it can't find them in the new Directory. The next time was short lived because I couldn't find files for most recent app
Click to expand...
Click to collapse
Anyone know how I could find out where the apps were installed to. I'm trying a different method but I can't find where the app was installed
?
Sent from my SCH-I545 using xda app-developers app
tmaclax013 said:
I know this is an age old question, but I figured I'd give it a shot. I was wondering what my best option was to get apps and/or their data onto my microsd card. I've tried the method with Directory Bind, but I wasn't to big a fan. Just looking for a point in the right direction, for the easiest/quickest/best method.(I have already rooted my phone, so rooting isn't an issue)
Also while I'm here what's the best method of free tethering, again with the rooted ability.
Click to expand...
Click to collapse
Doesn't titanimum backup allow this? I've never personally tried it but I thought I saw a move app to SD card option.
From what I understand this cant be done on JB.
Sent from my SCH-I545 using xda premium

Internal SD contents to data/media after Rom flash

I'm still getting used to only having an internal sd. I always learned to wipe system, cache and dalvik. So after doing this and test driving a new rom I notice that internal sd was reset to default android folders and all my files were gone but on my PC my storage was still showing 7GB full. I poked around in the top level folder area and found all my stuff to be in data/media. Now I'm spending all this time moving 7GB of data back to /sdcard. Anyone know why this is happening? Is it TWRP or is it because I have an internal storage or something else?
Are you switching between Android 4.1 and 4.2 roms? They have different file structures
If you flash a 4.2 Rom everything will be in the /0/ folder
Sent from my HTC6435LVW using xda app-developers app
I went from viper to slimbean. So that would be 4.1.1 to 4.2.2. So to answer your question yes I jumped versions but any idea why sd contents went to /data/media? I may try another test flash to see if it doesn't on a different recovery or different version of TWRP
xlxcrossing said:
I went from viper to slimbean. So that would be 4.1.1 to 4.2.2. So to answer your question yes I jumped versions but any idea why sd contents went to /data/media? I may try another test flash to see if it doesn't on a different recovery or different version of TWRP
Click to expand...
Click to collapse
Your sdcard contents have always been viewable in data/media.
Nothing has changed except some stuff is within a /0/ directory.
Sent from my HTC6435LVW using xda app-developers app
Bigandrewgold said:
Your sdcard contents have always been viewable in data/media.
Nothing has changed except some stuff is within a /0/ directory.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Maybe so, however as I stated before my /sdcard contents aka my internal storage everything viewable through any basic file explorer was not present which in turn means TWRP saw nothing in my /sdcard. There was only the stock android folders that were all empty after the flash (notifications, alarms,pictures, etc.) A normal wipe and flash has never produced these results. I know about the /0 folder issue but this was different since that issue creates a /0 within /sdcard. There wasn't a /0 folder in /sdcard so that issue doesn't apply to my scenario.

Categories

Resources