Quote:
Originally Posted by sagementor
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
|