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.
Related
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.
Why did they make the sdcard folder on the internal ram? All my apps write to arcade not ed_ext. Titaniumbackup, Rom manager, browser, you name it. Not to mention a factory wipe in cwm wipes the arcade folder. Am I missing something? Are the devs going to fix this within the Rom?
Great question... This gets on my nerves.... It wasn't this way on my Droid Charge and boom I saw it on my Bionic and now the Rezound...
Sent from my HTC Rezound using Tapatalk
That is because we are using a Unix file structure. (EXT/2/3/4) Unix (and its derivatives) see drives (USB drives, extra internal drives, SD cards, etc) as folders/files not as devices. There are ways to make these devices appear to show up as a device rather than a folder to the user, but at its core it is still treated as a folder by the kernel.
Desktop linux file structure has all extra storage devices listed as folders in the /media folder of the / (root) partition of the file system.
This structure is also why we have the /system and /data partitions in Android. Its another throw over from the linux base (desktop linux is usually / and /user or /home)
Seems there is no consistancy between OEMs and how they tell the file system to arrange user storage. Some have /SDCARD1 /SDCARD2 and HTC has the external card listed inside the internal memory. It could be that the internal memory is mapped to the /media of regular linux.
/sdcard is a symbolic link (shortcut) for /mnt/sdcard and /sdcard2 is a symlink for /mnt/sdcard/ext_sd
So really they are all the same, just how they choose to link the location is different. Either way, that is just how linux works.
Can this be remapped? Is so, how?
maniac2k said:
Can this be remapped? Is so, how?
Click to expand...
Click to collapse
vold.fstab modification EXPERIMENTAL
Read the whole thread first before you decide
http://forum.xda-developers.com/showthread.php?t=1383330
considering the available storage does it really matter where the data goes?
I've just htcdev unlocked my bootloader (which wipes the phone) and it didn't touch the internal sd card or sd card2. Installing a ROM that wipes the device did not either.
So what's the big deal where it goes? I use the internal storage for apps and game data and my 32gb sd card for media and roms.
nrfitchett4 said:
considering the available storage does it really matter where the data goes?
I've just htcdev unlocked my bootloader (which wipes the phone) and it didn't touch the internal sd card or sd card2. Installing a ROM that wipes the device did not either.
So what's the big deal where it goes? I use the internal storage for apps and game data and my 32gb sd card for media and roms.
Click to expand...
Click to collapse
And all that really means is that, if your application writes data to a different location, you just copy the data to your SD card. Not really a lot of work. Got used to it with my Dell Streak 7...
Sent from my ADR6425LVW using Tapatalk
When I did a few wipes, it did wipe my sdcard folder. That is problem 1. #2 is then I have to config all my apps that default to sdcard. #3 I have to now backup sdcard and sdcard2. #4 wah I don't want change.
nrfitchett4 said:
considering the available storage does it really matter where the data goes?
I've just htcdev unlocked my bootloader (which wipes the phone) and it didn't touch the internal sd card or sd card2. Installing a ROM that wipes the device did not either.
So what's the big deal where it goes? I use the internal storage for apps and game data and my 32gb sd card for media and roms.
Click to expand...
Click to collapse
Sent from my ADR6425LVW using XDA App
maniac2k said:
When I did a few wipes, it did wipe my sdcard folder. That is problem 1. #2 is then I have to config all my apps that default to sdcard. #3 I have to now backup sdcard and sdcard2. #4 wah I don't want change.
Sent from my ADR6425LVW using XDA App
Click to expand...
Click to collapse
That's what I read, so I backed it up, but htcdev didn't wipe it on my device (does a factory reset when unlocking), and it wasn't wiped when I installed chingy's rom (that auto wipes), so I don't know why some are experiencing this.
Not to mention that wiping with amon ra also does not delete the internal sd card.
md303 said:
vold.fstab modification EXPERIMENTAL
Read the whole thread first before you decide
http://forum.xda-developers.com/showthread.php?t=1383330
Click to expand...
Click to collapse
Modded the vold.fstab per your link and it worked. Thanks!
http://forum.xda-developers.com/showthread.php?t=2072751
enter here to fix default install location to sdcard2:
http://forum.xda-developers.com/showthread.php?t=2072751
Titanium backup was mentioned, it's really easy to go into preferences and edit the backup storage location. I used to walk a lot of people through it with the remote unlocking process I would do.
Sent from my ADR6425LVW using xda premium
My phone says that I have 19.09gb available. It has 9.97gb being used up by other. Can someone tell me what this "Other" is referring too? I just recently flashed the deodex stock 4.2.2 rom and the only other thing on my phone is some photos and videos that take up 2.41gb.
is the files you put on your phone that are not in folders like rom.zips mods
No he didn't pull his files off his sd card before he flashed
Sent from my HTC One using Tapatalk 4 Beta
skinsfanbdh said:
is the files you put on your phone that are not in folders like rom.zips mods
Click to expand...
Click to collapse
The rom and the mod are just in the root directory, but they dont come close to 9 gigs
skinsfanbdh said:
is the files you put on your phone that are not in folders like rom.zips mods
Click to expand...
Click to collapse
Nick281051 said:
No he didn't pull his files off his sd card before he flashed
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
Is there a way to fix this, I wiped all the data after I flashed the rom, but strangely enough all of my media (photos and videos) where still on the phone.
UMGixxer said:
Is there a way to fix this, I wiped all the data after I flashed the rom, but strangely enough all of my media (photos and videos) where still on the phone.
Click to expand...
Click to collapse
As i said, pull all your files off the sd card and wipe it, put the rom on your sd card using adb while in recovery, wipe data, flash, and then put everything back on.
Sent from my HTC One using Tapatalk 4 Beta
Nick281051 said:
As i said, pull all your files off the sd card and wipe it, put the rom on your sd card using adb while in recovery, wipe data, flash, and then put everything back on.
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
I am using TWRP, what is the reasoning that it didnt wipe everything when I wipe it after the install? Also what all do I need to wipe, there isnt an sdcard option using TWRP, only thing is see is " dalvik cache, cache, data, system, usb-otg". Also is there anyplace on the phone memory that is safe from being wiped?
It has to do with the partitions of the sd card being changed in 4.2.2 allowing for multi user support. Do as I suggested, pull all files off and then in that menu if you click data I believe that will wipe your sd since everything is stored in that folder. A regular factory reset just skips over the virtual sd card.
Sent from my HTC One using Tapatalk 4 Beta
Nick281051 said:
It has to do with the partitions of the sd card being changed in 4.2.2 allowing for multi user support. Do as I suggested, pull all files off and then in that menu if you click data I believe that will wipe your sd since everything is stored in that folder. A regular factory reset just skips over the virtual sd card.
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
I only want to keep the contents that are in my DCIM folder, so that is the only folder that I need to pull correct?
Also could I not just go to a certain directory and delete out the stuff without having to reflash everything?
UMGixxer said:
I only want to keep the contents that are in my DCIM folder, so that is the only folder that I need to pull correct?
Also could I not just go to a certain directory and delete out the stuff without having to reflash everything?
Click to expand...
Click to collapse
If that's all you want to keep then yes. And no you need to re flash in order for the sd card to be set up correctly.
Sent from my HTC One using Tapatalk 4 Beta
UMGixxer said:
I only want to keep the contents that are in my DCIM folder, so that is the only folder that I need to pull correct?
Also could I not just go to a certain directory and delete out the stuff without having to reflash everything?
Click to expand...
Click to collapse
yes pull you dcim folder off and wipe everything except system and you should not have to reflash the rom
skinsfanbdh said:
yes pull you dcim folder off and wipe everything except system and you should not have to reflash the rom
Click to expand...
Click to collapse
I will try this later on this afternoon
Last question, if done correctly should there still be a "sdcard" folder on your phone?
skinsfanbdh said:
yes pull you dcim folder off and wipe everything except system and you should not have to reflash the rom
Click to expand...
Click to collapse
He should though because his data will be wiped anyway and now he'll have a clean start
Sent from my HTC One using Tapatalk 4 Beta
---------- Post added at 09:10 PM ---------- Previous post was at 09:10 PM ----------
UMGixxer said:
Last question, if done correctly should there still be a "sdcard" folder on your phone?
Click to expand...
Click to collapse
Yes
Sent from my HTC One using Tapatalk 4 Beta
Im starting to think that the duplicates are what they call symlinks, because they dont actually take up anymore space, and that they are in about 3 different locations
UMGixxer said:
Im starting to think that the duplicates are what they call symlinks, because they dont actually take up anymore space, and that they are in about 3 different locations
Click to expand...
Click to collapse
Correct. All files are actually stored in /data/media and now with 4.2, /data/media/0
Sent from my HTC One using Tapatalk 4 Beta
If this is true, couldn't one just remove the symlinks and fix the issue? I have the same issue but I'm not sure i feel like all the trouble just to get back a few gigs.
demitrix said:
If this is true, couldn't one just remove the symlinks and fix the issue? I have the same issue but I'm not sure i feel like all the trouble just to get back a few gigs.
Click to expand...
Click to collapse
They are symlinks, don't remove them it will break things. Besides they are recreated on boot.
Wiping your phone and SD partition and starting from scratch doesn't solve the issue of almost 10gigs taken up and not knowing what it is. The stock rom itself surly isn't 10 gigs, we all know that for a fact. I just did a complete wipe of everything on my phone, and I'm still short 10 gigs. I paid for a 32 gig phone under the impression that I was getting 32 gigs of SD space for my personal use. Not 10 of it being used in some "other" category. HTC really dropped the ball on this. Just when you buy a phone with removable SD, advertised as 32 gigs, you GET that 32....well minus a gig or 2 for drivers for the card, but system files are stored on their own partition on the phone itself while you have full use of the SD card. When i go through file explorer, I see 2-3 different paths to get to the same point on my SD car which makes no dang sense to me. And I've been tempted to delete them but I'm afraid to do so. I've tried moving them and they end up coming back..obviously, after a reboot. There should be one path from the root of the system files to get to SD, not 3. On my phone, I've got SD, MMT, and storage, and all of them lead to the same end point, some with a few more stops along the way than others. HTC really dropped the ball when it comes to the user ability over storage management, and what they advertised vs what they provide in terms of storage capacity in this device. Would I return it? hell no. i love this phone despite this flaw. Would i go for it again knowing what I know now... honestly I'm unsure. I'd probably save up a little more and go for the 64 gig..be a little miffed over losing 10 gigs, but at least I'd know I still have plenty of space left as opposed to now. I take lots of pics of my family and i love music, so this is my MP3 Player as well. Not to mention any backups I do of the system and what not
Side note, I in fact asked this question when i first bought the phone when it made it's US debut, and got all sorts of off the wall answers.
Read this : http://forum.xda-developers.com/showthread.php?p=42471211
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
I just installed Slimbean for the S3 i9300 (based on 4.3 android) coming from Ultima rom 15. The Rom is fantastic but I cannot see any of my files which were stored on my internal sd card. This means no access to backups! I can however see the folders and zip files from CWM. Also, when I check storage from settings, it is showing only 5.14 GB out of total 25.57.
So, I am sure the files are all there but not visible anywhere. Tried ES and Astro Explorer and searched all over.
I had done a complete wipe - cache, dalvik cache, format system and format data as suggested on the rom page.
Searched all over the net for a solution but no luck!
peshay said:
I just installed Slimbean for the S3 i9300 (based on 4.3 android) coming from Ultima rom 15. The Rom is fantastic but I cannot see any of my files which were stored on my internal sd card. This means no access to backups! I can however see the folders and zip files from CWM. Also, when I check storage from settings, it is showing only 5.14 GB out of total 25.57.
So, I am sure the files are all there but not visible anywhere. Tried ES and Astro Explorer and searched all over.
I had done a complete wipe - cache, dalvik cache, format system and format data as suggested on the rom page.
Searched all over the net for a solution but no luck!
Click to expand...
Click to collapse
Sorry its a rom issue that its not giving access to the storage card, wait for some new build that arrive in ROM thread, if still the problem presists with some new builds than probably you might have to change the ROM..
Thanks Suyash1629…:good:
I dug a bit deeper and searched in different angles to come across this post:
http://forum.xda-developers.com/showthread.php?t=2506982
It turns out that if you are "upgrading" to 4.3+ then you have to format your internal sd card. This can be easily missed as we normally flash roms without having to do that.
And not sure if it is related but after installing the slimbean 4.3 it seemed I lost root. SuperSu was asking to update binaries (?).
After all that I just reinstalled ultima rom - after which my internal sd card is again accessible and root is back. Will do more research before moving to 4.3.
peshay said:
Thanks Suyash1629…:good:
I dug a bit deeper and searched in different angles to come across this post:
http://forum.xda-developers.com/showthread.php?t=2506982
It turns out that if you are "upgrading" to 4.3+ then you have to format your internal sd card. This can be easily missed as we normally flash roms without having to do that.
And not sure if it is related but after installing the slimbean 4.3 it seemed I lost root. SuperSu was asking to update binaries (?).
After all that I just reinstalled ultima rom - after which my internal sd card is again accessible and root is back. Will do more research before moving to 4.3.
Click to expand...
Click to collapse
I did not have a single issue with moving to 4.3. Did a mega wipe and installed the he rom (also slim) anything worked. Did you do a full wipe and manual system format as said in the instructions?
Sent from my GT-I9300 using xda app-developers app
chrismast said:
I did not have a single issue with moving to 4.3. Did a mega wipe and installed the he rom (also slim) anything worked. Did you do a full wipe and manual system format as said in the instructions?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I did all the wipes from what I remember including formatting system and data. Only left out formatting the sd card - did you do this as well?
Doesn't the new rom also get deleted then?
As from 4.2 onwards, the file system directories got changed. Whatever file system on 4.1 will be neglected in the storage count in system. It is different from 4.1 and below. There is a forum link tat will teach u how to solve this. forum.xda-developers.com/showthread.php?t=2274218
Sent from my GT-I9300
peshay said:
I did all the wipes from what I remember including formatting system and data. Only left out formatting the sd card - did you do this as well?
Doesn't the new rom also get deleted then?
Click to expand...
Click to collapse
Usually I do a mega wipe before every major rom version which will delete anything but the external SD on which I got the rom zip and flash it right after mega wipe.
As said before, also the folder structure got changed in the new Android versions which you might know already (sdcard0 etc).
Sent from my GT-I9300 using xda app-developers app
chrismast said:
Usually I do a mega wipe before every major rom version which will delete anything but the external SD on which I got the rom zip and flash it right after mega wipe.
As said before, also the folder structure got changed in the new Android versions which you might know already (sdcard0 etc).
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Yep it did. Starting from 4.2 onwards. The folder directories will be different. So just follow the link i gave previously. I did tat when i flashed a 4.3 rom and it worked.
Sent from my GT-I9300