[Q] sd card and /sdcard location? - HTC Rezound

I'd noticed that newer GB HTC devices seem to have moved /sdcard from the
real sd card slot to the internal memory left over after system related partitions
were allocated.
I wondered if the Rezound suffers from this change too? On my Wi Fi Flyer
I have to keep syncing the data files for Kindle and Nook apps as they think
/sdcard is the actual sd card.
I think the move was done to accommodate HC/ICS's notion of /sdcard
being a virtual partition (not a fat32 real partition, to avoid having to license
Fat32 from M$). As I understood it, HC and ICS use a FUSE re-director mount
to allow the internal /sdcard space to be a directory in a ext? file system that houses
/data, (working around the Incredible's issue of no app data space and
6gb of empty /media space). Since they don't use fat32 they can't use
USB Mass Storage, so another approach was used.
Anyway since both the Kindle and Nook app don't allow a real path
for where to look for their data, on the Flyer I have to sync the sub-directory's
from /sdcard2 to /sdcard so the apps can find them.
Does Rezound do this too?

The Rezounds physical SD cards mounts as /SD Card2

So same issue then? How do others handle Kindle and Nook apps on /sdcard2
when the apps look at /sdcard?

Related

[Q] Getting Internal & External Storage to work together

Coming from the Evo, I'm not used to having both Internal storage (8gb on the phone) and External storage (my microsd card) available to me. As I'm restoring files and data, I'm finding that numerous apps are hardcoded to only look to one filepath: /mnt/sdcard. That was fine on the Evo, as that pointed to the actual SD Card, but on the P4G, it points to the Internal storage.
Being rooted, I tried just making a simple symlink in /mnt/sdcard to /mnt/sdcard-ext but that didn't fly. And I don't want to necessarily "swap" the two by hacking whatever is the equivalent of fstab.
Thoughts on how to better manage having two data stores? Am I just going to have to get used to a new way of doing things?
I have the same issue with Companion Link for Outlook.

[Q] Adding a SDcard

I've been using my Archos 101 for a while, both with stock Android and UrukDroid. I've got internal 16GB memory.
Now I've bought a 16GB SDcard. I assume that, when I put it in the A101, my current user data will no longer be available.
What is the best procedure to copy the current user data to the SDcard?
You seem to have gotten something wrong.
If you install a sd card the memory is added to the internal.
In the std Fileexplorer you find it on the top, in others in /sdcard/sdcard
That sounds to easy to be true.
Without SDcard, the apps store their data in /mnt/storage (symlinks: /storage and /sdcard), which is internal memory.
When the CDcard is mounted, it becomes /mnt/storage/sdcard. Will the apps now store data there? Or did I misunderstand the purpose of the SDcard and is it only extension memory?
Yes you missunderstand the purpose of sdcards.
It really is only storrage extension.
And the Apps store there Public data in /storage or /sdcard ( which are the same mountpoints in Archos Android ), the private data goes into /data/data which archos decided to be on a 300MB partition.
Thanks. That explains it all.

[Q] Swapping "internal" sdcard partition for /data

I'm asking this specifically for the Atrix.
I would like to have one central location for all apps and data, and have all the apps installed as "internal". The advantage of this method is so that apps can function independently of whether /sdcard (or /mnt/emmc if you do it that way) is mounted or not on the device. I did something similar on my HTC Evo, using DarkTremor's A2SD. But the Atrix, with its 10GB partition, means that I won't need to symlink anything to my actual SD card.
The 10GB partition (mmcblk0p18) is ample space for all user apps and data. But the existing 2GB /data partition (mmcblk0p16) definitely requires that some larger apps use the asec feature of the SD card. I understand that some apps need the SD card for extended downloaded content, like most Gameloft games, and any standalone GPS navigation app with its own maps. In those cases, I am a little more flexible, and understand that I can't use those particular apps when the card isn't mounted.
So here a couple questions, regarding the "swap":
Is there any way I can rename the partitions-- change the 10GB partition to mmcblk0p16, and the 2GB partition to mmcblk0p18 (and reformat them to EXT3 and FAT respectively)? Rebuilding the partition table is not an option. There's just way too much at stake there.
Would all of the bootable components (kernel, ROM, bootloader, and recovery) need to take into consideration the new structure? Or would the renaming of the partitions make this all seamless?
Any other suggestions?
Thanks for reading!

[Q] External SD Card Usage

Just got my E4GLTE and of course the first thing I did was root it, unlock it, and make a nandroid backup. I just moved from a Motorola Photon 4G and on that device the internal memory (pseudo sdcard) is mounted on /mnt/emmc and the external card is on /mnt/sdcard. Assuming you run out of app space in base memory, you can always move most of your app to the SD Card. Since the E4GLTE mounts the external SD Card on /mnt/sdcard/ext_sd, it appears that actual external storage can only be used for media or data where the app (or the system using the Storage tool) has a function to map to a different directory.
Have I described the situation properly? Does anybody else see the limitations this might pose or suggest workarounds?
..rob
bitbearmi said:
Just got my E4GLTE and of course the first thing I did was root it, unlock it, and make a nandroid backup. I just moved from a Motorola Photon 4G and on that device the internal memory (pseudo sdcard) is mounted on /mnt/emmc and the external card is on /mnt/sdcard. Assuming you run out of app space in base memory, you can always move most of your app to the SD Card. Since the E4GLTE mounts the external SD Card on /mnt/sdcard/ext_sd, it appears that actual external storage can only be used for media or data where the app (or the system using the Storage tool) has a function to map to a different directory.
Have I described the situation properly? Does anybody else see the limitations this might pose or suggest workarounds?
..rob
Click to expand...
Click to collapse
Yes I see this as a problem as well. I have looked into the vold.fstab file (where the system looks to see how it should mount partitions) but changing them just makes neither partition mount. I have a feeling that it might be something in the kernel but I will keep digging around.
Also if someone does figure it out how do you prefer them to be mounted? Internal as /emmc and external as /sdcard? Internal as /sdcard/int_sd and external as /sdcard? Maybe something else?
I guess it would depend how the apps and the kernel handle it, which of course, would vary with a custom ROM. Early builds of CM9 for the MoPho alternated back and forth, but there is also an option to swap what is internal and external as well. When it wasn't mounting at all, you could edit the vold.fstab, which would be my first inclination, so thanks for saving me that step!
I think, from most implementations I've seen, when a device has internal and external storage its been mounted as /mnt/emmc and /mnt/sdcard. Its like that on most of the custom ROMs I've used (on Nook, OG EVO, Hero, MoPho).
..rob
Im really lost on the whole external sd thing. I just want to be able to have my apps on there but android has made it seemingly impossible to do so anymore. Is there a write up or something on how this can be done with todays ICS?
Sent from my EVO using xda premium

[Q] Memory / Storage area definintions

I am a bit confused as to how memory/SD/external_sd is defined on this device
Looking at root, I see mnt. IIRC, this is the mounting point for both the internal SD card and the external SD card.
when I plug my phone into my computer I see Internal Storage and Card.
So I have
A: 1GB RAM for OS (/system, /data, etc)
B: 16GB RAM for apps etc.
C: 16GB RAM external SD
I connected my computer to my phone and see two "folders" Internal Storage and SD Card. I put folders with those names in each one so when I open them up on my computer I see a folder called "..internal storage root" and one called .".sd card root"
Internal Storage 10GB B Same a 1) below
SD Card 14.8GB same as 3) below
SD Card/external_sd
From the phone in root explorer
1) /sdcard takes me to the internal storage root 10GB. I imagine that is (B) after the OS reserves 4GB
2) /mnt/sdcard which actually takes me to the internal storage root 10GB. (B?) Same as 1
3) /mnt /external_sd takes me to the SD card root but this is NOT my SD card.
4) /mnt /external_sd /external_sd takes me to SD card, (C)
I also see /storage which has sdcard0 and sdcard1. sdcard0 takes me to the internal storage root. sdcard1 takes me to the sd card root.. However this not my actual SD card.
Now.. without an SD card, sdcard1 is empty and external_sd is empty
,
My question: why, when I put my SD card in, does it show it as having something in it that is not actually on my card?
Sadly, the way android is currently setup... makes me want to throw my phone at someone... literally! I would gladly spend my time in jail for doing it as well! (as long as said person was the one who decided upon doing it this way)
Currently, on the Galaxy Note (and almost all other devices) you have the following:
Out of the internal memory space (which turns out to be about 14.8Gb after base10 or was that base 12... whatever, IDGAF, point is, its not 16GB usable):
2GB: Application and Application Data storage
10GB: Internal Memory on the device mounted as /sdcard* ([email protected]#!$!#@%^#)
And whatever your REAL sdcard is mounted as /external_sd
* /storage/sdcard0 is internal | /storage/sdcard1 is external
calling the internal memory of ANY device an sdcard annoys the piss outta me, as noted above
EDIT: if you have a rom with it included, you can use parted | print to view the partition layout as well as mount points and all that other happy horse carp

Categories

Resources