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

Forcing Apps to install to the SD Card without root

hi,

I have HTC Wildfire S 510e Marvel and am here for guidance to use / upgrade my phone smartly to get much benefits.
I have Installed HTC Sync on my PC, on my mobile I have CM10.1 (OWLPROJECT) and Link2SD ( phone is S-OFF and Permanently Rooted ), it has 8gb SD Card with 2 Partitions FAT32, one is 6gb another one is rest of space.
Now as I want to use second partition as Internal Storage, I tried to follow the instruction here, downloaded mini-SDK and extracted all files in C:\sdk-tools, using cmd i issued command
c:\sdk-tools\adb devices
and it shows me
List of devices attaced
xxxxxxxxxx offline
when issued command
c:\sdk-tools\adb shell
it is showing error:
error: device offline

what i have to do ? i am stuck here and looking for your guidance, plesse help me.

with best regards.


Sorry for inconvenience, it was my fault, when i saw my phone it was asking me to Connect always on this computer with some kind of computer identity, when pressed OK and run command c:\sdk-tools\adb shell again, it worked. and i completed another steps successfully !!Thanks very much President for a great guidance, now going to install new app, i have only 22mb free as internal memory :(


 
Upvote 0
I'm not sure how the process works with rooted devices running custom ROMs, especially if you're using Links2SD. Couldn't you resize one of your partitions?

First thanks very much for your reply and again for great guidance.

as i mentioned after edit my post, the problem has solved, my phone was
asking to permit or not to connect to PC with my PC's ID (dont know
what was it ).

I informed about my Phones current status / configurations it have to
give maximum info. after your great guidance i have uninstalled Link2SD
and install MoboPlayer from store and yes its codec also which comes
seperately, but when checked MoboPlayer was installed in Internal
Memory and Codec by default installed in SD Card ( becoz of as per your
instructions i have issued command pm set-Install-Location 2 ) but
surprised that it not worked for MoboPlayer itself and I moved it
manually to SD Card and it moved successfully and i noticed the effect
on my internal storage.

one thing to ask, in your method it is necessary one have two
Partitions on SD Card ( as usually gurus told that Second Partition is
necessary to install all user applications )? and what the size you are
recommending for us as also you are asking to RESIZE Partition. ( I
have plan to reinstall every thing from scratch to get maximum benefits
from your guidance ).

Thanks very much for your concerns.
Regards.
 
Upvote 0
Have you made sure USB Debugging is enabled? Is HTC also running in the background (You need to make sure it's closed)?

What does it say when you type ADB devices?

With the previous version of HTC Sync (the one that came with the mobile), I get the following when I type adb devices:

* daemon not running starting it now at port 5037 *
* daemon started successfully *
list of devices attached

With the new version of the software, I only get "list of devices attached".

Yeah, it's enabled. I have tried doing the whole processs with USB Debugging enabled before even connecting the phone to the PC as well as I have also tried doing it by enabling USB Debugging when I get to Step 4 of the instructions posted.

And, no, I don't have HTC Sync running in the background.
 
Upvote 0
Hey! Been trying to get this to work and I have the strangest problem. I do everything correctly, get the final $ sign, exit the CMD prompt, but it did not work. I disconnect my phone and it seems as if the settings didn't change at all. Can't move apps, downloading new apps still puts it onto the internal storage. I run the pm getInstallLocation command and I am told "2" however the settings remain unchanged. Anything I can do?
 
Upvote 0
Hey , i have done all the steps and i got the attached pic, but still, whenever i want to download it gives me that there is insufficient space , please help me !

PS: i tried to type the letters as what you showed, it's not working , so i typed it like this ---> "adb shell" then i pressed (enter) then "pm set-install-location 2"

and to make sure i ran the command "get-install-location"

as the attached, it's showing external 2


anyway , please help me
 

Attachments

  • Capture.JPG
    Capture.JPG
    36.1 KB · Views: 197
Upvote 0
Good day.

I tried all the steps and results show as successful as below, however when I try to move/install new app phone gets rebooted. Can someone suggest a resolution ASAP? Thanks in advance.

c:\sdk-tools>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
<slno> device

C:\sdk-tools>adb shell
$ pm setInstallLocation 2
pm setInstallLocation 2

$ pm getInstallLocation
pm getInstallLocation
2[external]

Phone details
HTC Wildfire s
android2.3.3
HTC Sense version 2.1
software number 1.35.720.3
Available space internal storage - 14.45mb
 
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