• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

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

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

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

First a couple of questions ... Phone model and Android version? And, are you setting the default location to 0 or 2?
 
Upvote 0
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.

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.
 
Upvote 0
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?

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.
 
Upvote 0
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?
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.
 
Upvote 0
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.
 
Upvote 0
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:
adb shell pm setInstallLocation 2
doesn't work, try typing
Code:
adb shell
and press enter, then type
Code:
pm setInstallLocation 2
and press enter.

Let us know if you continue to get the error and when exactly it happens.
 
Upvote 0
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!
 
Upvote 0
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!

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

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones