remove apps from terminal


Last Updated:

  1. robotobos

    robotobos Member This Topic's Starter

    Joined:
    Jul 13, 2010
    Messages:
    18
    Likes Received:
    1
    im using terminal to try and remove native apps but...im here instead

    i do:
    su
    cd system/app
    rm -r CorpCal.apk

    and i get:
    rm failed for CorpCal.apk, Read-Only file system

    my limited use with fedora leads me to believe the system has to be mounted

    a definite 'thanks' for helping hands.
     

    Advertisement
  2. supersaki

    supersaki Well-Known Member

    Joined:
    Dec 3, 2009
    Messages:
    386
    Likes Received:
    36
    after su:
    mount -o rw,remount /system

    and after the rm ... :
    pm uninstall <package name> (may not be necessary)

    to mount system ro again, I believe it's:
    mount -o remount,ro /system

    I always use adb from the computer, as it's just 'adb remount' to toggle rw/ro, but I'm pretty sure the above is correct.
     
    robotobos likes this.
  3. robotobos

    robotobos Member This Topic's Starter

    Joined:
    Jul 13, 2010
    Messages:
    18
    Likes Received:
    1
    right on man, thanks!

    i did have to modify the mount cmd to say:
    mount -o rw,remount yaffs2 /system

    but u got me there - the 'pm uninstall' was met with 'Failure', but those annoying apps are gone from the launcher, and thats what i wanted!
     
  4. supersaki

    supersaki Well-Known Member

    Joined:
    Dec 3, 2009
    Messages:
    386
    Likes Received:
    36
    Yeah, recently the pm uninstall has returned 'failure' for me as well. On older roms I had to use that command to remove trace bits of the program from the manage applications page. Glad to have helped!
     

Share This Page

Loading...