"sh: pm: not found" - anyone know what to do?

validoption

Member
Joined
Mar 17, 2010
Messages
337
Reaction score
0
On Froyo Kangerade 1.0, and trying to run the "pm setInstallLocation <0,1,2>" code in terminal, and i get sh: pm: not found. Also tried a pm uninstall code and got the same issue. pm is in the /system/bin folder, it's just not being called up, nor is it included in the list of scripts when I type "busybox" in terminal.

Websearch shows others experiencing the issue with Team Chaos Froyo and Birdman--so it's not limited to Kangerade--but no solution.

Has anyone encountered and overcome this? Any help is appreciated.

TIA.
 

thatguychuck

Member
Joined
Oct 31, 2009
Messages
433
Reaction score
0
Location
SD
http://www.droidforums.net/forum/newreply.php?do=newreply&p=540764

Seems some of us have a bad mapping to system commands.

I did
"sh pm setInstallLocation 2" from /system/bin (invoking sh for shell) and it worked.

Wishing there was a "move all to sdcard" option. Do I really have to go through all my apps and move them one at a time? :(

This worked for me. The commands I used were as follows:

su
cd system/bin
sh pm setInstallLocation 2

To revert:

sh pm setInstallLocation 0

What's really strange, is that if I type su and enter TWICE, I get this as a prompt:

\w \$

And pm will work from there.
 
Last edited:

ieatscones

Member
Joined
Dec 17, 2009
Messages
170
Reaction score
0
Location
San Jose, CA
http://www.droidforums.net/forum/newreply.php?do=newreply&p=540764

Seems some of us have a bad mapping to system commands.

I did
"sh pm setInstallLocation 2" from /system/bin (invoking sh for shell) and it worked.

Wishing there was a "move all to sdcard" option. Do I really have to go through all my apps and move them one at a time? :(

This worked for me. The commands I used were as follows:

su
cd system/bin
sh pm setInstallLocation 2

To revert:

sh pm setInstallLocation 0

What's really strange, is that if I type su and enter TWICE, I get this as a prompt:

\w \$

And pm will work from there.

yes... basically you need "su" superuser permissions
just type su into sh:
THEN pm setInstallLocation2
 
OP
validoption

validoption

Member
Joined
Mar 17, 2010
Messages
337
Reaction score
0
http://www.droidforums.net/forum/newreply.php?do=newreply&p=540764

Seems some of us have a bad mapping to system commands.

I did
"sh pm setInstallLocation 2" from /system/bin (invoking sh for shell) and it worked.

Wishing there was a "move all to sdcard" option. Do I really have to go through all my apps and move them one at a time? :(

This worked for me. The commands I used were as follows:

su
cd system/bin
sh pm setInstallLocation 2

To revert:

sh pm setInstallLocation 0

What's really strange, is that if I type su and enter TWICE, I get this as a prompt:

\w \$

And pm will work from there.

I'll give that a shot. EDIT: and it worked, thank you!

yes... basically you need "su" superuser permissions
just type su into sh:
THEN pm setInstallLocation2

Yeah, I suppose I should have added that I had already typed su prior to trying to run the script. :)
 
Last edited:
Top