5,605,373 Members 39,622 Now Online
XDA Developers Android and Mobile Development Forum

Remove built-in apps from ROM

Tip us?
 
sagementor
Old
#1  
Senior Member - OP
Thanks Meter 2
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
The Following User Says Thank You to sagementor For This Useful Post: [ Click to Expand ]
 
sagementor
Old
#2  
Senior Member - OP
Thanks Meter 2
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 22
Posts: 137
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."
========================

http://forum.xda-developers.com/signaturepics/sigpic2022493_1.gifThe Vape Apes : Premier Vaping eLiquids and eJuices
 
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
(Last edited by Waledac; 10th July 2013 at 06:49 AM.)
#5  
Waledac's Avatar
Senior Member
Thanks Meter 84
Posts: 272
Join Date: Oct 2012
Location: Home
EDIT
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes