I'm able to install own application into /system/app using adb shell commands. But how to uninstall it? Is there any commands to do it? My phone is rooted.
相关问题
- How can I create this custom Bottom Navigation on
- How to get the return code of a shell script in lu
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
Manual uninstall using ADB :
http://www.careace.net/2010/05/12/how-to-remove-android-apps-through-adb/
During website downtime (like now) see crawled snapshot here:
https://web.archive.org/web/20180222063358/http://www.careace.net/2010/05/12/how-to-remove-android-apps-through-adb/
Programmatically:
Im not sure if you have to do this on every device (may be it can be achieved just by root access on some devices ) but on htc desire you have to reboot to the recovery mode Then you can copy your apk to the sdcard and then using adb shell to the /system/app folder you should create a nandroid backup first
Assuming you have root access to device:
adb shell su mount -o rw,remount/system rm -rf /system/app/myApp.apk rm -rf /data/data/com.example.myapp mount -o ro,remount/system exit exit
Assuming you have root access to device:
Refer : xda