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

Thread: I failed at removing my first factory app - need command line help

  1. Senior Droid
    HamDog's Avatar
    Member #
    98735
    Join Date
    Aug 2010
    Posts
    191
    Liked
    1 times
    Phone
    Motorola Droid 1
    #1

    I failed at removing my first factory app - need command line help

    I'm rooted. Saw a brief video on how to remove unwanted factory apps. I'm so damn retarded that I failed even after watching the video! The video showed this being done on a Tmobile G1. Maybe it's different on the Droid?

    I opened up Terminal Emulator and here is how my session went:

    $ su
    # mount -o rw.remount /system (enter)
    Usage: mount [-r] [-w] [-o options] [-t type] device directory
    # rm -r /system/app/Twitter.apk
    rm failed for /system/app/Twitter.apk, read-only file system

    I don't know anything about Linux, but I do know enough about windows that it appears the first line of the above statement is trying to make the file re-writeable (hence the rw) but it's failing. That's why line 2 can't remove (rm?) the app.

    So, can anyone correct me in my line 1 above? Thanks! I know, I need to pick up a linux book.
  2.  
     
     
     
  3. Super Moderator
    Bob Dammit's Avatar
    Member #
    14607
    Join Date
    Dec 2009
    Location
    N 42 05.183 W 079 10.914
    Posts
    1,718
    Liked
    37 times
    Phone
    Droid.
    Premium Member
    #2
    You are rooted, at least thats in your favor. Are you running a custom ROM, or are you just rooted? The reason I am asking is most developers code in a way to remove bloat from their roms. Secondly, you really dont want to remove bloat, because that will remove the app from your phone completely with no hope of replacing it if you need it. Instead, change the extension from .apk to .bak . The easiest way is using root explorer from the market.
    I touched Lord Stanley's Cup on 1/2/11.
  4. Senior Droid
    HamDog's Avatar
    Member #
    98735
    Join Date
    Aug 2010
    Posts
    191
    Liked
    1 times
    Phone
    Motorola Droid 1
    #3
    I'm just rooted, no custom ROMs or Kernels. And believe me, I want to remove some factory apps. I will kill myself using a very painful method of suicide if I ever become a fan of Twitter. I want that program completely gone!

    I figured out that in my line 1, I needed to put a coma instead of a period here:

    # mount -o rw,remount /system

    But I still get the same error. Just wanna know what I'm doing wrong.
  5. Junior Droid
    mx371's Avatar
    Member #
    63514
    Join Date
    Apr 2010
    Posts
    27
    Phone
    Motorola Droid
    #4
    I have scripts set up on my phone so I don't have to use that whole command line, but entering adb remount will set your phone to rw and is much easier than the command line above. Let me know if you would like the link to the script package.
  6. Rescue Squad
    Tallica's Avatar
    Member #
    48266
    Join Date
    Mar 2010
    Location
    Middleboro, MA
    Posts
    3,259
    Liked
    6 times
    Twitter
    Tallica21
    Phone
    GSIII-Rooted
    Premium Member
    #5
    Just use Astro and delete the apps you don't want from /system/app

    Don't bother with command lines.
  7. Theme Developer
    xkape's Avatar
    Member #
    95251
    Join Date
    Jul 2010
    Location
    OH-IO
    Posts
    3,877
    Liked
    78 times
    Phone
    Bionic, G Nex and T Prime
    DroidForums.net Theme Developer
    Premium Member
    #6
    Quote Originally Posted by Tallica View Post
    Just use Astro and delete the apps you don't want from /system/app

    Don't bother with command lines.

    I was thinking that. I'm all about doing things the easy way.
  8. Senior Droid
    HamDog's Avatar
    Member #
    98735
    Join Date
    Aug 2010
    Posts
    191
    Liked
    1 times
    Phone
    Motorola Droid 1
    #7
    Quote Originally Posted by Tallica View Post
    Just use Astro and delete the apps you don't want from /system/app

    Don't bother with command lines.
    Astro won't allow me to delete that apk. It says error when I try to delete it or change it's extension. I think it's because it's a read only file and the attribute needs to be changed first. And I haven't tried root explorer yet as I don't wanna buy it since what I'm trying to accomplish can be done for free.

    And I know adb will allow me to do it. But I'm trying to learn, not just do. I can't believe no one has been able to tell me what's wrong with my command line!

    Thanks for all the suggestions though.
  9. Rescue Squad
    Tallica's Avatar
    Member #
    48266
    Join Date
    Mar 2010
    Location
    Middleboro, MA
    Posts
    3,259
    Liked
    6 times
    Twitter
    Tallica21
    Phone
    GSIII-Rooted
    Premium Member
    #8
    Quote Originally Posted by HamDog View Post
    Quote Originally Posted by Tallica View Post
    Just use Astro and delete the apps you don't want from /system/app

    Don't bother with command lines.
    Astro won't allow me to delete that apk. It says error when I try to delete it or change it's extension. I think it's because it's a read only file and the attribute needs to be changed first. And I haven't tried root explorer yet as I don't wanna buy it since what I'm trying to accomplish can be done for free.

    And I know adb will allow me to do it. But I'm trying to learn, not just do. I can't believe no one has been able to tell me what's wrong with my command line!

    Thanks for all the suggestions though.
    Seems like you are having issues mounting the system partition, try this:

    Boot to recovery, mount system partition through recovery, connect phone to PC

    then run the rm command thru Adb

    Something like:

    rm system/app/Twitter.apk

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. voice command
    By mrwright1983 in forum Motorola Droid 2
    Replies: 10
    Last Post: 01-22-2011, 10:16 AM
  2. Replies: 0
    Last Post: 06-18-2010, 01:26 PM
  3. sdk issue with adb command
    By tony1208 in forum Android Hacks and Help
    Replies: 3
    Last Post: 06-01-2010, 07:54 PM
  4. command and conquer?
    By hlaalu in forum Android Games
    Replies: 3
    Last Post: 02-25-2010, 04:06 PM
  5. Is there a forward command for emails?
    By droidgirl in forum Android Tech Support
    Replies: 1
    Last Post: 11-20-2009, 04:19 PM

Search tags for this page

android command line remove application
,

android factory app remover

,
android remove app command line
,
android uninstall app command line
,
android uninstall app from command line
,

cannot remove system app failed to locate the apk file

,

failed to locate apk file

,

failed to locate the apk file

,

rm failed for read-only file system

,
uninstall android app command line
Click on a term to search our site for related topics.
Find us on Google+