Tapemaster has made a Stack Overflow post which demonstrates the necessary trick.
Do this:
1. Install adb
on your computer.
2. Root your phone.
3. Enter these commands into your computer:
adb shell
su
mount -o remount,rw /system
rm /system/app/UnwantedApp*
pm uninstall org.unwantedapp
exit
exit
The third command remounts /system
read-write. The fourth command deletes the app's .apk
and/or .odex
files. The fifth command finishes the uninstallation.
In my experience: If you have already entered the the fourth command, then the fifth command will return Success. Otherwise, the fifth command will return Failure.
When entering the above commands, you must replace UnwantedApp
with the app's real filename (without the extension), and org.unwantedapp
with the app's real Java package name.