Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
sagementor
Old
#1  
Senior Member - OP
Thanks Meter 1
Posts: 157
Join Date: Oct 2006
Location: Hong Kong
Default Remove built-in apps from ROM

A lot of people suggest removing built-in apps by deleting apk files in /system/app in terminal (su) or using root explorer. However I wonder whether it is a clean uninstallation. I know apps create data and cache in /data/data, /data/dalvik-cache if no other locations. Simply deleting apk files does not remove the data and cache, and the entries in packages.xml. There will be error when running fix_permissions.

Can anyone suggest a proper command to fully uninstall built-in apps?
Current: Rooted Dream (G1)
Recovery: RA-1.7
ROM: most updated CM or OE
Last ROM: ramjet-v7 > CM -> WG -> OE
IME: Moto Text Input
SPL: Haykuro's

Fastboot Reads
DREAM PVT 32B ENG S-OFF
HBOOT-1.33.2005 (DREA10000)
RADIO-2.22.23.02

Old: Dopod C720w (Excalibur)
OS: WM6.1(Chinese) by Kavana
 
sagementor
Old
#2  
Senior Member - OP
Thanks Meter 1
Posts: 157
Join Date: Oct 2006
Location: Hong Kong
Quote:
Originally Posted by sagementor View Post
A lot of people suggest removing built-in apps by deleting apk files in /system/app in terminal (su) or using root explorer. However I wonder whether it is a clean uninstallation. I know apps create data and cache in /data/data, /data/dalvik-cache if no other locations. Simply deleting apk files does not remove the data and cache, and the entries in packages.xml. There will be error when running fix_permissions.

Can anyone suggest a proper command to fully uninstall built-in apps?
I finally find the proper way to uninstall the system apps.

Step #1 - Find the package names of the apps (e.g. IM.apk=com.android.im)
In console, type
su
pm list packages -f

Step #2 - Delete the apk files from /system/app
In console, type
su
mount -o remount,rw /system
rm /system/app/IM.apk

Step #3 - Uninstall the package
In console, type
su
pm uninstall com.android.im
Current: Rooted Dream (G1)
Recovery: RA-1.7
ROM: most updated CM or OE
Last ROM: ramjet-v7 > CM -> WG -> OE
IME: Moto Text Input
SPL: Haykuro's

Fastboot Reads
DREAM PVT 32B ENG S-OFF
HBOOT-1.33.2005 (DREA10000)
RADIO-2.22.23.02

Old: Dopod C720w (Excalibur)
OS: WM6.1(Chinese) by Kavana
The Following User Says Thank You to sagementor For This Useful Post: [ Click to Expand ]
 
marlopainter
Old
#3  
marlopainter's Avatar
Senior Member
Thanks Meter 21
Posts: 133
Join Date: Sep 2009
Location: Milwaukee, WI

 
DONATE TO ME
mount -o remount,rw /system

mount -o rw,remount /system

Those 2 ways are found in numerous places
around the internet. Each one of those
does NOT accomplish anything in terminal.

I kept receiving a usage message explaining the syntax....

After searching, trying, searching, trying...
I just decided to try this, and it worked...

mount -o,remount rw /system

Just thought I would share.
I'm running Dwang's latest, if that matters to anyone.
"There is no such thing as TMI on the internet."
Acer A510 AIO Toolbox @ XDA: Updated 5/23/2012
(Has many universal Android functions)
www.bakedpickle.com
========================

Samsung Tmo Note II
-- w/ 64GB SDXC UHS-I Card in exFat.

-RETIRED-
T-mobile Samsung Galaxy S3
T-mobile Samsung Vibrant
T-mobile HTC G1
 
Billium
Old
#4  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jan 2011
This works great. You don't have start fresh-n-clean with your device by reinstallaing original rom, just get rid of the stuff you don't want that your service provider wants you to want.
 
Waledac
Old
#5  
Waledac's Avatar
Senior Member
Thanks Meter 25
Posts: 208
Join Date: Oct 2012
Location: Anonymous Land
how to install apps in a phone which just rooted and contains official rom?
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...