HOW TO: Force Apps to SD (Without Rooting) On Froyo
Several readers have recently reported that they’ve managed to run out of free space, even with the Froyo implementation of Apps2SD. The way Google implemented it was poor to start with, but what makes it worse is that many apps in the Market still haven’t been updated to allow installation to SD card.
This guide shows you how to force all applications to be installed to your SD card.
Requirements
- Phone running Froyo
- ADB installed – how to
Instructions
- Ensure you have debugging enabled on your phone (Settings > Applications > Development > USB Debugging > Turn On)
- Connect your phone to USB
- Open Command Prompt/Terminal
- Type: adb shell pm setInstallLocation 2
- Press Enter
- That’s it!
FAQs
- My widgets keep disappearing, help!
To prevent widgets from being removed, you’ll have to move their associated application back onto phone memory – to do this see FAQ #2 - How do I move certain apps back onto phone memory?
You can move any application onto phone memory by going to Settings > Applications > Manage Applications > On SD card, select the app you want and press Move to Phone - How can I revert to the original settings?
Just open Command Prompt/Terminal and type: adb shell pm setInstallLocation 0 - Any other hidden commands?
There’s one more to force all apps to install to phone memory, but I doubt you’ll ever want to use it: adb shell pm setInstallLocation
[via Androinica]
This entry was posted by MrBrightside on October 7, 2010 at 7:42 pm, and is filed under Tips/Tweaks, Tutorials. Follow any responses to this post through RSS 2.0.You can leave a response or trackback from your own site.
-
Furthermore, some applications that you force move to the SDcard that don’t support it can give you install errors once they get an update through the market.
Only workaround, move the application back to the phone memory and unmount the SD card, update and mount the SD card again. Very tedious if you have a number of applications to update.
Like or Dislike:
0
0 -
pixxel:
Problem is, using this method, not all application data gets moved to sd-card, so You end up losing free space on the data partition yet again, regardless of settings.
a2sd is (for now) the only way to permanently move them to the card (even then, some phone memory is used, but much less than with this method.)YOu can use it as a supplement on a2sd.
I use becouse of flash 10.1 (12 mb)Like or Dislike:
0
0 -
geek_0:
@yugi
you need to go to the AndroidSDK folder, in CMD type
cd .. (2 times), then cd androidsdk/tools
and then type adb shell pm setInstallLocation 2
But your androidsdk must to be in C:/AndroidSDK
(for this to work, like I’ve said)thanks for that geek 0! I too was stuck with that problem. all working great now!
however it’s a bit trial and error to find out which apps can be moved and which ones can’t. data counter widget, folder organizer and agenda widget all errored when moved.
Like or Dislike:
0
0 -
Thanks man! This worked after a couple of tries. Here’s what I did for those of you who are trying to get your head around this CMD thing:
(1) On your phone, turn on USB debugging: (Settings > Applications > Development > USB Debugging > Turn On)
(2) Attach your usb cable to your phone and plug in to your computer.
(3) On your computer: run CMD (Start/Windows button > Run > type in ” cmd “)
(4) Type in the location of your android-sdk-windows tools folder. For me, it was on the desktop, so I had to type:
” cd C:\Users\Username\Desktop\android-sdk-windows\tools ”(5) Type: ” adb shell pm setInstallLocation 2 ”
(6) I had to type that line twice for it to work.
Hope that helps everyone!!
Like or Dislike:
2
0 -
I have tried and tried but I keep getting the message adb commond not recognised. Im using WIN 7 have installed all SDK files and made my way to the tools folder. The only problem I can see is that under device manger it keep listing my phone as HTC … keep unintalling but it then labels is as htc.. something else! Please help as there are so many things on the ROM that don’t need to be.
Like or Dislike:
1
0 -
Jamie:
I have tried and tried but I keep getting the message adb commond not recognised. Im using WIN 7 have installed all SDK files and made my way to the tools folder. The only problem I can see is that under device manger it keep listing my phone as HTC … keep unintalling but it then labels is as htc.. something else! Please help as there are so many things on the ROM that don’t need to be.
Like or Dislike: 1 0same problem…keeps telling me adb isn’t a recognized as an internal or external command(((
Like or Dislike:
0
0 -
Hey man, this is what i´ve been looking for. There is one q. i did as you said and after few trys i did something
. Now i´m not sure is this as it should be, after this command in cmd i can move some appś from my phone but as i understood they had to move automaticly after the command am i wright? Now after all, there is just about 50 mb free space on phone, shouldn˙t there be more than that? Phone is desire 2,2 froyo hboot 0,93Like or Dislike:
0
0 -
first it said “adb server is out of date. killing…
* daemon started successfully *”For those who manage to get till the message above and the next message is “error: device not found”, it means that you have not run your phone driver. I’m on HTC DHD and I need to run the HTC Sync to get the driver running. After that, the last error is no more to be seen. To test, try install google voice before and after running the above command. You can see the diff.
Like or Dislike:
0
0 -
I just spent half a day figuring out how to get this working on Windows XP SP3 for a HTC Desire. Here’s my experience :
Before I was allowed install the AndroidSDK I had to install Java Development Kit from Oracle but was pointed in this direction thankfully http://www.oracle.com/technetwork/java/javase/downloads/index.html
The USB driver installed with the AndroidSDK did not work so I found one here that worked for me : http://www.android-sync.com/download/adb_driver/adb_driver_htc.zip
when installing the AndroidSDK installer_r09-windows.exe don’t allow it to install in Program Files. It must install in the root C:\
deinstalling it and reinstalling it in the root helped.
A lot of hassle to be able to use my HTC Desire without the damned low on internal memory messages.
Once I had succeeded I was able to move much more of my apps to SD although I had to manually go through them and do them one by one, freeing up lots of memory. My phone is alive again. Get it sorted HTC.
Thanks for this post btw.
Like or Dislike:
0
0 -
Can not get this to work. Getting the “adb server out of date …” message. I have run HTC Sync (worst piece of software I have encountered in a while) and device recognised. Manage to get the command to run without error message but it makes no difference to where applications are installed on the device. Really want to move huge apps like flash as they are destroying my ability to have the programs I would like to have installed on my phone. Really frustrating. Don’t want to root this device but it is looking like a necessity.
Like or Dislike:
0
0 -
-
Johnny:
It did nothing for me.
Running on win7 x64.
ADB located in c:\Program Files (x86)\Android\android-sdk-windows\platform-tools\
first it said “adb server is out of date. killing…
* daemon started successfully *”
Then i ran it 2 times again but still nothing happens on my phone.
Like or Dislike: 0 0hey,
did the same thing, installed a few apps – still they’re being installed onto the phone memory..
any suggestions/ideas?
thanks!Like or Dislike:
0
0 -
1. In Device manager it says that ADB driver is installed
2. I Have SDK. The path is C:\android-sdk\tools
But when I’m typing the command “adb shell pm setInstallLocation 2″ it gives me back an error ‘adb’ is not recognized as an internal or external command, operable program or batch file.”
Please HELP! 10x in advance!Like or Dislike:
0
0 -
#39 written by Neatz 1 year ago
I had to type the following (For the not-so-experienced, i use {Enter} here to indicate hitting the enter key on the keyboard i.e not to be typed)
cd\ {Enter}
C:\android-sdk-windows\platform-tools {Enter}
(Now “C:\android-sdk-windows\platform-tools>” Should display, type the following directly after the ‘>’)
adb shell pm setInstallLocation 2So you end up with…
” “C:\android-sdk-windows\platform-tools>adb shell pm setInstallLocation 2″ {Enter}It told me the device was not found 3 times before it worked.
If you get that error, just press the up arrow on your keyboard and hit Enter again … i kept doing that and it worked the fourth time.I can actually use my phone now! Sooooo happy
Like or Dislike:
0
0 -
#40 written by Eve 1 year ago
first, sorry for my poor english:}
so the problem is, that i did all of the staff published, but nothing worked, i keep ending up with
adb server is out of date. killing
daemon started successfullyrepeating, repeating, i dont know how many times, but nothing has changed…
please, can anyone help, where is that mistake, because im going crazy…
thanks a lot…Like or Dislike:
0
0 -
#44 written by roadrunnerm 1 year ago
Hi,
I have Use ADB and my tablet will connect
I go to the adb shell and typed pm setInstallLocation 2
After this I reboot and check the setInstallLocation it is set to 2 that is rightI have only one problem I have no button (next to Delete data) to move the apps to External SD-Card below setting >> Apps
Is there someone out there that can tell how to get this button
Like or Dislike:
0
0 -
#45 written by ED 1 year ago
They say it will void your warranty but it really doesnt I rooted my phone and then i started to install random apps that required root acces and i bricked my phone and i sent it to samsung and within 2 weeks they sent my phone back working perfect
HtcDesireUser:
I read somewhere that HTC said that this will end the warranty..Is it? Someone can reply this…
Im about sure that htc say that.
Like or Dislike: 0 0Like or Dislike:
0
0 -
http://www.youtube.com/watch?v=z8tEwlEmYGQ
Like or Dislike:
0
0 -
-
Problem is, using this method, not all application data gets moved to sd-card, so You end up losing free space on the data partition yet again, regardless of settings.
a2sd is (for now) the only way to permanently move them to the card (even then, some phone memory is used, but much less than with this method.)Like or Dislike:
0
0 -
Furthermore, some applications that you force move to the SDcard that don’t support it can give you install errors once they get an update through the market.
Only workaround, move the application back to the phone memory and unmount the SD card, update and mount the SD card again. Very tedious if you have a number of applications to update.
Like or Dislike:
0
0 -
pixxel:
Problem is, using this method, not all application data gets moved to sd-card, so You end up losing free space on the data partition yet again, regardless of settings.
a2sd is (for now) the only way to permanently move them to the card (even then, some phone memory is used, but much less than with this method.)YOu can use it as a supplement on a2sd.
I use becouse of flash 10.1 (12 mb)Like or Dislike:
0
0 -
geek_0:
@yugi
you need to go to the AndroidSDK folder, in CMD type
cd .. (2 times), then cd androidsdk/tools
and then type adb shell pm setInstallLocation 2
But your androidsdk must to be in C:/AndroidSDK
(for this to work, like I’ve said)thanks for that geek 0! I too was stuck with that problem. all working great now!
however it’s a bit trial and error to find out which apps can be moved and which ones can’t. data counter widget, folder organizer and agenda widget all errored when moved.
Like or Dislike:
0
0 -
Thanks man! This worked after a couple of tries. Here’s what I did for those of you who are trying to get your head around this CMD thing:
(1) On your phone, turn on USB debugging: (Settings > Applications > Development > USB Debugging > Turn On)
(2) Attach your usb cable to your phone and plug in to your computer.
(3) On your computer: run CMD (Start/Windows button > Run > type in ” cmd “)
(4) Type in the location of your android-sdk-windows tools folder. For me, it was on the desktop, so I had to type:
” cd C:\Users\Username\Desktop\android-sdk-windows\tools ”(5) Type: ” adb shell pm setInstallLocation 2 ”
(6) I had to type that line twice for it to work.
Hope that helps everyone!!
Like or Dislike:
2
0 -
I have tried and tried but I keep getting the message adb commond not recognised. Im using WIN 7 have installed all SDK files and made my way to the tools folder. The only problem I can see is that under device manger it keep listing my phone as HTC … keep unintalling but it then labels is as htc.. something else! Please help as there are so many things on the ROM that don’t need to be.
Like or Dislike:
1
0 -
Jamie:
I have tried and tried but I keep getting the message adb commond not recognised. Im using WIN 7 have installed all SDK files and made my way to the tools folder. The only problem I can see is that under device manger it keep listing my phone as HTC … keep unintalling but it then labels is as htc.. something else! Please help as there are so many things on the ROM that don’t need to be.
Like or Dislike: 1 0same problem…keeps telling me adb isn’t a recognized as an internal or external command(((
Like or Dislike:
0
0 -
Hey man, this is what i´ve been looking for. There is one q. i did as you said and after few trys i did something
. Now i´m not sure is this as it should be, after this command in cmd i can move some appś from my phone but as i understood they had to move automaticly after the command am i wright? Now after all, there is just about 50 mb free space on phone, shouldn˙t there be more than that? Phone is desire 2,2 froyo hboot 0,93Like or Dislike:
0
0 -
first it said “adb server is out of date. killing…
* daemon started successfully *”For those who manage to get till the message above and the next message is “error: device not found”, it means that you have not run your phone driver. I’m on HTC DHD and I need to run the HTC Sync to get the driver running. After that, the last error is no more to be seen. To test, try install google voice before and after running the above command. You can see the diff.
Like or Dislike:
0
0 -
I just spent half a day figuring out how to get this working on Windows XP SP3 for a HTC Desire. Here’s my experience :
Before I was allowed install the AndroidSDK I had to install Java Development Kit from Oracle but was pointed in this direction thankfully http://www.oracle.com/technetwork/java/javase/downloads/index.html
The USB driver installed with the AndroidSDK did not work so I found one here that worked for me : http://www.android-sync.com/download/adb_driver/adb_driver_htc.zip
when installing the AndroidSDK installer_r09-windows.exe don’t allow it to install in Program Files. It must install in the root C:\
deinstalling it and reinstalling it in the root helped.
A lot of hassle to be able to use my HTC Desire without the damned low on internal memory messages.
Once I had succeeded I was able to move much more of my apps to SD although I had to manually go through them and do them one by one, freeing up lots of memory. My phone is alive again. Get it sorted HTC.
Thanks for this post btw.
Like or Dislike:
0
0 -
Can not get this to work. Getting the “adb server out of date …” message. I have run HTC Sync (worst piece of software I have encountered in a while) and device recognised. Manage to get the command to run without error message but it makes no difference to where applications are installed on the device. Really want to move huge apps like flash as they are destroying my ability to have the programs I would like to have installed on my phone. Really frustrating. Don’t want to root this device but it is looking like a necessity.
Like or Dislike:
0
0 -
-
Johnny:
It did nothing for me.
Running on win7 x64.
ADB located in c:\Program Files (x86)\Android\android-sdk-windows\platform-tools\
first it said “adb server is out of date. killing…
* daemon started successfully *”
Then i ran it 2 times again but still nothing happens on my phone.
Like or Dislike: 0 0hey,
did the same thing, installed a few apps – still they’re being installed onto the phone memory..
any suggestions/ideas?
thanks!Like or Dislike:
0
0 -
1. In Device manager it says that ADB driver is installed
2. I Have SDK. The path is C:\android-sdk\tools
But when I’m typing the command “adb shell pm setInstallLocation 2″ it gives me back an error ‘adb’ is not recognized as an internal or external command, operable program or batch file.”
Please HELP! 10x in advance!Like or Dislike:
0
0 -
#39 written by Neatz 1 year ago
I had to type the following (For the not-so-experienced, i use {Enter} here to indicate hitting the enter key on the keyboard i.e not to be typed)
cd\ {Enter}
C:\android-sdk-windows\platform-tools {Enter}
(Now “C:\android-sdk-windows\platform-tools>” Should display, type the following directly after the ‘>’)
adb shell pm setInstallLocation 2So you end up with…
” “C:\android-sdk-windows\platform-tools>adb shell pm setInstallLocation 2″ {Enter}It told me the device was not found 3 times before it worked.
If you get that error, just press the up arrow on your keyboard and hit Enter again … i kept doing that and it worked the fourth time.I can actually use my phone now! Sooooo happy
Like or Dislike:
0
0 -
#40 written by Eve 1 year ago
first, sorry for my poor english:}
so the problem is, that i did all of the staff published, but nothing worked, i keep ending up with
adb server is out of date. killing
daemon started successfullyrepeating, repeating, i dont know how many times, but nothing has changed…
please, can anyone help, where is that mistake, because im going crazy…
thanks a lot…Like or Dislike:
0
0 -
#44 written by roadrunnerm 1 year ago
Hi,
I have Use ADB and my tablet will connect
I go to the adb shell and typed pm setInstallLocation 2
After this I reboot and check the setInstallLocation it is set to 2 that is rightI have only one problem I have no button (next to Delete data) to move the apps to External SD-Card below setting >> Apps
Is there someone out there that can tell how to get this button
Like or Dislike:
0
0 -
#45 written by ED 1 year ago
They say it will void your warranty but it really doesnt I rooted my phone and then i started to install random apps that required root acces and i bricked my phone and i sent it to samsung and within 2 weeks they sent my phone back working perfect
HtcDesireUser:
I read somewhere that HTC said that this will end the warranty..Is it? Someone can reply this…
Im about sure that htc say that.
Like or Dislike: 0 0Like or Dislike:
0
0 -
http://www.youtube.com/watch?v=z8tEwlEmYGQ
Like or Dislike:
0
0
- HOW TO: Transfer MicroSD Card Contents (including Apps2ext)
- DOWNLOAD: Orange Pre-Froyo Update
- Froyo Releases: Current Status
- Orange Being Dishonest About Their Froyo Release?
- This Week On Twitter #2
- FAQS: Your HTC Desire Questions Answered #4
- FROYO: European Update This Weekend – Official From HTC
- DOWNLOAD: Windows XP ADB Driver for HTC Phones
- REVIEW: A Day (and Night) with Froyo on HTC Desire
- VIDEO: Froyo on the HTC Desire (with Sense)
Problem is, using this method, not all application data gets moved to sd-card, so You end up losing free space on the data partition yet again, regardless of settings.
a2sd is (for now) the only way to permanently move them to the card (even then, some phone memory is used, but much less than with this method.)
Like or Dislike:
0
0