[Q] Internal Storage? Which is which - HTC One X+

What is the path for internal storage??
And does it wipe with system wipes?
I did a factory reset after I screwed up my telephony database and I was shocked to see some pics I had taken earlier that day still there after I had done the hard reset.
On my vivd it was "ext_sd" where I could put stuff that wouldn't get wiped,
When I put the HOX+ into the comp with the usb all I see is a drive called "Internal Storage" --- are you telling me this will never get wiped during all our flashing rooting wiping activities?? That would be awesome. Less awesome than having expansion drives for SD cards of course, but..

The HOX+ has no mock SD card. Because it uses MTP not mass storage. All 64GB are on the /data/ partition. If you go to /data/media/ that is the folder mounted when you connect to a PC.
Sent from my HTC One X+ using Tapatalk 2

grafik2 said:
What is the path for internal storage??
And does it wipe with system wipes?
I did a factory reset after I screwed up my telephony database and I was shocked to see some pics I had taken earlier that day still there after I had done the hard reset.
On my vivd it was "ext_sd" where I could put stuff that wouldn't get wiped,
When I put the HOX+ into the comp with the usb all I see is a drive called "Internal Storage" --- are you telling me this will never get wiped during all our flashing rooting wiping activities?? That would be awesome. Less awesome than having expansion drives for SD cards of course, but..
Click to expand...
Click to collapse
yes as long as you don't touch a WIPE DATA button, you will never lose the "sdcard" shizz this is all documented on the sticky in general

AndroHero said:
The HOX+ has no mock SD card. Because it uses MTP not mass storage. All 64GB are on the /data/ partition. If you go to /data/media/ that is the folder mounted when you connect to a PC.
Sent from my HTC One X+ using Tapatalk 2
Click to expand...
Click to collapse
Perfect -- thanks!

Cool good to know

Related

Sdcard vs Sdcard2 vs Sd_ext - can this be fixed?

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

[Q] Internal /sdcard

can the internal sdcard be formatted from a PC just like an external sdcard ?
I dont care about anything data I have on it, I just need to know if i wipe it I am not effing anything up that needs to run.
Thanks!
The "Internal SD" is not really an SD card in the sense of a removable or separate device. It is part of the internal memory, but from the stand point of the system is treated as a separate drive. Kind of like the way you can take a hard drive a partition it into two "logical" drives that can be separately addressed.
In any case the formatting of the internal SD is a function of the Android system and not the PC. I'm not sure what happens if you try to format while the device is plugged in via USB. I know there are several hidden directories that Android needs on the SD card and if you try to format from the PC they are likely to be destroyed.
If you look at "Settings-Storage" you should find the formatting tool.
mbamberg said:
The "Internal SD" is not really an SD card in the sense of a removable or separate device. It is part of the internal memory, but from the stand point of the system is treated as a separate drive. Kind of like the way you can take a hard drive a partition it into two "logical" drives that can be separately addressed.
In any case the formatting of the internal SD is a function of the Android system and not the PC. I'm not sure what happens if you try to format while the device is plugged in via USB. I know there are several hidden directories that Android needs on the SD card and if you try to format from the PC they are likely to be destroyed.
If you look at "Settings-Storage" you should find the formatting tool.
Click to expand...
Click to collapse
But, back to the original question: how do you format (wipe) the internal SD card?
This whole issue of the pictures and mp3s that can't be removed is really bugging me.
kevincwelch said:
But, back to the original question: how do you format (wipe) the internal SD card?
This whole issue of the pictures and mp3s that can't be removed is really bugging me.
Click to expand...
Click to collapse
did you try going into root explorer and mounting r/w and then try to delete the files? Just asking because there has been a few bricks on here from people formatting their internal.
Sent from my ADR6300 using xda premium
kevincwelch said:
But, back to the original question: how do you format (wipe) the internal SD card?
This whole issue of the pictures and mp3s that can't be removed is really bugging me.
Click to expand...
Click to collapse
If you remove those files, you may not be able to use the OTA updates....the updates don't seem to like changed or removed files.
Bob
monkey10120 said:
did you try going into root explorer and mounting r/w and then try to delete the files? Just asking because there has been a few bricks on here from people formatting their internal.
Sent from my ADR6300 using xda premium
Click to expand...
Click to collapse
Good thought: I did use Root Explorer to mount R/W. It did NOT let me delete those files.
(I really have no serious intentions of formatting my internal "SD" card; I'm just fuming that I have no control over the files, which show up in my Google music.)
I also can't seem to put a .nomedia file in the directory either.
---------- Post added at 12:27 AM ---------- Previous post was at 12:26 AM ----------
robertg9 said:
If you remove those files, you may not be able to use the OTA updates....the updates don't seem to like changed or removed files.
Bob
Click to expand...
Click to collapse
Not necessarily worried about that. I've found a ROM and kernel that work pretty well, and since this isn't my phone, I don't need it to be running 24-7.
There's nothing in System Settings-Storage?
Sent from my HTC Desire using XDA

formatting internal storage

my internal storage is down to 1gb and i was thinking of cleaning my internal usb storage and starting out fresh. Which folders should i backup on my pc and copy back after formatting internal usb storage? Are there any folders located on internal usb storage that would affect my phone from running properly aside from app datas? Is the efs folder stored in the internal usb storage? Thanks for any comments.
dbanzon said:
my internal storage is down to 1gb and i was thinking of cleaning my internal usb storage and starting out fresh. Which folders should i backup on my pc and copy back after formatting internal usb storage? Are there any folders located on internal usb storage that would affect my phone from running properly aside from app datas? Is the efs folder stored in the internal usb storage? Thanks for any comments.
Click to expand...
Click to collapse
If you format it using the phone, it won't erase the efs folder, but I suggest that, if you haven't, you back it up before you do literally anything else, because you never know when something could happen to damage it, but normally, formatting the internal storage itself won't. The internal storage is an SD storage partition built into the phone itself. The efs folder and other important OS stuff is separate from it under normal circumstances.
Use the EFS Pro backup tool you'll find here on the forum. It's fast and easy. I wouldn't try to do it manually unless you know what you are doing, because it probably won't work, and actually could screw up the efs. The tool is safe and it works great. I've used it to both backup and restore my efs folder in an emergency, and it has worked perfectly.
One advise, copy all your internal sd data to pc, and browse forbwhat you need and what you can delete
Main data are:
Your camera photos
Files you download
Data files for apps and games
The last one can be redownloaded at worst, the first can be lost if not saved
Sent from my GT-I9100 using Tapatalk 2
So u mean backing up using terminal emulator doesnt work ha?? I never used the EFS backup PRO.... I backed up using that three methods ....
thanks for the replies. Ive managed to format my internal storage and now ive got 10gb free.
dbanzon said:
thanks for the replies. Ive managed to format my internal storage and now ive got 10gb free.
Click to expand...
Click to collapse
could u please share how did u manage to format it?
appreciated
got alot of "garbage" in my internal memory due to alot of flashing roms.
thanks
kakiboyer said:
could u please share how did u manage to format it?
appreciated
got alot of "garbage" in my internal memory due to alot of flashing roms.
thanks
Click to expand...
Click to collapse
Yes please!
Anyone?
dbanzon said:
thanks for the replies. Ive managed to format my internal storage and now ive got 10gb free.
Click to expand...
Click to collapse
How dude...?
Sent from my GT-I9100 using xda premium
MomsDear said:
How dude...?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
If your on custom kernel like siyah/dorimanx etc u can format internal storage and if your on stock firmware theere's an option to format storage/factory reset right?.. like it's a secret
Manage to format my internal memory from setting>storage>select format usb storage
Unmount external storage 1st for precaution measures & backup all files in internal storage in your pc.
Flashed stock firmware to get fresh OS through odin.

"Damaged Internal Storage" need help!

I tried to completely wipe and flash the latest version of Stock w/ Goodies 2.15 and, after rebooting found that, at the top, it said "Damaged Internal Storage" so I tried to format it by going into TWRP and mounting the internal storage, but it won't mount. Really need help on fixing it
LemonNinja said:
I tried to completely wipe and flash the latest version of Stock w/ Goodies 2.15 and, after rebooting found that, at the top, it said "Damaged Internal Storage" so I tried to format it by going into TWRP and mounting the internal storage, but it won't mount. Really need help on fixing it
Click to expand...
Click to collapse
You tried formatting in TWRP or from your pc? The latter should work, once you mount it in Windows you should get a prompt to format.
Sent from my EVO LTE
premo15 said:
You tried formatting in TWRP or from your pc? The latter should work, once you mount it in Windows you should get a prompt to format.
Sent from my EVO LTE
Click to expand...
Click to collapse
I tried to format the internal storage through TWRP but it kept saying "failed" and when I would connect it to my PC through TWRP and try to mount it it won't let me
I don't suppose you have an adapter that you can plug it into and use in a card reader do you? If not, you may consider picking one up, they're pretty cheap. That's assuming you have access to a computer with a card reader of course...
Sent from my EVO LTE
Internal not external, you should still be able to mount to pc
om4 said:
Internal not external, you should still be able to mount to pc
Click to expand...
Click to collapse
Holy hell how did I miss that? Please disregard...
Sent from my EVO LTE

[Q] Mounting internal sdcard folder as usb mass storage

Is there any way I can mount a folder from the internal sdcard as USB mass storage?
( I am aware that I can mount an external sd but I don't happen to have one.)
jhonwds said:
Is there any way I can mount a folder from the internal sdcard as USB mass storage?
( I am aware that I can mount an external sd but I don't happen to have one.)
Click to expand...
Click to collapse
Once I connect my phone it shows internal and external as two drives. You just can't mount e.g. the system folders if I am right.
Sent from my GT-I9300 using xda app-developers app
No.
jhonwds said:
Is there any way I can mount a folder from the internal sdcard as USB mass storage?
( I am aware that I can mount an external sd but I don't happen to have one.)
Click to expand...
Click to collapse
No.
And here is why:
On the newer phones there is no seperate phone memory and internal SD, its just one big memory. The good thing about ir is, that you can install a lot more apps, because the whole memory is usable for the phone. The bad side is, that you can only access it through MTP.
In order to make it available as USB mass storage it needs to be unmounted, but this is not possible, because it is used by the phone. If you do it, the phone will crash. Its just like pulling a memory chip out of a running PC.
A filesystem can be mounted on different locations. If more than one location has write access, it will cause irreparable damage though.
The main problem here is that that the device uses the ext4 filesystem which Windows cannot process.
As a fix (sort of) you can
- swap internal and external storage.
- use a Smb over Wifi app and mount the share in Windows
- use a pseudo-filesysem such as sshfs from your computer
Sent from my GT-I9300 using xda premium
Jumbodriver said:
No.
And here is why:
On the newer phones there is no seperate phone memory and internal SD, its just one big memory. The good thing about ir is, that you can install a lot more apps, because the whole memory is usable for the phone. The bad side is, that you can only access it through MTP.
In order to make it available as USB mass storage it needs to be unmounted, but this is not possible, because it is used by the phone. If you do it, the phone will crash. Its just like pulling a memory chip out of a running PC.
Click to expand...
Click to collapse
I dont think so and disagree with you... galaxy s i9000 and galaxy s2 i9100 also same. But they can mount internal and external as UMS or MTP.
Maybe the different in filesystem is the main cause.
Sent from my GT-I9300 using Tapatalk 2
On the S3, the whole internal memory is one big chunk (called /data). How would you go about mounting that as UMP when android is running? Android is using /data, therefore you can't unmount it and remount is as UMS.
If I'm wrong (which I may very well be), then post valid proof.
Theshawty said:
On the S3, the whole internal memory is one big chunk (called /data). How would you go about mounting that as UMP when android is running? Android is using /data, therefore you can't unmount it and remount is as UMS.
If I'm wrong (which I may very well be), then post valid proof.
Click to expand...
Click to collapse
Understood.. thanks for the info.. just found it out...
So internal sdcard is a mount point of folder /data/media
Sent from my GT-I9300 using Tapatalk 2
hopeful curious
syamsoul said:
Understood.. thanks for the info.. just found it out...
So internal sdcard is a mount point of folder /data/media
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
HI there, by chance are you able to recover from the "internal memory" after a factory reset, on a galaxy s3.
I am not sure what the consensus was-
-i recently thought google had all my photos backed up and did a factory reset, and lost everything.
Am hoping if I keep the phone that I can find a way to recover the photos.
Thank you.
resetrebel said:
HI there, by chance are you able to recover from the "internal memory" after a factory reset, on a galaxy s3.
I am not sure what the consensus was-
-i recently thought google had all my photos backed up and did a factory reset, and lost everything.
Am hoping if I keep the phone that I can find a way to recover the photos.
Thank you.
Click to expand...
Click to collapse
i myself never try but you can try this
XDA post
techiesstuff
Both same way
syamsoul said:
i myself never try but you can try this
XDA post
techiesstuff
Both same way
Click to expand...
Click to collapse
I just wanted to say thanks for posting that second link. I've been looking everywhere for a way to export the raw mount to recover files from internal /sdcard.
Oh and in response to the first thread, I believe the reason they were getting that error (the thread is locked unfortunately) is because they used -1 (the number one) rather than -l (the letter L). I made this mistake too.
Edit: Probably should have used the 'thanks' button, sorry. Can't delete post.
If you have a custom recovery installed boot into that and mount ums from there, as recovery doesn't depend on the data partition it can unmount and remount it

Categories

Resources