Force Install all Android apps to SD card

Just a few updates to the post, if are running Android version higher than 2.3.x, or if you are running Android ICS, Jellybean or higher then read “Move apps to SD-card in Jelly Bean and ICS : the only possible way
How helpful it will be if you can move all the apps you download on your Android to SD card, hmmm this could surely save a lot of space in your phone. One can surely make all the apps move to the SD card with some exceptions but almost all apps can be moved to the SD card. Android has got 3 options for storage 0, 1 and 2 the 0 is for auto mode, 1 is for the phone preferred mode and the last one 2 is for the SD-card mode which is what we want. So we will be changing the settings of our Android phone to move apps to the SD card. To this you will need to download Android SDK, just download the .zip file and extract it to the C drive, now make sure that you have installed the drivers for your phoneโ€™s connectivity to your computer.

Now next is to enable the USB debugging mode in your Android Phone, to do this just hit over to the settings -> applications -> development and just check in the option which says USB debugging.

Now after this step just connect your Android Device with the computer and open command prompt, now change the directory to the platform tools directory in the android sdk folder just by typing cd followed by the location of the folder, now type in ADB if you see a list of available commands then you have fully set the development environment.

Next up just type in ADB devices if it says device in from of a code like in the image below your device is fully connected.

So now for the final step just type the code below and your phone will now have the option to move the phone only apps to the SD card:

adb shell pm setInstallLocation 2 

This is it have fun saving space on your android you can also refer to the video below and see how I did it on my phone.

  • heyy when i type–> adb shell pm setInstallLocation 2

    it gaves me an error like thiss…:
    ————————————————————
    Error: unknown command 'set-install-location'
    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").
    ————————————————————————-
    plss help me ๐Ÿ˜‰

    • your sdk is not properly setup
      make sure you properly install all the required tools….

    • yess all the tools are installed and i checked the sdk card and it was properly installed?but it still gives me the error..plss try to find if the command is renamed or something else..
      thank u ๐Ÿ˜‰

    • the data is up to date, try one thing install any one of the packages from Android SDK manager….

    • yea.. i installed all the packages ๐Ÿ™ but problem is still happening ๐Ÿ™

    • ok send me a screen shot of command prompt at help@soft-gets.com

      and also the location of the android tools directory

    • ok

    • Hi, I'm having the same problem that mety is having… did you got a solution for it?

    • I'm to..
      did you have the solution…

    • exactly Same prob here.. BTW my phones is Sony tipo android 4.0.4 ..

    • this error is because the cmnd prompt is unable to understand the command,

      try the command with the full path of the platform-tools folder
      for eg :

      "C:downloadsandroidplatform-toolsadb shell pm setInstallLocation 2"

      this must work…

    • done and not work.. do you think its got prob with the access to the phone root? i mean my sony doesnt have any latest update as for this date time, not like any htc or other devices that may get updates to let the driver or anything that let the devices to set the "setinstalllocation" thing

    • nooh update doesn't matter

      if you are getting the error that the command doesn't exist then it is the issue with the development environment

      try typing 'adb' only and if it comes up with something long without any errors its fine but if it gives error then u are not using the command with the right path

      try it with the location added with the command

      just open the platform-tools folder and copy the location from the top in the address bar and hope it works…..!

  • when I put adb devices, it shows list of the devices are attache but the message is not same as you shown above. after that when I put the final command, it gives an error message
    "error: devices not found"
    Please help me my phone model is HTC Desire.

  • Sander

    I have two problems.
    First off, the platform-tools directory isn't included in the SDK zipfile anymore. Instead there is a text file stating the following:

    "The adb tool has moved to platform-tools/

    If you don't see this directory in your SDK,
    launch the SDK and AVD Manager (execute the android tool)
    and install "Android SDK Platform-tools"

    Please also update your PATH environment variable to
    include the platform-tools/ directory, so you can
    execute adb from any location."

    That's where problem number two kicks in. When opening the SDK Manager I get the following error message:
    "Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com refused"
    And even when I force the https setting (tools->options->Force https..) the error still occurs.

    Any thoughts on how to solve this issue?

    • Sander

      Many thanks in advance to the one who will slay this dragon!!

    • I think there are some issues with the installation instead of that zip file try the exe installer, when I started with Android development a few years back even I faced the error number 2, the path is platform tool

      just try it with the exe and hope it works out..

  • Pablete

    I have just finished this tutorial and i have installed some aplications, 60% of the aplications are directly installed in the sd but others still installing in the phone. What can I do?

    • you are doing ok with this, this is because of the way the apps are built by the developer of the app, so this happens. In such case u will have to manually move them..

    • the apps which come preinstalled with the device will not be moved to the sd-card but for others u just follow the instructions carefully and you will be able to free some space on your device..

    • oky but i didn't understand what is the 2nd Step ,, what Should i donwload and What Can i do after the first step :l please Help me
      ๐Ÿ˜€

    • http://developer.android.com/sdk/index.html here is the link where u will find the stuff to do this

  • how do i move my facebook and gmail etc.. to the sd card everything went fine but some apps still on phone i understand some have to stay on phone but some can go plesae help sorro for english

  • gmail stays on the phone but Facebook does move to the sd if it is not preinstalled on the device, u have downloaded it…. still there are a bunch of apps which neven go in the sd card…..!

  • i have an error in the last step they told me error: device offline

    • type in adb devices to see that the device is offline or online then use the command
      n if the device is offline reconnect the device.

  • it says no device found

    • please help me please

    • u r having some issues with the device drivers or the device is not in debugging mode.

      main thing might be that the usb drivers are not installed or not updated….

  • Anonymous

    it says
    permission denied what is suposed i do ?

    • try moving android sdk folder to a different location other then the windows drive…..

  • are u here?i have the sam problem i have a gs3 and its all ok i installed the sdk the cmd but when i come to the adb devices it says no attached…the usb driver in the sdk extras is installed what can i do??please help

    • either the phone is not in debugging mode or the drivers are not properly installed, make sure u reinstall the drivers and check in the phone settings that it is in debugging mode

  • afi

    error : device not found.

    i did installed the phone connectivity to computer.. and i did tick the debug mode. but why does the device not found?

    • there are issues with the device connectivity, just try this command and let me know does it show anything…

      "ADB devices"
      if it gives an ofline device then make sure you close the PC suit software which u got with the device

    • afi

      when i type " adb devices " it says only List of attached. no offline and everything.

    • yeps there is a problem with the drivers of the phone, the sdk is not able to connect with device

      you will have to work around with the drivers of the device..

    • afi

      how can i work with the drivers? *sorry too many asking. ^.^

    • aaah no issues with the questions… ๐Ÿ™‚
      m just install the software which came with the phone, something like PC suite, that will install the required drivers of the phone…

      or refer to this http://developer.android.com/sdk/win-usb.html page in the Android Developer site and install these drivers as instructed..

  • Anonymous

    Hi Paritosh, well I tried it out and it worked. Thanks a lot for the video tutorial. It does not work on the most Google apps such as google maps, google play store, youtube, but the rest is fine. And it helped a lot, so thank you very much

    • aaah… the default application are build right into the Android OS so they cannot be move to the SD-card ๐Ÿ™‚

  • Anonymous

    Hi Paritosh,
    I've used your method for several months and I want to thank you for that! It helped me a lot.
    Now, I've decided to root my phone & I remember that I read somewhere, that I needed to undo the settings you explained above. Is that true? How can I do that? Just in the same way? What number do I need to use (instead of the 2)? Won't there be a problem, if I have to undo these settings, that all the apps I could install to the SD card, thanks to your method, will install on the phone then (so, from the moment I undo your settings)? I almost don't have any free memory on my internal memory of my phone, so what will happen then?
    Or can I hold your settings and just root my phone?
    Thank you!!

    • the simplest way to get the setting to default is to restart the phone, it works most of the time, but if that doesn't work then just use the same method with just the change in the number from 2 to 0: "adb shell pm setInstallLocation 0"..!

      or the other way is just root the devices that will reset all the things to that ROM's default

      so you can do this either way ๐Ÿ™‚

    • Anonymous

      Thanks for your reply, Parotosh! :o)

      So I think that just starting to root my phone (Xperia Ray), without changing the settings again into 0, will be the easiest way to do. Because after the rooting, it won't matter anymore that I made the changes into 2, in the past.

    • Anonymous

      Sorry for misspelling your name, Paritosh… :o{
      I think I was a bit abstracted…

  • it was okay till๏ปฟ "adb" .. after that when i typed "adb devices" it doesnot show my device under the list of devices, n yes the phone was already connected with usb debugging on. samsung galaxy pro.. please suggest.

    • try installing Samsung studio, that will make sure that the usb drivers are installed properly

  • apu

    Dear bro,
    Thank you very much for this great tutorial..
    I tried your tutorial on my SAMSUNG GALAXY Y DUOS GT S6102 (Android 2.3.6)…
    All was OK but unfortunate on the last step I was unsuccessful….. when my device was found and I typed… adb shell pn setinstalILocation 2 (I was used i after setinstal,,,,,,,)
    I seen a message that in the below:
    pn:๏ปฟ permission denied …… my memory was 170 mb but 152 mb useable. Please ghelp me… my mail is: mohammadapu1@gmail.com wish your good helth

    • the command is "adb shell pm setinstalILocation 2" pm not pn
      make sure that is ok and if nothing happens try moving the folder to other location in your computer…

  • I'm getting the same error message as @mety

    Error: unknown command 'set-install-location'

    I've installed everything properly so i'm not sure what the problem is HELP!!

    I have you in my Google+ circle please contact me at your earliest convenience

    thanks

    • the command is 'setInstallLocation 2' not with the –

      try this and this must work

    • yes of course i've used, in fact i copy & paste it from the screen…still nothing..now, my phone is NOT rooted. does it need to be rooted for it to work?

    • I think u better try the full path of๏ปฟ platform-tools folder
      for eg:
      C:/downloads/androidsdk/platfoยญrm-tools/adb pm setInstallLocation 2
      try this hope it works out for you….!

  • hey, when i downloaded the file and opened it ,it had platform tools . both were in diffrent folders n platform folder was empty

    • there might be some issue with the download, may be not complete or interrupted download….!

    • Abhay is correct. I have also downloaded that SDK file and there are two different folders, platform and tools, out of which platform is completely empty.
      Maybe they have updated the SDK file.
      Can you just upload your SDK zip file to some file-sharing site like mediafire, so that we can download the correct version of the Android SDK ??
      And one small question, can we undo this thing, if we want again to save apps to the phone memory instead of External SD card ?

    • this is what the new sdk say

      "The adb tool has moved to platform-tools/

      If you don't see this directory in your SDK,
      launch the SDK and AVD Manager (execute the android tool)
      and install "Android SDK Platform-tools"

      Please also update your PATH environment variable to
      include the platform-tools/ directory, so you can
      execute adb from any location."

      so install "Android SDK Platform-tools" using the avd manager

    • will thi be apply on hcl me u1 tab

    • yeps if the device has got an sd-card, it will work on any Android device… ๐Ÿ™‚

  • what to after typing 'adb shell pm setInstallLocation 2 '

    • if it gives nothing it means this has worked and the apps can now be moved to SD-card and if it gives up an error message then something is wrong…..

  • It doesn't show any device under the "list of devices"
    I have the new Sony Xperia Miro
    Can you please tell me what software do I need to install in the case of Sony Xperia series like we have to install HTC sync for HTC phones.

  • it is PC Companion for Sony devices, just Google it u will get the download link ๐Ÿ™‚

    • I have downloaded and installed Sony PC companion 2.1
      PC companion has detected my device and installed the drivers too but still I can't see my device under the "list of devices" in cmd
      I have switched ON USB debugging and have also tried this procedure by closing Sony PC companion as you said in your video but still no luck.
      What should I do now and is their any method to check whether the drivers are installed properly or not ?

    • if u have installed Sony PC companion it means drivers must be available, try using the procedure after quitting Sony PC companion, if still dosen't work send me the exact message u r getting

    • The drivers were not properly installed by Sony PC companion. So i just googled for a way to install correct drivers. Then I found a software named "PdaNet Desktop" which has finally installed the drivers for my phone. Now after following all the procedure of cmd, finally SDK detected my device but then when i entered the command
      adb shell pm setInstallLocation 2

      It gave me the below long error
      C:UsersMittalAppDataLocalAndroidandroid-sdkplatform-tools>adb shell pm setInstallLocation 2
      Error: unknown command 'setInstallLocation'
      usage: pm list packages [-f] [-d] [-e] [-s] [-e] [-u] [FILTER]
      pm list permission-groups
      pm list permissions [-g] [-f] [-d] [-u] [GROUP]
      pm list instrumentation [-f] [TARGET-PACKAGE]
      pm list features
      pm list libraries
      pm path PACKAGE
      pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f] PATH
      pm uninstall [-k] PACKAGE
      pm clear PACKAGE
      pm enable PACKAGE_OR_COMPONENT
      pm disable PACKAGE_OR_COMPONENT
      pm disable-user PACKAGE_OR_COMPONENT
      pm set-install-location [0/auto] [1/internal] [2/external]
      pm get-install-location
      pm createUser USER_NAME
      pm removeUser USER_ID

      pm list packages: prints all packages, optionally only
      those whose package name contains the text in FILTER. Options:
      -f: see their associated file.
      -d: filter to only show disbled packages.
      -e: filter to only show enabled packages.
      -s: filter to only show system packages.
      -3: filter to only show third party packages.
      -u: also include uninstalled packages.

      pm list permission-groups: prints all known permission groups.

      pm list permissions: 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.

      pm list instrumentation: use to list all test packages; optionally
      supply to list the test packages for a particular
      application. Options:
      -f: list the .apk file for the test package.

      pm list features: prints all features of the system.

      pm path: print the path to the .apk of the given PACKAGE.

      pm install: 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.
      -s: install package on sdcard.
      -f: install package on internal flash.

      pm uninstall: removes a package from the system. Options:
      -k: keep the data and cache directories around after package removal.

      pm clear: deletes all data associated with a package.

      pm enable, disable, disable-user: these commands change the enabled state
      of a given package or component (written as "package/class").

      pm get-install-location: returns the current install location.
      0 [auto]: Let system decide the best location
      1 [internal]: Install on internal device storage
      2 [external]: Install on external media

      pm set-install-location: changes the default install location.
      NOTE: this is only intended for debugging; using this can cause
      applications to break and other undersireable behavior.
      0 [auto]: Let system decide the best location
      1 [internal]: Install on internal device storage
      2 [external]: Install on external media

      So after reading the first line of error, I was able to find that SDK is not accepting the "setInstallLocation" command and at the end of this long error as you can see, it suggested me to use "set-install-location" in place of "setInstallLocation".
      So when I used the below command

      C:UsersMittalAppDataLocalAndroidandroid-sdkplatform-tools>adb shell pm set-install-location 2

      It didn't gave me any error but it simple added this below line again (the same which happened in your video tutorial)

      C:UsersMittalAppDataLocalAndroidandroid-sdkplatform-tools>

    • So I guess everything worked fine. But now when I go into settings of my phone, into apps section and open the settings of a particular app for example say Agent Dash. It doesn't show any option to move it to SD card. It just give me an option "Move to internal storage" and when I press that button, it moves the app to internal storage and then that button changes to "Move to phone memory".
      Also I tried installing news apps to check where they were going and I found that they were going to phone memory like always.
      Earlier also I was not able to move apps to SD card because it was showing only these two options in App Settings. So doing all this thing didn't bring any change in my phone.
      I forgot to mention one more thing. The Phone memory of my device is about 754 MB free which is meant for apps and the Internal Storage is of 2.1 GB.
      And the internal storage is named as "SD card" in my phone and my real SD card which is the memory card is named as "ext card".
      Also i can't rename any of two things.
      Could this be the reason why the apps are not going to memory card or did i did some mistake while following all this process ?
      Please help me, I as so desperate to move apps to my SD card.

    • if the app says move to phone, that means the app is already in the sd-card
      u can try app2sd to see which apps are in the sd-card which are phone only apps and which of the apps can be moved to the SD-card..

    • the sdk is not detected in the final command in the comment above, try the command with the full path of the platform-tools folder for eg

      C:/downloads/android/platform-tools/adb shell pm setInstallLocation 2

    • I have tried the command with full path also but that didn't worked too, that's why I have used other command.
      As I said before there are two memories in my mobile, phone memory and internal memory and the internal memory is named as "SD card" by default which I can't rename. Due to this , app2sd is misinterpreting internal storage as memory card and it is showing the apps which are in internal storage under the sd card section in app2sd. So what should I do now ?

    • aaah this sounds very confusing ๐Ÿ™‚

      try connecting the card to the computer and rename it…!

  • all steps are done. but cannot move application to my sd. why?

    • there might be some error in between or maybe you are trying to move the per-installed apps… ๐Ÿ™‚

  • m

    Dear paritosh iam getting error while executing adb shell pm set
    InstallLocation 2
    command please help me
    c:UsersashokAppDataLocalAndroidandroid-sdkplatform-tools>adb devices
    List of devices attached
    434235313154485A305A device

    c:UsersashokAppDataLocalAndroidandroid-sdkplatform-tools>adb shell pm set
    InstallLocation 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").

    • the installation in the "AppDataLocalAndroid" directory doesn't seem to be right, if you are sure that the installation is in that directory I will say move it to some easy accessible place…

  • Anonymous

    try
    adb shell pm set-install-location 2
    dont forguet the –

    • the command is "shell pm setInstallLocation 2" not with "-"

      the command with – will not work….!

    • Anonymous

      you're wrong i tried with the original command and it didn't work but with the other command with – it did

    • yaaaa the new version of Android has a little change in the command up till 2.3 the command works fine

  • Bro, done da proccess but the apps still get installed on the phone and not da ext mem card, pls help
    i have da note 800 wid 64gb mmc
    infact it does not shoe move to ext sd card option on app mgr
    dis 1s da only hope
    directory binder-root acess fail
    link2sd-stupid app n failes

  • after typing adb shell pm setinstalllocation 2 . it is saying that'adb server is out of date..killing'

  • ohhhh this is an issue with the software which u installed, the PC support of the phone, just quit it before using the command….

    I think u got it, if m not clear with this let me know ๐Ÿ™‚

  • thanx a lot man this work with my phone and it's very easy.
    so can you give suggest what i have to do if my friends android phone also want to this , must i start from the begining or i just plug my friend phone into my computer.
    thanks.
    please reply : rindink_hal@yahoo.com

  • C:Program FilesAndroidandroid-sdkplatform-tools>adb shell pm setinstalllocation 2
    Error: unknown command 'setinstalllocation'
    usage: pm [list|path|install|uninstall]
    pm list packages [-f] [-d] [-e] [-u] [FILTER]
    pm list permission-groups
    pm list permissions [-g] [-f] [-d] [-u] [GROUP]
    pm list instrumentation [-f] [TARGET-PACKAGE]
    pm list features
    pm list libraries
    pm path PACKAGE
    pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f] PATH
    pm uninstall [-k] PACKAGE
    pm clear PACKAGE
    pm enable PACKAGE_OR_COMPONENT
    pm disable PACKAGE_OR_COMPONENT
    pm setInstallLocation [0/auto] [1/internal] [2/external]

    The list packages command prints all packages, optionally only
    those whose package name contains the text in FILTER. Options:
    -f: see their associated file.
    -d: filter to include disbled packages.
    -e: filter to include enabled packages.
    -u: also include uninstalled packages.

    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.
    -s: install package on sdcard.
    -f: install package on internal flash.

    The uninstall command removes a package from the system. Options:
    -k: keep the data and cache directories around.
    after the package removal.

    The clear command deletes all data associated with a package.

    The enable and disable commands change the enabled state of
    a given package or component (written as "package/class").

    The getInstallLocation command gets the current install location
    0 [auto]: Let system decide the best location
    1 [internal]: Install on internal device storage
    2 [external]: Install on external media

    The setInstallLocation command changes the default install location
    0 [auto]: Let system decide the best location
    1 [internal]: Install on internal device storage
    2 [external]: Install on external media

    C:Program FilesAndroidandroid-sdkplatform-tools>

    • please help

    • things look ok ur side the error shows "pm setInstallLocation [0/auto] [1/internal] [2/external]"

      as the right command so try it with I in install and L in location as capital

  • Anonymous

    the some problem!!!!! help!!!!

    Windows XP Sweet 5.1 [SP3 v5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:Documents and SettingsAdministrateur>cd C:Documents and SettingsAdministrateurMes documentsadt-bundle-windows-x86sdkplatform-tools

    C:Documents and SettingsAdministrateurMes documentsadt-bundle-windows-x86sdkplatform-tools>adb devices
    List of devices attached
    b9ed53f9 device

    C:Documents and SettingsAdministrateurMes documentsadt-bundle-windows-x86sdkplatform-tools>adb shell
    shell@android:/ $ adb shell pm setInstallLocation 2
    adb shell pm setInstallLocation 2
    error: device not found
    255|shell@android:/ $ pm setInstallLocation 2
    pm setInstallLocation 2
    Error: unknown command 'setInstallLocation'
    usage: pm list packages [-f] [-d] [-e] [-s] [-e] [-u] [FILTER]
    pm list permission-groups
    pm list permissions [-g] [-f] [-d] [-u] [GROUP]
    pm list instrumentation [-f] [TARGET-PACKAGE]
    pm list features
    pm list libraries
    pm path PACKAGE
    pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f] PATH
    pm uninstall [-k] PACKAGE
    pm clear PACKAGE
    pm enable PACKAGE_OR_COMPONENT
    pm disable PACKAGE_OR_COMPONENT
    pm disable-user PACKAGE_OR_COMPONENT
    pm set-install-location [0/auto] [1/internal] [2/external]
    pm get-install-location
    pm createUser USER_NAME
    pm removeUser USER_ID

    pm list packages: prints all packages, optionally only
    those whose package name contains the text in FILTER. Options:
    -f: see their associated file.
    -d: filter to only show disbled packages.
    -e: filter to only show enabled packages.
    -s: filter to only show system packages.
    -3: filter to only show third party packages.
    -u: also include uninstalled packages.

    pm list permission-groups: prints all known permission groups.

    pm list permissions: 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.

    pm list instrumentation: use to list all test packages; optionally
    supply to list the test packages for a particular
    application. Options:
    -f: list the .apk file for the test package.

    pm list features: prints all features of the system.

    pm path: print the path to the .apk of the given PACKAGE.

    pm install: 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.
    -s: install package on sdcard.
    -f: install package on internal flash.

    pm uninstall: removes a package from the system. Options:
    -k: keep the data and cache directories around after package removal.

    pm clear: deletes all data associated with a package.

    pm enable, disable, disable-user: these commands change the enabled state
    of a given package or component (written as "package/class").

    pm get-install-location: returns the current install location.
    0 [auto]: Let system decide the best location
    1 [internal]: Install on internal device storage
    2 [external]: Install on external media

    pm set-install-location: changes the default install location.
    NOTE: this is only intended for debugging; using this can cause
    applications to break and other undersireable behavior.
    0 [auto]: Let system decide the best location
    1 [internal]: Install on internal device storage
    2 [external]: Install on external media
    shell@android:/ $

    • you are in the newer version of the OS, the command is little changes it is now "set-install-location" for instead of setInstallLocation

  • Please send me the link for the sdk tools to downlaod the proper sdk tools please send links on thinkingcorner1@gmail.com

  • Dear please send me the link of sdk tools download file please

  • C:adt-bundle-windows-x86_64adt-bundle-windowssdkplatform-tools>adb devices
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    List of devices attached

    Dear i have done all after installing the tools but at the last step this happens and everything stops please help me please see below and help me

    C:adt-bundle-windows-x86_64adt-bundle-windowssdkplatform-tools>adb shell pm
    setInstallLocation 2
    error: device not found

    C:adt-bundle-windows-x86_64adt-bundle-windowssdkplatform-tools>

  • Dear i have done all after installing the tools but at the last step this happens and everything stops please help me please see below and help me

    C:adt-bundle-windows-x86_64adt-bundle-windowssdkplatform-tools>adb devices
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    List of devices attached

    C:adt-bundle-windows-x86_64adt-bundle-windowssdkplatform-tools>adb shell pm
    setInstallLocation 2
    error: device not found

    C:adt-bundle-windows-x86_64adt-bundle-windowssdkplatform-tools>

    • you are facing issue with the drivers of the device, just install the software which came with the device

  • Bro I have htc explorer please tell me where does i find its drivers?

    • just install HTC sync on your system and that will make sure that the drivers are installed

  • thanks dear its all done

    • Bro Paritosh,

      First thanks for posting a video on who to do it.
      Really appreciate it.

      But failed on my phone.

      I am on samsung galaxy s3 i9305 , rooted

      I hv all the drivers as well as Kies installed.

      Pls advise brother…

      jimlooi@gmail.com

  • Anonymous

    i have a prestigio multiphone pap 4300 duo i donยดt have any usb drivers with it and i get an error device not found at the last step

  • I've done this and it still says that I do not have enough space, please free some space on your phone. Where do I see an option to move to sd card?

    • you will find the option to move apps to sd card in settings-> applications

      n if you are using ICS or jelly bean it doesn't show any option, I have a post in this site related to jelly bean n ICS u can search that out if you are in the latest version of the OS

  • guy i hav tried many times but at the last its is showing device not found..plzzz help me………….plzzzz help me as soon as u can i hav htc explorer and i hav also installed htc sync on my windows vista plz plz plz help me there is only 27 MB left on my phn and the suptizing thing is that i hav uninstalled all the apps even i hav uninstalled the play store updates plzz plzz help me fast or give me your phn. no. i need that plzz…..

    • aaah ok it will work once u have installed HTC sync it may be that u are keeping sync open while connecting, also make sure that USB debugging is enabled

      and once just connect the phone with HTC sync that will install some sync stuff in the phone as well

  • Anonymous

    I dont want to root my prestigio 4300 bit i cant get drivers for it in usb debuging in device manager on win 7 it shows they are not installed so im cmd it shows device not found any help for this?

    • aaaah just check the manufacturer's site for some drivers to install, something like sync or a manger for your computer that will make sure all the drivers are installed…!

  • successfully done all. still i cant install apps in sd. Using samsung galaxy s duos.

  • successfully done all. still i cant install apps in sd. Using samsung galaxy s duos

  • Jooorge92

    this works with LG Optimus L9? Thanks

  • please give me the link to root my Samsung galaxy s duos

    • search for your device in xda developers site you will sure be able to find something

  • Does it work on Android 4.1.1 jellybean ?
    Please answer quickly (sorry for my bad ebglsh)

  • Neha

    Hello! I have Sony Ericsson Xperia Mini Pro with Android 2.3.4. I did the entire thing as shown in the video, but I'm still unable to move apps to the SD…Please tell me how should I proceed…

    • It will work fine in your phone, If everything happened the way I said in the post then you will be able to move the apps to the card, for the installed apps it will not happen automatically you will manually have to do it form settings->applications->and then selecting the application you want to move and tapping on the move to sd card button…!

      and if you faced some issue or error let me know

  • Neha

    Hello! Yeah, some of the apps are movable, but Adobe Flash Player, Adobe Reader, Facebook,Gmail,Google Maps,Street View are still not movable…

    • the pre-installed apps dosen't go to the SD-Card and the apps you mentioned, those Google ones doesn't go to the card and may be other apps also came pre-installed….!

  • Neha

    Oh…I see..Will routing help me move these apps to the SD?

  • aaaah not just rooting you will have to do some other steps as well n once the move to sd-card option is available in application info in ICS or JB then this trick works fine for those devices

  • hey..I cud get through the pc steps but I couldnt get a way to move d apps to sd card. Can u pls guide for the same. I'm using galaxy s duos.

  • okay..yeah i guess rooting is the only thing i can resort to now. thanks a lot anyways ๐Ÿ™‚

  • Anonymous

    Works fine and if you follow procedure from the tutorial it's very easy. Although I noticed that it doesn't transfer the whole app to SD card, but only the part of it. I mean, some of them still occupy some of the phone internal memory, but that's also fine. Thanx man ๐Ÿ™‚

    I have HTC explorer and Windows XP SP3 (I think it's SP3) and I downloaded the SDK ADT Bundle for Windows (32 bit)from http://developer.android.com/sdk/index.html on my C: and everything went great.

    • yeps 10 to 20 percent of the app stays in the phone that is because the phone needs some information to know where the app is in the card..

  • vikrant

    hi, i did everything according to your instructions and it went well too but still my phone installs apps in the phone memory. when i cmd get-install-location it shows 2[external but there is still no option of moving apps and also the apps are still getting stored in the phone memory. please help

  • which version of Android you are using ..?

  • Arno Reinhardt

    Hi Paritosh, thanks for this great tutorial and your work! … must be a
    full time job to answer all these questions … I wanted to try it, but
    the link to the download one needs in the 1st step seems to leed to
    another page and I can't find the exact zip-file ("android SDK")… only something
    similar that doesnt contain the folder "platform-tools … any chance of
    updating this??