Posted By

rowntreerob on 04/11/11



Versions (?)

android emulator - replace system app

 / Published in: Bash

system apps privilege does not permit normal uninstall. File mgrs 'Astro' with root may be used in lieu of this . get the mount privs that u need then chmod dirs as needed and rm all the data ... rm the apk. check devices with a 'mount' prior the specific mounts in the thread

  1. adb shell
  2. mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
  3. mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /data
  4. rm /system/app/MyAppName.apk
  5. rm -rf /data/data/${package}/
  6. mount -o remount,ro -t yaffs2 /dev/block/mtdblock0 /system
  7. mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /data
  8. pm uninstall ${package}
  9. exit

Report this snippet  


RSS Icon Subscribe to comments
Posted By: rowntreerob on April 11, 2011

in middle of this may also need to bounce the emulator using -wipe-data on the restart

You need to login to post a comment.