DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 7 of 7

Thread: [Kangerade][bug] can't use pm

  1. Droid
    oshigeru's Avatar
    Member #
    46668
    Join Date
    Mar 2010
    Posts
    52
    Phone
    DROID
    #1

    [Kangerade][bug] can't use pm

    Hey there. Trying to turn off apps2sd, and can't. Do it. Here's what I did/got:

    / $
    / # mountsys
    / # sh pm setInstallLocation 1
    sh: can't open 'pm'
    / #

    Help?
  2.  
     
     
     
  3. Developer
    jrummy16's Avatar
    Member #
    31454
    Join Date
    Jan 2010
    Location
    Orange County, CA
    Posts
    1,213
    Liked
    13 times
    Phone
    Moto Droid
    DroidForums.net Developer
    DroidForums.net Theme Developer
    Premium Member
    #2
    su
    cd system/bin
    sh pm yourcommand
  4. Droid
    oshigeru's Avatar
    Member #
    46668
    Join Date
    Mar 2010
    Posts
    52
    Phone
    DROID
    #3
    Thanks, Jrummy! Loving Kangerade.
  5. Developer
    jrummy16's Avatar
    Member #
    31454
    Join Date
    Jan 2010
    Location
    Orange County, CA
    Posts
    1,213
    Liked
    13 times
    Phone
    Moto Droid
    DroidForums.net Developer
    DroidForums.net Theme Developer
    Premium Member
    #4
    also, got a fix for the issue from canvs2321

    in root explorer:

    "open it, mount r/w, then goto /system/bin, long press pm, and scroll the menu down to edit in text editor, make sure #!/system/bin/sh is the top line if not, add it and save it
    same with /system/bin/am"
  6. Droid
    Monkey74's Avatar
    Member #
    82514
    Join Date
    Jun 2010
    Location
    Northern VA
    Posts
    89
    Phone
    Motorola Droid Bionic
    #5
    Quote Originally Posted by jrummy16 View Post
    su
    cd system/bin
    sh pm yourcommand
    I tried this and got cdd: not found
    Motorola Droid Bionic

    Motorola Xoom
  7. Droid
    Monkey74's Avatar
    Member #
    82514
    Join Date
    Jun 2010
    Location
    Northern VA
    Posts
    89
    Phone
    Motorola Droid Bionic
    #6
    Quote Originally Posted by jrummy16 View Post
    also, got a fix for the issue from canvs2321

    in root explorer:

    "open it, mount r/w, then goto /system/bin, long press pm, and scroll the menu down to edit in text editor, make sure #!/system/bin/sh is the top line if not, add it and save it
    same with /system/bin/am"
    This one did the job, thanks. Love your work man.
    Motorola Droid Bionic

    Motorola Xoom
  8. Droid Newbie
    mike1986.'s Avatar
    Member #
    169773
    Join Date
    Feb 2011
    Posts
    2
    #7
    @jrummy16 please take a look at my problem.

    Since a long time I'm trying to implement one feature into my custom ROM. I want to have InstallLocation 1 by default.

    I've already tried the following:

    1. I created init.d script called 90setlocation with following commands:
    #!/system/bin/sh

    pm setinstallLocation 1
    but it doesn't work. Default InstallLocation is still 0 [auto]

    2. I created install-recovery.sh file which I placed in etc folder. install-recovery.sh has the following commands:
    #!/system/bin/sh

    pm setInstallLocation 1
    also I tried with:

    #!/system/bin/pm

    pm setInstallLocation 1
    but non of them works. install-recovery.sh should be executed from init.rc in boot.img but even if I add it to init.d script "/system/etc/install-recovery.sh" the default InstallLocation is still 0.

    I know I can do it with adb shell by typing pm setInstallLocation 1 or I can use e.g. Move2SD Enabler app but I want to have it set to 1 by default from the very beginning without need to change it after flashing ROM.

    Any ideas?

    Thanks!
    Last edited by mike1986.; 02-11-2011 at 05:53 AM.

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Froyo Kangerade
    By CajunDroid in forum Android General Discussions
    Replies: 9
    Last Post: 06-24-2010, 11:00 AM
  2. Sound recorder in kangerade
    By wolfpack_lamb in forum LithiumMod
    Replies: 3
    Last Post: 06-24-2010, 06:10 AM
  3. Froyo Kangerade Issues - Wifi, LWP
    By JP 5.56 in forum LithiumMod
    Replies: 10
    Last Post: 06-18-2010, 09:10 AM
  4. Kangerade question
    By liljohn666 in forum LithiumMod
    Replies: 5
    Last Post: 06-18-2010, 07:22 AM
  5. Froyo Kangerade V1.0 and WiFi problems
    By Mugenakuma in forum Android Tech Support
    Replies: 0
    Last Post: 06-16-2010, 07:48 PM

Search tags for this page

/sbin/sh: pm: not found linux mint
,
/system/bin/pm
,
/system/bin/sh can't open
,

/system/bin/sh: pm: not found

,
/system/bin/sh:+can't open
,

adb install /system/bin/sh: pm: not found

,
adb install pm not found
,
adb system/bin/sh not found
,
android system bin pm
,
can't open 'install-recovery.sh
Click on a term to search our site for related topics.
Find us on Google+