FORUMS

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world’s biggest … more

OnePlus 2 Bares All in New Tear Down Gallery

Last year, the launch of the OnePlus One, dubbed ‘the flagship killer’, visibly … more

Focus – An Attractive But Raw Gallery Replacement

Focus is an attractive new app built by XDA members Liam Spradlin … more

[TUT]Move All Installed Apps To SD Card

256 posts
Thanks Meter: 90
 
By anivesh93, Senior Member on 22nd July 2012, 08:00 AM
Post Reply Subscribe to Thread Email Thread
1)Download the latest version of Android SDK (which includes adb executable)

2)If you are installing Android SDK on Windows machine, you also need to install USB driver.



3)Connect the phone using USB cable and do not enable USB storage mode.
Go to Settings -> Applications -> Development and enable USB debugging.
Make sure you also check install from unknown sources option.

4)Start terminal window on your computer (on Windows: click Start, type “cmd” and press Enter).

5)In the terminal window, navigate to this folder : C:\Program Files (x86)\Android\android-sdk\platform-tools by default.
Check C:\Program Files\Android\android-sdk\platform-tools if you’re using a 32-bit version of Windows.



6)Run the adb devices command and you should see your connected Android device.Enter : adb devices

7)Enter : adb shell pm set-install-location 2
(If this command doesn’t work try using the “old” command: pm setInstallLocation 2)



8)If you want to revert this change later and install apps to the internal storage by default, run this command: adb shell pm set-install-location 0
( 0 represents your device’s internal storage, and is the default. 2 represents the external storage, whether it’s an SD card or USB storage. )

9)If the process is sucessfully completed,you will get a new prompt in the cmd window.Reboot and start moving the apps.

A Warning:Some apps shouldn’t be installed to your SD card and should remain installed on the internal storage. The external storage is unavailable when your Android device is mounted on your computer, so apps that remain running all the time should be left on your internal storage.

PRESS THANKS IF IT HELPED,CHEERS!




Video Link to the tutorial : http://www.youtube.com/watch?v=vjfk9...ature=youtu.be
Attached Thumbnails
Click image for larger version

Name:	tut0.PNG
Views:	3256
Size:	63.3 KB
ID:	1214002   Click image for larger version

Name:	tut1.PNG
Views:	2173
Size:	23.7 KB
ID:	1214003   Click image for larger version

Name:	tut2.PNG
Views:	2057
Size:	24.8 KB
ID:	1214004  
Last edited by anivesh93; 15th January 2013 at 06:15 PM.
The Following 10 Users Say Thank You to anivesh93 For This Useful Post: [ View ]
 
 
8th October 2012, 07:28 PM |#2  
Junior Member
Thanks Meter: 0
 
More
Sorry noob Q. Does this install to the external SD? it seems it installs to the sdcard folder on the phone.
8th October 2012, 09:43 PM |#3  
mihahn's Avatar
Recognized Contributor
Thanks Meter: 2,236
 
More
Quote:
Originally Posted by goro17

Sorry noob Q. Does this install to the external SD? it seems it installs to the sdcard folder on the phone.

There is no internal sd card folder, if you see the folder in a file manager it ever means the "external sd card" cause we have no internal (like on the galaxy nexus or sgs3)

Sent from my SK17i running Jelly Bean via CM10
The Following User Says Thank You to mihahn For This Useful Post: [ View ]
9th October 2012, 04:49 AM |#4  
OP Senior Member
Flag Jaipur
Thanks Meter: 90
 
More
Quote:
Originally Posted by mihahn

There is no internal sd card folder, if you see the folder in a file manager it ever means the "external sd card" cause we have no internal (like on the galaxy nexus or sgs3)

Sent from my SK17i running Jelly Bean via CM10

I meant internal storage....which every phone has(atleast in sony phones.....IDK abt others).....this is where the apps are installed by default
The Following User Says Thank You to anivesh93 For This Useful Post: [ View ]
9th October 2012, 10:20 AM |#5  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by anivesh93

I meant internal storage....which every phone has(atleast in sony phones.....IDK abt others).....this is where the apps are installed by default

Couple more Qs:

1) Just to be clear... the method mentioned above " install app to SD card" means installing to the USB storage in SG S2 right? (I just noticed that this the SONY area...I thought the problem would be universal for all android?)

2) Except for the system apps, can't you just move the apps that you get from the market to the USB storage (SD card folder) by going to setup>applications.....move to SD card ?? I thought going through the setup moved the app files to the USB storage anyway. Then why go through the ADB? Is it just for the convenience of not have to move the apps individually one by one?

3) So, there's no way to install the apps directly to an external SD (miro SD)?
10th October 2012, 06:38 AM |#6  
OP Senior Member
Flag Jaipur
Thanks Meter: 90
 
More
Quote:
Originally Posted by goro17

Couple more Qs:

1) Just to be clear... the method mentioned above " install app to SD card" means installing to the USB storage in SG S2 right? (I just noticed that this the SONY area...I thought the problem would be universal for all android?)

2) Except for the system apps, can't you just move the apps that you get from the market to the USB storage (SD card folder) by going to setup>applications.....move to SD card ?? I thought going through the setup moved the app files to the USB storage anyway. Then why go through the ADB? Is it just for the convenience of not have to move the apps individually one by one?

3) So, there's no way to install the apps directly to an external SD (miro SD)?



1)yes,this will move the apps to the external storage...
2)Some apps like the flash player and whatsapp can't be moved to the sd card even if they aren't system apps,this method will move them too..
3)if you enable this method...then apps will be installed to the sd card by default
10th October 2012, 02:01 PM |#7  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by anivesh93

1)yes,this will move the apps to the external storage...
2)Some apps like the flash player and whatsapp can't be moved to the sd card even if they aren't system apps,this method will move them too..
3)if you enable this method...then apps will be installed to the sd card by default

Tried it and seemed as if there was no prob....,but it still installs apps to internal memory...rebooted and retried several times. I installed apps from the playstore....

There were no errors and after downloading ADB from SDK i followed your instructions and typed the following:

adb devices
adb shell pm set-install-location 2 (initially tried setinstalLocation 2, but came up with error)

any idea why its not working?

My phone is SGS2 GT-i9100T
5th January 2013, 10:24 AM |#8  
OP Senior Member
Flag Jaipur
Thanks Meter: 90
 
More
This is a video link to the tutorial : http://www.youtube.com/watch?v=vjfk9...ature=youtu.be


CHEERS!
12th February 2013, 03:14 PM |#9  
archz2's Avatar
Member
Flag New Delhi
Thanks Meter: 3
 
More
i did this trick, i cross checked the default install location to 2. it shows fine. but i want to ask that do all the files of an installed program get installed on the sd card? I mean is it complete and full installation of an application on the SD card or some program files will get to internal memory also and rest would be in the sd card?

I factory reset my spice mi-280 android 2.3 version phone and tried this trick, but as i am installing an application, my internal memory is getting filled up little by little as i install more apps.
13th February 2013, 01:21 PM |#10  
OP Senior Member
Flag Jaipur
Thanks Meter: 90
 
More
Some part of the app obviously remains in the internal memory.These are the important files need to start the app and run it without bugs.As you must have seen in the case of games,most of it is transferred to the SD card but some part remains in the internal storage.The tutorial enabled the remaining apps to move part of the installed app to the SD card so as to make space in the internal memory.



Hope it helped.
14th February 2013, 07:06 AM |#11  
Junior Member
Flag Kyiv
Thanks Meter: 0
 
More
Post
@anivesh93

Thanks so much for posting this. I am just a regular kind of phone user, without much knowledge on Android, etc.
When I saw on my phone that I could not "get rid of" Facebook I was disappointed with my ST15i.
Don't get me wrong, the phone is far and away better than any other phones I have owned.

I am going to test out your method and see if it will allow me to control apps like I had hoped when I originally bought the phone.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
P.S. Maybe you could point me in the right direction on my own goals.
{I should note I am not a person who does not try to find out how to do something, but I don't even know the right search terms to begin to look....To crunch through 1000s of replies and guides would get too much}

Would you please take a look at my post and tell me if what I am wanting to do could be even done? I am not looking for a lengthy explanation, just to know that "yes,it can be done" or "no,it can't be done" {unless I am willing to figure out a lot of complicated stuff and most likley brick my phone (which I cannot risk doing }

http://forum.xda-developers.com/show....php?t=2146075

Read More
Post Reply Subscribe to Thread

Tags
[tut]
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes