Quantcast
Channel: My HTC Desire » Tutorials
Viewing all articles
Browse latest Browse all 10

HOW TO: Delete System Applications On Rooted Phones

$
0
0

This tutorial shows you how to remove system applications that come installed on your phone, or ROM of your choice that you don’t actually want.

Notes

  1. If the ROM you are using has the Read/Write via Overlay Filesystem on then there’s no need to boot into recovery
  2. If you’ve used the S-OFF hack to enable full read/write access to your system partition then there’s no need to boot into recovery
  3. If you’re using the latest Amon RA Recovery, then you can just use the “Mounts” option to mount the system partition

Requirements

  1. A rooted phone
  2. The adb driver setup on your computer – how to

Video Tutorial

This video shows you how easy it is to do everything below!

Making the System Partition Writable

This change isn’t permanent, meaning that when you leave recovery mode your system partition will revert back to read-only.  It’s only temporarily writable so that you can get rid of those unwanted apps.

  1. Connect your Desire via USB cable
  2. Open the Command Prompt/Terminal on your computer (Start Menu > Run > Cmd)
  3. In the command prompt window type: adb reboot recovery
    Your phone should restart in recovery mode
  4. Type: adb shell
    The first character in the command prompt will change to a #
  5. Type: mount -o rw -t yaffs2 /dev/block/mtdblock3 /system
    This mounts the system partition and gives you read and write access to it

Backing Up Applications

Before you start deleting apps, I’d strongly recommend backing them up onto your computer first.  Here’s how:

  1. Type: exit
    This leaves shell mode
  2. Type: adb shell ls system/data
    You should now see a list of all the apps (.apk files) in your system folder
  3. For whichever apps you want to backup type:
    adb pull system/app/<full_name_of_app.apk> <full_name_of_app.apk>
    where <full_name_of_app.apk> is the name that was listed in step 2
  4. If you look on your computer in the directory that Command Prompt is pointing to e.g. C:/Users/Ash then you’ll see a copy of that .apk file that you just backed up

Deleting Apps

Note: PLEASE make sure you’ve backed up any applications before deleting them.
Also, be sure that you’re not deleting any important system apps like Rosie (the HTC Sense framework!).  Deleting things like Quick Office, Peep, Teeter, Facebook etc is fine.

  1. Enter shell mode again by typing: adb shell
  2. Type: cd system/app
    This takes you into the system/app folder
  3. Type: ls
    This will show you a listing of the apps (.apk files) in the folder
  4. Type: rm <full_name_of_app.apk>
    where <full_name_of_app.apk> is the name that was listed in step 2
    This deletes the application permanently from your phone
  5. If in step #3 there was a <full_name_of_app>.odex file as well as .apk then delete that too using: rm <full_name_of_app.odex>

Rebooting

Once you’re done deleting your applications you can restart your phone and if everything went well then it will start normally and you’ll find that the deleted applications no longer show up in your app drawer.

Restoring Applications

If for whatever reason you decide that you want to reinstall those system applications you backed up, you can do the following:

  1. Make your system partition writable using the steps in Making the System Partition Writable
  2. Locate the apks you backed up before deleting
  3. Type adb push <full_name_of_app.apk> system/app/<full_name_of_app.apk>
ypmount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images