Results 1 to 2 of 2
  1. Thread Author  Thread Author    #1  

    Wink [Solved] adb install results in "/sbin/sh: pm: not found"

    I am using a rooted HTC G2 with Clockwork recovery and Cyanogenmod 6.1.1.

    I broke my launcher, ADW EX, using Ninjamorph; the phone now gets stuck on the boot animation.

    My planned solution was to use adb install to restore a backup of ADW EX.

    Using adb pull I pulled a backup of ADW EX and placed in C:\

    I mounted /system and /data in recovery

    Using adb from recovery I entered adb shell and removed the broken ADW EX with:

    rm /data/app/org.adwfreak.launcher-2.apk

    Next, I exited adb shell and entered:

    adb install C:\org.adwfreak.launcher-2.apk

    This generated the error:

    /sbin/sh: pm: not found

    I cannot get past this error and successfully install the application. I am learning as I go, any direction or assistance is welcome. I miss my Android
    Last edited by 1100 1110; 03-10-2011 at 08:56 PM. Reason: Set Status as Solved
  2. Thread Author  Thread Author    #2  

    Wink Solved

    In case any other doofus' run into this situation.

    As I have now learned, the "adb install" command will not work from recovery.

    Because I had broken my launcher, and I had no alternative launchers installed, there was no launcher to hand-off to after booting; the result was an endless boot animation. Calls and notifications could still be received, etc. Most importantly, the phone was no longer in recovery and "adb install" could be used.

    adb install C:\org.adwfreak.launcher-2.apk

    Press "home"

    Fixed.

Posting Permissions