[Q] app get copied to external SD Card rather than internal SD Card - General Questions and Answers

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?

Related

[Q] android secure folder on sd card ? asec files

so its my understanding that when you use apps 2 sd it stores them in the android secure file on my sd . now if thats wrong all together then what exactly is that folder for ? is it my titanium backup files ? Anyway my question is if im not relying on my apps to sd back up anymore i.e all of my apps are on my internal hard drive and the apk files exist in another folder on the sd card can i get rid of those files in the adroid secure folder on my sd card ? its taking up 7.5 gb of my 8 gb sd card so i have no room to add anything and half of the apps in there i already uninstlled from my phone but yet they still are taking up all the room on my sd card....
delete all third party apps.. except those present in the stock rom
Just delete the folder. I would back it up first, just in case. If all of your apps are on internal storage, you should be fine.
If that doesn't work, move everything on your SD card to your computer and format the card. Then move whatever you need back to the card.

Strange SD problem.

I'm having the same problem with 2 SD cards. It recognizes the card and all that but when I go into file manager and click storage I see at the bottom right /mnt/sdcard and there are a bunch of folder "downloads,dcim,movies etc". They all have files in them but the sd card still shows no space used.
When I pop out the sd card and go to file manager I still see the /mnt/sdcard and all the files and folders are there so obviously it's not storing stuff on the sd card even though file manager says it is.
Any idea as to what's going on?
cali310 said:
I'm having the same problem with 2 SD cards. It recognizes the card and all that but when I go into file manager and click storage I see at the bottom right /mnt/sdcard and there are a bunch of folder "downloads,dcim,movies etc". They all have files in them but the sd card still shows no space used.
When I pop out the sd card and go to file manager I still see the /mnt/sdcard and all the files and folders are there so obviously it's not storing stuff on the sd card even though file manager says it is.
Any idea as to what's going on?
Click to expand...
Click to collapse
one way 2 see the cards content is clicking on the notification icon bottom right of notification bar then the folder icon, this opens up the card and its content
correct path being /removable/microsd
cali310 said:
I'm having the same problem with 2 SD cards. It recognizes the card and all that but when I go into file manager and click storage I see at the bottom right /mnt/sdcard and there are a bunch of folder "downloads,dcim,movies etc". They all have files in them but the sd card still shows no space used.
When I pop out the sd card and go to file manager I still see the /mnt/sdcard and all the files and folders are there so obviously it's not storing stuff on the sd card even though file manager says it is.
Any idea as to what's going on?
Click to expand...
Click to collapse
the sd card is in "removable"....in the root directory
cali310 said:
I'm having the same problem with 2 SD cards. It recognizes the card and all that but when I go into file manager and click storage I see at the bottom right /mnt/sdcard and there are a bunch of folder "downloads,dcim,movies etc". They all have files in them but the sd card still shows no space used.
When I pop out the sd card and go to file manager I still see the /mnt/sdcard and all the files and folders are there so obviously it's not storing stuff on the sd card even though file manager says it is.
Any idea as to what's going on?
Click to expand...
Click to collapse
There's a folder on the tablet called sdcard that is not actually an sd card. The physical sd cards can be seen under removable>MicroSD
So can I assume that the downlods/dcim etc folders don't save to the sd card automatically like on my evo? And if so is there any way to force it to?
cali310 said:
So can I assume that the downlods/dcim etc folders don't save to the sd card automatically like on my evo? And if so is there any way to force it to?
Click to expand...
Click to collapse
It definitely seems that the apps think that the sdcard folder is truly the sdcard. I am really curious if you did apps to sd if it would just save the app in the sdcard folder, or look for a physical sdcard. I am wondering if my 16gb is partitioned somehow for system, data, and sdcard space. I am going to play around with this more when I have time.
With certain apps, you should be able to adjust the save location in the settings.
which sd card do you have?
Its treating the internal storage as if its the SD card you would put in a phone mounting it to /mnt/SDcard.
The actual SD card gets mounted to /Removable/SDCard.
It definitely seems that the apps think that the sdcard folder is truly the sdcard. I am really curious if you did apps to sd if it would just save the app in the sdcard folder, or look for a physical sdcard. I am wondering if my 16gb is partitioned somehow for system, data, and sdcard space. I am going to play around with this more when I have time.
Click to expand...
Click to collapse
There is no move to SD option in manage application settings as far as I can see theres no way to move apps to SD card, with the storage you get theres probably no need anyway.
/mnt/sdcard is indeed the onboard storage's sd card partition it seems. I think this is done similar to how the DInc handles its internal storage. The problem with things saving automatically to /mnt/sdcard and not the removable storage by default is because until honeycomb and tablets there haven't been any phones that have both internal storage and external sd card storage. The devs therefore only programmed apps that look for /mnt/sdcard because no matter what phone you used, thats either where the external card is or where the internal memory is partitioned as.
Until the app devs themselves update their software to allow for custom default save locations this will keep happening.
For instance, if you put an office document on one a microsd and try to open it inside quickoffice or polaris, you won't find it as those apps don't let you go any higher than /mnt/sdcard, which on the transformer is the internal memory.
cali310 said:
So can I assume that the downlods/dcim etc folders don't save to the sd card automatically like on my evo? And if so is there any way to force it to?
Click to expand...
Click to collapse
It would seem they do download to the appropriate directories under /sdcard/, however /sdcard/ is the internal storage, not the MicroSD card. Looks to be a symlink to /mnt/sdcard.
Given this I expect applications that try to save to the SD card will save in /sdcard/, which of course ends up being the internal storage.

miui v10.4 apps not moving to external sd HELP!!!

Hello everyone...
this is my first post on xda since i couldnt find any solution if i'm at fault kindly bear with me
1. i flashed my gt i9003 with miui v10.4 a week ago and everything was going fine
2. but today i suddenly got a notification that my storage was full
3. when i checked i noticed that the apps i installed were on internal sd card which is just 2gb(1.7gb usable)
4. i tried moving some apps which were installed on phone memory only to see them move to internal sd card.
5. i have a 32 gb external sd card which is visible in file explorer and i can browse the files but the apps when moved from phone memory doesnt move to external sd card.
6. kindly help me out with the above issue where i can move the apps i installed on phone memory to external sd card so that i can use it for installing games and not limit its usage to just songs and videos.
7. thank you
As much as i have used miui-gb i think external sd sometimes stay as external_sd folder only...try to format or reflash the rom.
As phone is having 1.85 gb of internal memory why dont u use it until it doesnt get full ???
U can use sd swap which will interchange internal and external sd.
androman1507 said:
As much as i have used miui-gb i think external sd sometimes stay as external_sd folder only...try to format or reflash the rom.
As phone is having 1.85 gb of internal memory why dont u use it until it doesnt get full ???
U can use sd swap which will interchange internal and external sd.
Click to expand...
Click to collapse
i already reflashed the rom and also sd swap.zip again but still no use.since i install a lot of games the internal sd card is already full.can you please suggest anyother method so that i can interchange internal sd with the external one. thanks for the reply...

Help! Apps installed on sdcard0 disappear when i insert ext sdcard

After installing CM12 on my android "Xperia V", I've moved some apps to my external card " by using Link2SD". They worked fine but now I want them on the internal storage "sdcard0" so I moved them back to phone storage and removed my ext sd card and moved them to sdcard0, they worked well and everything is fine.
Now when i inserted external sd card to my phone , all apps moved to sdcard0 are disappeared, when i remove my external sd card and turn on my phone again the apps back again. I want to use my external sd card, can you help me?
Note1: When i connect my ext sd card to computer i find android_secure folder.
Note2: When i try moving an app to sd card using normal app manager when the ext sd card is inserted, they move to the ext card not sdcard0. so I move them when ext card not inserted, they moved fine but when i insert my sd card back they disappear as i said.
BenjamineDupont said:
You use app to do this option? Which app did you used?
Click to expand...
Click to collapse
I've used "Link2SD" before, now i'm using normal App manager
BenjamineDupont said:
If the situation is like this, I think you can contect the servive of 'link2SD'. I think there maybe a wrong option which caused this ~
Click to expand...
Click to collapse
I've re-installed my CM12 ROM, just installed Gapps, installed random app and moved it to sdcard0, inserted my sdcard and the app disappear again! the problem isn't in Link2SD
I installed another ROM "cm12 instead of cm12.1", i think it works fine now

Default Storage Locataion

In storage settings, there is a "Default location" setting of either internal or SD card. What happens if I set it to SD card? Will all files be moved onto the SD card and use the internal flash as the secondary storage? Or will only NEW files be placed on the SD? I just installed a new 128GB mSD card but like to know how the phone will behave before switching to mSD card as default. I assume the internal storage will always be faster than SD so I may not want everything go into SD.
lejaune said:
In storage settings, there is a "Default location" setting of either internal or SD card. What happens if I set it to SD card? Will all files be moved onto the SD card and use the internal flash as the secondary storage? Or will only NEW files be placed on the SD? I just installed a new 128GB mSD card but like to know how the phone will behave before switching to mSD card as default. I assume the internal storage will always be faster than SD so I may not want everything go into SD.
Click to expand...
Click to collapse
It doesn't move everything to your SD card only new thing you install.
I have found that with a big SD card the phone takes a while to sort it's self out when you start it up.
Other than that it's no different
Code:
pm get-install-location
Results :
0 - auto
1 - internal
2 - external
Code:
pm set-install-location [I]{0 or 1 or 2}[/I]
For this you must have root
I don't have the option to select the MicroSD, it's already formatted inside the phone but it says I already created a user...

Categories

Resources