• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Removing Stock apps

rsabr

Lurker
Hello,

I have rooted my phone and am using adb to try and delete stock apps.

When I run
adb shell pm uninstall amazonmp3.apk or com.amazon.mp3
I get
Failure

So, I tried

rm -r /system/app/com.amazon.mp3

and it works but all it does is delete the icon from the "All apps"

I can still see com.amazon.mp3 in the list of running processes even after reboot.

My question is, where is the boot time script that initiates the applications, so I can remove it from it:confused:
 
I just found the answer

you need to remount the rootfs with rw, like this:

mount -o rw,remount rootfs /

then

you can

# pm uninstall com.amazon.mp3
pm uninstall com.amazon.mp3
Success
 
It's a better idea to just remount /system by doing:

su
mount -o remount,rw -t yaffs2 /dev/mtd/mtdblock4 /system

Once you do that, I'd recommend you use mv to rename apks with a .bak extension rather than using rm to remove them. If you need them back, renaming is easy, while rm is permanent.

EDIT: Oh, and if you like the idea of "freezing" apps like what titanium backup does, and still would rather use the the terminal emulator (it's free :)), another safer thing to do (than uninstalling or using rm) is:

pm disable com.whatever

That's basically what tb does when it freezes apps.
 
Back
Top Bottom