Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TOOL] Enable APP2SD on Froyo 2.2 devices without the need for root permissions

OP ilbulgaro89

15th October 2010, 05:35 PM   |  #21  
Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Jan 2009
Thanks I have managed to register, I have a direct link for registration but the forum is not allowing me to post links as I'm new user.

although I'm a registered user from 01 2009 haha
Last edited by jopps; 15th October 2010 at 05:45 PM.
21st October 2010, 11:31 AM   |  #22  
Junior Member
Flag Jakarta
Thanks Meter: 0
 
7 posts
Join Date:Joined: Mar 2009
More
Thumbs up
thanks pal, it works flawlessly for now.. previously i have low disk space on my miley. but now after i move some games and huge apps i have 50MB+ free space on my internal memory..
25th October 2010, 12:58 PM   |  #23  
crash_194's Avatar
Senior Member
Thanks Meter: 115
 
614 posts
Join Date:Joined: Mar 2008
More
Only problem I'm having at the minute is with widgets. They work fine until the phone is either turned off or rebooted and then they just crash and disappear and don't work. I've tried moving them to the phone memory but this doesn't work either.

It's not a major problem, but just wondered if anyone had experienced the same thing and could offer a solution?

Regards
25th October 2010, 03:06 PM   |  #24  
crash_194's Avatar
Senior Member
Thanks Meter: 115
 
614 posts
Join Date:Joined: Mar 2008
More
in the meantime i've just removed the patch, installed the widgets i want, and then re-applied the patch. Only thing i'm left wondering is if i install any future updates for the widgets, will they be forced on to the sd card?
3rd November 2010, 12:55 PM   |  #25  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Nov 2010
I've discovered how this application works...
It has inside a batch file that execute the command "adb shell pm setInstallLocation 2"

So you don't need to waste time using this application, you can simply enable usb debug, open an adb shell in your computer and launch:
Code:
pm setInstallLocation 2
to enable the patch, or
Code:
pm setInstallLocation 0
to disable the patch

Actually this thing isn't a patch, it's simply a native android command.

I've seen that if you launch these command in a terminal on the phone they doesn't work unless you have root. Without root the pm process is killed after you launch it.
Last edited by mattibal; 3rd November 2010 at 01:31 PM.
4th November 2010, 01:38 PM   |  #26  
Junior Member
Thanks Meter: 0
 
12 posts
Join Date:Joined: Dec 2006
Quote:
Originally Posted by mattibal

I've discovered how this application works...
It has inside a batch file that execute the command "adb shell pm setInstallLocation 2"

So you don't need to waste time using this application, you can simply enable usb debug, open an adb shell in your computer and launch:

Code:
pm setInstallLocation 2
to enable the patch, or
Code:
pm setInstallLocation 0
to disable the patch

Actually this thing isn't a patch, it's simply a native android command.

I've seen that if you launch these command in a terminal on the phone they doesn't work unless you have root. Without root the pm process is killed after you launch it.

Nice, a question thou. How do I "open a adb shell on my PC???
Being a total Android-newbee....

Edit: I tried it with some help of a friend, but lost connection to my SD-card for normal use. I saw in settings/applications that one app now was moveable to SD-card but trying it was unsuccessful.
Last edited by NallePhu; 5th November 2010 at 08:53 AM.
5th November 2010, 01:44 PM   |  #27  
Junior Member
Thanks Meter: 0
 
12 posts
Join Date:Joined: Dec 2006
Quote:
Originally Posted by WormholeZA

Nice work pal! works on my HTC Desire running 2.2 Froyo. Non-rooted. Quick question, how the hell does it work? does it trick it into thinking its possible to move the app to SD card?

I tried on my Desire but after applying the patch (I did this, as mentioned later in this topic: pm setInstallLocation 2) I seemed to loose contact with the SD-card. I saw that apps became moveable to SD-card but when I pressed the button it failed.

Did you have any problems with this? Did you use the patch file or as I mention above?
7th November 2010, 11:17 AM   |  #28  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Nov 2010
thanx aloot
9th November 2010, 05:18 PM   |  #29  
Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: Jan 2010
Smile
Quote:
Originally Posted by NallePhu

Nice, a question thou. How do I "open a adb shell on my PC???
Being a total Android-newbee....

Edit: I tried it with some help of a friend, but lost connection to my SD-card for normal use. I saw in settings/applications that one app now was moveable to SD-card but trying it was unsuccessful.

check here http://androidforums.com/desire-tips...obs-guide.html
15th November 2010, 11:40 AM   |  #30  
Member
Flag Bristol
Thanks Meter: 1
 
40 posts
Join Date:Joined: Nov 2010
More
Be aware that as the SD card is mounted AFTER the phone boot, some stuff just won't work as expected after you reboot. I'm not sure if the mount happens as the last stage of booting (before all apps that are registered to be notified on boot completion) but if it is, then you'll have problems with widgets etc that require this notification, so may need to manually start them.

Quite interesting way of getting around the problem, I was thinking it may be possible to edit the manifest of other applications in this way but quite honestly, it would be much nicer to see developers create their apps so they can be moved. In the case of apps that need to have a post boot notification, it would be easier to create a small service app that waits for the SD card to be mounted and then pass any required messages to the main app.

Post Reply Subscribe to Thread

Tags
app2sd, application, froyo 2.2, move, tool
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes