[Q] making the external SD primary SD - LG Optimus 2x

I just got the OpX2 and 16 GB SD to use with it. I found out the hard way the phone can only uses the internal SD (5.5 GB). This makes the phone practically unusable! There is a setting to unmount the internal SD, but that also unmounts the external SD >:-(
I'm thinking: Root the device and mount the external SD as primary.
Has anybody tried this?
Update:
I started this thread because I was angry about my Spotify cache did not fit on the 5.5 GB internal SD. But Instead of mounting the cards differently, I figured well maintained Apps will gain support for this kind of internal/eternal storage so changing the mount points might disturb other apps, I hacked the Spotify apk to put the chache on the external SD card. The path to the eternal storage is hard-coded not a setting, anyways I changed it from /sdcard[/spoify2] to /sdcard/_ExternalSD[/spotify2].
Here is a link to the modified Spotify apk.

Yeah, I would like to know this too.

What exactly are the problem you think you have which makes it unusable ?

If you add a 32 gb SD card then it is seen as external SD card and you cannot use it to install applications on because the internal storage is mounted as "internal memory" and "SD card". That's the problem.

Well, it would need a kernel change first but it can be done:
First:
mount /dev/block/mmcblk0p9 to something other than /sdcard at boot
Then:
mount /<your mount point>/_ExternalSD at /sdcard
I think your SD card would have to have an EXT partition which is what would be used. And because of this there's little point.

ULJ said:
If you add a 32 gb SD card then it is seen as external SD card and you cannot use it to install applications on because the internal storage is mounted as "internal memory" and "SD card". That's the problem.
Click to expand...
Click to collapse
No that is not really a problem. You can never install applications on the SD card - no matter if its internal or external (unless you hack the phone)
On android phones, theres a dedicated apps partition where apps get installed, on most phones this partition is only a few hundred mb big (the Desire for instance only has 145mb), on the LG it is 1.45gb - besides this internal apps partition Android 2.2 has a function called "move to sd" which you can select for individual applications. This function only moves some part of the application to the SD card but still leaves some part of the application in the apps partition. Hov much you can move and if you can move anything at all depends on every individual application - some apps dont support this function, others only move little to the SD card, and then others again move a larger part to the SD card.
Its true that when using this function you are limited to the internal SD card which is an extra 5.5 gb - but the point is that this is plenty space for apps, because Android apps dont take up GB's of space. They are mostly very small (few kb or mb) and hundreds of these will easily fit inside the 1.45gb apps partition, except for a few 3d games which make take up an additional 1-300mb of gametextures being stored on the SD card.
But overall you have easily around 6gb for apps storage which is plenty of space for this particular purpose for almost anyone, no matter what use they have. It would normally mean allowing for hundreds of varied apps to be installed. Just dont fill up the internal SD card with other things like mediafiles (music, video etc.) - instead place these kind of files on the external SD card.
Talking about the phone being unusable because it "only" has around 6gb of apps space is a little silly. Sure if the only apps you want to install are 3d games and we imagine each of them taking up 200mb for textures - then you are limited to 30 games, or 60 games if each take up 100mb (unless some of them would allow the textures to be installed on the external SD card) - but how likely is that scenario ? And even if, it doesnt really make the phone "unusable" - then you would just prioritize and install the 20-40 most important ones. Noone "needs" to have 30-60 3d games installed at the same time on a phone. You cant even get 30 3d games of that size currently.

I don't have any interest in storing apps on the SD, I want apps that store things on SD to have enough space.
I might want to use Spotify (a music player streaming music from a remote server). This app has the possibility to cache music so you do not have to wast your battery on constantly streaming over 3G/wifi and also have it available where connection speeds are low or no connection is available, or if you are abroad.
All in all the standard music cache I had on my Desire HD (before it was stolen in Cambodia) will nott fit on the 5.5GB of internal SD and if I cut it down to fit, I will still have problems with other apps like map applications that also need a lot of storage. The phone camera also stores it's pictures on the internal SD.
There are just so many reasons why what LG has done is stupid. It's a top of the line phone, why on earth limit the external SD used by applications to 5.5GB when you otherwise could put in 32GB SD-card??

sorech said:
I don't have any interest in storing apps on the SD, I want apps that store things on SD to have enough space.
I might want to use Spotify (a music player streaming music from a remote server). This app has the possibility to cache music so you do not have to wast your battery on constantly streaming over 3G/wifi and also have it available where connection speeds are low or no connection is available, or if you are abroad.
All in all the standard music cache I had on my Desire HD (before it was stolen in Cambodia) will nott fit on the 5.5GB of internal SD and if I cut it down to fit, I will still have problems with other apps like map applications that also need a lot of storage. The phone camera also stores it's pictures on the internal SD.
There are just so many reasons why what LG has done is stupid. It's a top of the line phone, why on earth limit the external SD used by applications to 5.5GB when you otherwise could put in 32GB SD-card??
Click to expand...
Click to collapse
+1 I do agree. This phone is useless if you can't use its external SD like it works on HTC Desire etc.
It doesn't make sense that the phone support SD cards up to 32GB, but you can only use it as a backup space. Practically.
I also use Spotify with Offline function enabled. Then I have aprox 3000 songs stored, and my internal storage isn't big enough. Doh!
Sent from my talk i tapeten

spawndk said:
No that is not really a problem. You can never install applications on the SD card - no matter if its internal or external (unless you hack the phone)
On android phones, theres a dedicated apps partition where apps get installed, on most phones this partition is only a few hundred mb big (the Desire for instance only has 145mb), on the LG it is 1.45gb - besides this internal apps partition Android 2.2 has a function called "move to sd" which you can select for individual applications. This function only moves some part of the application to the SD card but still leaves some part of the application in the apps partition. Hov much you can move and if you can move anything at all depends on every individual application - some apps dont support this function, others only move little to the SD card, and then others again move a larger part to the SD card.
Its true that when using this function you are limited to the internal SD card which is an extra 5.5 gb - but the point is that this is plenty space for apps, because Android apps dont take up GB's of space. They are mostly very small (few kb or mb) and hundreds of these will easily fit inside the 1.45gb apps partition, except for a few 3d games which make take up an additional 1-300mb of gametextures being stored on the SD card.
But overall you have easily around 6gb for apps storage which is plenty of space for this particular purpose for almost anyone, no matter what use they have. It would normally mean allowing for hundreds of varied apps to be installed. Just dont fill up the internal SD card with other things like mediafiles (music, video etc.) - instead place these kind of files on the external SD card.
Talking about the phone being unusable because it "only" has around 6gb of apps space is a little silly. Sure if the only apps you want to install are 3d games and we imagine each of them taking up 200mb for textures - then you are limited to 30 games, or 60 games if each take up 100mb (unless some of them would allow the textures to be installed on the external SD card) - but how likely is that scenario ? And even if, it doesnt really make the phone "unusable" - then you would just prioritize and install the 20-40 most important ones. Noone "needs" to have 30-60 3d games installed at the same time on a phone. You cant even get 30 3d games of that size currently.
Click to expand...
Click to collapse
You are correct in most of what you are saying. However, if one uses a GPS navigation application like the one from Sygic, then you cannot place the maps on the external sd card as they will not be viewable for the application. Only from the sd card (on 5.5 GB which is part of the internal built-on memory) is the maps viewable. Now, thats a problem!

Its not LG that is doing something wrong .
Its actually all the people that are making apps that are on the wrong end. When they made their apps they werent accounting for the fact that phones would have 2 SD cards and as such wrote their software rather "limited".
All you need to do is basically to get the app developers the notice that phones like the LG, and various other phones with both Internal and External SD are having storage issues with their app. And then hope your app will get adapted in such a way that it supports the option that you can select where to save your files .
Look at Titanium Backup for one, it fully supports the external SD. Astro does as well. Its all a matter of "proper" coding from the app developers. The second they adapt their code to support external SD the problem is solved.
SO as such this is not an LG related issue but more a app related issue

ah ok I understand
- the spotify and GPS navigation examples are certainly valid points, I agree in situations like that it is an issue.
But its an issue that wont be limited to the LG, several new models will be coming with some amount of limited internal SD storage.
Shouldent it be an issue that is delt with on application level by the app developers rather than on hardware level ? Like, isnt it just poor application development that the source placement of this cache, maps, textures or whatever isnt selectable by the user ?
A sollution might be to contact the developers of the apps in question and ask them to
make a selectable option in the App for where to store this - an option where the user can select either internal or external SD.
Edit: I see MeX_DK had the same thoughts as I did

I actually had that thought when I got my LG and looked up the issue at first, thinking I was supposed to have a choice and then found out it was an app issue and not a phone issue .
So just like you I thought it might be worthwhile to spread the word so that many people can open their mouths and let the world know of the problems to come

TB won't find my External..
MeX_DK said:
Its not LG that is doing something wrong .
Its actually all the people that are making apps that are on the wrong end. When they made their apps they werent accounting for the fact that phones would have 2 SD cards and as such wrote their software rather "limited".
All you need to do is basically to get the app developers the notice that phones like the LG, and various other phones with both Internal and External SD are having storage issues with their app. And then hope your app will get adapted in such a way that it supports the option that you can select where to save your files .
Look at Titanium Backup for one, it fully supports the external SD. Astro does as well. Its all a matter of "proper" coding from the app developers. The second they adapt their code to support external SD the problem is solved.
SO as such this is not an LG related issue but more a app related issue
Click to expand...
Click to collapse
You wrote that Titanium Backup finds the external SD-card...does it ? It won't find my external....if you know why, please help
//K

See the following Image and you will see what I have done in order to get Titanium Backup to do to use my External.
Just a shame dropbox doesnt do the same >_<
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

any usefull script plz? i have 1gb free.....TERRIBLE!

Go blame your app developers. ITS THEIR FAULT....
If you have an app that uses or is supposed to use a lot of space go bang on that developers door and ask him/her to please support external SD usage.

devel? it is way on long time....>D

adfaf
could any one tell me and write me a sript for boot?
mount -t vfat -r -w /dev/block/vold/179:17 /mnt/sdcard/
mount -t vfat -r -w /dev/block/vold/179:9 /mnt/sdcard/_ExternalSD

rulezzzor said:
could any one tell me and write me a sript for boot?
mount -t vfat -r -w /dev/block/vold/179:17 /mnt/sdcard/
mount -t vfat -r -w /dev/block/vold/179:9 /mnt/sdcard/_ExternalSD
Click to expand...
Click to collapse
You'd have to do it in the kernel really. Swapping them after they've been mounted would be a bad idea.

yeah, any idea could anyone create a zip with update? it will be nice

Related

[Q] saving backups/photos to SD card on D3

Why the hell won't my phone save my songs from Spotify, my photos from Vignette, videos from the camcorder, and anything other data the apps create??
Where the hell is the option to save on SD card?
Simmah down.
The actual SD card is mapped as /sdcard-ext/ in the filesystem. The /sdcard/ mount point is the internal storage. Apps need to be written so you can choose the storage location, and this will only be a larger problem going forward because as internal storage space goes up, more and more manufacturers will be doing this.
The built-in camera app does ask if you want to use the real SD card when you put one in and load the program.
elkay said:
The actual SD card is mapped as /sdcard-ext/ in the filesystem. The /sdcard/ mount point is the internal storage. Apps need to be written so you can choose the storage location, and this will only be a larger problem going forward because as internal storage space goes up, more and more manufacturers will be doing this.
The built-in camera app does ask if you want to use the real SD card when you put one in and load the program.
Click to expand...
Click to collapse
Yeah, see I use Vignette so that doesn't help... geez.
Guess I'll have to make sure the main camera app is at least on SD card storage. I don't remember if the video files are automatically saving to the SD card (I did notice the SD-ext difference and figured that was the external vs internal memory).
pekosROB said:
Yeah, see I use Vignette so that doesn't help... geez.
Guess I'll have to make sure the main camera app is at least on SD card storage. I don't remember if the video files are automatically saving to the SD card (I did notice the SD-ext difference and figured that was the external vs internal memory).
Click to expand...
Click to collapse
If they're not being stored to the external on the stock app, boot the phone without the SD card in the phone, launch the camera app, then shut the phone down. Pop the SD card back in, boot up and launch the camera app again. It should say as soon as you launch that a new SD card is found and ask if you want to use it.
Going forward, /sdcard-ext/ is going to be more common on more phones, so app developers need to start providing an option for where users want to store data files. I'd contact the Vignette developers (they're pretty responsive) and let them know that they need to add a feature to choose the storage location of saved pics because most likely all Motorola devices will be set up this way going forward, with other manufacturers following.

Why can't I save apps on my internal SD card?

Why does my Captivate only limit me to having 2GB of space for apps? I'm not using an external SD card and I want to install my apps onto my internal SD card or atleast move them there.
It's been a while since I have been on a stock ROM so please correct me if I'm wrong, but I believe you can move at least some of the apps by going to settings / applications and then, in the individual application settings, select "Move to SD."
I know you can't move widgets or alarm applications because they will break if they aren't on internal memory, but you should be able to move games, etc. with no problem.
Move to SD was not available on Eclair... what are you running?
Sent from my Cappy
I'm on 2.2 right now. There is an option to move to SD but it only moves it to external SD not the internal one. It's split up into 3 sections
Internal Memory
Internal SD Card(I want apps to go here)
External SD card
muh316 said:
I'm on 2.2 right now. There is an option to move to SD but it only moves it to external SD not the internal one. It's split up into 3 sections
Internal Memory
Internal SD Card(I want apps to go here)
External SD card
Click to expand...
Click to collapse
Ah, now I understand. I never had enough apps on Froyo to play with moving them but shooting from the hip, have you tried removing your external card and see if it will let you move them then? If not, I know that there are apps2sd applications on the market that should help you, but I haven't used any of them to give you a recommendation.
apbthe3 said:
Ah, now I understand. I never had enough apps on Froyo to play with moving them but shooting from the hip, have you tried removing your external card and see if it will let you move them then? If not, I know that there are apps2sd applications on the market that should help you, but I haven't used any of them to give you a recommendation.
Click to expand...
Click to collapse
I've used all of those methods and none work.
Did you find solution? I have same situation here, it's pretty weird internal SD could only be stored with application data instead of application itself.
I'm almost positive that you can't move apps to your "internal SD card" regardless of whether or not you have an external sd card installed.
My understanding is that you can only move apps to the external SD card (at least that's how it's been on any ROM I've ever used)
why... Why! WHY!!! . . . oh >.>
muh316 said:
Why does my Captivate only limit me to having 2GB of space for apps? I'm not using an external SD card and I want to install my apps onto my internal SD card or atleast move them there.
Click to expand...
Click to collapse
Why you ask...
Well simple, your limited to only 2GB because this size was choosen by phone manufacturors years ago when they were first designing the phone.
Consider that most of the phones in use back when 2.2 was released did not, for the full storage potential, even have the 2GB that we have just for apps (16GB in total). Heck most did not even have 1GB (I think 512MB was the standard). There was no separation between app storage and other media. This lead to users running out of space for both rather quickly. The solution then was to find use for the external SD as it could be as large as 32GB of storage.
The whole "internal SD" thing was thought up because it seemed wise to separate app storage from media storage. Also back when 2.2 was first released we did not have such massive apps as on the market today, so 2GB was plenty of any and all user (excluding the ppl who felt a need to have 200+ user apps...)
So, you can't store apps to the "internal SD" because that's not what it is meant to be used for. When companies decided to start putting such massive storage into the phone there was no reason for it to be any bigger.
As to only being able to move apps to the external SD, simple; Google did not design Android to do so.
To allow such would require changing how Android sees the "Internal SD" and to change how the app to SD function works, it is not currently written to check for multiple SD cards. I don't see any Dev willing to take up the task when the solution to running out of app space has already been solved by a much better means.
A different way to view the problem would be to ask (or learn, as that's the xda way) about re-sizing the partition to make the app storage larger. If enough people ask (politely!) maybe one of the Devs can be convinced to make it standard in their ROM that it be more then the default 2GB, or someone might make an app or flashable .zip that allows for re-sizing.
lt:dr - phone is old, based on old specs (think pre- 2.1 Android).

Strange file system issues

My file system is totally confused. When I browse to EMMC from a file manager it goes to my SD Card. If I browse to SD Card it actually goes to the internal drive.
I've had my rooted Nook Color for about 5 weeks now (CM7 booted from a SD card). Everything was working great until I tried installing some different launchers. I tried GoLauncher, Zeam, ICS, Honeycomb and maybe one more. The default was ADW. Maybe I confused the system by constantly switching from one to the next but at some point the system crashed and I rebooted.
Once rebooted I noticed that many of the games I installed told me I needed to redownload their data files. I looked on my card, through my Mac, but the original files were still there. Turns out the Nook now installs apps on the internal drive rather than the card as it had been before.
Wouldn't be so bad but, as mentioned earlier, the file system is confused. When i need to manage files I've loaded on my SD card I have to browse to EMMC and vice versa. Makes my head spin.
Is there a way to fix it without starting from scratch? I'm using CM7.2.0.
Thanks for your help
That's not a bug, it's a feature. Anyway, what you likely did is Settings -> Cyanogenmod Settings -> Application Settings -> Use internal storage (checked). If you do this, then it swaps the mount points for the SD and the internal memory, so the SD card is mounted at "/emmc" and the internal memory is mounted at "/sdcard". See the first post in the thread in my sig for more information about this.
If you really want to return it to the original way, wasting 5G of internal storage space, then you can uncheck that box in the settings and it'll go back to normal.
Thanks for pointing that out and glad to see there's an easy fix. Seems a bit confusing though, like it's renaming your hard drives or something. I had been using the internal drive for storing media files, video, music, comics. Does it matter where apps or files are stored?
false1 said:
Thanks for pointing that out and glad to see there's an easy fix. Seems a bit confusing though, like it's renaming your hard drives or something. I had been using the internal drive for storing media files, video, music, comics. Does it matter where apps or files are stored?
Click to expand...
Click to collapse
Well, the "fix", IMHO, is to leave it with them swapped.
Yes, it matters where apps are stored and it matters what is mounted at /sdcard. Apps use space on the /sdcard partition for settings, temp storage, downloads, etc. Mounting that 5G partition at /sdcard instead of /emmc allows these apps to use that space rather than cluttering your actual SD card. And apps are going to wind up on your 1G partition, not on either the /sdcard or /emmc mountpoint.
You can go read up in my guide on my recommendation on how to best use this space. The normal way is inefficient and wasteful of internal memory, IMHO. But you know, maybe you like it that way
mr72 said:
You can go read up in my guide on my recommendation on how to best use this space. The normal way is inefficient and wasteful of internal memory, IMHO. But you know, maybe you like it that way
Click to expand...
Click to collapse
I think efficiency is more in how you choose to utilise the spaces rather than fundamentally in which switch option you use. For example, I choose to completely fill the 5GB of internal with sound and picture media as they get included in the normal app scanning process. Leaving the SD card to hold yet more media, app data and back ups.
It's still good to have the choice offered by the switch.

Is there any way to force the phone to use External memory?

This is my first phone with a lot of internal memory and I don't quite get how it uses it... Is there any way for the phone to use my external 16GB memory card instead of always using its own 8GB partition?
I second this question.
Though it may seem useless to do so, on the contrary I have a 32g ext SD card and would be fine ignoring the (confusing and my case redundant) internal SD card.
Or if not disable, maybe force apps/etc to default to the ext card?
Sent from my XT875 using xda premium
The question is does your app allow you the option to use your external memory. Not all apps are created equal and whether they allow you to use the external SD card is really up to the app developer. Its in the coding of the app that determines where the data is stored. Check your apps for that option and if there is none request it from the developer.
I believe there are ways to use the sd-ext for some kinds of data files used by large games, but the app must run on internal mem. I store all docs, downloads, pictures, music, videos, etc. on my external microsd card, but apps have to go on internal or they disappear or don't work. Search for 'apps2sd bionic' and you should find a way to store some game data externally.
raylgo said:
This is my first phone with a lot of internal memory and I don't quite get how it uses it... Is there any way for the phone to use my external 16GB memory card instead of always using its own 8GB partition?
Click to expand...
Click to collapse
I did this when I had the atrix, and have also done it on my Bionic.
http://forum.xda-developers.com/showthread.php?t=1404872
Ha! Didn't even think about messing with the fstab, thanks for that link. I'll be trying this shortly, and repost with results.
On a side note, I figured it shouldn't rely on the apps per say, considering a lot of phones don't have an internal "sdcard" (note: sdcard, not to be confused with regular internal app storage).
My opinion, naming the internal sdcard what it is was a seriously stupid idea. Should've followed suit with "app storage", how about "data storage"... just something not involving "card".
--
Cool, it worked awesome. Just had to swap files from one to the other to keep data in spots apps expected it to be.
Actually, I went ahead and disable the internal SD, and mounted the extsd in its place. Have been playing with mounting the extsd to both internal and external (resulted in only one mount point working), and also tried renaming the internals mount point to something like "internal_storage" (resulted in boot loop).
Be careful if playing with the mount points. The system doesn't like booting if it can't find something mounted to "sdcard", etc.
Something I'll be playing with and experimenting with. Any more info on editing these mount points would be very handy.
And lastly, sorry for hijacking your thread
Hope I didn't bother.
Sent from my XT875 using xda premium

[Q] sdcard0 vs extsdcard, want to move large data to extsdcard

Sigh, this is exactly what I was worried about when upgrading from my EVO 3D.
I noticed my new M8 has a sdcard0 and extsdcard folder. And of course, the apps and games which download hundreds of megs of data in order to run are downloading to the 24 gig internal sdcard0 mount point instead of the nearly empty 64gig extsdcard0 mountpoint. I really REALLY hate how so many Android phones seem to do this, why can't it just be partitioned as internal instead of faking a sdcard, thus making large apps install to internal with no option of installing to the actual external card?
Anyway, without rooting my phone, is there any way I can somehow set it so apps download and install their data to the actual SD card? The whole reason I didn't get the M7 was because I don't want my data to be stuck on the phone's internal memory in case anything happens, as well as to not waste internal memory space on several hundred megs or even gigs of data when I can use a large sdcard for that.
I believe u can go to manage apps and move apps to the sd card. Some may not be able to if it's not comparable but a lot of them should.
Sent from my iPad using Tapatalk
aaron130 said:
I believe u can go to manage apps and move apps to the sd card. Some may not be able to if it's not comparable but a lot of them should.
Click to expand...
Click to collapse
I tried that, it only moves the app executable to the SD card, not the hundreds of megs of additional data it downloaded. The app management screen even tells me how much of this additional data is on the internal memory and how much of it is on the SD card (it's all on internal), but moving the app doesn't move the additional data to the SD card.
One would assume that the ext sd 's bus interface would be quick enough to not bog any app which would be using it. That being the case htc has no excuse for not having interchangeable symbolic mounting points between the two sd's. Ive physcally moved some of the data from app's (dcim, and random music ) directories to the extsd, and at least it unburdens the internal sd.
The apk resource fork in these systems could be processed better in android and it's sdk, or even the runtime.
F yes it sucks.

Categories

Resources