How to Install Apps on SD Card without Android Rooting
At AndroidAdvices, it’s our continuous endeavor to assist with all your Android needs and we are always happy to hear from you. So whenever you wanted anything about anything about your Android then we are here to help you out. So, in lines with this though in this article we will check out on how you can forcefully install the Android applications on your SD Card without needing you to root the phone as we understand that rooting voids the warranty and includes hassles sometimes. Only one thing which we would like to request you is to just follow each and every single instruction which we mentioned so as to forcefully install the apps on your SD CARD as some phones are not capable of storing apps on SD Card.
Before you proceed, you need to move all the applications from your SD Card to the phone memory. Once you do this, you can proceed to follow the procedure which is mentioned below.
Procedure to Install apps in SD Card Forcefully:
- Download Java Development Kit (JDK) followed by which you need to download the Software Development Kit (SDK) in your computer along with that you need to download the USB Drivers and also you need to ensure that the PC Suite is installed in your computer.
- Now, enable the USB Debugging Mode from the path “Settings > Applications > Development > USB debugging”. You can also refer to the below mentioned image to enable the same.
After installing the Java SDK, you need to install the Android SDK in your computer. After installing the Android SDK, you now need to run the tool called the Android SDK Platform tools.- Now, you will have to head to the toolkit which contains the Android Debug Bridge, a utility that allows you to communicate with an Android device from the command line.
- After this, you need to connect the Android phone to the computer using the USB Cable.
- Open the command prompt in your computer which you can open by pressing the “Windows + R” and then you need to type in the command as “cmd” and then enter the path as Android\Android-SDK\Platform-tools.
- Now, you need to type in the command as “adb devices” to check whether the phone is connected or not. Now, if it appears as “offline”, you need to check with the USB cable. Enter the command as “netstat” to check with the port is in use or not. If it is in use then then you need to close the process which is in the use.
- You will now need to proceed and check whether all the firewall and antivirus tools are disabled as these tools generally tend to interrupt the process.
- Now, all you need to do is to enter the command as “setInstallLocation” wherein after which it will accept the three valueswhich means;
0 [auto]: Let the phone decide the best location for an app
1 [internal]: It installs everything in the internal storage
2 [external]: It installs everything in the memory card
- You need to now change the value from 0 to 2 setInstallLocation. For changing this, you need to run the following command,
adb shell pm setInstallLocation 2
Just in case if there is no error message, unplug the phone and restart the phone. After this, you will be in a position to easily install the applications in the SD Card. Do let us know just in case if you face any issues as we will try our level best to ensure that the issues are addressed at the earliest.



I would like to ask a question – will this work with Android 2.1 (Eclaire)? If so, while the above procedures will enable me to install apps to my SD card, will I have the option to install apps to my phone’s internal memory or at least move some apps from the SD card to the internal memory. Thanks for the great advises. This is a great information source for things Android.
yes, we haven’t got a chance to test on 2.1 but you can check with the same!
Hi,
I could not find this command “setInstallLocation”
re connect the device and then try! is the device getting detected?
Neal please answer wich of the gingerbread are new official update in france xxjvt or xfjva????
XXJVT Is official
And also xxjvt battery is good or xfjva battery is good??
in both of them battery life is good
And also as of now wich of the firmware is stable with battery also on gt-i9000
My device is detected. But i Couldn’t find this command “setInstallLocation”. When I tried executing the command directly “adb shell pm setInstallLocation 2″ . It is accepted.
Now it allows to move some application to SD card.
Model:HTC Wildfire
Android 2.2
Can I use it for my Samsung Galaxy Fit S 5670? When I go to JDK and SDk sites I find lot of options for downloading. Please let me know which one to choose. I have windows XP on my computer. The phone has Gingerbread 2.3.4 version. Please guide me further. Is it for common users or this setting is for advanced users?
yes you can use for your device!
hi whn i give the command \netstat\ in command prompt,it says\TIME-WAIT\.and also i cant able to execute \SetinstallLocation\ system says cant find the path,Is it possible for u guys to solve this issue???????
Directly execute this command “adb shell pm setInstallLocation 2″. It will work. Please see all the comments
Does it mean we ALWAYS install apps on SD by default already?
and we can have option still to move to phone after that rite?
but if we move to SD after that does it move to internal or external sd? for devices like galaxy w i8150 with 3 layer memory…
you can move the apps to your internal sd!
We have the same dilemma. I also own a Galaxy W I8150 and when I move my apps to SD card it will always install it to the internal 2nd partition not in the external SD card(micro SD card). I think what he meant was after we move the app to the internal memory then back to external SD will it still be moved to the 2nd partition of the internal memory?
yes it will be moved to the user level access memory!
setInstallLocation cant be found!!!!
please have a look on dis
Directly execute the command “adb shell pm setInstallLocation 2″ . Please see all the comments before asking question.
When setting the default installation location to 2 will it install everything to the external storage/micro sd card? I use aps2sd and I noticed that apps2sd just transfers the apps to the internal memory 2nd partition.(using samsung) I thought it will move the apps to my external storage/micro sd card. I hope this will solve my problem without me rooting my phone. Anyone have tried this guide?
Hi Da, Sorry I do not know your name, I have same problem with my Samsung W I1850. It has 3 layer memory and I am trying to direct apps download to external SD. Tried above procedure of no avail. Did you find any solution to this problem,
Sincerely
Gregory
Please reply all the questions and difficulties I mentioned.
Hey when i trying to install packages it showing failed to create directory what can i do plz tell me i am in a knee desire of free space please reply me
yes you can apply this procedure to move the apps!
hi pradeep m not able to find the path on command i typed as u hv instructed but it says path not found plz help
which app you are trying to install?
Hi,
Recently i have purchase superpad (android 2.3.4, model SAWEE) with 4GB internal memory. i wish to add 4GB SD card and move all application to SD due to lack of internal memory.
But not able to enable SD dubug, this is disabled, and no option to enable debug.
I do not have wifi and purchased 3G modem and also not detected.
Could you please advice the root to enable SD card and drive to enable USB 3G wireless modem ( it only supports XP)
thanks
you can root your device and move apps to sd by using an app called apps2sd
After entering the path “then enter the path as Android\Android-SDK\Platform-tools.”, it shows “The system cannot find the path specified”. Please advise.
please check with the folder “Android-SDK”
hi, can i use tiz for my galaxy W?
yes you can very well use it
My device was not detected… somebody help me
where your device is not getting detected?
Hello,
Will this work on my Samsung Galaxy mini running Android version 2.3.5??
Thanks
yes it will but for this you need to root the device!
New to Android!
Just bought an Archos 80 G9 for my wife very surprised and dissapointed that Honeycomb seems unable to write to SD Card apparently only having ‘read’ ability. Am I right thinking that the above would therefore not work with Honeycomb.
If not is there a way of installing applications to the SD card using a PC that would be seen and run by the Honeycomb Tablet once the SD card is returned to the tablet.
I already have installed on my PC the full SDK with tools and simulator but to be honest up until now have had little use for it other than just playing about.
Thanks any help/advise very much appreciated
Hi I have a Galaxy W and how can i directly install APPS in my EXTERNAL SD.. this process that your teaching is this the solution?
hi i have tried it and keeps on saying permission denied
no for this you need to root and install apps2sd
do you have any blog about rooting the device and installing the apps2sd?
you need to roott he device first and then make use of the app called apps2sd
Hi, I used Samsung Ace,
permission denied
How can I download Platform Tool?? It has nothing in it..
which platform tool?
when I connected my HTC mobile it asked me for ADB file and it cannot be found, therefore software was not insatlled. I gave up
hi when install android sdk after executing it there is showing only android sdk tool and not showing android sdk platform tool.what should i do?
just install the same again and try!
i tried to adb shell pm setinstalllocation 2. but its giving me error message.
what is the error message?
Does this move apps to the 2nd internal position on say the galaxy s2 or optimus 3d or the actual external sd card?
Some phones easily allow transfer to external sd eg Sony ericcson x10. Others just transfer to internal 2nd partition.
To repeat will this work on galaxy s2 and move things to the actual external sd card?
please answer since a few wish to know.
I did as you told but apps won’t install on sd card nor would any app move to sd. using galaxy fit GT-S5670. android gingerbread 2.3.4. mail me too please.
yes you can use this but for this you will have to root the device!
Hi will this work on my HTc HD2 which i changed from windows to andriod(nexus one 2.3.4)
please follow the instructions!
hi neel,
i have restarted 2-3 times my galaxy ace but i cannot find my device in the list plz he me out
have you rooted the device?
Pradeep Neela… Is it mandatory to move all the apps to SD card before following the instructions. If yes do I’ve to move the apps including the one which are there by default. Frankly speaking… I am fearing of what will happen to my mobile, if my memory card gets corrupted.
root the device in the fat 32 mode!
Hi, Yesterday i bought HTC Explorer Android 2.3 Mobile. I’m a beginner of the Android services. Please suggest me any tutorial, how to operate my cell such as how to install the new apps from sd to cell, how to install the live wallpapers from pc to sd to cell…..etc. Please make reply….
so what if it says error: device not found
im having trouble i cant pull up anything from cmd and i put in the same commands Android\android-sdk\platform-tools and it says cant find path each time i have windows 7 so maybe thats the problem but pls help.
check witht he sdk installation! let the default path remain. dont change the default path
same prob i have…. Pradeep Neela plz help…..
plz give us some images… i cant understand “check with the sdk installation! let the default path remain”……
its seems that when i type Android\android-sdk….
isnt recognized
my cmd always starts with c:\users\(username)
not c:\program files or so
help?
Hi If you type cd.. it will close each (\) folder
so do it until you get C:\> the you need to know where is your android folder place in my case is under program files
so I type cd(space space)program files(enter)
c:\Program files> and here you type again cd(space space)what is on the instructions
(space space) means you have to hit space bar 2 times and write
try this; c:\users\{username}>set path=c:\program files…
Hey thanks for the article, I love new solutions without having to root. I dont care about moving the apps I have, the majority have been moved and the preinstalls I just stop and clear data once a week or so. What I would really like to do is be able to delete these lame preinstalled apps someone decided to force me have on my phone. If after performing the above procedure and apps have been moved sucessfully to the SD can they than be deleted? Thanks again!
you can root and check the same!
can we move default apps like facebook,google maps etc to sd card after this..?
yes you casn move the same!
When i executed adb devices, i got following. cant see my device.
C:\Program Files\Android\android-sdk-windows\platform-tools>adb devices
List of devices attached
C:\Program Files\Android\android-sdk-windows\platform-tools>
———–
Did netstat got many ports info, which one is for USB ?
you can use it for any port!
didn’t work for me..
iam using samsung tab p1000.. all configuration successfully without any error.. but the result is same.. application is not installed into sd card..
when i write adb shell or adb shell pm setinstallLocation 2.there are error on screen that device not found,please tell me the solution
what is the path of adb shell location! move it to the C:/ and not in desktop
Thank you it looks like work well in my Wildfire S ver: 2.3.5
The thing is that still installing the apps in the phone internal memory just that now I can move the apps that I can’t before
this command “setInstallLocation” didn’t work for me but did what it said after and I execute this command “adb shell pm setInstallLocation 2″ Directly and work
Are this thing work on SE Xperia Arc S Android 2.3 Gingerbread? because the internal mem is 320MB and my SD card is 8 GB.
Is it possible to be done on Android 2.1? I’m with Motorola Flipout MB511. Is it possible on that device?
doesn’t work for v2.1 (eclair)…
I have a Samsung prevail Android OS 2.3.6 (Gingerbread) and the internal space is only 200MB and full. Will this move all apps to my SD Card. If not I need a new phone ;-(.
So I got my device detected and then i enter adb shell. It loads the money symbol. Then i put db shell pm setInstallLocation 2 or setinstallLocation 2 and it says permission denied. Why ?
I am owning a HTC explorer (android 2.3.5)…when i tried this..the all process went smoothly… but when i typed setInstallLocation it says permission denied
I followed the all above steps…..Afte enteing adb shell $ symbol is coming and i entered pm setInstallLocation 2 but it it is telling ero command i tied fo many times but it is same…please help me in thz my phone numbe is 8123774899
Hey! i hav Samsung Galaxy Ace Gt-S5830 version 2.2(froyo) PC:- Windows 7 64 bit Will dis procedure work on ma cell?? I hav already downloaded java nd req. Sdk!! Plz help iam frustated wid de low internal memory of ma phone!!
I have a doubt
I have 4 gb sd card abd i use aony xperia live with walkman.
Is tthere any need to partition my sd to ext4 as it will be much faster than default fat32.
If so i would like a guide to partitioning and how to select that partition as the driv to install the apllications..
from this can inbuilt apps such as gmail,maps are move to sd card?
i have partitioned my sd-card with one fat32 and one with ext4
then i folowed every step provided here but still my apps are installed i my internal memory.
please help
mount the sd card and then re apply the update!
how do i do that>?
i remounted the card still the default installation is in phone..
please do help
Hey Pradeep plz help me!!I am nt able use ma phone because of dis upcoimng notification of low memory!As mentioned be4 i hav android sdk nd java wat nxt?? plz help
wen i entered the Android\Android-SDK… in the cmd
it says it could not find the path specified
what seems to be the problem?
When i typed adb devices, it is showing the list of devices, but below that nothing is visible.
Can you pls help me.
I ve install the apps2sd app and moved some apps to sd, i want to move factory stored apps also to sd.
Hi, I have linux can you please provide linux compatible commands to use.
Thanks.
Hi Sir, i just want to ask a question maybe off topic, but if i made an apps using android sdk 2.2 can galaxy y which have a version of android 2.3.5 can read it? thanks
i applied these commands, working good but now i want to reset to default location “let the phone decide…”, can you tell me how…?
Hi,
I am not able to change install location to external (2). It showing an error “device not found” when “adb shell pm setInstallLocation 2″ is entered. I have followed the instructions correctly. Can you please help me out?
I am having Sony Ericsson W8. I guess the OS in the phone is Android 2.2.
i’ve a question. will this work on lg optimus l3 e400?
no it wont work
i see. i was about to do it to my phone. thanks for the reply.
Will ZD Box work for moving applications.
YES IT WILL WORK FOR MOVING ALL YOUR APPS
plz hlp me.. m using xperia x8… n i can installed limited apps in my phn coz itz andr. 2.1 … n its update nt avilable in market… plz help meh… how can i instaalled appli. in my sd card..
does th abve procedure works in my phn… ??
Error: unknown command ‘setInstallLocation’
usage: pm [list|path|install|uninstall]
pm list packages [-f]
pm list permission-groups
pm list permissions [-g] [-f] [-d] [-u] [GROUP]
pm list instrumentation [-f] [TARGET-PACKAGE]
pm list features
pm path PACKAGE
pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME
pm uninstall [-k] PACKAGE
pm enable PACKAGE_OR_COMPONENT
pm disable PACKAGE_OR_COMPONENT
The list packages command prints all packages. Options:
-f: see their associated file.
The list permission-groups command prints all known
permission groups.
The list permissions command prints all known
permissions, optionally only those in GROUP. Options:
-g: organize by group.
-f: print all information.
-s: short summary.
-d: only list dangerous permissions.
-u: list only the permissions users will see.
The list instrumentation command prints all instrumentation
or only those that target a specified package. Options:
-f: see their associated file.
The list features command prints all features of the system
The path command prints the path to the .apk of a package.
The install command installs a package to the system. Opti
-l: install the package with FORWARD_LOCK.
-r: reinstall an exisiting app, keeping its data.
-t: allow test .apks to be installed.
-i: specify the installer package name.
The uninstall command removes a package from the system. Op
-k: keep the data and cache directories around.
after the package removal.
The enable and disable commands change the enabled state of
a given package or component (written as “package/class”).
why it not work on lg optimus l3 e400
hi pradeep im using android 2.3 for my galaxy y 5360 when ever i am trying to setinstalllocation the error i get is device not found even i tried usind the adb command as you mentioned …can u please help me my frnd!!
Can I do this in Android 2.1 Eclair ?
I cannot install the android SDK platform tools
Awesome
Thanks guys
That was one hell easy way……. Awesome
Thanks people……
That was one hell easy way……. Awesome
Thanks people……
vl all apps work if they are on the sd card?? coz app2sd only allows some apps to be moved
where can i find windows 7 32 bit usb driver for samsung galaxy ace?
FROM SAMSUNG.COM YOU CAN FIND ALL THE DRIVERS!
FROM SAMSUNG.COM YOU CAN FIND ALL THE DRIVERS!
where can i find windows 7 32 bit usb driver for samsung galaxy ace?
where can i find windows 7 32 bit usb driver for samsung galaxy ace?
mmmuuaaaaaaaaaahhhhhhhhhhhhhhhhhhhhhh
love u dev..
m usin Xperia X8.. plzz tell me LINK of USB DRIVER download.. plzzz
you can download from the official SONY’s website
it really works and best method amazing
Hi..will this procedure works for installing android apps in external sd card and also if there are apps that must be installed in phone requiring internal resources, then will it work?
yes it should work, you can try the same
thanks pradeep. will it work on galaxy R and also if we do forceful installation of apps on external sd card, then how about the apps like live wallpapers which require to be installed in the phone memory?
Hi..will this procedure works for installing android apps in external sd card and also if there are apps that must be installed in phone requiring internal resources, then will it work?
wat about htc intruder ,plz any tell me how to install apps on sd card in htc ,version 2.1
no, it doesn’t work for htc intruder
will it work on galaxy R?
it will not work for Galaxy R
does it work on xperia X8?
Yes it works on the Xperia X8 device but it has to be the rooted one
does it work with htc desire?
it should work, we haven’t tried it. You can try the same! there won’t be any issue
So the applications will be installed to internal SD card or external SD card?
So the applications will be installed to internal SD card or external SD card?
Thank you so much… it works on my motorola fire XT…
Thank you so much.. it works on my motorola fire XT
is there a video for this because I messed up somewhere and need help
you can just follow the tutorial
will it work for Micromax A50 ?
yes it works for A50
It always shows specified file /path not found, tried atleast 5-6 times. can someone do it for me over team weaver or skype, I will pay
for example your directory is
C:UsersRobin to change the dir to Program Files, use CD like
CD CProgram Files and your directory will now be
C:Program Files
my command prompt always show c:> how to have only c: , i think thats why my commands could not locate the platfor-tools folder
change the path in Environment variables too
After I type the command as AndroidAndroid-SDKPlatform-tools. it shows the system cannot find the path specified, so what should I do now?
yes you can apply the update
apply the update for?
type this in cmd
cd AndroidAndroid-SDKPlatform-tools
Lucky I have a degree in computer science, why should it be easy to choose primary storage location.
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?
will it work on samsung galaxy fit ?thx in advance
wiil it work on galaxy fit ?
it will work in Galaxy FIT
how to close the process using ports
how to close all processes using port connections
I’m trying this on an htc wildfire s when i try and use the “adb devices” command it does not see the phone. the phone is in debug usb and in charge only mode. Any ideas?
YES YOU CAN APPLY THIS UPDATE BUT WE DOUBT WHETHER IF IT WORKS
Any Galaxy S3 users had success with this? does it work?
For SGS3 the command should be :
adb shell pm set-install-location 2
super…works perfectly with HTC explorer…:)
hey, how did u do this step ??
Now, you will have to head to the toolkit which contains the Android
Debug Bridge, a utility that allows you to communicate with an Android
device from the command line.
help me plz…
i’ve a HTC Explorer.. and i want to use this system…
Install the android sdk manager and
1. open the folder android->android-sdk->SDK manager(Run as administrator)
2.Check the android-sdk platform tools and install the packages
3.Now give the command in cmd
4.Select the usb debugging in your phone by selecting HTC Sync as the mode
5.Now write the command in cmd “adb devices” (w/o parenthesis)
6.It will show “List of Devices attached” .if not present then connect your phone again
7.then follow the same steps as above …..write adb shell pm
8.check for the 0,1,2 values once
9.then adb shell pm setInstallLocation 2
All the Best
I did it, it worked, but when I tried to install an App, the phone automatically reboots without installing it, just as it does when I try to move something to the SD Card. I tried changing it for a new SD card, and nothing changed. Help, please!
which java development kit that i have to download? and does it work with the samsung galaxy fit?
It works with galaxy fit .
Is there an error in the command line?? It says “Now, all you need to do is to enter the command as “setInstallLocation” .. but if I do it it says the command is not allowed. Do I have to type in “adb shell pm setInstallLocation” to get the message shown in the command image above?
Will it work on a wildfire s?
Thaks all,
it works with my samsung galaxy y….thanx thanx a lot
Hey,
The Tutorial Worked. After doing the process stated here i used appstosd App to move the apps to my SD card. I was able to move Facebook Twitter etc apps to SD card however, Apps like Drop Box, Gmail, Maps & Play Store did not show the highlighted ” Move to SD Card” Button ??
Is there a way they can also be moved ?
Actualy i think U’re pretty lucky, a’m wondering how is possible to move facebook to sd card ? I alredy install app2sd but i dont have option for facebook to move from phone (actualy i dont see facebook at all)
Any advise?
Which Phone are you Using ?
Hi apps like gmail, maps are marked as System apps hence it cannot be moved. If you really want to move it then you need to root your phone and convert those apps to user app by using link2sd or app2sd
does it work with galaxy ace??
its showing me “permission denied” every time.
i did process and it successfully done but i m not able to move apps to sd card
ya it worked now when i install apps like facebook flash player it direcly moves to sd card great work thanks
when I tried these steps…I got the below error
C:\Program Files\Android\android-sdk\platform-tools>adb shell pm setInstallLocat
ion 2
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Error: unknown command ‘setInstallLocation’
usage: pm [list|path|install|uninstall]
pm list packages [-f]
pm list permission-groups
pm list permissions [-g] [-f] [-d] [-u] [GROUP]
pm list instrumentation [-f] [TARGET-PACKAGE]
pm list features
pm path PACKAGE
pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] PATH
pm uninstall [-k] PACKAGE
pm enable PACKAGE_OR_COMPONENT
pm disable PACKAGE_OR_COMPONENT
The list packages command prints all packages. Options:
-f: see their associated file.
The list permission-groups command prints all known
permission groups.
The list permissions command prints all known
permissions, optionally only those in GROUP. Options:
-g: organize by group.
-f: print all information.
-s: short summary.
-d: only list dangerous permissions.
-u: list only the permissions users will see.
The list instrumentation command prints all instrumentations,
or only those that target a specified package. Options:
-f: see their associated file.
The list features command prints all features of the system.
The path command prints the path to the .apk of a package.
The install command installs a package to the system. Options:
-l: install the package with FORWARD_LOCK.
-r: reinstall an exisiting app, keeping its data.
-t: allow test .apks to be installed.
-i: specify the installer package name.
The uninstall command removes a package from the system. Options:
-k: keep the data and cache directories around.
after the package removal.
The enable and disable commands change the enabled state of
a given package or component (written as “package/class”).
C:\Program Files\Android\android-sdk\platform-tools>adb devices
List of devices attached
0403A29B1200A014 device
C:\Program Files\Android\android-sdk\platform-tools>
C:\Program Files\Android\android-sdk\platform-tools>adb devices
List of devices attached
but it doesn’t show the device.when i tried to execute directly adb shell pm setInstallLocation 2.then the command prompt shows shows an error message “no device found”.please anybody help me
I have a Sprint ZTE Optik. Which has the following: Device Description: V55, Model: V55, Hardware version: HW_V55_C, Radio Technology: EVDO_A, Android version: 3.2.1, Baseband version: MSM8660_3132_V55_V1.0 1 [jul 23 2011 22:00:00], Kernel version: 2.6.35.11-perf, root@linux-desktop #19, Build number: V55V1.1.0B10. I have followed all of the steps but I still do not have the USB Storage option when I go to settings > applications > Manage applications. What am I missing?
hi,
does this work for android 4.0.3. am using an lg optimus l7.
waiting for ur ans thanks.
as of now it doesnt work
Its not working on my Alcatel OT-918N
its only for the select devices
HTC EXPLORER: worked nicely but it took 4 times downloading before instalation..???
yes you can install this on your device
my device is not getting detected……….plz help me..
I have micromax a52 android 2.3.6 . When i am typind “adb devices” it is showing that “List of devices attached” whether i am connecting my device or not so how will i know that my phn is connected or not.And It is neither showing ‘offline’ or ‘online’. Rest of the cmd shows “error loading device ” whether i m connecting my device or not\
I am getting really pissed… i typed Android\Android-SDK\Platform-tools and they said the system cannot find the path specified. when i type adb devices , they said adb is not recognized as an internal or external comment. help me please , i am using HTC-ChaCha
Help about what could I have missed, this is what is on the screen, with my Milestone version 2.1 :
adb shell pm setInstallLocation 2
Directory of C:\Program Files\Android\android-sdk\platform-tools
08/09/2012 06:40 p.m. .
08/09/2012 06:40 p.m. ..
08/09/2012 06:40 p.m. 848.384 aapt.exe
08/09/2012 06:40 p.m. 191.488 adb.exe
08/09/2012 06:40 p.m. 96.256 AdbWinApi.dll
08/09/2012 06:40 p.m. 60.928 AdbWinUsbApi.dll
08/09/2012 06:40 p.m. 275.456 aidl.exe
08/09/2012 06:40 p.m. api
08/09/2012 06:40 p.m. 161.280 dexdump.exe
08/09/2012 06:40 p.m. 2.618 dx.bat
08/09/2012 06:40 p.m. 140.800 fastboot.exe
08/09/2012 06:40 p.m. lib
08/09/2012 06:40 p.m. 22.601.216 llvm-rs-cc.exe
08/09/2012 06:40 p.m. 401.602 NOTICE.txt
08/09/2012 06:40 p.m. renderscript
08/09/2012 06:40 p.m. 207 source.properties
11 File(s) 24.780.235 bytes
5 Dir(s) 91.457.925.120 bytes free
C:\Program Files\Android\android-sdk\platform-tools>cd adb
The system cannot find the path specified.
C:\Program Files\Android\android-sdk\platform-tools>adb shell pm installlocation
2
Error: unknown command ‘installlocation’
usage: pm [list|path|install|uninstall]
pm list packages [-f]
pm list permission-groups
pm list permissions [-g] [-f] [-d] [-u] [GROUP]
pm list instrumentation [-f] [TARGET-PACKAGE]
pm list features
pm path PACKAGE
pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] PATH
pm uninstall [-k] PACKAGE
pm enable PACKAGE_OR_COMPONENT
pm disable PACKAGE_OR_COMPONENT
The list packages command prints all packages. Options:
-f: see their associated file.
The list permission-groups command prints all known
permission groups.
The list permissions command prints all known
permissions, optionally only those in GROUP. Options:
-g: organize by group.
-f: print all information.
-s: short summary.
-d: only list dangerous permissions.
-u: list only the permissions users will see.
The list instrumentation command prints all instrumentations,
or only those that target a specified package. Options:
-f: see their associated file.
The list features command prints all features of the system.
The path command prints the path to the .apk of a package.
The install command installs a package to the system. Options:
-l: install the package with FORWARD_LOCK.
-r: reinstall an exisiting app, keeping its data.
-t: allow test .apks to be installed.
-i: specify the installer package name.
The uninstall command removes a package from the system. Options:
-k: keep the data and cache directories around.
after the package removal.
The enable and disable commands change the enabled state of
a given package or component (written as “package/class”).
C:\Program Files\Android\android-sdk\platform-tools>setInstallLocation
‘setInstallLocation’ is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Android\android-sdk\platform-tools>set InstallLocation
Environment variable InstallLocation not defined
C:\Program Files\Android\android-sdk\platform-tools>set installlocation
Environment variable installlocation not defined
C:\Program Files\Android\android-sdk\platform-tools>setInstallLocation
‘setInstallLocation’ is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Android\android-sdk\platform-tools>set Install Location
Environment variable Install not defined
C:\Program Files\Android\android-sdk\platform-tools>set install location
Environment variable install not defined
C:\Program Files\Android\android-sdk\platform-tools>setInstallLocation
‘setInstallLocation’ is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Android\android-sdk\platform-tools>adb shell pm setInstallLocat
ion 2
Error: unknown command ‘setInstallLocation’
usage: pm [list|path|install|uninstall]
pm list packages [-f]
pm list permission-groups
pm list permissions [-g] [-f] [-d] [-u] [GROUP]
pm list instrumentation [-f] [TARGET-PACKAGE]
pm list features
pm path PACKAGE
pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] PATH
pm uninstall [-k] PACKAGE
pm enable PACKAGE_OR_COMPONENT
pm disable PACKAGE_OR_COMPONENT
The list packages command prints all packages. Options:
-f: see their associated file.
The list permission-groups command prints all known
permission groups.
The list permissions command prints all known
permissions, optionally only those in GROUP. Options:
-g: organize by group.
-f: print all information.
-s: short summary.
-d: only list dangerous permissions.
-u: list only the permissions users will see.
The list instrumentation command prints all instrumentations,
or only those that target a specified package. Options:
-f: see their associated file.
The list features command prints all features of the system.
The path command prints the path to the .apk of a package.
The install command installs a package to the system. Options:
-l: install the package with FORWARD_LOCK.
-r: reinstall an exisiting app, keeping its data.
-t: allow test .apks to be installed.
-i: specify the installer package name.
The uninstall command removes a package from the system. Options:
-k: keep the data and cache directories around.
after the package removal.
The enable and disable commands change the enabled state of
a given package or component (written as “package/class”).
C:\Program Files\Android\android-sdk\platform-tools>adb shell pm
usage: pm [list|path|install|uninstall]
pm list packages [-f]
pm list permission-groups
pm list permissions [-g] [-f] [-d] [-u] [GROUP]
pm list instrumentation [-f] [TARGET-PACKAGE]
pm list features
pm path PACKAGE
pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] PATH
pm uninstall [-k] PACKAGE
pm enable PACKAGE_OR_COMPONENT
pm disable PACKAGE_OR_COMPONENT
The list packages command prints all packages. Options:
-f: see their associated file.
The list permission-groups command prints all known
permission groups.
The list permissions command prints all known
permissions, optionally only those in GROUP. Options:
-g: organize by group.
-f: print all information.
-s: short summary.
-d: only list dangerous permissions.
-u: list only the permissions users will see.
The list instrumentation command prints all instrumentations,
or only those that target a specified package. Options:
-f: see their associated file.
The list features command prints all features of the system.
The path command prints the path to the .apk of a package.
The install command installs a package to the system. Options:
-l: install the package with FORWARD_LOCK.
-r: reinstall an exisiting app, keeping its data.
-t: allow test .apks to be installed.
-i: specify the installer package name.
The uninstall command removes a package from the system. Options:
-k: keep the data and cache directories around.
after the package removal.
The enable and disable commands change the enabled state of
a given package or component (written as “package/class”).
C:\Program Files\Android\android-sdk\platform-tools>adb devices
List of devices attached
0403725B0C01A016 device
C:\Program Files\Android\android-sdk\platform-tools>netstat
Active Connections
Proto Local Address Foreign Address State
TCP Yeraldine:1030 localhost:4573 ESTABLISHED
TCP Yeraldine:1048 localhost:1049 ESTABLISHED
TCP Yeraldine:1049 localhost:1048 ESTABLISHED
TCP Yeraldine:1274 localhost:5037 TIME_WAIT
TCP Yeraldine:4573 localhost:1030 ESTABLISHED
TCP Yeraldine:5037 localhost:1275 TIME_WAIT
TCP Yeraldine:1098 a23-7-112-60.deploy.akamaitechnologies.com:https
CLOSE_WAIT
C:\Program Files\Android\android-sdk\platform-tools>setInstall
‘setInstall’ is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Android\android-sdk\platform-tools>setInstallLocation
‘setInstallLocation’ is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Android\android-sdk\platform-tools>dir
Volume in drive C is TI105133P0A
Volume Serial Number is DC47-467A
Directory of C:\Program Files\Android\android-sdk\platform-tools
08/09/2012 06:40 p.m. .
08/09/2012 06:40 p.m. ..
08/09/2012 06:40 p.m. 848.384 aapt.exe
08/09/2012 06:40 p.m. 191.488 adb.exe
08/09/2012 06:40 p.m. 96.256 AdbWinApi.dll
08/09/2012 06:40 p.m. 60.928 AdbWinUsbApi.dll
08/09/2012 06:40 p.m. 275.456 aidl.exe
08/09/2012 06:40 p.m. api
08/09/2012 06:40 p.m. 161.280 dexdump.exe
08/09/2012 06:40 p.m. 2.618 dx.bat
08/09/2012 06:40 p.m. 140.800 fastboot.exe
08/09/2012 06:40 p.m. lib
08/09/2012 06:40 p.m. 22.601.216 llvm-rs-cc.exe
08/09/2012 06:40 p.m. 401.602 NOTICE.txt
08/09/2012 06:40 p.m. renderscript
08/09/2012 06:40 p.m. 207 source.properties
11 File(s) 24.780.235 bytes
5 Dir(s) 91.456.045.056 bytes free
C:\Program Files\Android\android-sdk\platform-tools>adb shell pm setInstallLocat
ion 2
Error: unknown command ‘setInstallLocation’
usage: pm [list|path|install|uninstall]
pm list packages [-f]
pm list permission-groups
pm list permissions [-g] [-f] [-d] [-u] [GROUP]
pm list instrumentation [-f] [TARGET-PACKAGE]
pm list features
pm path PACKAGE
pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] PATH
pm uninstall [-k] PACKAGE
pm enable PACKAGE_OR_COMPONENT
pm disable PACKAGE_OR_COMPONENT
The list packages command prints all packages. Options:
-f: see their associated file.
The list permission-groups command prints all known
permission groups.
The list permissions command prints all known
permissions, optionally only those in GROUP. Options:
-g: organize by group.
-f: print all information.
-s: short summary.
-d: only list dangerous permissions.
-u: list only the permissions users will see.
The list instrumentation command prints all instrumentations,
or only those that target a specified package. Options:
-f: see their associated file.
The list features command prints all features of the system.
The path command prints the path to the .apk of a package.
The install command installs a package to the system. Options:
-l: install the package with FORWARD_LOCK.
-r: reinstall an exisiting app, keeping its data.
-t: allow test .apks to be installed.
-i: specify the installer package name.
The uninstall command removes a package from the system. Options:
-k: keep the data and cache directories around.
after the package removal.
The enable and disable commands change the enabled state of
a given package or component (written as “package/class”).
hello mr. droid geek.
i need to ask that i couldn’t get pc suite to install in my pc as the android which im having is SPICE MI-280. There is no pc suite available for it.
can i root it without installing it ? ‘
please help.
thanks.
no you cant as of now
any other alternatives you have or know?
Works perfectly! Thanks so much!!
i want to ask dat can i do this without rooting uo the device na.. n where can i gt usb driver?? website,,
i have already installed adk and jdk.. bt my phne s nt detected at all
Hi Pradeep Neela,
My phone is Galaxy Ace Plus. After running the command “adb shell pm setInstallLocation 2″ in the command prompt, my phone still follows “0 [auto]: Let the phone decide the best location for an app” while installing apps. What could be the reason.
Thank you very much Pradeep, this is great!!! I was able to move many more apps than before (but not all) to SD-card after a few additions, which were:
The connection of the phone to the computer when plugging in the cable should be as disk drive.
in cmd.exe under SDK platform first cd (change directory) to get to C:\ .
Then cd (change directory), so:
C:\Users\your username\cd, than you get
C:\
than enter path exactly like in Windows Explorer (use round ( and ), not square [ and ]!),
C:\cd Program Files (x86)\Android\android-sdk\platform-tools
C:\ Files (x86)\Android\android-sdk\platform-tools>adb devices
run setInstallLocation not separately, but as
C:\ Files (x86)\Android\android-sdk\platform-tools> adb shell pm setInstallLocation 2
But now my questions:
1. Does this procedure also work with BlueStacks as an emulator instead of SDK? (BlueStacks was already on my PC for WhatsApp on PC purposes. It is much easier to use and much smaller than SDK. I now removed BueStacks to get rid of the error “more than one device and emulator ” in cmd.exe.)
2. Do I have to disable USB debugging in my phone afterwards?
I would like to know because I have to do it all over again since my HTC Wildfire S was broken and replaced by a new one. If I cannot use BlueStacks and have to remove it, do you know a way to keep my messages and contacts in WhatsApp which runs under BlueStacks on my PC? Thanks in advance.
will this work on
Samsung S5690 Galaxy Xcover
Android OS, v2.3 (Gingerbread)