[RANT]Mount Points for Internal/External Storage - T-Mobile LG G2x

Can we please all come together and agree on how to mount internal/external storage?
I had Bionix flashed and downloaded a new rom from a different dev. I rebooted into recovery and did the usual wipage before flashing to the new rom... except I forgot that Bionix mounts the SD card under External SD (I'm used to CM7), so every Android app sees the internal storage when saving files, instead of the external SD card. So now I have to reinstall an old rom just so I can re-download the files and move to SD card in order to flash the new rom.
This is getting ridiculous. I really don't care where the mount points are, I just wish they'd be consistent among the different devs.
*steps down off soap box*

I agree with you. Although I'd rather stick with the stock scheme of /mnt/sdcard/_ExternalSD. JM2C

I wouldn't. I'd rather the SD card be "SDCARD" and the internal storage be under mmc.
The thing is stock roms have it screwed up. They have SDCard as internal and SDCard/External as the micro. Plain confusing. Why have the microSD card as a folder on the internal.
They both need separate locations. The good thing about having the SDCard as the microSD card is that programs that usually write data to that location would be saving it to the removable disk vs internal storage. For Example Launcher Pro stores its backup to /SDCard. If my phone screws up or takes a swim... my LP backup is gone vs the microSD card would likely survive.
I say put the internal storage on MMC like CM has it. Load it up with music or videos and be done. Let the apps install backups and data to the microSD card so they are secured across devices.
Honestly, coming from a N1, I don't even know what to do with the 8gb internal storage. I'll probably throw my music on there to free up space on my 16gb microSD.

Related

[Q] G2x does not recognize internal memory

Hello all,
i just got myself a G2x .. rooted it installed CWM and flashed Eaglesblood 2.3.4 on it ... the problem i am having is that even though the phone shows 5.xx GB of memory on the phone when i launch an application like the Camera or anything else that puts anything on SD card it does not find the memory and refuses to work. any ideas?
-Bilal
While i havent tried EB 2.3.4, it is based on CM7 so I'm assuming it handles the internal/external sdcards the same way as CM7. The internal sdcard is mounted at /mnt/emmc and the external sdcard is mounted at /sdcard. There is a way to switch them around by switching the mount points. Search around and you should find it. I'm at work right now and the search feature on this mobile app sucks so I can't look it up.
The other/easier solution is to buy an external memory card.
phburks said:
While i havent tried EB 2.3.4, it is based on CM7 so I'm assuming it handles the internal/external sdcards the same way as CM7. The internal sdcard is mounted at /mnt/emmc and the external sdcard is mounted at /sdcard. There is a way to switch them around by switching the mount points. Search around and you should find it. I'm at work right now and the search feature on this mobile app sucks so I can't look it up.
The other/easier solution is to buy an external memory card.
Click to expand...
Click to collapse
or might he be confusing Internal Storage/Internal memory with an external SD card?
When looking at the numbers, you see x amount of phone memory available and 5.x amount of internal SD storage available...coming to around 8g. I bet he's confusing this for an external SD card.
i dont have a SD card inserted right now ... this is my internal memory ... i understand that
does that change anything ?
bilalrashid said:
i dont have a SD card inserted right now ... this is my internal memory ... i understand that
Click to expand...
Click to collapse
The way I understand it is that the G2X comes with 8GB of internal memory, divided into 2 partitions, and an empty slot for an external sdcard. There is a 1.xxGB partition for system use, and a 5.xxGB partition for user files (music, photos, videos, etc). The stock ROM considers this 5GB partition as the /sdcard, and if you insert an actual external card it is mounted within the sdcard directory as ./_ExternalSD.
CM7 (and I'm guessing EB 2.3.4 does as well since its based on CM7) mounts that 5GB partition as /mnt/emmc and the actual external memory card gets mounted to /sdcard. So if you dont have an actual sdcard inserted into the phone then your then your apps that rely on an sdcard won't have one to use.
The 2 solutions are to: 1) change the mount points of the external sdcard and the 5GB partition, or 2) insert an external memory card.
or i came up with option no 3... revert back to stock froyo 2.2.2 and this problem goes away .. will stay on this till i have my SD Card
bilalrashid said:
or i came up with option no 3... revert back to stock froyo 2.2.2 and this problem goes away .. will stay on this till i have my SD Card
Click to expand...
Click to collapse
Lol yea or that. If you want a good rom that utilizes the memory the same way as stock, try Ultimate G2X 1.0. Its rock solid and fast and has a great theme.
will check it out .. thanks a lot bro ... you are awesome

[Q] app get copied to external SD Card rather than internal SD Card

hi, im Geoff.
recently after flashing the stock 4.0.3 ICS firmware, flashing a old bootloader and using my own USB Jig and resetting
the flash counter for kernels, i finally flashed JellyBean 4.1.2 Original Firmware from Samsung. my mobile is Galaxy S2 i9100.
my problem is i recently bought a 16GB micro sd card and inserted it into my phone before i could install any app onto my phone.
then i installed few apps and games from the Google Play Store. then i noticed the external sd card have about 120 mb of used
memory. but i only had about 20 mb of data that i copied onto it that were certain zip files and nothing else. i noticed that when i install
any app, then go to applications and move to SD Card option [which previously copied apps to the internal SD Card/USB storage],
is now actually moving the apps to the External SD Card. So if I unmount the external SD Card or remove it, none of my installed apps appear.
My external SD Card is meant for songs and movies. I want my internal SD Card to store all my apps so that i can remove my External
SD Card when ever i want to and swap it or not use it at all.
I also removed the external SD Card and then installed a new app, then use the move app to SD Card option. I got a error message,
saying something like insufficient memory/space.
my doubt is, apps are trying to be moved to the internal sd card but because they cannot be moved, they are being copied to the
external sd card.
any help is appretiated. btw i have rooted my phone by doing the temporary update of CWM from the stock recovery using the update from
external card method. then i also installed SuperSU. so its rooted and i didn't have to flash a kernel to root.
[update] im gonna provide some new info here:
I have a Android folder in my Internal SD Card [sdcard0]
and ".android_secure" in my External SD Card [extSdCard]
/mnt contains
asec [software files stored on the internal memory/ not internal SD Card or sdcard0]
obb [empty]
secure/asec [software moved using move to sdcard option. these files get copied to the extSdCard and not the sdcard0]
.lfs
and the sdcard and extSdCard links.
If I remove my External SD Card and try to move apps to the Internal SD Card using the move to sdcard button in application settings,
I get the insufficient memory error.
Also when I use the move to SD Card button in Application Settings, it shows the file being moved to the USB Storage [which is supposed to be
the internal sd card or sdcard0], yet it actually is being copied into my external SD Card or extSdCard.
What apps/games?
A lot of app data is stored on SD card, whether the core files and executable are on the internal or not, so that may just be cache stuff etc... One way to check is to remove the SD card then try to run whichever apps, I am willing to bet they still run.
orangekid said:
What apps/games?
A lot of app data is stored on SD card, whether the core files and executable are on the internal or not, so that may just be cache stuff etc... One way to check is to remove the SD card then try to run whichever apps, I am willing to bet they still run.
Click to expand...
Click to collapse
i use the move to sd card for most apps/games. apart from 1-2 apps that dont have that option, about 10 apps+games have the option to be moved to the SD Card. And i used that option. But I am positive they got copied to the External SD Card because after I remove the
External SD Card, all the apps disappear.
Also when i then try installing new apps to the phone and then try to move them again [without the external sd card in its slot],
i get the error message of insufficient space/memory.[i have 8GB+ empty space in the internal SD Card]
its really annoying me
TitanHack said:
i use the move to sd card for most apps/games. apart from 1-2 apps that dont have that option, about 10 apps+games have the option to be moved to the SD Card. And i used that option. But I am positive they got copied to the External SD Card because after I remove the
External SD Card, all the apps disappear.
Also when i then try installing new apps to the phone and then try to move them again [without the external sd card in its slot],
i get the error message of insufficient space/memory.[i have 8GB+ empty space in the internal SD Card]
its really annoying me
Click to expand...
Click to collapse
Sounds like you have an option enabled in app settings to install all to SD, check your app settings in system settings.
orangekid said:
Sounds like you have an option enabled in app settings to install all to SD, check your app settings in system settings.
Click to expand...
Click to collapse
I have gone through everything in settings. I cant find any option where I can actually select weather to install all to SD.
I appretiate you trying to help me out. I hope i find a solution to this problem.
Initailly I felt that it cound be some code causing the apps to move to the external sd card instead of the internal one. But after I got
the error message that I have insufficient space [with the external sd card removed ], even tho I have plenty of space, about 8GB+,
on the internal sd card...so I dont think this is due to any code somewhere pointing to install into the external SD card.
I read somewhere that when the internal sd card is full and no more apps can be installed, the new apps go to the external sd card by default.
Something like that is happening to me, except my internal sd card is fine.
I updated my first post with more info to help diagnose and solve the problem. ty to all trying to help me.
bump
[reserved]
I would back up the stuff you want from SD and from your ROM (to your computer), then go to recovery, full wipe + cache + dalvik, then format external SD, then reboot into system, then restore what you want.
orangekid said:
I would back up the stuff you want from SD and from your ROM (to your computer), then go to recovery, full wipe + cache + dalvik, then format external SD, then reboot into system, then restore what you want.
Click to expand...
Click to collapse
hey man ty for not giving up on me ive not been well and then got so busy recently....
i did what you asked. i even accidently wiped the system folder from cwm recovery. it went into a boot loop or whatever it is called.
i re-flashed the official samsung jellybean firmware 4.1.2 on my i9100. then again cleant delvic + cache +used data. yet the problem
persists.
i noticed that the android folder is being created in the internal sd card. but that android folder has very small amount of the app
files stored on it. the major chunk is in android_secure which is only being stord on the external sdcard.
when i go to mnt folder in root i see two folders named asec and secure.
1."asec" contains apps stored on internal memory [not internal sd card]
and 2. "secure" contains a "asec" folder which stores app stored on the external sdcard.
i believe somewhere the code which should point the android_secure folder to the internal sdcard is pointing to store apps on the
external sd card. perhaps you guys can show me how i can change the folder path of android secure. then it will behave like
default, the way is was meant to behave.
You might need to repartition your system.
I'll see else we can come up with later today, in the mean time, try to maybe use TWRP instead and a different ROM
little more info
orangekid said:
You might need to repartition your system.
I'll see else we can come up with later today, in the mean time, try to maybe use TWRP instead and a different ROM
Click to expand...
Click to collapse
when i click move to sdcard in the application settings/menu, it shows USB data filling up.
that USB data is supposed to be my USB drive or my Internal SD Card. And the external sdcard shows up
as 0 KB of data. But actually the files are being copied to the external sdcard and not internal.
now if we think the android system cannot access the internal sdcard, then thats not the matter because
it creates a folder named Android in the internal sdcard and stores the app cache there.
So to me it seems that the android system is confused and actually thinks that the android_secure folder is
mounted on the internal sdcard while it actually is mounted on the external sdcard.
perhaps anyone can link me a guide to move my android_secure folder...
TitanHack said:
perhaps anyone can link me a guide to move my android_secure folder...
Click to expand...
Click to collapse
Facing this problem now.
TitanHack, did you found an answer?

[Q] What is USB Storage?

Hi everyone,
My Galaxy Ace Plus is my first Android phone, and since I bought it several months ago I was confused because I found 3 memory locations on my device: the Internal Storage, USB Storage, and the External Memory card that I added.
I can't really understand what the USB Storage is?
In fact I made a factory reset few days ago as the device was freezing a lot, and it asked me whether I want to format the USB storage or not, stating that if I chose to format it I will lose all my music and pictures and other files. So I became more confused because all my media files, ebooks, etc. are placed in the External Memory card! so why it would consume space of both storage locations!!
can anyone explain that please?
Also what will I lose if I formated the USB Storage only? would it improve the device performance anyway?
Thanks!
- Ramy
Internal storage , Usb storage & SD storage
internal storage is the one reserved for system, i.e 1.5 GB on Note, or in another words it is the flash memory of the device. It stores the components of ROM or the ANDROID OS. Applications get installed on this memory.
USB storage is the rest of the original storage on Note (i.e around 9.5 GB). In common language an Internal Memory where all your files are saved by default. This memory is used by most of the applications for storage of their data.
Most of the move2sd apps move apps from internal to SD Storage which means the USB Storage.
external SD Card storage, on the other hand, is the storage which relies on another SD Card put into the phone, e.g....external SD Card.
That's before you put external SD card..
If you put another SD Card in the phone, it will read as external SD Card. In the file system, it is known as external_sd.
Now, the answer to your next question.. Formatting the USB Storage of the phone is simply formatting your internal memory. It has nothing to do with PERFORMANCE. it just makes space available on your device's internal memory. :good:
Thanks a lot!
mht.msr said:
internal storage is the one reserved for system, i.e 1.5 GB on Note, or in another words it is the flash memory of the device. It stores the components of ROM or the ANDROID OS. Applications get installed on this memory.
USB storage is the rest of the original storage on Note (i.e around 9.5 GB). In common language an Internal Memory where all your files are saved by default. This memory is used by most of the applications for storage of their data.
Most of the move2sd apps move apps from internal to SD Storage which means the USB Storage.
external SD Card storage, on the other hand, is the storage which relies on another SD Card put into the phone, e.g....external SD Card.
That's before you put external SD card..
If you put another SD Card in the phone, it will read as external SD Card. In the file system, it is known as external_sd.
Now, the answer to your next question.. Formatting the USB Storage of the phone is simply formatting your internal memory. It has nothing to do with PERFORMANCE. it just makes space available on your device's internal memory. :good:
Click to expand...
Click to collapse
Thanks! now I got it :good:

[Q]

I own a Coolpad F1 which has only 8GB of internal storage. How do I replace the internal with external SD Card? I don't have the vold.fstab file. (or I just don't see it). None of the apps I tried didn't work. I also tried GL2SD which does work but I'm trying to swap the memories.
janekmuric said:
I own a Coolpad F1 which has only 8GB of internal storage. How do I replace the internal with external SD Card? I don't have the vold.fstab file. (or I just don't see it). None of the apps I tried didn't work. I also tried GL2SD which does work but I'm trying to swap the memories.
Click to expand...
Click to collapse
You cannot replace internal storage with an external storage sd card. If there is not SD card slot then there isn't support for SD. Although, there probably are ways to replace internal storage for a greater capacity, I would not recommend it. You would have to put all your software back on the phone. In other words, imagine taking the harddrive out of your computer and putting in another (not external, but replacing the original one).. You would essentially have nothing because windows (or mac) is on that.
Consider using cloud storage for files that can be placed there.
Nonono...
ItsJacobee said:
You cannot replace internal storage with an external storage sd card. If there is not SD card slot then there isn't support for SD. Although, there probably are ways to replace internal storage for a greater capacity, I would not recommend it. You would have to put all your software back on the phone. In other words, imagine taking the harddrive out of your computer and putting in another (not external, but replacing the original one).. You would essentially have nothing because windows (or mac) is on that.
Consider using cloud storage for files that can be placed there.
Click to expand...
Click to collapse
Let me rephrase: How do you mount external sd as internal sd?
I have an external sd card in my phone and I'm trying to use that big storage instead of the i ternal 8 gb.

How to use sd card as internal storage & portable storage together?

I want to keep my files in SD card . Also I want to move apps to SD card at the same time.
I have tried creating 2 partition in SD card using aparted app. Both were in exfat format (means portable). Then I went to settings > storage and formatted one of the partitions as internal storage. But unfortunately both partitions became internal instead of one.
Look inside here:
Make your SD card Semi-adopted. Works great!
EDIT: MARSHMALLOW ONLY I hate the small amount of internal memory, but I don't want to make my ENTIRE SD of 128GB Adopted and unremovable. So I found this post describing how to make your SD only partially Adopted by splitting the partition in...
forum.xda-developers.com

Categories

Resources