1. Hot New Devices! HTC One M9 | Samsung Galaxy S6 | LG G4

How do I install apps and more on SD card by Default on android 2.3.5 Samsung Exhibit 2?Support


  1. Chummey

    Chummey New Member

    After going through the process of the command prompt to the platform tools directory i entered "adb devices" and it got "List of devices attached" and nothing after that. Therefore I can't find my serial number :( and can't complete the process. Quick replies are appreciated xD
  2. richardlibeau

    richardlibeau Member

    Try adb wireless or clockworkmod tether. Then type adb devices in command prompt should work after that. Make sure usb debugging is checked on phone
  3. Steeltooth493

    Steeltooth493 Active Member

    I've tried to run through the whole process even with the updated tools location and it hasn't seemed to work. I think it opens adb because I can get my phone's serial number, but once I enter in the file location code and press enter nothing else seems to really happen. It just gives me the path file again after that and I can't move my apps over to my external SD card. What is wrong?
  4. lunatic59

    lunatic59 Moderati ergo sum Moderator

    First a couple of questions ... Phone model and Android version? And, are you setting the default location to 0 or 2?
  5. Steeltooth493

    Steeltooth493 Active Member

    I have a Samsung Exhibit II 4G with Android 2.3.5 Gingerbread installed. I want to change the default location to 2 so that it will move apps to the external SD card. I also have usb debugging on and it is rooted, although I know you don't need root for this to work.
  6. richardlibeau

    richardlibeau Member

    Just get links2sd or rom toolbox and you can set it to ex card. If you use adb type su then set pm install location=2. This will work if done right. Terminal emulator can do it too.
  7. Steeltooth493

    Steeltooth493 Active Member

    Rom toolbox has it set as the external sd card for installs but I still cannot move apps to the external card yet. Is it thinking that the external option is really the internal sd card inside the phone?
  8. lunatic59

    lunatic59 Moderati ergo sum Moderator

    I can explain it but I don't have a solution for you. Android has specific rules for where it installs apps. If the app has a specified location, that takes priority. If it is not specified in the app, then the default install location is used. Android has 3 identifiers for app storage location:

    0 = Internal
    1 = Auto
    2 = External (sd card)

    If 0 is set in the app, then it can only be installed on the internal storage regardless of the default install location. Widgets, services and apps that periodically poll need to be in the internal storage to run correctly.

    Similarly the phone itself can have a default install location set so if the app is set to 1 (Auto) then it will direct the app where to be installed. The only thing you must remember is that 1 is not an option for a phones default location. If the app were set to Auto location and the phone was to, it wouldn't know what the default was.

    Out of the box, all Android devices used to come with the default location set to 0, so if a widget or service was set to Auto, it would go in the right place. Apps that could be moved can always be moved to the sd card manually.

    Anyway, newer phones that include large amounts (by current mobile standards) Like the SGS2, Exhibit (and my other phone, the Captivate) often partition them so that you don't have a huge amount of system memory that wouldn't be accessible for file storage. On the Captivate (and I am assuming it's similar with the Exhibit) Samsung has a 2 GB partition for the system and the remaining 14 GB partitioned and recognized as an sd card by making its mount point /sdcard.

    Therein lies the problem. The path to external storage within Android is /sdcard so apps that are installed to external storage will be there, which is the internal sd partition, not the removable sd card. On the Captivate the path to the removable sd card is /sdcard/sd_external.

    It may be possible to redirect the external location to the actual removable sd card, but it would involve editing the init.rc executable script file which may be incredibly dangerous (or not, I frankly don't know). Or, you could actually change the mount points of these devices so the removable sd card was mounted as default external storage, but that would probably require a custom rom to do.

    Like I said earlier, an explanation but no solution.
  9. richardlibeau

    richardlibeau Member

    Links2sd works for me all my apps. are installed to ex card unless i change it. Try it or use command like i said type su then pm setInstallLocation 2 to confirm it worked type pm getInstallLocation and it will tell you if its 0,1,or2.when you type make sure it is just like this (pm setInstallLocation 2) without the quotations. This will work for sure unless your phone is broke.
  10. BashaShaik

    BashaShaik New Member

    when I do so I am getting error like
    "adb is not recognized as an internal or external command "
  11. BashaShaik

    BashaShaik New Member

    when I do so I am getting error like
    "adb is not recognized as an internal or external command "

    If you want to move more apps to the SD card, you'll need to have the Android SDK installed. How-To Install Android SDK On Windows, Mac and Linux

    Then on your phone go to settings>applications>development and enable USB Debugging. Plug your phone into the PC using the USB cable.

    open a command prompt on your PC (start>run type "cmd" press ENTER)

    Change directory to the android-sdk-windows\tools folder

    At the prompt type
    Code:
    adb devices
    and you should see your phone listed as a serial number.

    type
    Code:
    adb shell pm setInstallLocation 2
    Done.

    Now the default location to install apps is the SD card. And, some apps that you couldn't move to the SD card will now be able to be moved. Keep in mind Widgets and services should always be installed to the phone and not the SD card, so if you follow the steps above and you install a widget afterwards, you will need to go to settings>applications>manage applications and manually move it to the phone. If you want to set the default install location back to the phone, you simply repeat the process but use
    Code:
    adb shell setInstallLocation 0
    Android has specific rules for where it installs apps. If the app has a specified location, that takes priority. If it is not specified in the app, then the default install location is used. Android has 3 identifiers for app storage location:

    0 = Internal
    1 = Auto
    2 = External (sd card)

    If 0 is set in the app, then it can only be installed on the internal storage regardless of the default install location. Widgets, services and apps that periodically poll need to be in the internal storage to run correctly.

    Similarly the phone itself can have a default install location set so if the app is set to 1 (Auto) then it will direct the app where to be installed. The only thing you must remember is that 1 is not an option for a phones default location. If the app were set to Auto location and the phone was to, it wouldn't know what the default was.

    You may find now that by setting the default install location to 2 you can now move more apps to the sd card that you couldn't before. If you go to menu>settings>applications>manage applications you can check which apps are able to be moved, paying close attention NOT to move widgets or polling apps.
  12. Serdxx

    Serdxx Well-Known Member

    but in my pc : when i have reached the last step:- -adb shell following - $ $ pm set-install-location 2 or with pm setInstallLocation 2 it show : $ unknown command
  13. lunatic59

    lunatic59 Moderati ergo sum Moderator

    if you type
    Code (Text):
    1. adb devices
    do you get a serial number?
  14. Serdxx

    Serdxx Well-Known Member

    yes, and i have reached last steps.
  15. Serdxx

    Serdxx Well-Known Member

    i'm using samsung galaxy s3
    IMM75D.I9300XXALE8 - build number
    stock kernel
  16. lunatic59

    lunatic59 Moderati ergo sum Moderator

    I've never tried it on an S3 or on any ICS device for that matter, so I don't know if the syntax has changed.

    If
    Code (Text):
    1. adb shell pm setInstallLocation 2
    doesn't work, try typing
    Code (Text):
    1. adb shell
    and press enter, then type
    Code (Text):
    1. pm setInstallLocation 2
    and press enter.

    Let us know if you continue to get the error and when exactly it happens.
  17. Serdxx

    Serdxx Well-Known Member

    still same..
    is there any method or apps i can used to move all apps to sd card?
  18. lunatic59

    lunatic59 Moderati ergo sum Moderator

    You will never be able to move ALL apps to the SD card and widgets should NEVER be moved to the SD card. Give Android Assistant a whirl.
  19. Serdxx

    Serdxx Well-Known Member

    please let me know, if you get a solution for the problems that i just mention..
    and isn't that the things i need from android assistant is App 2 SD?
    how to use that?
  20. lunatic59

    lunatic59 Moderati ergo sum Moderator

    You use the Apps 2 SD option and you are presented with a menu of apps you can move. Can I ask why you want to move your apps on an S3? On my S2 I have over 100 apps installed and none are on the SD card and still have plenty of room.
  21. Serdxx

    Serdxx Well-Known Member

    as preserve, so when recovery img can't be used, maybe sd card still have the apps installed and can be used... (actually i dunno)
  22. Serdxx

    Serdxx Well-Known Member

    and it's look like it doesn't have a option to move..
  23. Serdxx

    Serdxx Well-Known Member

    can i ask u sth..
    total of RAM that can be changed on samsung galaxy s3?
    i check on task manager, ram status : 450 mb/ 780 mb..
    is tht mean i just have 780 mb RAM? i think it should be 1 gb.
  24. seasjay

    seasjay New Member

    Lunatic59,

    If I understand you correctly, you are saying that I cannot install to the microsd card on the Asus Transformer TF101?
    Unfortunately, I did not see this post until after I had tried it. But what I do not understand, if setting the location to 2 is really the internal partition, then I should still be able to install apps, since I still have about 9GB free. But now when I try to install an APP I get an error message saying I am OUT OF SPACE. Any idea why? Also what is the default setting for the Transformer? Is it 0 or 1?

    Thanks!
  25. lunatic59

    lunatic59 Moderati ergo sum Moderator

    Android has specific rules for where it installs apps. If the app has a specified location, that takes priority. If it is not specified in the app, then the default install location is used. Android has 3 identifiers for app storage location:

    0 = Internal
    1 = Auto
    2 = External (sd card)

    If 0 is set in the app, then it can only be installed on the internal storage regardless of the default install location. Widgets, services and apps that periodically poll need to be in the internal storage to run correctly.

    Similarly the phone itself can have a default install location set so if the app is set to 1 (Auto) then it will direct the app where to be installed. The only thing you must remember is that 1 is not an option for a phones default location. If the app were set to Auto location and the phone was to, it wouldn't know what the default was.

    You may be running into problems because a.) the app you are trying to install is set to only install in the system memory. If it includes services or widgets, that would be likely. b.) you simply do not have enough room left to download the app prior to install. Some apps, especially games, are very large and require a little free room to run their installation routines.

    I would first try and free up some system memory by clearing caches of data hungry apps like the browser and maps. Then got to menu applications and see if you can move a few manually.

Share This Page