[Q] install apk into external sd card - General Questions and Answers

"adb shell pm set-install-location 2" not work, it does indicated apk will install to external storage. but when I try install a apk, it prompt me no enough space for the app. It has 1GB free space, the app only need 5MB. Why this happen? How to fix it?

fordiy said:
"adb shell pm set-install-location 2" not work, it does indicated apk will install to external storage. but when I try install a apk, it prompt me no enough space for the app. It has 1GB free space, the app only need 5MB. Why this happen? How to fix it?
Click to expand...
Click to collapse
1. Why are you using adb to install an app when you can just click on the apk in your file browser?
2. Have you enabled apps to be installed from foreign sources?
3. Have you set your apps to install to the card install of the internal phone?
4. Have you double checked that you actually have the correct path to the external device? Usually /mnt/sdcard
And what app are you trying to install? I assume that many other apps have worked before... so why are you having a problem, and does that mean your external storage have no apps on it?

i get that too had to do a reset

Related

[Q] How to install apps to internal sd instead of external sd?

The infuse has 3 storage areas- external sd card, internal sd card, and internal phone storage. Is there a way to install apps to the internal sd card as the default? It always installed to the internal sd card before and now when I added an external sd card it installs to that instead. I only want apps to install to internal sd card and use the external sd card just for my stuff. Does anyone know how to default app installs to the internal sd card(not phone storage) instead of external card without taking out the external first?
sorry answered wrong question, brb lol
i've always been kind of curious about this too.. because there is a 2gb partition, the 13 or so gb "internal sd" and then the external sd.
by default some apps automatically go to the external sd, but if you select to have them moved to phone under manage apps, it relocates them to the 2gb partition... so what the heck is the 13gb internal sd used for?!
i do know the camera puts photos on there, and some other apps write to the internal sd, like cwm, titanium backup, qik, and various others
I have the same problem...
Well there is no option in the phone to do this but if you are rooted and go onto the market and download "terminal emulator", its free you can easily change it.
Here are the Steps:
make sure usb debugging is checked
open terminal emulator and type "su" (press enter)
now type "pm getInstallLocation" (press enter)
it should say something like [auto]
this means the system decides which is best
to change it to internal just type the following command:
pm setInstallLocation 1 (press enter)
now its set to internal,
you change it anytime by using the "pm setInstallLocation" followed by a space and choosing any of the numbers
0 - auto (default)
1 - internal
2 - external
skillz9669 said:
Well there is no option in the phone to do this but if you are rooted and go onto the market and download "terminal emulator", its free you can easily change it.
Here are the Steps:
make sure usb debugging is checked
open terminal emulator and type "su" (press enter)
now type "pm getInstallLocation" (press enter)
it should say something like [auto]
this means the system decides which is best
to change it to internal just type the following command:
pm setInstallLocation 1 (press enter)
now its set to internal,
you change it anytime by using the "pm setInstallLocation" followed by a space and choosing any of the numbers
0 - auto (default)
1 - internal
2 - external
Click to expand...
Click to collapse
now when you say internal, do you mean the 13 gb(after formatting), or the 2gb partition of the 16gb?
because when you go to manage apps and select the sd card tab at the top, then "move to phone" it puts them on the internal 2gb partition. NOT the 13gb "internal sd"
this confused me terribly when i first got the phone.
Here is what I mean..see attached.
When samsung advertised "16 gb" onboard memory, what they didnt tell you is that roughly 2gb(1.85 after formatting) is partitioned as "program" and the remaining 13.03gb(of the 16gb) is labeled as "internal storage". if you tell the device to move apps to phone, it puts them under "program".. my initial concern was that eventually the 1.85gb would become full and i would then be forced to load apps to the external sd.
so how can we utilize the 13gb internal sd storage for apps? maybe i'm just over analyzing, but *throws temper tantrum* its my phone and i want it THIS WAY!! haha
Sent from my SAMSUNG-SGH-I997 using Tapatalk
bradbusa said:
Here is what I mean..see attached.
When samsung advertised "16 gb" onboard memory, what they didnt tell you is that roughly 2gb(1.85 after formatting) is partitioned as "program" and the remaining 13.03gb(of the 16gb) is labeled as "internal storage". if you tell the device to move apps to phone, it puts them under "program".. my initial concern was that eventually the 1.85gb would become full and i would then be forced to load apps to the external sd.
so how can we utilize the 13gb internal sd storage for apps?
Sent from my SAMSUNG-SGH-I997 using Tapatalk
Click to expand...
Click to collapse
What I did should use the internal 13gb memory, it doesn't hurt to try it, easy enough to change it back
skillz9669 said:
What I did should use the internal 13gb memory, it doesn't hurt to try it, easy enough to change it back
Click to expand...
Click to collapse
good point, i'll give it a shot and report back
bradbusa said:
good point, i'll give it a shot and report back
Click to expand...
Click to collapse
definitely, kind of interested myself now.
Nope, looks like it still puts them to the"program"storage. Not entirely sure I understand how to use emulator though. I followed your instructions to the T but when I asked for get installlocation it didnt exactly tell me which option was selected
Sent from my SAMSUNG-SGH-I997 using Tapatalk
bradbusa said:
Nope, looks like it still puts them to the"program"storage. Not entirely sure I understand how to use emulator though. I followed your instructions to the T but when I asked for get installlocation it didnt exactly tell me which option was selected
Sent from my SAMSUNG-SGH-I997 using Tapatalk
Click to expand...
Click to collapse
it should look like this:
su
# pm setInstallLocation 1
# pm getInstallLocation
# 1[internal]
did yours say that?
you should see it like this but with option being 1[internal] not [external], for some reason I can't take a screen shot of mine so this is the best I could find
This is what I get. I'm pretty sure I typed it correctly. It was too long to fit in one screen shot, so I took two. You should be able to find where the text overlaps
Sent from my SAMSUNG-SGH-I997 using Tapatalk
bradbusa said:
This is what I get. I'm pretty sure I typed it correctly. It was too long to fit in one screen shot, so I took two. You should be able to find where the text overlaps
Sent from my SAMSUNG-SGH-I997 using Tapatalk
Click to expand...
Click to collapse
your putting a space after "get"
it should be exactly :
pm getinstalllocation
or
pm setinstalllocation 1 ( the 1 has a space before it )
your putting a space after set and get, fix that n it should work
you're right, lol i was adding a space. i tried it again this morning, and for some reason it gave me the same long list of explanations that i dont understand. did basically the same thing as before. i noticed that for some reason it is capitalizing my I's in "getInstalllocatIon". dont know if that would have anything to do with it or not. that is exactly how it looks when i type it though?
I tried this and it worked. I show as 1[internal]
you must type it as such
# pm setInstalLocation 1
Both the I and L are capitalized. When I did it the first time around I didnt capitalize and it didnt work.
However I still can seem to get apps to move to the Internal SD. I even went as far as uninstalling apps and reinstalling to see if they did default into the internal SD as I indicated with the Terminal Emulator. Anything else that needs to be done to allow the Internal SD to be writable?
Thanks you great solution.
I did it and it worked but for some reason it switched back to "External SD"
I did change it it again but now the folder ".android_secure" is in External SD like (alei.switchpro-1.asec) and some app refuse to install.do you have any solution?
Thanks again
Still installs on the internal memory instead of sd
Did all that with the emulator and I did set it as 1, however apps still get installed on my internal memory...seriously running out of space now!!

terminal emulator - install apps to sd?

word of note, i have busybox installed.
I have around 300 apps on my phone, as i have a nice, big SD card. due to several re-flashes i have the apps as .apk files
but the phone itself only has 2 gigs or so of space for apps.. not enough >.>
i tried to do :
busybox install *.apk /data/app
but that filled the phone memory very quickly.
I need to install them directly to SDcard.
Where? i moved an app to SD manually and i don't see it on the SD anywhere.
someone give me a hand?

Is it possible to move/install apps in Android 4.2.2+ to external SD card any more?

Hi is it possible to install apps to external SD card in Android 4.2.2+ any more? I'm sure I remember I used to be able to do this in older versions of android.
I tried the ADB method:
adb shell pm set-install-location 2
but I get an error message saying:
"insufficient storage available"
I tried a whole bunch of apps including Apps2SD, Link2SD, etc, but these all say that because I have an emulated internal SD card that is shared with the OS I can't move my apps. I don't really understand this as I have a 32GB external SD card in my system.
All apps like Link2SD do is open up the application manager anyway, where in the past you had the option to stop the running app and move it to SD. You couldn't do this with all of them, but you could do it with most.
Is there any way around this? I'm surprised not more people would like to move/install their apps to their external SD card.. Many phones are stupidly limited in the amount of internal storage they have, even some of the most expensive ones.
jebus197 said:
Hi is it possible to install apps to external SD card in Android 4.2.2+ any more? I'm sure I remember I used to be able to do this in older versions of android.
I tried the ADB method:
adb shell pm set-install-location 2
but I get an error message saying:
"insufficient storage available"
I tried a whole bunch of apps including Apps2SD, Link2SD, etc, but these all say that because I have an emulated internal SD card that is shared with the OS I can't move my apps. I don't really understand this as I have a 32GB external SD card in my system.
All apps like Link2SD do is open up the application manager anyway, where in the past you had the option to stop the running app and move it to SD. You couldn't do this with all of them, but you could do it with most.
Is there any way around this? I'm surprised not more people would like to move/install their apps to their external SD card.. Many phones are stupidly limited in the amount of internal storage they have, even some of the most expensive ones.
Click to expand...
Click to collapse
I use kitkat carbon custom rom for my xperia arc s. I use link2sd before, and there is no problem with app install on the external sdcard. But now I use mount2sd. For me it's more simple and I don't have to open link2sd and click on app then create link, it's auto by mount2sd. But I use "dirty" method to install link2sd and mount2sd on my phone :laugh: . If you se link2sd, maybe you can try it.
*I sorry, I don't know adb method. I'm just noob. And sorry for my bad english*
Yeah same question for me. What program to use. Thankxs for it. Hugz
Just 4 2 Day
Maybe you should try Mount2SD. IMHO, I think there is possibilities install apps to ext sdcard with this app as long as your phone rooted. Try with this instruction originally from Mount2SD.
*Sorry, I'm just noob. And sorry for my bad english*
if your phone is rooted use luckypatcher

Let me know the app got installed to sd card or phone memory after rooting the phone

Assalamoalekum,
After rooting my galaxy s4 phone I installed terminator emulator app in order to make my phone default installation location to sd card instead of phone memory. After granting permission by supersu then i typed
"pm setInstallLocation 2" then type exit and hit enter then app was shut down.
After this i installed an app in my phone and i did not know where this app got installed either in phone memory or sd card.
I also checked installed app location from application manager,
Screenshot is attached, check screenshot and let me know where the app got installed either in phone memory or sd card and also let me know why "Move to Sd card" option is disable?.
Email id is [email protected]
Thanks,
Zohaib
check in both of your storages internal/external.. goto android/data and check your installed app related folder there... the folder must be in internal or external storage

Help [LB][.182] How to remove the 75% internal storage warning?

I don't wanna transfer my apps to sd card. Cause, I always have 1GB free space on my Internal Storage. Is there any patch or mod to remove the warning, please let me know.
Use terminal emulator
Type these commands 1) su
2) pm hide com.sonymobile.storagechecker
U need root
Download notification off from play store
And turf off notification form memory

Categories

Resources