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

Force Apps to install to SD without Root!!

Status
Not open for further replies.
After the last step: 'pm setInstallLocation 2' I have got the following error: 'setInstallLocation: permission denied'. Do I need to enable permissions before somewhere? Thanks.
 
After the last step: 'pm setInstallLocation 2' I have got the following error: 'setInstallLocation: permission denied'. Do I need to enable permissions before somewhere? Thanks.

Step 8. Ensure on your phone, USB Debugging is on - Go to Settings/Applications/Development/ and ensure USB Debugging is ticked.

Then make sure you connect in Sync mode and allow the htc sync to complete.
 
Hey all,

Can anyone help me out here... I am trying to do this on my non-rooted HTC Desire using Ubuntu Lucid 64-bit.

When I try to run the
Code:
./adb devices
command in a terminal after navigating to the tools directory where adb is located it returns an error message saying If I try the command
Code:
./adb root
to restart the daemon in root mode again it also returns an error This happens when I run execute any of the adb commands. How do I pass myself the permissions for the device so I can execute the commands?

Any help here is much appreciated.

Big cheers,

Nick
You don't need to sudo on your Ubuntu to do these adb commands as long as adb's installed on your home directory. And from the results of your adb devices, you don't have an android.rules setup.

as root (in Ubuntu) open a new file in /etc/udev/rules.d/51-android.rules and add:
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"
then exit back to your main user then ./adb kill-server and ./adb devices to see if it appears.

Also ensure USB debugging is enabled on your Desire under settings > applications > development.
 
Managed to get it to work! I had the folder on the desktop, I had not opened the second folder containing the files, thanks for the tutorial above it really helped me a lot. Thanks Williamj1 for taking the time to Provide the instructions.
 
hi there
will i able to move copilot and asphalt to sd card after doing this?

Yes, I own them both and can confirm they can be moved to sd after this process and work just as well as before.

I actually found those two were my largest apps, at combined just over 30mb, so I was very very glad to have them moved :)
 
Yes, I own them both and can confirm they can be moved to sd after this process and work just as well as before.

I actually found those two were my largest apps, at combined just over 30mb, so I was very very glad to have them moved :)

:Dthanks alot guys
it worked
wow
why couldnt google do this by default? the developers are so slow
but this helps
thanks
almost 60mbs free now:)
 
To do this, go to settings / applications / manage applications
Then you just click on an app, and the move to SD card box should no longer be Grey. So you must now move all the apps you want onto the SD Card.

Hi, I have done all the steps a couple of times now but when I go into settings and manage applications, the option to move to sd card is not there, not even greyed out. Am I doing something wrong?
 
guys jus remember after you do this.all new apps will install to sdcard
so if its a widget or an app that automatically starts up at boot, then u need to do the following
after app/widget is installed. go to applications.and click on the app/widget and move to sd. then you need to restart your phone.otherwise you wont see the widget in the list when you trying to add it to one of your homescreens
 
Hi, I have done all the steps a couple of times now but when I go into settings and manage applications, the option to move to sd card is not there, not even greyed out. Am I doing something wrong?

What is your phone?
Is the phone running android version 2.2 froyo?
What application are you trying to move?
 
this method certainly works! :) The only downside appears to be that applications installed pre-modification and then subsequently moved to the SD card don't seem to be updated via the Market - at least not to the SD card. But a re-installation seems to work fine. So all in all, a good tip.
 
It is great to be able to move most apps but having used it for a weeks I've noticed several apps still leave a 'footprint' on the system memory, and some of these can be quite big.

Rockplayer for example is a whopping 12 meg on the internal memory but even when moved to the SD card it leaves 8 meg on the system memory used up - for an app that does nothing in the background unless actively used it's pretty disappointing.
 
I am thinking of doing this and have some questions. Please help.

1. Is there any chance of bricking the phone whilst doing this?
2. Does it work after official branded software update?
3. Can you move apps to phone once they are installed to sd without reversing the save location using this method?

Thanks!
 
I have done it successfully....
Thanks all........

but still after installing application though it is installing in SD but phone memory filling up.and also few application can not move, like google map, adove flush player...

Is there any way to move them to SD.
thanks all.. agian
 
One thing I am discovering is that your phone memory will still have data added with every app installed however this is just data that allows the phone to locate the required app. Another thing is that you may still continue to get low memory notifications. That said I have found out that you can quite happily ignore it, and if the notification sitting there bothers you a great deal a quick reboot of the phone will remove it until you install something else where it may well appear again. HTH
 
Hi,

I cannot get this to work at all. I have the latest sdk and Sync software installed (both downloaded today).

Following the instructions and I sync the mob, then issue the command:
adb devices - this then results in:
adb server is out of date. killing...
* daemon started successfully *

At this point, my phone is disconnected automatically from Sync and the rest of the instructions fail (permission denied), presumably because of the disconnection. I have to replug my mob into the cable to get Sync to recognise it again.

I have tried rebooting the phone and performing the steps with it set to "charge only" (doesn't work at all) and with it running Sync.

How can I stop it killing the adb server? If I could prevent it from doing this, I think it would probably work.

Any help would be appreciated.

Cheers,
Jim
 
Hi,

I cannot get this to work at all. I have the latest sdk and Sync software installed (both downloaded today).

Following the instructions and I sync the mob, then issue the command:
adb devices - this then results in:
adb server is out of date. killing...
* daemon started successfully *

At this point, my phone is disconnected automatically from Sync and the rest of the instructions fail (permission denied), presumably because of the disconnection. I have to replug my mob into the cable to get Sync to recognise it again.

I have tried rebooting the phone and performing the steps with it set to "charge only" (doesn't work at all) and with it running Sync.

How can I stop it killing the adb server? If I could prevent it from doing this, I think it would probably work.

Any help would be appreciated.

Cheers,
Jim

No. It should kill the adb server. The code you typed ^^ is correct.

And put it in Sync mode, not charge only mode, then allow HTC Sync to complete and try again.
 
Status
Not open for further replies.
Back
Top Bottom