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

Discussion in 'Android Hacks and Help' started by validoption, Jun 16, 2010.

  1. validoption
    Offline

    validoption New Member

    Joined:
    Mar 17, 2010
    Messages:
    338
    Likes Received:
    0
    Trophy Points:
    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.
  2. thatguychuck
    Offline

    thatguychuck New Member

    Joined:
    Oct 31, 2009
    Messages:
    433
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    SD
    http://www.droidforums.net/forum/newreply.php?do=newreply&p=540764

    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: Jun 16, 2010
  3. ieatscones
    Offline

    ieatscones New Member

    Joined:
    Dec 17, 2009
    Messages:
    170
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    San Jose, CA
    yes... basically you need "su" superuser permissions
    just type su into sh:
    THEN pm setInstallLocation2
  4. validoption
    Offline

    validoption New Member

    Joined:
    Mar 17, 2010
    Messages:
    338
    Likes Received:
    0
    Trophy Points:
    0
    I'll give that a shot. EDIT: and it worked, thank you!

    Yeah, I suppose I should have added that I had already typed su prior to trying to run the script. :)
    Last edited: Jun 16, 2010
Search tags for this page
/sbin/sh pm not found
,

/sbin/sh: am: not found

,

/sbin/sh: pm: not found

,
/sbin/sh: su: not found
,
/system/bin/sh pm not found
,
/system/bin/sh: su: not found
,
安卓开发 activitymanager: /sbin/sh: am: not found
,
android pm not found
,

pm not found

,
pm:not found
,
sbin/sh pm not found
,
systen/bin not found in android