[Kangerade][bug] can't use pm
This is a discussion on [Kangerade][bug] can't use pm within the LithiumMod forums, part of the Custom Roms category; Hey there. Trying to turn off apps2sd, and can't. Do it. Here's what I did/got:
/ $
/ # mountsys
/ # sh pm setInstallLocation ...
-
[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?
-
-
su
cd system/bin
sh pm yourcommand
-
Thanks, Jrummy! Loving Kangerade.
-
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"
-

Originally Posted by
jrummy16
su
cd system/bin
sh pm yourcommand
I tried this and got cdd: not found
Motorola Droid Bionic
Motorola Xoom

-

Originally Posted by
jrummy16
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

-
@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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By CajunDroid in forum Droid General Discussions
Replies: 9
Last Post: 06-24-2010, 11:00 AM
-
By wolfpack_lamb in forum LithiumMod
Replies: 3
Last Post: 06-24-2010, 06:10 AM
-
By JP 5.56 in forum LithiumMod
Replies: 10
Last Post: 06-18-2010, 09:10 AM
-
By liljohn666 in forum LithiumMod
Replies: 5
Last Post: 06-18-2010, 07:22 AM
-
By Mugenakuma in forum Tech Issues, Bug Reports & Suggestions
Replies: 0
Last Post: 06-16-2010, 07:48 PM
Search tags for this page
/system/bin/sh pm not found adb install
,
/system/bin/sh: pm: not found
,
adb install /system/bin/sh: can't open.
,
android /system/bin/pm does not exit
,
install pm on android
,
kangerade
,
mountsys.sh
,
pm setinstalllocation does not exit
,
recovery.sh init.d
,
sh: can't open 11.0 quartus free linux.sh
,
system/bin/sh pm :not found
Click on a term to search our site for related topics.