How to Install Apps on SD Card without Android Rooting


Apps to SD LogoAt 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.
  • USB DebuggingAfter 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.

SDK MANAGER

  • 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.

SDK PLATFORM

  • 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.

Related Posts Plugin for WordPress, Blogger...

Comments (198)

  1. boyscout says:

    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.

  2. Balamurugan P says:

    Hi,

    I could not find this command “setInstallLocation”

  3. nandkumar says:

    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?

  4. temp says:

    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???????

  5. raysky says:

    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…

  6. zeeshan says:

    setInstallLocation cant be found!!!!

    please have a look on dis

    • Balamurugan P says:

      Directly execute the command “adb shell pm setInstallLocation 2″ . Please see all the comments before asking question.

  7. Da says:

    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?

    • Gregory says:

      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

  8. nandkumar says:

    Please reply all the questions and difficulties I mentioned.

  9. shashwat says:

    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

  10. ajaz khan says:

    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

  11. Jagan says:

    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

  12. Sandeep says:

    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.

  13. dino says:

    hi, can i use tiz for my galaxy W?

  14. wala says:

    My device was not detected… somebody help me

  15. Sir Bobby Ray says:

    Hello,

    Will this work on my Samsung Galaxy mini running Android version 2.3.5??

    Thanks

  16. jab says:

    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

  17. Cj says:

    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?

  18. Lavit says:

    How can I download Platform Tool?? It has nothing in it..

  19. Ali bazzi says:

    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

  20. techie says:

    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?

  21. Ally says:

    i tried to adb shell pm setinstalllocation 2. but its giving me error message.

  22. Jon says:

    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.

  23. Lakshyadeep Singh Ranawat says:

    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.

  24. DD says:

    Hi will this work on my HTc HD2 which i changed from windows to andriod(nexus one 2.3.4)

  25. Prayag says:

    hi neel,
    i have restarted 2-3 times my galaxy ace but i cannot find my device in the list plz he me out

  26. Naeem Ejaz says:

    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.

  27. Surendra says:

    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….

  28. qwerty says:

    so what if it says error: device not found

  29. dejamma says:

    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.

    • Pradeep Neela says:

      check witht he sdk installation! let the default path remain. dont change the default path

      • ryadhhossain says:

        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”……

  30. wakkad says:

    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?

    • Arnoldo says:

      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

    • shuk says:

      try this; c:\users\{username}>set path=c:\program files…

  31. PolarBear says:

    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!

  32. pran says:

    can we move default apps like facebook,google maps etc to sd card after this..?

  33. Abhinav says:

    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 ?

  34. Nurhafiz says:

    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..

  35. Zuhaib says:

    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

  36. Arnoldo says:

    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

  37. Putra says:

    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.

  38. kingjoe says:

    Is it possible to be done on Android 2.1? I’m with Motorola Flipout MB511. Is it possible on that device?

  39. shuk says:

    doesn’t work for v2.1 (eclair)…

  40. jesse says:

    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 ?

  41. Gurpreet Dhadial says:

    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

  42. Manish says:

    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

  43. Ansh says:

    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!! :(

  44. don says:

    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..

  45. sameer mhatre says:

    from this can inbuilt apps such as gmail,maps are move to sd card?

  46. don says:

    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

  47. kevin says:

    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?

  48. Mohan says:

    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.

  49. navdeep says:

    Hi, I have linux can you please provide linux compatible commands to use.

    Thanks.

  50. Jay Cruz says:

    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

  51. Gio says:

    i applied these commands, working good but now i want to reset to default location “let the phone decide…”, can you tell me how…?

  52. Arun says:

    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.

  53. Yuri says:

    i’ve a question. will this work on lg optimus l3 e400?

  54. Aakash says:

    Will ZD Box work for moving applications.

  55. vikas says:

    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… ??

  56. khush says:

    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”).

  57. zahid says:

    why it not work on lg optimus l3 e400

  58. sunil hegde says:

    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!!

  59. Febin says:

    Can I do this in Android 2.1 Eclair ?

  60. Nyein Lin says:

    I cannot install the android SDK platform tools

  61. a fan :> says:

    Awesome :D
    Thanks guys ;)

  62. Kumar says:

    That was one hell easy way……. Awesome :-) :-) :-) :-) :-) :-)

    Thanks people……

  63. Kumar says:

    That was one hell easy way……. Awesome :-) :-) :-) :-) :-) :-)

    Thanks people……

  64. PrawDG says:

    vl all apps work if they are on the sd card?? coz app2sd only allows some apps to be moved

  65. Sypherecho says:

    where can i find windows 7 32 bit usb driver for samsung galaxy ace?

  66. Sypherecho says:

    where can i find windows 7 32 bit usb driver for samsung galaxy ace?

  67. Sypherecho says:

    where can i find windows 7 32 bit usb driver for samsung galaxy ace?

  68. Equestr says:

    mmmuuaaaaaaaaaahhhhhhhhhhhhhhhhhhhhhh
    love u dev..

  69. Nikhilmalicool says:

    m usin Xperia X8.. plzz tell me LINK of USB DRIVER download.. plzzz

  70. Vishu1610shukla says:

    it really works and best method amazing
     

  71. Ashok Bharat says:

    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?

  72. Ashok Bharat says:

    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?

  73. Shehryar Khan says:

    wat about htc intruder ,plz any tell me how to install apps on sd card in htc ,version 2.1

  74. Ashok Bharat says:

    will it work on galaxy R?

  75. Tavo says:

    does it work on xperia X8?

  76. Anakg1982 says:

    does it work with htc desire?

  77. Akhilchinnu says:

    So the applications will be installed to internal SD card or external SD card?

  78. Akhilchinnu says:

    So the applications will be installed to internal SD card or external SD card?

  79. long123 says:

    Thank you so much… it works on my motorola fire XT…

  80. long123 says:

    Thank you so much.. it works on my motorola fire XT

  81. androidgalaxy says:

    is there a video for this because I messed up somewhere and need help

  82. yb03 says:

    will it work for Micromax A50 ?

  83. robin says:

    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 :)

    • camille aisha cordova says:

      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

  84. robin says:

    my command prompt always show c:> how to have only c: , i think thats why my commands could not locate the platfor-tools folder

  85. Stephanie Liau says:

    After I type the command as AndroidAndroid-SDKPlatform-tools. it shows the system cannot find the path specified, so what should I do now?

  86. Koh Samui says:

    Lucky I have a degree in computer science, why should it be easy to choose primary storage location.

  87. fordiy says:

    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?

  88. geo says:

    will it work on samsung galaxy fit ?thx in advance :)

  89. geo says:

    wiil it work on galaxy fit ?

  90. vishal wadhwa says:

    how to close the process using ports

  91. vishal wadhwa says:

    how to close all processes using port connections

  92. 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?

  93. Jdub says:

    Any Galaxy S3 users had success with this? does it work?

  94. vicky says:

    super…works perfectly with HTC explorer…:)

    • ryadhhossain says:

      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…

      • Abhishek says:

        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

  95. 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!

  96. Moemen says:

    which java development kit that i have to download? and does it work with the samsung galaxy fit?

  97. chrifl says:

    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?

  98. Arun says:

    Thaks all,
    it works with my samsung galaxy y….thanx thanx a lot

  99. saurabhgoswami says:

    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 ?

    • Red-hawko says:

      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?

    • Spmaiya says:

      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

  100. Googlekagoogle says:

    does it work with galaxy ace??

  101. monu rohila says:

    its showing me “permission denied” every time.

  102. Test says:

    i did process and it successfully done but i m not able to move apps to sd card

  103. Manpi1234 says:

    ya it worked now when i install apps like facebook flash player  it direcly moves to sd card great work thanks

  104. Ajay babu says:

    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>

  105. Mehrab Leon says:

    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

  106. momakid says:

    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?

  107. Avish says:

    hi,
    does this work for android 4.0.3. am using an lg optimus l7.
    waiting for ur ans thanks.

  108. Christer says:

    Its not working on my Alcatel OT-918N :(

  109. abinah polleyi says:

    HTC EXPLORER: worked nicely but it took 4 times downloading before instalation..???

  110. prince says:

    my device is not getting detected……….plz help me..

  111. Ankit Rastogi says:

    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\

  112. Shamus says:

    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

  113. Yeral says:

    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”).

  114. Gurpreet says:

    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.

  115. Tanweer Khan says:

    Works perfectly! Thanks so much!! :)

  116. sailesh says:

    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

  117. Raghu Srinivasan says:

    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.

  118. Jeannette says:

    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.

  119. trippykid says:

    will this work on
    Samsung S5690 Galaxy Xcover
    Android OS, v2.3 (Gingerbread)

Leave Reply or Post Feedback



January 3, 2012
Friends call him Droid Geek because he tries out different ROM’s everyday and helps droid users experience better features on their devices. Add +Neal Pradeep on Google Plus for more Updates.

Back to Top